Bug#814057: diffoscope: Add option to ignore mtimes

2017-02-23 Thread Leo Famulari
On Tue, Feb 07, 2017 at 10:24:58PM +1300, Chris Lamb wrote:
> Hi Leo,
> 
> > Since I am comparing the entire output of Python 2.7's build process,
> > there are a lot of files, and they *all* have different ctimes (we set
> > mtimes to epoch).
> 
> So, we already ignore mtimes on specified command-line arguments:
> 
>   $ touch --date="@0" epoch
> 
>   $ touch now
> 
>   $ diffoscope epoch now --no-progress
> 
>   $ echo $?
>   0
> 
> Are you referring to {m,c}times, etc. within archives?

I was referring to {m,c}times of the files being compared themselves.

If by "within archives" you mean "of files within, for example, two zip
archives being compared", that's not what I meant.

I just tested diffoscope 77 and it ignores the different {m,c}times of
two otherwise identical test files. Great!

Now, it would be nice if diffoscope had an option to report these
differences :) I wondered if --fuzzy-threshold could be tweaked to make
diffoscope report them, but it did not for the values of 0, 1, and 400.

If I understood your question correctly, please feel free to close this
bug, or ask me to close it.

I'm sorry for the sloow response to your question. Thanks for the
ping!


signature.asc
Description: PGP signature
___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Re: buildinfo.debian.net is throwing internal server errors (500)

2017-02-23 Thread Holger Levsen
On Wed, Feb 22, 2017 at 10:19:46PM +0800, Chris Lamb wrote:
> For now I've just dropped storing the Installed-Build-Depends as rows in
> Postgres; was 196,486,803 rows (from ~900,000 .buildinfo files).
 
*g* & thanks for fixing this!

> I've also moved away from the Startcom certificate to a letsencrypt one.

:)


-- 
cheers,
Holger


signature.asc
Description: Digital signature
___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Bug#817193: marked as done (diffoscope: failing tests: test_gzip.py::test_metadata, test_ipk.py::test_metadata, test_java.py::test_diff)

2017-02-23 Thread Debian Bug Tracking System
Your message dated Thu, 23 Feb 2017 17:48:14 +0800
with message-id 
<1487843294.3429456.890257008.671b0...@webmail.messagingengine.com>
and subject line Re: diffoscope: failing tests: test_gzip.py::test_metadata, 
test_ipk.py::test_metadata, test_java.py::test_diff
has caused the Debian Bug report #817193,
regarding diffoscope: failing tests: test_gzip.py::test_metadata, 
test_ipk.py::test_metadata, test_java.py::test_diff
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
817193: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=817193
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: diffoscope
Version: 48

Hi,

I'm trying to package diffoscope for Fedora and the tests listed
in $subject are failing. Seems to be some timezone issue:

= FAILURES 
==
_ test_differences 
__

differences = [, ]>]>]

