Merge lp:~stefanor/launchpad/retry-cancelled-build into lp:launchpad
Proposed by
Stefano Rivera
on 2012-10-09
| Status: | Merged | ||||
|---|---|---|---|---|---|
| Approved by: | Francesco Banconi on 2012-10-09 | ||||
| Approved revision: | no longer in the source branch. | ||||
| Merged at revision: | 16117 | ||||
| Proposed branch: | lp:~stefanor/launchpad/retry-cancelled-build | ||||
| Merge into: | lp:launchpad | ||||
| Diff against target: |
33 lines (+12/-0) 2 files modified
lib/lp/soyuz/model/binarypackagebuild.py (+1/-0) lib/lp/soyuz/tests/test_build.py (+11/-0) |
||||
| To merge this branch: | bzr merge lp:~stefanor/launchpad/retry-cancelled-build | ||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Francesco Banconi (community) | 2012-10-09 | Approve on 2012-10-09 | |
|
Review via email:
|
|||
Commit Message
Enable retry of user-cancelled builds.
Description of the Change
== Summary ==
Cancelled PPA builds (non-virtual builds aren't cancellable) should be retryable. The standard mechanisms for retrying builds will work just fine, so it's simply a matter of enabling it.
== Complexity rationale ==
I'm 309 LoC in the green.
== Tests ==
There is a test in lp.soyuz.
== QA ==
Testing this requires a virtualised PPA builder:
* Upload a source package.
* Cancel the build.
* Retry it.
* See that it builds & publishes correctly.
But as the change is so trivial, it's probably just simpler to just not QA it.
To post a comment you must log in.

This branch looks good, the tests pass.