← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] lp:~cjwatson/launchpad/uncompressed-indexes into lp:launchpad

 

The proposal to merge lp:~cjwatson/launchpad/uncompressed-indexes into lp:launchpad has been updated.

Description changed to:

Clean up handling of uncompressed archive index files.

apt requires checksums of the uncompressed versions of index files it downloads, even if it doesn't actually download the uncompressed versions.  Our approach to this for Packages, Sources, and Translation-* has historically been to create the uncompressed versions as well.  However, for the primary archive this requires a hack in lp:ubuntu-archive-publishing to remove the uncompressed versions before mirroring, and for PPAs it just leaves lots of unnecessary cruft all over the filesystem.  Contents handling is now moving into apt, as well as DEP-11 metadata; in both those cases it's quite inconvenient to take the same approach, so it's time to clean this up.

We now generate Release entries for uncompressed versions of files regardless of whether they exist on the filesystem, by decompressing one of the other versions.  This means that we can also stop creating uncompressed Packages/Sources files, and progressively clean these up as archives are published.  The hack in ubuntu-archive-publishing can be removed after this is deployed.

We'll be able to use something based on the "old_index_files" approach later on to remove .bz2 files once we have .xz support.

For more details, see:
https://code.launchpad.net/~cjwatson/launchpad/uncompressed-indexes/+merge/285109
-- 
Your team Launchpad code reviewers is requested to review the proposed merge of lp:~cjwatson/launchpad/uncompressed-indexes into lp:launchpad.


References