Merge lp:~sinzui/launchpad/conjoined-shortlist-0 into lp:launchpad
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Curtis Hovey | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | 12530 | ||||
Proposed branch: | lp:~sinzui/launchpad/conjoined-shortlist-0 | ||||
Merge into: | lp:launchpad | ||||
Diff against target: |
36 lines (+6/-3) 1 file modified
lib/lp/bugs/model/bugtask.py (+6/-3) |
||||
To merge this branch: | bzr merge lp:~sinzui/launchpad/conjoined-shortlist-0 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Curtis Hovey (community) | code | Approve | |
Review via email:
|
Description of the change
Increase the shortlist size for conjoined bugs.
Launchpad bug: https:/
Pre-
Test: ./bin/test -vvc -t doc/bugtask.txt -t doc/bugwatch.txt
There are oopses involving about 100 pathological bugs that have more than
15 bug tasks. The conjoined code uses shortlist and we see
UserWarning: shortlist() should not be used here.
We *do* want to use shortlist. Launchpad does not restrict bugtasks, nor
does it allow users to delete them--bugs *are* allowed to have more than
15. Lp does not have an issue working with these pathological cases, so
the shortlist can be increased.
-------
RULES
* Set the shortlist size to 200 to accommodate the bugs.
QA
* Visit https:/
* Verify it displays.
LINT
lib/
IMPLEMENTATION
Extracted the shortlist calls to a private method. Updated the call to
pass longest_
lib/
Self approve.