Upload buildfarm-generated templates

Bug #507680 reported by Jeroen T. Vermeulen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Henning Eggers

Bug Description

Once a bunch of templates have been generated from a branch and retrieved from the slave (bug 507678), a script needs to upload it to any productseries that wants its templates automatically generated from that branch.

Related branches

tags: added: wellington
Changed in rosetta:
status: New → Triaged
importance: Undecided → High
Changed in rosetta:
status: Triaged → In Progress
assignee: nobody → Henning Eggers (henninge)
milestone: none → 10.03
Revision history for this message
Jeroen T. Vermeulen (jtv) wrote :

The upload needs to be done by the master, of course (the slave has no access to the database). The code to do this should slot into TranslationTemplatesBuildBehavior._uploadTarball (look for the XXX with this bug's number).

As per our discussions yesterday, the chosen approach is for this code to pass the tarball straight to ITranslationImportQueue.addOrUpdateEntriesFromTarball, passing a new parameter that will tell it that the upload embodies the complete set of templates. With that information in hand, addOrUpdateEntriesFromTarball can approve instantly.

Revision history for this message
Ursula Junque (ursinha) wrote : Bug fixed by a commit
Changed in rosetta:
status: In Progress → Fix Committed
tags: added: qa-needstesting
tags: added: qa-untestable
removed: qa-needstesting
Changed in rosetta:
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.