Forbid creation of recipe builds for obsolete series through the API
Bug #607125 reported by
William Grant
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Paul Hummer |
Bug Description
The UI forbids creation of recipe builds for obsolete distroseries, but the API does not. It should, since they'll never build without chroots.
Related branches
lp://qastaging/~rockstar/launchpad/unsupported-series-recipe-api
- Robert Collins (community): Approve
-
Diff: 518 lines (+120/-112)10 files modifieddatabase/schema/security.cfg (+2/-0)
lib/lp/code/browser/configure.zcml (+2/-2)
lib/lp/code/browser/sourcepackagerecipe.py (+4/-36)
lib/lp/code/errors.py (+12/-0)
lib/lp/code/model/sourcepackagerecipe.py (+22/-2)
lib/lp/code/model/tests/test_sourcepackagerecipe.py (+22/-21)
lib/lp/code/model/tests/test_sourcepackagerecipe.py.moved (+0/-40)
lib/lp/code/model/tests/test_sourcepackagerecipebuild.py (+6/-6)
lib/lp/code/vocabularies/sourcepackagerecipe.py (+38/-0)
lib/lp/testing/factory.py (+12/-5)
Changed in launchpad-code: | |
status: | New → Triaged |
importance: | Undecided → High |
tags: | added: recipe |
tags: | added: recipe |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad-code: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Just bitten by this in that we had to cancel some builds for unsupported distros