WIP: Also search .deb for changelog in /u/s/d/$source/
A non-native Debian package must include its changelog in /usr/share/doc/
In https://bugs.debian.org/875305, the submitter notes that this makes programmatic changelog extraction difficult and that the DebFile.changelog()
method fails with packages such as perl-base in releases up to buster. The suggestion is made to search in /usr/share/doc/$sourcepackage. These patches were originally posted to the bug and are incorporated here for discussion. (A little bit of tweaking to add to cope with other code changes in debfile.py
.)
However, looking carefully at Policy, using the source package name appears to be the wrong things to do, and that DebFile.changelog()
should instead attempt to follow symlinks within the package.
Merge request reports
Activity
mentioned in merge request !39 (merged)
Closing this one in favour of !39 (merged).