l.b.e._.SourceForge(ExternalBugTracker) : class documentation

Part of lp.bugs.externalbugtracker View In Hierarchy

An ExternalBugTracker for SourceForge bugs.
Method initializeRemoteBugDB See ExternalBugTracker.
Method getRemoteImportance See ExternalBugTracker.
Method getRemoteStatus See ExternalBugTracker.
Method convertRemoteImportance See ExternalBugTracker.
Method convertRemoteStatus See IExternalBugTracker.
Method getRemoteProduct Return the remote product for a given bug.
Method _extractErrorMessage Extract an error message from a SourceForge page and return it.
def initializeRemoteBugDB(self, bug_ids):
See ExternalBugTracker.

We override this method because SourceForge does not provide a nice way for us to export bug statuses en masse. Instead, we resort to screen-scraping on a per-bug basis. Therefore the usual choice of batch vs. single export does not apply here and we only perform single exports.

def _extractErrorMessage(self, page_data):
Extract an error message from a SourceForge page and return it.
def getRemoteImportance(self, bug_id):
See ExternalBugTracker.

This method is implemented here as a stub to ensure that existing functionality is preserved. As a result, UNKNOWN_REMOTE_IMPORTANCE will always be returned.

def getRemoteStatus(self, bug_id):
See ExternalBugTracker.
def convertRemoteImportance(self, remote_importance):
See ExternalBugTracker.

This method is implemented here as a stub to ensure that existing functionality is preserved. As a result, BugTaskImportance.UNKNOWN will always be returned.

def convertRemoteStatus(self, remote_status):
See IExternalBugTracker.
def getRemoteProduct(self, remote_bug):
Return the remote product for a given bug.
ReturnsA tuple of (group_id, atid) for the remote bug.
API Documentation for Launchpad, generated by pydoctor at 2022-06-14 00:00:13.