l.b.m.b.BugWatchSet : class documentation

Part of lp.bugs.model.bugwatch View In Hierarchy

A set for BugWatch
Method __init__ Undocumented
Method get See `IBugWatch`Set.
Method search Undocumented
Method fromText See IBugWatchSet.
Method fromMessage See IBugWatchSet.
Method createBugWatch See IBugWatchSet.
Method parseBugzillaURL Extract the Bugzilla base URL and bug ID.
Method parseMantisURL Extract the Mantis base URL and bug ID.
Method parseDebbugsURL Extract the Debbugs base URL and bug ID.
Method parseRoundupURL Extract the RoundUp base URL and bug ID.
Method parseRTURL Extract the RT base URL and bug ID.
Method parseTracURL Extract the Trac base URL and bug ID.
Method parseSourceForgeLikeURL Extract the SourceForge-like base URLs and bug IDs.
Method parseSavaneURL Extract Savane base URL and bug ID.
Method parseEmailAddressURL Extract an email address from a bug URL.
Method parsePHPProjectURL Extract a PHP project bug tracker base URL and bug ID.
Method parseGoogleCodeURL Extract a Google Code bug tracker base URL and bug ID.
Method parseGitHubURL Extract a GitHub Issues base URL and bug ID.
Method parseGitLabURL Extract a GitLab Issues base URL and bug ID.
Method extractBugTrackerAndBug See IBugWatchSet.
Method getBugWatchesForRemoteBug See IBugWatchSet.
Method bulkSetError See IBugWatchSet.
Method bulkAddActivity See IBugWatchSet.
def __init__(self, bug=None):
Undocumented
def get(self, watch_id):
See `IBugWatch`Set.
def search(self):
Undocumented
def fromText(self, text, bug, owner):
See IBugWatchSet.
def fromMessage(self, message, bug):
See IBugWatchSet.
def createBugWatch(self, bug, owner, bugtracker, remotebug):
See IBugWatchSet.
def parseBugzillaURL(self, scheme, host, path, query):
Extract the Bugzilla base URL and bug ID.
def parseMantisURL(self, scheme, host, path, query):
Extract the Mantis base URL and bug ID.
def parseDebbugsURL(self, scheme, host, path, query):
Extract the Debbugs base URL and bug ID.
def parseRoundupURL(self, scheme, host, path, query):
Extract the RoundUp base URL and bug ID.
def parseRTURL(self, scheme, host, path, query):
Extract the RT base URL and bug ID.
def parseTracURL(self, scheme, host, path, query):
Extract the Trac base URL and bug ID.
def parseSourceForgeLikeURL(self, scheme, host, path, query):
Extract the SourceForge-like base URLs and bug IDs.

Both path and hostname are considered. If the hostname corresponds to one of the aliases for the SourceForge celebrity, that celebrity will be returned (there can be only one SourceForge instance in Launchpad).

def parseSavaneURL(self, scheme, host, path, query):
Extract Savane base URL and bug ID.
def parseEmailAddressURL(self, scheme, host, path, query):
Extract an email address from a bug URL.

This method will return (mailto:<email_address>, '') since email address bug trackers cannot have bug numbers. We return an empty string for the remote bug since BugWatch.remotebug cannot be None.

def parsePHPProjectURL(self, scheme, host, path, query):
Extract a PHP project bug tracker base URL and bug ID.
def parseGoogleCodeURL(self, scheme, host, path, query):
Extract a Google Code bug tracker base URL and bug ID.
def parseGitHubURL(self, scheme, host, path, query):
Extract a GitHub Issues base URL and bug ID.
def parseGitLabURL(self, scheme, host, path, query):
Extract a GitLab Issues base URL and bug ID.
def extractBugTrackerAndBug(self, url):
See IBugWatchSet.
def getBugWatchesForRemoteBug(self, remote_bug, bug_watch_ids=None):
See IBugWatchSet.
def bulkSetError(self, references, last_error_type=None):
See IBugWatchSet.
def bulkAddActivity(self, references, result=BugWatchActivityStatus.SYNC_SUCCEEDED, oops_id=None):
See IBugWatchSet.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.