On 2023-11-27 19:54 +0100, Sven Joachim wrote: > Package: dh-debputy > Version: 0.1.9 > Severity: normal > > I was playing around with dh-debputy and tried to convert xterm to it. > That seems to mostly work, however two HTML files are now compressed: > > ,---- > | $ debdiff /var/cache/apt/archives/xterm_388-1_amd64.deb > ../xterm_388-1_amd64.deb > | [The following lists of changes regard files as different if they have > | different names, permissions or owners.] > | > | Files in second .deb but not in first > | ------------------------------------- > | -rw-r--r-- root/root /usr/share/doc-base/xterm.ctlseqs > | -rw-r--r-- root/root /usr/share/doc-base/xterm.faq > | -rw-r--r-- root/root /usr/share/doc/xterm/xterm.faq.html.gz > | -rw-r--r-- root/root /usr/share/doc/xterm/xterm.log.html.gz > | > | Files in first .deb but not in second > | ------------------------------------- > | -rw-r--r-- root/root /usr/share/doc-base/xterm.xterm-ctlseqs > | -rw-r--r-- root/root /usr/share/doc-base/xterm.xterm-faq > | -rw-r--r-- root/root /usr/share/doc/xterm/xterm.faq.html > | -rw-r--r-- root/root /usr/share/doc/xterm/xterm.log.html > | > | Control files: lines which differ (wdiff format) > | ------------------------------------------------ > | Installed-Size: [-2438-] {+1710+} > `---- > > It seems that the list of extensions not to compress was converted > incorrectly from dh_compress, for the latter ignores *.htm* files, > except for changelog.html.
Hopefully this is easy enough to reproduce and to fix, but if you want to try yourself with xterm, I set up a branch on Salsa: https://salsa.debian.org/joachim-guest/xterm/-/tree/debputy Cheers, Sven