Missing Contents-*.gz in PPAs

Bug #769607 reported by Andrea Corbellini
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

Launchpad PPAs do not contain Contents-*.gz files. Example:

  http://ppa.launchpad.net/gnome3-team/gnome3/ubuntu/dists/natty/Contents-i386.gz

Such files are really useful with tools like apt-file.

Tags: feature ppa
Curtis Hovey (sinzui)
Changed in launchpad:
status: New → Triaged
importance: Undecided → Low
tags: added: feature ppa
Revision history for this message
Julian Edwards (julian-edwards) wrote :

It's generated once a day for Ubuntu using the generate-contents script, but takes a *long* time. It needs some thought for PPAs.

Revision history for this message
Andrea Corbellini (andrea.corbellini) wrote :

Maybe instead of regenerating the whole Contents-*.gz everyday, I'd be better to rewrite just the parts of the files that involve the packages modified (new/updated/removed). I don't have a deep knowledge of the argument (nor I have some real data to look at), but I think this should improve performances a lot.

Revision history for this message
Jjed (jjed) wrote :

@Julian: Is there a reason the script doesn't use the apt-ftparchive cache -db option? After the initial archive crawl that speeds things up enormously.

Revision history for this message
Robert Collins (lifeless) wrote :

@Jacob Yes, we don't use apt-ftparchive at all :). There is a schema patch coming along to let us generate them.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.