Merge lp:~stevenk/launchpad/dsd-lose-diffs into lp:launchpad
Proposed by
Steve Kowalik
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Steve Kowalik | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | 12677 | ||||
Proposed branch: | lp:~stevenk/launchpad/dsd-lose-diffs | ||||
Merge into: | lp:launchpad | ||||
Diff against target: |
56 lines (+35/-0) 2 files modified
lib/lp/registry/model/distroseriesdifference.py (+5/-0) lib/lp/soyuz/tests/test_distroseriesdifferencejob.py (+30/-0) |
||||
To merge this branch: | bzr merge lp:~stevenk/launchpad/dsd-lose-diffs | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Henning Eggers (community) | code | Approve | |
Review via email: mp+55059@code.launchpad.net |
Commit message
[r=henninge][bug=744074] Invalidate diffs when updating a DSD.
Description of the change
When a DSD is updated, the current package diffs should be invalidated, since they now contain out-of-date data. It is not in scope to request them again, since we already have UI underway to request diffs for a DSD.
To post a comment you must log in.
Looks good, thanks for doing this.
I think it makes sense to test both package_diff and parent_package for None. Also, please use "assertIs" and "assertIsNot" to test for None (thanks wgrant).
Already done, thanks! ;-)