Translation templates should always be uploaded from soyuz builds.

Bug #741571 reported by Henning Eggers
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Critical
Henning Eggers

Bug Description

The fix for bug 732612 is preventing all translation uploads when an upstream project exists. That is more than is wanted because templates will always have to be uploaded. This can be fixed quite easily, though.

To fix this, addOrUpdateEntriesFromTarball needs to filter only for pot files. TranslationImporter.isTemplateName is doing the check and it is being instantiated in _isTranslationFile, so that would be a good place to do the filtering. A flag called 'only_templates' should be added to addOrUpdateEntriesFromTarball to control that.

This is critical because the fix for bug 732612 cannot be rolled out without this.

Related branches

Changed in launchpad:
status: Triaged → In Progress
assignee: nobody → Henning Eggers (henninge)
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
Changed in launchpad:
milestone: none → 11.04
tags: added: qa-needstesting
Changed in launchpad:
status: In Progress → Fix Committed
William Grant (wgrant)
tags: added: qa-bad
removed: qa-needstesting
Revision history for this message
William Grant (wgrant) wrote :

There's a missing DB permission: queued needs SELECT on packaging. This only affects cocoplum/germanium.

William Grant (wgrant)
tags: added: qa-ok
removed: qa-bad
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.