Merge lp:~adeuring/launchpad/bug-586808 into lp:launchpad/db-devel
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Graham Binns | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | 9428 | ||||
Proposed branch: | lp:~adeuring/launchpad/bug-586808 | ||||
Merge into: | lp:launchpad/db-devel | ||||
Diff against target: |
162 lines (+35/-13) 6 files modified
lib/lp/bugs/browser/bugtask.py (+1/-1) lib/lp/bugs/browser/tests/test_bugtask.py (+9/-8) lib/lp/bugs/doc/bugtask-status-workflow.txt (+11/-1) lib/lp/bugs/interfaces/bugtask.py (+11/-2) lib/lp/bugs/tests/bugs-emailinterface.txt (+1/-1) lib/lp/bugs/tests/bugtarget-bugcount.txt (+2/-0) |
||||
To merge this branch: | bzr merge lp:~adeuring/launchpad/bug-586808 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Graham Binns (community) | code | Approve | |
Review via email: mp+26480@code.launchpad.net |
Description of the change
This branch adds a new bug task status "OPINION" as described in
https:/
The changes are quit striaghtforward, I think. The enumeration
BugTaskStatus got a new element. I used the remaining integer value
between INCOMPLETE and INVALID: The method BugTask.
makes some assumptions about the ordering of the values, in order to
determine if some timestamps like date_in_progess should be set.
As discussed in the LEP, we consider the new status as a "closed"
status, so I added it to RESOLVED_
The method BugTaskSearchLi
shortlist, whose maximum length increased by the addition of the
new status.
I added a short explicit test of the new new status in
bugtask-
The other changes simply ensure that existing test do not fail.
Tests:
./bin/test -t bugtask-
-t test_bugtask \
-t bugtask-
-t bugs-emailinter
-t bugtarget-
-t test_bugtask_
= 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/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
== Pylint notices ==
lib/lp/
1245: [C0322, BugTaskSearchPa
search_
^
I think that the description of the new status could be rephrased thus:
The bug remains open for discussion only. This status is usually used where there is disagreement over whether the bug is relevant to the current target and whether it should be fixed
Other than that, I'm happy with this change.