Debian Bug report logs - #989192
diffoscope: Differences in file lists are repeated at each depth level

version graph

Package: diffoscope; Maintainer for diffoscope is Reproducible builds folks <reproducible-builds@lists.alioth.debian.org>; Source for diffoscope is src:diffoscope (PTS, buildd, popcon).

Reported by: Mike Hommey <mh+reportbug@glandium.org>

Date: Fri, 28 May 2021 04:57:01 UTC

Severity: normal

Found in version diffoscope/175

Fixed in version diffoscope/193

Done: Chris Lamb <lamby@debian.org>

Bug is archived. No further changes may be made.

Forwarded to https://salsa.debian.org/reproducible-builds/diffoscope/-/issues/263

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Reproducible builds folks <reproducible-builds@lists.alioth.debian.org>:
Bug#989192; Package diffoscope. (Fri, 28 May 2021 04:57:04 GMT) (full text, mbox, link).


Acknowledgement sent to Mike Hommey <mh+reportbug@glandium.org>:
New Bug report received and forwarded. Copy sent to Reproducible builds folks <reproducible-builds@lists.alioth.debian.org>. (Fri, 28 May 2021 04:57:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Mike Hommey <mh+reportbug@glandium.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: diffoscope: Differences in file lists are repeated at each depth level
Date: Fri, 28 May 2021 13:53:07 +0900
Package: diffoscope
Version: 175
Severity: normal

STR:
- mkdir -p a/foo/bar b/foo/bar
- touch a/foo/bar/baz b/foo/bar/qux
- diffoscope a b --exclude-directory-metadata=recursive

Actual result:
--- a
+++ b
├── file list
│ @@ -1,3 +1,3 @@
│  foo
│  foo/bar
│ -foo/bar/baz
│ +foo/bar/qux
│   --- a/foo
├── +++ b/foo
│ ├── file list
│ │ @@ -1,2 +1,2 @@
│ │  bar
│ │ -bar/baz
│ │ +bar/qux
│ │   --- a/foo/bar
│ ├── +++ b/foo/bar
│ │ ├── file list
│ │ │ @@ -1 +1 @@
│ │ │ -baz
│ │ │ +qux

Expected Result:
--- a
+++ b
│   --- a/foo
├── +++ b/foo
│ │   --- a/foo/bar
│ ├── +++ b/foo/bar
│ │ ├── file list
│ │ │ @@ -1 +1 @@
│ │ │ -baz
│ │ │ +qux

Set Bug forwarded-to-address to 'https://salsa.debian.org/reproducible-builds/diffoscope/-/issues/263'. Request was from "Chris Lamb" <lamby@debian.org> to control@bugs.debian.org. (Tue, 08 Jun 2021 16:09:04 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Reproducible builds folks <reproducible-builds@lists.alioth.debian.org>:
Bug#989192; Package diffoscope. (Tue, 08 Jun 2021 16:15:05 GMT) (full text, mbox, link).


Acknowledgement sent to "Chris Lamb" <lamby@debian.org>:
Extra info received and forwarded to list. Copy sent to Reproducible builds folks <reproducible-builds@lists.alioth.debian.org>. (Tue, 08 Jun 2021 16:15:05 GMT) (full text, mbox, link).


Message #12 received at 989192@bugs.debian.org (full text, mbox, reply):

From: "Chris Lamb" <lamby@debian.org>
To: 989192@bugs.debian.org
Cc: "Mike Hommey" <mh+reportbug@glandium.org>
Subject: Re: diffoscope: Differences in file lists are repeated at each depth level
Date: Tue, 08 Jun 2021 17:04:50 +0100
forwarded 989192 https://salsa.debian.org/reproducible-builds/diffoscope/-/issues/263
thanks

I've forwarded this upstream here (so all our bugs are in the same place):

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


Regards,

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



Added tag(s) pending. Request was from "Chris Lamb" <lamby@debian.org> to control@bugs.debian.org. (Thu, 18 Nov 2021 19:57:04 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Reproducible builds folks <reproducible-builds@lists.alioth.debian.org>:
Bug#989192; Package diffoscope. (Thu, 18 Nov 2021 20:03:03 GMT) (full text, mbox, link).


Acknowledgement sent to "Chris Lamb" <lamby@debian.org>:
Extra info received and forwarded to list. Copy sent to Reproducible builds folks <reproducible-builds@lists.alioth.debian.org>. (Thu, 18 Nov 2021 20:03:03 GMT) (full text, mbox, link).


Message #19 received at 989192@bugs.debian.org (full text, mbox, reply):

From: "Chris Lamb" <lamby@debian.org>
To: 989192@bugs.debian.org
Cc: Mike Hommey <mh+reportbug@glandium.org>
Subject: Re: diffoscope: Differences in file lists are repeated at each depth level
Date: Thu, 18 Nov 2021 14:55:32 -0500 (EST)
tags 989192 + pending
thanks

Fixed in Git, pending upload:

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


Regards,

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



Reply sent to Chris Lamb <lamby@debian.org>:
You have taken responsibility. (Fri, 19 Nov 2021 16:21:03 GMT) (full text, mbox, link).


Notification sent to Mike Hommey <mh+reportbug@glandium.org>:
Bug acknowledged by developer. (Fri, 19 Nov 2021 16:21:03 GMT) (full text, mbox, link).


Message #24 received at 989192-close@bugs.debian.org (full text, mbox, reply):

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 989192-close@bugs.debian.org
Subject: Bug#989192: fixed in diffoscope 193
Date: Fri, 19 Nov 2021 16:19:26 +0000
Source: diffoscope
Source-Version: 193
Done: Chris Lamb <lamby@debian.org>

We believe that the bug you reported is fixed in the latest version of
diffoscope, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 989192@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Chris Lamb <lamby@debian.org> (supplier of updated diffoscope package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Fri, 19 Nov 2021 07:35:10 -0800
Source: diffoscope
Built-For-Profiles: nocheck
Architecture: source
Version: 193
Distribution: unstable
Urgency: medium
Maintainer: Reproducible builds folks <reproducible-builds@lists.alioth.debian.org>
Changed-By: Chris Lamb <lamby@debian.org>
Closes: 989192
Changes:
 diffoscope (193) unstable; urgency=medium
 .
   [ Chris Lamb ]
   * Don't duplicate file lists at each directory level.
     (Closes: #989192, reproducible-builds/diffoscope#263)
   * When pretty-printing JSON, mark the difference as such, additionally
     avoiding including the full path.
     (Closes: reproducible-builds/diffoscope#205)
 .
   * Codebase improvements:
     - Update a bunch of %-style string interpolations into f-strings or
       str.format.
     - Import itertools top-level directly.
     - Drop some unused imports.
     - Use isinstance(...) over type(...) ==
     - Avoid aliasing variables if we aren't going to use them.
 .
   [ Brandon Maier ]
   * Fix missing diff output on large diffs.
 .
   [ Mattia Rizzolo ]
   * Ignore a Python warning coming from a dependent library (triggered by
     supporting Python 3.10)
   * Document that support both Python 3.9 and 3.10.
Checksums-Sha1:
 4df60892ffaad71e4daf36aeea5d8be08e798231 4973 diffoscope_193.dsc
 51648ad21ff37347b6708e292ec45e7292ed7afd 2090440 diffoscope_193.tar.xz
 c57225b31532c08e1ecfeb0288bb553d465a7cc3 6883 diffoscope_193_amd64.buildinfo
Checksums-Sha256:
 c9b042485cf110c1dddb9cec6ae7f0afdb94f21191fb391359a909eccfef456d 4973 diffoscope_193.dsc
 9ab9a12dec68409e09f306133134ee57524f4fd8d3ce29759ebd497f637510b8 2090440 diffoscope_193.tar.xz
 1870c590390f700811be8234a859137845d96dccc3126925adcd6dfb5ebb94cd 6883 diffoscope_193_amd64.buildinfo
Files:
 e0e26c06551a38af54d4533b30ff2d7d 4973 devel optional diffoscope_193.dsc
 7bbcf3a73edbf4ecbf3d0b9560409c2a 2090440 devel optional diffoscope_193.tar.xz
 3d099a83920b7f17d5f4ae097bc82e12 6883 devel optional diffoscope_193_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEwv5L0nHBObhsUz5GHpU+J9QxHlgFAmGXyzUACgkQHpU+J9Qx
HlhgfRAAuwjepK5gJkG9d0EiEeAmjaG32rewRpx+qsUdaHJ8ZyW15GInsvCKFdnK
Jr9X9S3aI1jc7KJAQQDn+9PttQH8Jm5uQPuMjo0Hlm8TNm4IrhB+TFiI/jGNIlSs
VVLJ1drwpsV+TRYFsdJZVZr09f59EN9EA+QXf84JBbRRdlleBwvUTyCrTVZYeYkf
OchTrEL8YrRyGPPxTWF2be6BNjvZ5SpHGnL86Ul2MDwyZobb063vwQacP2t/Moha
TPuBJE9zk1kk7tUp/Gn/m9103fmrHS8OK1Z7rjcmRKtjQ1GapY4zCCF8L5HKVLTA
yfB+aja1b74pW2Bt/IraMtWfEX8uo28FD3VddZonwZ1cY+6mo1+3I8rHM6aVkPMO
CU0yYqJkkjUEApQ8VVNC/13lX4li5F3uMTyj1LsgceQy8zJBONxR6B7PIrwpGUZh
pFe2fYUNBzh3Fj8/kpQ9S/KhD0d2/ovdRrbG7M3NQDOCxyEWmojN7pO2DAqft4xd
v4q75Hg7TWyAjD+fngIA83QL4Gt/CffoC6jM+SHUTjTa0tOTXopdTDEaQhYXojqF
E/QPwIQ8pSixZJ63t7wxZpdviY4OQ9w3hJjKq6cStP6Skj2RUtjyrv2nF0w5Zc7w
10wOizNb34niprjOWr/18zpXE0UWKgpZwpX7XIFl6uKxBGEt2Hs=
=izLV
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 20 Dec 2021 07:28:38 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed May 17 10:03:57 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.