lp://staging/~kfogel/launchpad/255868-patches-view-from-bugs-page
- Get this branch:
- bzr branch lp://staging/~kfogel/launchpad/255868-patches-view-from-bugs-page
Branch merges
- Curtis Hovey (community): Approve (ui and code)
-
Diff: 547 lines (+206/-48)5 files modifiedlib/lp/bugs/browser/bugtask.py (+10/-1)
lib/lp/bugs/stories/patches-view/patches-view.txt (+89/-0)
lib/lp/bugs/stories/xx-bugs-statistics-portlet.txt (+52/-46)
lib/lp/bugs/templates/bugtarget-portlet-bugfilters-content.pt (+10/-0)
lib/lp/bugs/tests/bug.py (+45/-1)
Related bugs
Related blueprints
Branch information
Recent revisions
- 9009. By Karl Fogel
-
For bug #255868 (link to "+patches" view from product bugs page),
include all statuses in count of bugs with patches, and update
tests accordingly. Also, fix a missing import in one test file.* lib/lp/
bugs/browser/ bugtask. py: Import RESOLVED_ BUGTASK_ STATUSES.
(BugsStatsMixin.bugs_ with_patches_ count): Include all bugs in count. * lib/lp/
bugs/stories/ patches- view/patches- view.txt: Expect
5 bugs with patches now, instead of 4, due to above change.* lib/lp/
bugs/stories/ xx-bugs- statistics- portlet. txt: Import
print_bugfilters_ portlet_ unfilled, print_bugfilter s_portlet_ filled. - 9007. By Karl Fogel
-
Add tests for Bug #255868 (link to "+patches" view from product bugs page).
* lib/lp/
bugs/tests/ bug.py: Import print_table.
(print_bugfilters_ portlet_ unfilled,
print_bugfilters_ portlet_ filled) : New functions. * lib/lp/
bugs/stories/ xx-bugs- statistics- portlet. txt:
(print_portlet, print_portlet_contents) : Remove, as these
have now been moved to bug.py and renamed as per above.
Use the replacements, and extend expected test output to
include the new "bugs with patches" item.* lib/lp/
bugs/stories/ patches- view/patches- view.txt:
Add tests for the presence and accuracy of the new stats. - 9006. By Karl Fogel
-
Tests for Bug #255868: link to "+patches" view from product bugs page.
* lib/lp/
bugs/stories/ xx-bugs- statistics- portlet. txt:
Extend test output to expect the new item. - 9004. By Karl Fogel
-
Resolve Bug #255868: link to "+patches" view from product bugs page.
* lib/lp/
bugs/templates/ bugtarget- portlet- bugfilters- content. pt:
Add new item "Bugs with patches" to the portlet.* lib/lp/
bugs/browser/ bugtask. py
(BugsStatsMixin.bugs_ with_patches_ count): New property. - 9003. By Launchpad PQM Bot
-
[rs=buildbot-
poller] automatic merge from stable. Revisions: 10318,
10319, 10320 included. - 9002. By Launchpad PQM Bot
-
[rs=buildbot-
poller] automatic merge from stable. Revisions: 10317
included.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp://staging/launchpad/db-devel