Merge lp:~abentley/launchpad/config-disable-build-requests into lp:launchpad
| Status: | Merged |
|---|---|
| Approved by: | Francis J. Lacoste on 2010-06-09 |
| Approved revision: | no longer in the source branch. |
| Merged at revision: | 10985 |
| Proposed branch: | lp:~abentley/launchpad/config-disable-build-requests |
| Merge into: | lp:launchpad |
| Diff against target: |
40 lines (+12/-0) 2 files modified
lib/lp/code/model/sourcepackagerecipe.py (+3/-0) lib/lp/code/model/tests/test_sourcepackagerecipe.py (+9/-0) |
| To merge this branch: | bzr merge lp:~abentley/launchpad/config-disable-build-requests |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Francis J. Lacoste (community) | release-critical | 2010-06-09 | Approve on 2010-06-09 |
| Paul Hummer (community) | Approve on 2010-06-09 | ||
| Edwin Grubbs | code | 2010-06-09 | Pending |
|
Review via email:
|
|||
Description of the Change
= Summary =
With build_from_
UI, but they can reach it via URL hacking, and the API is unaffected.
== Proposed fix ==
Disable requesting a source package recipe build when
build_from_
== Pre-implementation notes ==
Discussed with flacoste and bigjools
== Implementation details ==
This simply raises a ValueError. This may cause an oops in the UI, but I think
this is acceptable because they got there by URL hacking. I want this branch
to be minimal, so that it is acceptable as a cherrypick.
== Tests ==
bin/test -vt requestBuildHon
== Demo and Q/A ==
Attempt to request a build on edge or staging. It should fail.
= Launchpad lint =
Checking for conflicts. and issues in doctests and templates.
Running jslint, xmllint, pyflakes, and pylint.
Using normal rules.
Linting changed files:
lib/lp/
lib/lp/

Since we had another recipe job take down the build farm this morning, I've landed this branch on devel and production-devel this morning and Tom cherry picked the changes to edge and lpnet.