lp:~kfogel/launchpad/255868-patches-view-from-bugs-page

Created by Karl Fogel on 2010-02-16 and last modified on 2010-02-22
Get this branch:
bzr branch lp:~kfogel/launchpad/255868-patches-view-from-bugs-page
Only Karl Fogel can upload to this branch. If you are Karl Fogel please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Karl Fogel
Project:
Launchpad itself
Status:
Development

Recent revisions

9010. By Karl Fogel on 2010-02-22

Merge from db-devel.

9009. By Karl Fogel on 2010-02-18

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_bugfilters_portlet_filled.

9008. By Karl Fogel on 2010-02-18

Merge from db-devel.

9007. By Karl Fogel on 2010-02-18

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 on 2010-02-17

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.

9005. By Karl Fogel on 2010-02-17

Merge from db-devel.

9004. By Karl Fogel on 2010-02-16

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 on 2010-02-16

[rs=buildbot-poller] automatic merge from stable. Revisions: 10318,
 10319, 10320 included.

9002. By Launchpad PQM Bot on 2010-02-15

[rs=buildbot-poller] automatic merge from stable. Revisions: 10317
 included.

9001. By Launchpad PQM Bot on 2010-02-15

[r=sinzui][ui=none] Add another repr and update some doctests.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:launchpad/db-devel
This branch contains Public information 
Everyone can see this information.

Subscribers