Merge lp://staging/~allenap/launchpad/kde-bugzilla-being-odd into lp://staging/launchpad
Proposed by
Gavin Panella
Status: | Merged |
---|---|
Approved by: | Gavin Panella |
Approved revision: | not available |
Merged at revision: | not available |
Proposed branch: | lp://staging/~allenap/launchpad/kde-bugzilla-being-odd |
Merge into: | lp://staging/launchpad |
Diff against target: |
125 lines (+39/-23) 2 files modified
lib/lp/bugs/doc/externalbugtracker-bugzilla.txt (+28/-3) lib/lp/bugs/externalbugtracker/bugzilla.py (+11/-20) |
To merge this branch: | bzr merge lp://staging/~allenap/launchpad/kde-bugzilla-being-odd |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Brad Crittenden (community) | code | Approve | |
Review via email: mp+17142@code.staging.launchpad.net |
Commit message
Don't break when an XML-RPC reply from a remote Bugzilla instance is not a mapping. Older Bugzilla instances return tuples. Also, simplify Bugzilla version parsing.
To post a comment you must log in.
KDE bugs returns tuples instead of mappings to XML-RPC calls. This causes the Bugzilla sniffer to fall over. I've changed it to consider anything other than a dict as unsupported (for API consideration). This means Launchpad will fall-back to the standard boring stupid Bugzilla support, which should work at least. This addresses bug 505958. I discussed this with Graham Binns briefly before implementation.
I also noticed that I could have a go at fixing Bugzilla. _parseVersion( ) to simply extract the numeric parts of the version. This addresses bug 334980.
Lint free.
Test: bin/test -vvt 'external.*bug'