[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

if a changelog is on a wiki, does the debian package need a local version?



Hi,

If a package's changelog is published on a wiki, is it still necessary
and/or desirable to ship a changelog with the Debian package?  If yes,
is something like the following the best solution:

curl https://btrfs.wiki.kernel.org/index.php/Changelog | html2text |
sed '0,/(announcement)/d;/By version (linux kernel)/Q' | gzip -9 >
debian/local/changelog.gz

Or is it the case, from what I've read here:
https://www.debian.org/doc/debian-policy/ch-docs.html#s-changelogs

that the following is preferred?:
curl https://btrfs.wiki.kernel.org/index.php/Changelog | gzip -9 >
debian/local/changelog.html.gz

Given standards-version 3.9.7, this has to be done when preparing a
new version of the package, and not when building, correct?  And to
actually add the changelog to the package, add the following to the
appropriate section of debian/rules:

install -D -m 644 debian/local/changelog.html.gz
debian/btrfs-progs/usr/share/doc/btrfs-progs/changelog.html.gz

If the upstream changelog was specific to just btrfs-progs, then I
would use the html version without question; however, because a
substantial portion of it does not pertain to the btrfs-progs package
itself, I wonder it's better to convert to text and cut the
non-applicable sections...

Please let me know,
Nicholas


Reply to: