Bug#907600: diffoscope: add option to ignore timestamp differences in containers

2019-02-19 Thread Chris Lamb
tags 907600 + pending fixed-upstream
thanks

Fixed in Git, pending upload:

  
https://salsa.debian.org/reproducible-builds/diffoscope/commit/e47c4bf83661357e0a62cf8f15a93bbe37bff2e9

  diffoscope/comparators/directory.py|  2 +-
  diffoscope/comparators/utils/compare.py|  2 +-
  diffoscope/comparators/utils/libarchive.py | 13 -
  diffoscope/comparators/zip.py  | 11 ---
  diffoscope/config.py   |  2 +-
  diffoscope/main.py | 21 +++--
  6 files changed, 34 insertions(+), 17 deletions(-)


Regards,

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



Bug#907600: diffoscope: add option to ignore timestamp differences in containers

2018-12-15 Thread Chris Lamb
forwarded 907600 
https://salsa.debian.org/reproducible-builds/diffoscope/issues/36
thanks

I've forwarded this upstream here:

  https://salsa.debian.org/reproducible-builds/diffoscope/issues/36


Regards,

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



Bug#907600: diffoscope: add option to ignore timestamp differences in containers

2018-08-30 Thread Felipe Sateler
On Thu, Aug 30, 2018, 12:31 Chris Lamb  wrote:

> Dear Felipe,
>
> > > Does the --exclude-directory-metadata option match your requirements?
> >
> > No, and according to the manpage it is intentional
>
> Whoops, apologies for the premature suggestion.


No worries, it was still useful :)


Indeed, it seems like I
> was confused in the past:
>
>   http://bugs.debian.org/893324
>
> … leading me to add that exact line:
>
>
> https://salsa.debian.org/reproducible-builds/diffoscope/commit/0da118a131f95811c158c5d47e4d620d01a233ea
>
> One option here would be to extend the --exclude-directory-metadata
> option to ignore metadata inside archive formats too rather than create
> a new, separate, option. Thoughts?
>

I would assume the current behavior is intentional, so it probably should
be an (optional) argument for this new behavior. But it would work for me.

Saludos


Bug#907600: diffoscope: add option to ignore timestamp differences in containers

2018-08-30 Thread Chris Lamb
Dear Felipe,

> > Does the --exclude-directory-metadata option match your requirements?
> 
> No, and according to the manpage it is intentional

Whoops, apologies for the premature suggestion. Indeed, it seems like I
was confused in the past:

  http://bugs.debian.org/893324

… leading me to add that exact line:

  
https://salsa.debian.org/reproducible-builds/diffoscope/commit/0da118a131f95811c158c5d47e4d620d01a233ea

One option here would be to extend the --exclude-directory-metadata
option to ignore metadata inside archive formats too rather than create
a new, separate, option. Thoughts?


Regards,

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



Bug#907600: diffoscope: add option to ignore timestamp differences in containers

2018-08-30 Thread Felipe Sateler
Hi Chris,
On Thu, Aug 30, 2018 at 4:43 AM Chris Lamb  wrote:

> Dear Felipe,
>
> > diffoscope has been a very useful tool for me, in comparing dumps of
> > various sorts spit out by several systems. It would be great to have an
> > option to ignore timestamps
>
> Does the --exclude-directory-metadata option match your requirements?


No, and according to the manpage it is intentional:

> Metadata of archive members remain un-excluded.

I could get the results I want by unpacking the tarballs on two dirs and
then using this option, though, so thanks for suggesting it!

It would still be nice if diffoscope provided this option natively.

-- 

Saludos,
Felipe Sateler


Bug#907600: diffoscope: add option to ignore timestamp differences in containers

2018-08-30 Thread Chris Lamb
Dear Felipe,

> diffoscope has been a very useful tool for me, in comparing dumps of
> various sorts spit out by several systems. It would be great to have an
> option to ignore timestamps

Does the --exclude-directory-metadata option match your requirements?


Regards,

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



Bug#907600: diffoscope: add option to ignore timestamp differences in containers

2018-08-29 Thread Felipe Sateler
Package: diffoscope
Version: 99
Severity: wishlist
Tags: upstream

Hi,

diffoscope has been a very useful tool for me, in comparing dumps of
various sorts spit out by several systems. It would be great to have an
option to ignore timestamps, in order to be able to check if two
tarballs/zipballs/whateverballs have the same contents, even if the
contents were generated on different dates.

Thanks for considering

-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 
'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.18.0-rc5-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages diffoscope depends on:
ii  libpython3.6-stdlib3.6.6-3
ii  python33.6.6-1
ii  python3-distro 1.3.0-1
ii  python3-distutils  3.6.6-1
ii  python3-libarchive-c   2.1-3.1
ii  python3-magic  2:0.4.15-2
ii  python3-pkg-resources  39.2.0-1

Versions of packages diffoscope recommends:
pn  abootimg 
ii  acl  2.2.52-3+b1
pn  apktool  
pn  binutils-multiarch   
ii  bzip21.0.6-9
pn  caca-utils   
ii  colord   1.3.3-2
pn  db-util  
ii  default-jdk [java-sdk]   2:1.10-68
ii  default-jdk-headless 2:1.10-68
pn  device-tree-compiler 
pn  docx2txt 
ii  e2fsprogs1.44.4-2
pn  enjarify 
pn  fontforge-extras 
pn  fp-utils 
ii  genisoimage  9:1.1.11-3+b2
ii  gettext  0.19.8.1-7
pn  ghc  
ii  ghostscript  9.22~dfsg-3
pn  giflib-tools 
pn  gnumeric 
ii  gnupg2.2.9-2
ii  imagemagick  8:6.9.10.8+dfsg-1
ii  imagemagick-6.q16 [imagemagick]  8:6.9.10.8+dfsg-1
pn  jsbeautifier 
pn  libarchive-tools 
pn  llvm 
ii  lz4  1.8.2-1
ii  mono-utils   4.6.2.7+dfsg-2
pn  odt2txt  
pn  oggvideotools
ii  openjdk-10-jdk [java-sdk]10.0.2+13-1
ii  openjdk-8-jdk [java-sdk] 8u181-b13-1
ii  openssh-client   1:7.7p1-4
pn  pgpdump  
ii  poppler-utils0.63.0-2
pn  procyon-decompiler   
pn  python3-argcomplete  
pn  python3-binwalk  
ii  python3-debian   0.1.33
pn  python3-defusedxml   
pn  python3-guestfs  
pn  python3-jsondiff 
ii  python3-progressbar  2.3-4
ii  python3-pyxattr  0.6.0-2+b2
pn  python3-tlsh 
pn  r-base-core  
ii  rpm2cpio 4.14.1+dfsg1-4
pn  sng  
ii  sqlite3  3.24.0-1
ii  squashfs-tools   1:4.3-6
pn  tcpdump  
ii  unzip6.0-21
ii  vim-common   2:8.1.0320-1
ii  xmlbeans 2.6.0+dfsg-4
ii  xxd  2:8.1.0320-1
ii  xz-utils 5.2.2-1.3

Versions of packages diffoscope suggests:
ii  libjs-jquery  3.2.1-1

-- no debconf information