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

Part of lp.bugs.externalbugtracker View In Hierarchy

An ExternalBugTracker descendant for handling Roundup bug trackers.
Method __init__ Create a new Roundup instance.
Method getSingleBugExportURL Return the URL for single bug CSV export.
Method getBatchBugExportURL Return the URL for batch (all bugs) CSV export.
Method getRemoteBug See ExternalBugTracker.
Method getRemoteBugBatch See ExternalBugTracker
Method getRemoteImportance See ExternalBugTracker.
Method getRemoteStatus See ExternalBugTracker.
Method convertRemoteImportance See ExternalBugTracker.
Method convertRemoteStatus See IExternalBugTracker.
Method _getBug Return the bug with the ID bug_id from the internal bug list.
def __init__(self, baseurl):
Create a new Roundup instance.

The fields/columns to fetch from the remote bug tracker are derived based on the host part of the baseurl.

Unknown Field: baseurlThe starting URL for accessing the remote Roundup bug tracker.
def getSingleBugExportURL(self, bug_id):
Return the URL for single bug CSV export.
def getBatchBugExportURL(self):
Return the URL for batch (all bugs) CSV export.
def _getBug(self, bug_id):
Return the bug with the ID bug_id from the internal bug list.

BugNotFound will be raised if the bug does not exist. InvalidBugId will be raised if bug_id is not of a valid format.

Parametersbug_idThe ID of the remote bug to return. (type: int)
def getRemoteBug(self, bug_id):
See ExternalBugTracker.
def getRemoteBugBatch(self, bug_ids):
See ExternalBugTracker
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.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.