[Aptitude-devel] Bug#889924: aptitude: obtaining changelogs
David Kalnischkies
david at kalnischkies.de
Fri Feb 9 12:53:48 UTC 2018
On Fri, Feb 09, 2018 at 12:42:12PM +0100, Ansgar Burchardt wrote:
> FWIW we added a `Changelogs` field to Debian's Release files so tools
> like apt or aptitude no longer have to hardcode the source URL for
> changelogs for every distribution. This was requested by the apt
libapt has the pkgAcqChangelog class which can be used for this, e.g.
new pkgAcqChangelog(&Fetcher, Ver, ".");
to download the changelog file to the current directory – without giving
a path it will us a temporary file. See apt-private/private-download.cc
and especially DoChangelog for the implementation of "apt(-get)
changelog" as a complete example.
Perhaps this is another command aptitude could delegate entirely by
calling apt – but I don't know aptitude specifics.
Best regards
David Kalnischkies
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/aptitude-devel/attachments/20180209/59a0cd41/attachment.sig>
More information about the Aptitude-devel
mailing list