Upload policy names are duplicated with the actual builds
Bug #510894 reported by
Jonathan Lange
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Medium
|
Guilherme Salgado |
Bug Description
SourcePackageRe
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
lp://qastaging/~salgado/launchpad/upload-policy-utility
- Julian Edwards (community): Approve
-
Diff: 699 lines (+251/-150)12 files modifiedlib/canonical/launchpad/webapp/meta.zcml (+7/-0)
lib/canonical/launchpad/webapp/metazcml.py (+16/-0)
lib/canonical/launchpad/webapp/tests/test_metazcml.py (+30/-0)
lib/lp/archiveuploader/tests/__init__.py (+53/-1)
lib/lp/archiveuploader/tests/test_uploadprocessor.py (+13/-9)
lib/lp/archiveuploader/tests/uploadpolicy.txt (+28/-20)
lib/lp/archiveuploader/uploadpolicy.py (+48/-109)
lib/lp/archiveuploader/uploadprocessor.py (+7/-7)
lib/lp/code/configure.zcml (+5/-0)
lib/lp/code/model/sourcepackagerecipebuild.py (+29/-2)
lib/lp/soyuz/configure.zcml (+11/-0)
lib/lp/soyuz/scripts/soyuz_process_upload.py (+4/-2)
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 |
tags: |
added: qa-untestable removed: qa-needstesting |
Changed in soyuz: | |
milestone: | none → 10.09 |
Changed in soyuz: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fixed in stable r11388 <http:// bazaar. launchpad. net/~launchpad- pqm/launchpad/ stable/ revision/ 11388>.