#907126 debdiff: please show mode changes when comparing source packages

Package:
devscripts
Source:
devscripts
Description:
scripts to make the life of a Debian Package maintainer easier
Submitter:
Michael Hudson-Doyle
Date:
2021-03-04 13:09:02 UTC
Severity:
wishlist
#907126#5
Date:
2018-08-24 03:50:22 UTC
From:
To:
Dear Maintainer,

We've had a few bugs in ubuntu where execute bits have been lost on
scripts for whatever reason. Figuring out what was going on was not
made easier by the fact that these changes are invisible to debdiff, for
example, comparing these two dscs:

https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/apt-setup/1:0.141ubuntu1/apt-setup_0.141ubuntu1.dsc
https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/apt-setup/1:0.141ubuntu2/apt-setup_0.141ubuntu2.dsc

Gives just this output:

diff -Nru apt-setup-0.141ubuntu1/debian/changelog apt-setup-0.141ubuntu2/debian/changelog
--- apt-setup-0.141ubuntu1/debian/changelog	2018-05-19 03:09:32.000000000 +0000
+++ apt-setup-0.141ubuntu2/debian/changelog	2018-08-20 09:58:36.000000000 +0000
@@ -1,3 +1,10 @@
+apt-setup (1:0.141ubuntu2) cosmic; urgency=medium
+
+  * Restore execute bits on generators/91security and
+    finish-install.d/10apt-cdrom-setup.
+
+ -- Michael Hudson-Doyle <michael.hudson@ubuntu.com>  Mon, 20 Aug 2018 21:58:36 +1200
+
 apt-setup (1:0.141ubuntu1) cosmic; urgency=low

   * Merge from Debian unstable.  Remaining changes:

Not showing the change that was actually the point of the upload.

Cheers,
mwh
--- /etc/devscripts.conf ---
--- ~/.devscripts --- DEBSIGN_KEYID=AB757E23 DGET_VERIFY=no
#907126#14
Date:
2021-03-04 13:06:45 UTC
From:
To:
Here is one way to implement this. See attached, and sample output of
the debdiff.