Package: libapt-pkg-dev Version: 0.6.38 Severity: wishlist I'd like to allow archive specifiers to be attached to commands that take a source package name (like "aptitude changelog"). However, the information that I can get through the public interface of apt-pkg doesn't seem to be sufficient to find out which archive a particular source package belongs to. As far as I can tell, the archive information is stored in the Dist field of metaIndex; while you can reach an IndexFile from a pkgSrcRecords::Parser object, there's no route that I can find to get your hands on either the Dist or the corresponding metaIndex.
The most obvious way of addressing this that I can see is to add a link from the IndexFile objects to their corresponding metaIndex, and perhaps to add an Archive() convenience routine to look up the archive of a Parser. Daniel -- /------------------- Daniel Burrows <[EMAIL PROTECTED]> ------------------\ | swapon /dev/ram | \- Does your computer have Super Cow Powers? ------- http://www.debian.org -/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]