Upload policy names are duplicated with the actual builds

Bug #510894 reported by Jonathan Lange
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Medium
Guilherme Salgado

Bug Description

SourcePackageRecipeUploadPolicy has a policy name that is (must be) an exact duplicate of SourcePackageRecipeBuild.policy_name. It must be identical in order to work.

We should factor out constants so that we have the string literal in exactly one place, preferably forming some kind of well defined interface.

Might be wise to fix this at the same time as bug 510892.

Related branches

Jonathan Lange (jml)
Changed in soyuz:
assignee: Jonathan Lange (jml) → nobody
Changed in soyuz:
assignee: nobody → Guilherme Salgado (salgado)
status: Triaged → In Progress
Changed in soyuz:
status: In Progress → Fix Committed
Revision history for this message
Launchpad QA Bot (lpqabot) wrote : Bug fixed by a commit
tags: added: qa-needstesting
tags: added: qa-untestable
removed: qa-needstesting
Ursula Junque (ursinha)
Changed in soyuz:
milestone: none → 10.09
Curtis Hovey (sinzui)
Changed in soyuz:
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.