duplicate pending builds can be created
Bug #595686 reported by
Aaron Bentley
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Medium
|
Aaron Bentley |
Bug Description
There is no value in creating pending recipe builds which are identical (same archive, distroseries, recipe) as other pending builds. This can be done accidentally by an over-enthusiastic user, or by daily builds. We should forbid this.
Related branches
lp:~abentley/launchpad/skip-repeat-builds
- Brad Crittenden (community): Approve (code)
-
Diff: 362 lines (+176/-24)8 files modifiedlib/lp/code/browser/sourcepackagerecipe.py (+14/-7)
lib/lp/code/browser/tests/test_sourcepackagerecipe.py (+24/-3)
lib/lp/code/errors.py (+27/-6)
lib/lp/code/interfaces/webservice.py (+4/-3)
lib/lp/code/model/sourcepackagerecipe.py (+9/-1)
lib/lp/code/model/sourcepackagerecipebuild.py (+3/-0)
lib/lp/code/model/tests/test_sourcepackagerecipe.py (+76/-2)
lib/lp/code/model/tests/test_sourcepackagerecipebuild.py (+19/-2)
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad-code: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fixed in db-stable r9481 <http:// bazaar. launchpad. net/~launchpad- pqm/launchpad/ db-stable/ revision/ 9481>.