Separate translations out of Packages to reduce download requirements for multiarch clients

Bug #845475 reported by Colin Watson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Colin Watson

Bug Description

https://blueprints.launchpad.net/ubuntu/+spec/foundations-o-multiarch-next-steps requires that some clients start downloading Packages files for multiple architectures on 'apt-get update'. As it stands, this will double users' bandwidth costs and time.

We agreed that the correct fix is to move the long descriptions from the Packages files (which are in practice common across architectures) out to the Translation-en file. apt-ftparchive already knows how to do this with a configuration option, and apt-get already knows to fetch the Translation-* files, so all we need is a small change to Launchpad to start doing this for Ubuntu Oneiric and beyond.

https://code.launchpad.net/~cjwatson/launchpad/multiarch-translations has been ready for a while, pending a database deployment which happened today. Jeroen Vermeulen asked me to file this bug to go with it so that it can be used for QA.

Tags: qa-ok

Related branches

Changed in launchpad:
status: New → In Progress
importance: Undecided → High
assignee: nobody → Colin Watson (cjwatson)
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
Changed in launchpad:
status: In Progress → Fix Committed
Revision history for this message
William Grant (wgrant) wrote :

OK in the default state (include_long_descriptions = true), but the lucid apt backport seems to hang when attempting to write out Translations.en. Works fine on oneiric, but we should investigate before switching it on in production.

tags: added: qa-ok
removed: qa-needstesting
Revision history for this message
Michael Vogt (mvo) wrote :

I was able to reproduce the hang and put a fix into lp:~mvo/apt/lucid-apt-ftparchive

Revision history for this message
Michael Vogt (mvo) wrote :

I upload a new package with the fix into https://edge.launchpad.net/~mvo/+archive/apt-ftparchive-lucid now.

William Grant (wgrant)
Changed in launchpad:
status: Fix Committed → Fix Released
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.