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

2014-02-23 Thread Daniel Hartwig
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::liststd::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


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



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

2014-02-23 Thread Daniel Hartwig
user debian...@lists.debian.org
usertag 739854 + gift
thanks

Nice to have, but not a serious blocker.  Contact
de...@lists.debian.org or myself if the previous mail did not contain
enough information to implement.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



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

2014-02-23 Thread Daniel Hartwig
On 23 February 2014 18:42, Daniel Hartwig mand...@gmail.com wrote:
 user debian...@lists.debian.org
 usertag 739854 + gift
 thanks

 Nice to have, but not a serious blocker.  Contact
 de...@lists.debian.org or myself if the previous mail did not contain
 enough information to implement.


This mail should have gone to #739854.  The control header is ok.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



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

2014-02-23 Thread Daniel Hartwig
Nice to have, but not a serious blocker.  Contact
de...@lists.debian.org or myself if the previous mail did not contain
enough information to implement.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org