l.c.s.b.BugBranchLinker : class documentation

Part of lp.codehosting.scanner.buglinks View In Hierarchy

Links branches to bugs based on revision metadata.
Method __init__ Undocumented
Method extractBugInfo Parse bug information out of the given revision property.
Method createBugBranchLinksForRevision Create bug-branch links for a revision.
Method _getBugFromUrl Undocumented
Method _getBugStatus Undocumented
def __init__(self, db_branch):
Undocumented
def _getBugFromUrl(self, url):
Undocumented
def _getBugStatus(self, bzr_status):
Undocumented
def extractBugInfo(self, bzr_revision):
Parse bug information out of the given revision property.
Parametersbug_status_propA string containing lines of '<bug_url> <status>'.
Returnsdict mapping bug IDs to BugBranchStatuses.
def createBugBranchLinksForRevision(self, bzr_revision):
Create bug-branch links for a revision.

This looks inside the 'bugs' property of the given Bazaar revision and creates a BugBranch record for each bug mentioned.

API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.