Bug#1024457: "apt changelog" fails to display the complete changelog

2022-11-19 Thread David Kalnischkies
Control: severity -1 important

On Sat, Nov 19, 2022 at 10:42:01PM +0200, Adrian Bunk wrote:
> Severity: serious

Well, no. You haven't provided a reason and I fail to find an obvious
one as apt's key functionality is hardly effected by a not (by default)
working changelog sub-command… could Debian release with this "bug"
unfixed? Certainly, given that it might/likely fails for other reasons
like the online repository not actually providing changelogs.

That said, severity hardly makes a difference for us anyhow as somehow
assigning severity doesn't magically assign free time as well (at "best"
higher values have a negative effect), so grave or wishlist doesn't
really matter, but I suppose important is closer to your hope of getting
that fixed before the release some way.


> debhelper recently started removing older changelog entries from
> binary packages, but the way to get them with apt does not work:

https://salsa.debian.org/apt-team/apt/-/merge_requests/261


Best regards

David Kalnischkies


signature.asc
Description: PGP signature


Bug#1024457: "apt changelog" fails to display the complete changelog

2022-11-19 Thread Adrian Bunk
Package: apt
Version: 2.5.4
Severity: serious
X-Debbugs-Cc: Debhelper Maintainers 

debhelper recently started removing older changelog entries from
binary packages, but the way to get them with apt does not work:

$ zcat /usr/share/doc/apt/changelog.gz | tail -5

 -- Julian Andres Klode   Mon, 05 Aug 2019 21:26:10 +0200

# Older entries have been removed from this changelog.
# To read the complete changelog use `apt changelog apt`.
$ apt changelog apt | tail -5

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

 -- Julian Andres Klode   Mon, 05 Aug 2019 21:26:10 +0200

# Older entries have been removed from this changelog.
# To read the complete changelog use `apt changelog apt`.
Fetched 42.8 kB in 0s (0 B/s)
$


Somehow apt fails to download the other 21 years of changelog entries,
and performs the useless task of showing the truncated shipped changelog.