Add xz-compressed archive indexes

Bug #1517510 reported by Colin Watson on 2015-11-18
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
High
Colin Watson

Bug Description

We currently only provide {Packages,Sources,Translations-*}.{gz,bz2}. xz is generally a better compression format than bz2 and is usually preferred by Debian these days. I'd like to add xz support, and preferably drop bz2 support not too long afterwards.

Related branches

Colin Watson (cjwatson) on 2015-11-18
tags: added: feature soyuz-publish
Changed in launchpad:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Colin Watson (cjwatson)
Colin Watson (cjwatson) wrote :

I've proposed merges to (I believe) all the relevant bits of infrastructure which need to be changed first. The relevant internal RT ticket is https://portal.admin.canonical.com/86477.

We should also think about whether this applies to old series, or just >= xenial; my instinct is the latter, not least because we'd want to drop .bz2 fairly soon afterwards and that seems excessively intrusive for old series. But continuing to widen DistroSeries with even more boolean columns seems messy. How about perhaps adding a publishing_options (or similar) JSON column? We could then turn backports_not_automatic and include_long_descriptions into properties using that; those are only used by the DistroSeries webservice export, InitializeDistroSeries, and the publisher, and there's no need for them to be indexed or anything. That would make it easy to configure this kind of feature for this case and for the future.

Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
Changed in launchpad:
status: Triaged → Fix Committed
Colin Watson (cjwatson) wrote :

This is deployable and adding xz to index_compressors will work, but we need to deploy https://code.launchpad.net/~cjwatson/launchpad/ftparchive-cleanup-old-indexes/+merge/285428 before removing bzip2.

tags: added: qa-ok
removed: qa-needstesting
Colin Watson (cjwatson) wrote :

xenial now has xz indexes and no bz2 indexes.

Changed in launchpad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers