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

Bug#739854: libapt-pkg-dev: get list of changelog URIs



Package: libapt-pkg-dev
Version: 0.9.15.1
Severity: minor

Noted on another bug [1] and no doubt observed by anyone who has read
the source of more than one frontend, libapt should contain a function
to generate a list of possible changelog URIs for a package.
Currently apt-get, aptitude, synaptic, and maybe others all duplicate
this inconsistently.

Suggest at least the obvious, minimal interface:
 // return a list of possible changelog URIs to be tried in order
 std::list<std::string> GetChangelogURIs(pkgCache::VerIterator)

using appropriate parts of apt-get.cc as that supports the additional
check for changelogs being stored alongside package files under
"pool/" (although I have no idea whether any derivative is using
that).  This will also provide a central location to update in
response to issues such as the recent change to
metadata.ftp-master.d.o and https usage.

[1] http://bugs.debian.org/738785#35


Reply to: