Merge lp:~wallyworld/launchpad/recipe-pending-build-testfix into lp:launchpad
Status: | Merged |
---|---|
Approved by: | Brad Crittenden |
Approved revision: | no longer in the source branch. |
Merged at revision: | 12593 |
Proposed branch: | lp:~wallyworld/launchpad/recipe-pending-build-testfix |
Merge into: | lp:launchpad |
Diff against target: |
237 lines (+90/-30) 4 files modified
lib/lp/code/interfaces/sourcepackagerecipe.py (+16/-1) lib/lp/code/javascript/requestbuild_overlay.js (+24/-28) lib/lp/code/model/sourcepackagerecipe.py (+11/-0) lib/lp/code/model/tests/test_sourcepackagerecipe.py (+39/-1) |
To merge this branch: | bzr merge lp:~wallyworld/launchpad/recipe-pending-build-testfix |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Brad Crittenden (community) | code | Approve | |
Review via email: mp+53033@code.launchpad.net |
Commit message
[r=bac][bug=728789] Ensure pending builds are always correctly disabled on the recipe request build popup form.
Description of the change
This change is a more complex but necessary way of fixing the correct rendering of existing pending builds on the Request Builds popup. The original way worked with the sample data but failed on some production data.
== Implementation ==
Is is necessary for the popup form, when displayed, to perform a named_get call to the new getPendingBuild
== Tests ==
A windmill test:
bin/test -vvt test_recipe_
== Lint ==
Linting changed files:
lib/lp/
lib/lp/
lib/lp/
./lib/lp/
228: E501 line too long (83 characters)
228: Line exceeds 78 characters.
./lib/lp/
110: Line exceeds 78 characters.
148: Line exceeds 78 characters.
180: Line exceeds 78 characters.
Hi Ian,
Thanks for the branch. It all seems to make sense.
I would like to see a unit test for your new method getPendingBuild Info.
And please clean up the issues pointed out by lint if they are real.