Merge lp://staging/~wgrant/launchpad/unuse-bugtask-markers into lp://staging/launchpad
Proposed by
William Grant
Status: | Merged |
---|---|
Approved by: | Curtis Hovey |
Approved revision: | no longer in the source branch. |
Merged at revision: | 13489 |
Proposed branch: | lp://staging/~wgrant/launchpad/unuse-bugtask-markers |
Merge into: | lp://staging/launchpad |
Diff against target: |
609 lines (+71/-215) 11 files modified
lib/canonical/launchpad/doc/canonical_url_examples.txt (+5/-5) lib/canonical/launchpad/mail/helpers.py (+2/-50) lib/lp/bugs/browser/bugtask.py (+20/-61) lib/lp/bugs/browser/configure.zcml (+6/-37) lib/lp/bugs/browser/tests/bugtask-adding-views.txt (+15/-14) lib/lp/bugs/doc/bugtask-package-widget.txt (+3/-3) lib/lp/bugs/doc/bugtask.txt (+0/-22) lib/lp/bugs/model/tests/test_bugtask.py (+3/-4) lib/lp/bugs/stories/bugtask-management/xx-change-milestone.txt (+2/-2) lib/lp/bugs/subscribers/bugtask.py (+2/-2) lib/lp/registry/vocabularies.py (+13/-15) |
To merge this branch: | bzr merge lp://staging/~wgrant/launchpad/unuse-bugtask-markers |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Curtis Hovey (community) | code | Approve | |
Review via email: mp+68636@code.staging.launchpad.net |
Commit message
[incr] [r=sinzui][bug=80902] Remove most uses of the I*BugTask marker interfaces.
Description of the change
This branch begins the elimination of IUpstreamBugTask, IDistroBugTask, IDistroSeriesBu
To post a comment you must log in.
I think this branch is good to land, but I have a few questions I hope to you can answer.
I see the milestone controls have a sensible name now, but I do not see how this was accomplished. I assume all is good since tests did not break. 0_firefox. milestone' ) 1.0.milestone' )
- ... name='1.
+ ... name='firefox_
I think getMilestoneTar get() is wrong, and it has been wrong since mid 2006. Milestones names are owned by the pillar (since 2006), though their direct parent as of 2009 is the series. I expect the rules for productseries and distroseries to be identical, yet they are not. A the milestone target for a productseries is a product. Why is a distroseries a milestone target? And why is a distroseries the target for a sourcepackage? providedBy( bug_target) : context. product providedBy( bug_target) : context. productseries. product providedBy( bug_target) or urcePackage. providedBy( bug_target) ): context. distribution providedBy( bug_target) or providedBy( bug_target) ): context. distroseries /bugs.launchpad .net/launchpad/ +bug/423692
+ if IProduct.
+ target = milestone_
+ elif IProductSeries.
+ target = milestone_
+ elif (IDistribution.
+ IDistributionSo
+ target = milestone_
+ elif (IDistroSeries.
+ ISourcePackage.
+ target = milestone_
You may not know the answer to this since this change preserves the existing behaviour. My question does not block your landing. This may relate to https:/