Merge lp://staging/~gary/launchpad/subscriptions_for_bug-1 into lp://staging/launchpad
Status: | Merged |
---|---|
Approved by: | Gary Poster |
Approved revision: | no longer in the source branch. |
Merged at revision: | 12435 |
Proposed branch: | lp://staging/~gary/launchpad/subscriptions_for_bug-1 |
Merge into: | lp://staging/launchpad |
Diff against target: |
423 lines (+224/-36) 5 files modified
lib/lp/bugs/browser/bugsubscription.py (+9/-4) lib/lp/bugs/browser/tests/test_bugsubscription_views.py (+17/-3) lib/lp/bugs/interfaces/bugtask.py (+19/-11) lib/lp/bugs/model/bugtask.py (+38/-18) lib/lp/bugs/model/tests/test_bugtask.py (+141/-0) |
To merge this branch: | bzr merge lp://staging/~gary/launchpad/subscriptions_for_bug-1 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Leonard Richardson (community) | Approve | ||
Review via email:
|
Commit message
[r=leonardr][no-qa] add an API to get all of the subscriptions for a set of bugtasks.
Description of the change
This branch adds an API to get all of the subscriptions for a set of bugtasks. I had a pre-implementation call with Graham Binns and a mid-implementation call with Danilo Segan.
I extracted a helper function from getStructuralSu
This method will be used on a view of the subscriptions for a bug. I exposed it there and added a simple test.
I agonized a bit about the location and name of the new method. In particular, the semantics of getStructuralSu
I made several changes to placate lint. The whitespace changes for closing brackets seemed questionable to me, but it was simplest to go along with it; the rest of the lint changes were good.
This looks good.
That comment starting "Either we have both distroseries..." is a monster sentence. I know you were just cleaning up the formatting, but if you can also reword it, go for it.
I don't understand why you have self-proclaimed demo content in bug-subscriptio n-list. pt. Did you mean to remove that?