Part of lp.bugs.externalbugtracker View In Hierarchy
Known subclasses: lp.bugs.externalbugtracker.bugzilla.BugzillaAPI
Method | __init__ | Undocumented |
Method | getExternalBugTrackerToUse | Return the correct Bugzilla subclass for the current bugtracker. |
Method | convertRemoteImportance | See ExternalBugTracker . |
Method | convertRemoteStatus | See IExternalBugTracker . |
Method | initializeRemoteBugDB | See ExternalBugTracker . |
Method | getRemoteBug | See ExternalBugTracker . |
Method | getRemoteBugBatch | See ExternalBugTracker . |
Method | getRemoteImportance | See ExternalBugTracker . |
Method | getRemoteStatus | See ExternalBugTracker. |
Method | getRemoteProduct | See IExternalBugTracker . |
Method | _remoteSystemHasBugzillaAPI | Return True if the remote host offers the Bugzilla API. |
Method | _remoteSystemHasPluginAPI | Return True if the remote host has the Launchpad plugin installed. |
Method | _parseDOMString | Return a minidom instance representing the XML contents supplied |
Method | _probe_version | Retrieve and return a remote bugzilla version. |
Method | _parseVersion | Return a Bugzilla version parsed into a tuple. |
Method | _checkBugSearchResult | Does document appear to be a bug search result page? |
Returns | True if the remote host offers an XML-RPC API and its version is >= 3.4. Return False otherwise. |
If the version cannot be parsed from the remote server
UnparsableBugTrackerVersion
will be raised. If the remote
server cannot be reached BugTrackerConnectError
will be
raised.
A typical tuple will be in the form (major_version, minor_version), so the version string '2.15' would be returned as (2, 15).
If the passed version is None, None will be returned.
If the version cannot be parsed UnparsableBugTrackerVersion
will be raised.
IExternalBugTracker
.
Bugzilla status consist of two parts separated by space, where the last part is the resolution. The resolution is optional.
ExternalBugTracker
.
This method is overridden so that Bugzilla version issues can be accounted for.
document
appear to be a bug search result page?Parameters | document | An xml.dom.Document built from a bug search result
on the bugzilla instance. |
Raises | UnparsableBugData | If document does not appear to be a bug
search result. |
ExternalBugTracker
.IExternalBugTracker
.