@pytest.mark.skipif(not guestfs_working(), reason='guestfs not working on 
the system')
@pytest.mark.skipif(tool_missing('qemu-img'), reason='missing qemu-img')
@pytest.mark.skipif(miss_guestfs, reason='guestfs is missing')
def test_differences(differences):
assert differences[0].source1 == 'test1.ext4.tar'
tarinfo = differences[0].details[0]
tardiff = differences[0].details[1]
encodingdiff = tardiff.details[0]
assert tarinfo.source1 == 'file list'
assert tarinfo.source2 == 'file list'
assert tardiff.source1 == './date.txt'
assert tardiff.source2 == './date.txt'
assert encodingdiff.source1 == 'encoding'
assert encodingdiff.source2 == 'encoding'
expected_diff = open(os.path.join(os.path.dirname(__file__), 
'../data/ext4_expected_diffs'), encoding='utf-8').read()
found_diff = tarinfo.unified_diff + tardiff.unified_diff + 
encodingdiff.unified_diff
>   assert expected_diff == found_diff
E   assert '@@ -1,3 +1,3...cii\n+utf-8\n' == '@@ -1,3 +1,3 ...cii\n+utf-8\n'
E   @@ -1,3 +1,3 @@
E - -drwxr-xr-x   0000 2015-12-02 
16:01:40.00 ./
E - +drwxr-xr-x   0000 2015-12-02 
16:03:11.00 ./
E -  drwx--   0000 2015-12-02 
16:00:55.00 ./lost+found/
E + -drwxr-xr-x   0 root (0) root (0)0 
2015-12-02 16:01:40.00 ./
E + +drwxr-xr-x   0 root (0) root (0)0 
2015-12-02 16:03:11.00 ./
E +  drwx--   0 root (0) root (0)0 
2015-12-02 16:00:55.00 ./lost+found/
E   --rw-rw-rw-   0 1234 1234   28 2015-12-02 
16:01:40.00 ./date.txt
E   +-r--r--r--   0 4321 4321   44 2015-12-02 
16:03:11.00 ./date.txt
E   @@ -1 +1 @@
E   -Wed Dec 2 17:01:40 CET 2015
E   +jeudi 3 décembre 2015, 06:03:11 (UTC+1400)
E   @@ -1 +1 @@
E   -us-ascii
E   +utf-8

tests/comparators/test_fsimage.py:85: AssertionError
___ test_metadata 
___

differences = [, ]

def test_metadata(differences):
assert differences[0].source1 == 'metadata'
assert differences[0].source2 == 'metadata'
expected_diff = open(os.path.join(os.path.dirname(__file__), 
'../data/gzip_metadata_expected_diff')).read()
>   assert differences[0].unified_diff == expected_diff
E   assert '@@ -1 +1 @@\..., from Unix\n' == '@@ -1 +1 @@\n..., from Unix\n'
E   @@ -1 +1 @@
E - -gzip compressed data, last modified: Tue Jun 23 06:12:28 2015, max 
compression, from Unix
E ?   -
E + -gzip compressed data, last modified: Tue Jun 23 10:12:28 2015, max 
compression, from Unix
E ?  +
E - +gzip compressed data, last modified: Tue Jun 23 06:12:28 2015, 
from Unix
E ?   -
E + +gzip compressed data, last modified: Tue Jun 23 10:12:28 2015, 
from Unix
E ?  +

tests/comparators/test_gzip.py:54: AssertionError
___ test_metadata 
___

differences = [, , ]>]>]>]

def test_metadata(differences):
assert differences[0].source1 == 'metadata'
 

Bug#817193: diffoscope: failing tests: test_gzip.py::test_metadata, test_ipk.py::test_metadata, test_java.py::test_diff

2017-02-23 Thread Chris Lamb
tags 817193 + unreproducible
thanks

Chris Lamb wrote:

> Are you still any of these test failures with a recent diffoscope
> version? We have made a few locale changes recently so its likely
> that at least some of these are fixed.

As I can't reproduce this and there has been no reply I'm going to
go ahead and close it. Re-open if you can still demonstrate the issue
of course. :)


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-

___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds


Bug#814057: diffoscope: Add option to ignore mtimes

2017-02-23 Thread Chris Lamb
Chris Lamb wrote:

> So, we already ignore mtimes on specified command-line arguments:

Friendly ping on this :)

(See  for
more context)


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-

___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds


Кой определя цената?

2017-02-23 Thread Вива Кредит














Специално предложение!











Здравей,

Имаме супер новина!
До 04.03.2017 можеш да се възползваш
от новата оферта за първи заем. Вземи
300 или 350 лева за период от 14 дни и ние
ще ти дадем възможност сам да определиш
цената на кредита, която да платиш точно
на падеж. Повече за промоцията можеш да
разбереш тук. Заяви
пари още сега онлайн или на 0700 45
245.Можеш да удължиш периода на
изплащане на главницата с още 14 дни, като
точно на падеж платиш единствено цената
на кредита, която сам си определил. Имаш въпрос? Обади се още сега
на телефон 0700 45 245 (без
допълнително таксуване). Очакваме
те!

-
България е част от ЕС и
предоставя възможност за извънсъдебно
решаване на спорове за покупки онлайн
чрез този сайт http://ec.europa/odr









Съгласно Закона за Електронната
Търговия Ви информираме, че това може да
е непоискано търговско съобщение. Вие
може да го приемете или отхвърлите. Ако
не желаете да получавате повече
информация от "Вива Кредит", моля натиснете линка ОТПИСВАНЕ
и ще преустановим изпращането на
търговски съобщения към Вас.Ако сме
Ви обезпокоили, моля да ни извините! 











___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds