Part of lp.bugs.externalbugtracker.bugzilla View In Hierarchy
ExternalBugTracker
to handle Bugzillas using the LP Plugin.Method | getExternalBugTrackerToUse | The Bugzilla LP Plugin has been chosen, so return self. |
Method | getModifiedRemoteBugs | See IExternalBugTracker . |
Method | initializeRemoteBugDB | See IExternalBugTracker . |
Method | getCurrentDBTime | See IExternalBugTracker . |
Method | getCommentIds | See ISupportsCommentImport . |
Method | fetchComments | See ISupportsCommentImport . |
Method | addRemoteComment | Add a comment to the remote bugtracker. |
Method | getLaunchpadBugId | Return the current Launchpad bug ID for a given remote bug. |
Method | setLaunchpadBugId | Set the Launchpad bug for a given remote bug. |
Method | _authenticate | Authenticate with the remote Bugzilla instance. |
Inherited from BugzillaAPI:
Method | __init__ | Undocumented |
Method | xmlrpc_proxy | Return an xmlrpclib.ServerProxy to self.xmlrpc_endpoint. |
Method | credentials | Undocumented |
Method | getRemoteStatus | See IExternalBugTracker . |
Method | getRemoteImportance | See IExternalBugTracker . |
Method | getRemoteProduct | See IExternalBugTracker . |
Method | getProductsForRemoteBugs | Return the products to which a set of remote bugs belong. |
Method | getPosterForComment | See ISupportsCommentImport . |
Method | getMessageForComment | See ISupportsCommentImport . |
Method | _storeBugs | Store remote bugs in the local bugs dict. |
Method | _getActualBugId | Return the actual bug id for an alias or id. |
Method | _getBugIdsToRetrieve | For a set of bug IDs, return those for which we have no data. |
Inherited from Bugzilla (via BugzillaAPI):
Method | convertRemoteImportance | See ExternalBugTracker . |
Method | convertRemoteStatus | See IExternalBugTracker . |
Method | getRemoteBug | See ExternalBugTracker . |
Method | getRemoteBugBatch | See ExternalBugTracker . |
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? |
Authentication works by means of using a LoginToken of type BUGTRACKER. We send the token text to the remote server as a parameter to Launchpad.login(), which verifies it using the standard launchpad.net/token/$token/+bugtracker-handshake URL.
If the token is valid, Bugzilla will send us a user ID as a return value for the call to Launchpad.login() and will set two cookies in the response header, Bugzilla_login and Bugzilla_logincookie, which we can then use to re-authenticate ourselves for each subsequent method call.
IExternalBugTracker
.IExternalBugTracker
.See ISupportsBackLinking
.
See ISupportsBackLinking
.