Merge lp:~deryck/launchpad/lock-fix-released-status-126516 into lp:launchpad
| Status: | Merged | ||||
|---|---|---|---|---|---|
| Approved by: | Jelmer Vernooij on 2010-10-20 | ||||
| Approved revision: | no longer in the source branch. | ||||
| Merged at revision: | 11785 | ||||
| Proposed branch: | lp:~deryck/launchpad/lock-fix-released-status-126516 | ||||
| Merge into: | lp:launchpad | ||||
| Diff against target: |
252 lines (+69/-21) 11 files modified
lib/lp/bugs/browser/tests/bugs-views.txt (+1/-1) lib/lp/bugs/doc/bugtask.txt (+1/-1) lib/lp/bugs/doc/displaying-bugs-and-tasks.txt (+1/-1) lib/lp/bugs/doc/malone-karma.txt (+1/-1) lib/lp/bugs/model/bugtask.py (+4/-3) lib/lp/bugs/stories/bugs/xx-bug-text-pages.txt (+3/-2) lib/lp/bugs/stories/bugs/xx-incomplete-bugs.txt (+10/-0) lib/lp/bugs/tests/bugs-emailinterface.txt (+8/-8) lib/lp/bugs/tests/test_bugtask_1.py (+4/-2) lib/lp/bugs/tests/test_bugtask_status.py (+34/-0) lib/lp/soyuz/doc/closing-bugs-from-changelogs.txt (+2/-2) |
||||
| To merge this branch: | bzr merge lp:~deryck/launchpad/lock-fix-released-status-126516 | ||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Jelmer Vernooij (community) | code | 2010-10-20 | Approve on 2010-10-20 |
|
Review via email:
|
|||
Commit Message
Lock FIXRELEASED bugtask status so that only project maintainers and bug supervisors can transition away from that status.
Description of the Change
This branch locks the status FIXRELEASED so that only project
maintainers and bug supervisors can transition away from the status.
Status transitions are well tested.
./bin/test -cvvt test_bugtask_status
The widget which allows toggling status on the bug page uses
IBugTask.
clickable. So no changes are needed to the UI.
Thanks for the review!
| Deryck Hodge (deryck) wrote : | # |
Hi, Jelmer.
I've got a new bug linked now. Thanks for catching that!
Also, I'd like to keep the line breaks. That phrasing is used throughout the tests, and longer status names require the line break. Even though these lines here don't require it, in the context of the entire test, I felt it was more readable to be consistent.
Thanks for the review!
Cheers,
deryck

The line breaks for line 46 and 76 seem unnecessary, please consider removing them.
As pointed out on IRC, the linked bug report requests a slightly different change (transitioning to FIXRELEASED vs transitioning away from it).