Merge lp:~abentley/launchpad/safe-delete-recipe-build into lp:launchpad
Status: | Merged |
---|---|
Approved by: | Paul Hummer |
Approved revision: | no longer in the source branch. |
Merged at revision: | 11598 |
Proposed branch: | lp:~abentley/launchpad/safe-delete-recipe-build |
Merge into: | lp:launchpad |
Diff against target: |
71 lines (+31/-1) 3 files modified
lib/lp/code/model/sourcepackagerecipebuild.py (+5/-0) lib/lp/code/model/tests/test_sourcepackagerecipe.py (+15/-1) lib/lp/code/model/tests/test_sourcepackagerecipebuild.py (+11/-0) |
To merge this branch: | bzr merge lp:~abentley/launchpad/safe-delete-recipe-build |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Paul Hummer (community) | Approve | ||
Review via email: mp+36195@code.launchpad.net |
Commit message
Fix bug deleting recipe builds that have releases.
Description of the change
= Summary =
Fix bug #624815: Cannot delete a branch whose recipe build is referenced by a
sourcepackagere
== Proposed fix ==
NULL the references to sourcepackagere
== Pre-implementation notes ==
None
== Implementation details ==
None
== Tests ==
bin/test -t destroySelf_
== Demo and Q/A ==
Create a sourcepackage recipe and build it. Wait until it gets published.
Delete it.
= Launchpad lint =
Checking for conflicts and issues in changed files.
Linting changed files:
lib/lp/
lib/lp/
lib/lp/
./lib/lp/
257: E231 missing whitespace after ','
281: E231 missing whitespace after ','
289: E231 missing whitespace after ','
296: E231 missing whitespace after ','
304: E231 missing whitespace after ','
342: E231 missing whitespace after ','
402: E231 missing whitespace after ','