Merge lp:~stevenk/launchpad/bugdelta-information_type into lp:launchpad
Proposed by
Steve Kowalik
Status: | Merged |
---|---|
Approved by: | Steve Kowalik |
Approved revision: | no longer in the source branch. |
Merged at revision: | 15173 |
Proposed branch: | lp:~stevenk/launchpad/bugdelta-information_type |
Merge into: | lp:launchpad |
Diff against target: |
348 lines (+147/-31) 7 files modified
lib/lp/bugs/adapters/bugchange.py (+41/-5) lib/lp/bugs/adapters/bugdelta.py (+5/-4) lib/lp/bugs/browser/bugtask.py (+1/-1) lib/lp/bugs/interfaces/bug.py (+4/-2) lib/lp/bugs/stories/bugs/xx-bug-activity.txt (+18/-0) lib/lp/bugs/subscribers/bug.py (+10/-4) lib/lp/bugs/tests/test_bugchanges.py (+68/-15) |
To merge this branch: | bzr merge lp:~stevenk/launchpad/bugdelta-information_type |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ian Booth (community) | Approve | ||
Review via email: mp+103802@code.launchpad.net |
Commit message
Add support for information_type to BugDelta and BugChange, controlled with a feature flag.
Description of the change
Add support for changing information_type to BugDelta and BugChange.
I have left BugVisibilityChange and BugSecurityChange alone (and actually added the latter to __all__), and left the current tests alone, and added a few tests for the new behaviour.
I have gotten annoyed and ripped out the Bug{Visibility,
To post a comment you must log in.
Looks mighty fine. As discussed on irc, best to add TestBugTaskInte restingActivity as a doc test so everything is kept together and the tests don't become fragmented. Add add XXX for the removal of BugVisibilityChange and BugSecurityChange when the time is right.
I am a little concerned with the bug-change.txt deletions since the visibility and security changes which are deleted don't appear to be tested anywhere else. Adding a ff check to the doc test as is done elsewhere may be more appropriate so that we have full test coverage.