On Wed, Jun 25, 2014 at 10:34 PM, Johannes Schauer <j.scha...@email.de> wrote: > Hi Julian, > > Quoting Julian Andres Klode (2014-06-25 22:28:51) >> That software should use the API provided by APT to access APT files. The >> layout of /var/lib/apt/lists and the contents of the files is an >> implementation detail, we already broke the expectations of others once when >> we renamed InRelease files to Release files if we could not trust them. >> Furthermore, APT might store indices compressed in various formats. With >> future archive changes, things might even become more different. > > maybe I am misreading your message but "That software should use the API > provided by APT" sounds as if there is an API to retrieve the information that > is otherwise given by the string returned by debPackagesIndex.Describe(). > Which > function am I overlooking?
Now I understand what you mean. I thought you meant the location of the files on disk. Do you mean the location on the mirror instead? Stuff like architecture, etc. is exported in the cache in pkgCache::PackageFile. -- Julian Andres Klode - Debian Developer, Ubuntu Member See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org