Merge lp:~bryce/launchpad/lp-31745-237126-617102 into lp:launchpad
Status: | Merged | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Approved by: | Bryce Harrington | ||||||||||||
Approved revision: | no longer in the source branch. | ||||||||||||
Merged at revision: | 11434 | ||||||||||||
Proposed branch: | lp:~bryce/launchpad/lp-31745-237126-617102 | ||||||||||||
Merge into: | lp:launchpad | ||||||||||||
Diff against target: |
56 lines (+16/-5) 2 files modified
lib/lp/bugs/doc/externalbugtracker-bugzilla.txt (+3/-1) lib/lp/bugs/externalbugtracker/bugzilla.py (+13/-4) |
||||||||||||
To merge this branch: | bzr merge lp:~bryce/launchpad/lp-31745-237126-617102 | ||||||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Deryck Hodge (community) | code | Approve | |
Launchpad code reviewers | Pending | ||
Review via email: mp+33182@code.launchpad.net |
Commit message
[bug=31745][bug=237126][bug=617102][ui=none][r=] Improve mapping of unusual Bugzilla statuses and resolutions to more appropriate Launchpad status values.
Description of the change
This fixes three bugs relating to the mapping of bugzilla statuses to Launchpad statuses.
(LP: #31745, #237126, #617102).
Different bugzilla instances sometimes add custom statuses and resolutions beyond the defaults; we have tracked some of these, this branch adds several more.
We also recently added an Expired status to Launchpad. This branch takes advantage of this by mapping a few relevant Bugzilla resolutions to it.
For situations where the bug was closed with an unrecognized resolution, we had been mapping those unknown resolutions to be status 'Invalid'. Instead, this branch explicitly maps resolutions that *should* be invalid to Invalid, and any other unknown resolutions map to status 'Unknown'.
I've tested this using 'test -t bugzilla' and run it successfully through ec2 test.
I've done a lint check and verified this branch adds no new lint errors.