l.b.s.b.BugImporter : class documentation

Part of lp.bugs.scripts.bugimport View In Hierarchy

Import bugs into Launchpad
Method __init__ Undocumented
Method getPerson Get the Launchpad user corresponding to the given XML node
Method getMilestone Undocumented
Method loadCache Load the Bug ID mapping and pending duplicates list from cache.
Method saveCache Save the bug ID mapping and pending duplicates list to cache.
Method haveImportedBug Return True if the given bug has been imported already.
Method importBugs Import bugs from a file.
Method importBug Undocumented
Method createMessage Create an IMessage representing a <comment> element.
Method createAttachments Create attachments that were attached to the given comment.
Method handleDuplicate Handle duplicate processing for the given bug report.
def __init__(self, product, bugs_filename, cache_filename, verify_users=False, logger=None):
Undocumented
def getPerson(self, node):
Get the Launchpad user corresponding to the given XML node
def getMilestone(self, name):
Undocumented
def loadCache(self):
Load the Bug ID mapping and pending duplicates list from cache.
def saveCache(self):
Save the bug ID mapping and pending duplicates list to cache.
def haveImportedBug(self, bugnode):
Return True if the given bug has been imported already.
def importBugs(self, ztm):
Import bugs from a file.
def importBug(self, bugnode):
Undocumented
def createMessage(self, commentnode, defaulttitle=None):
Create an IMessage representing a <comment> element.
def createAttachments(self, bug, message, commentnode):
Create attachments that were attached to the given comment.
def handleDuplicate(self, bug, bug_id, duplicateof=None):
Handle duplicate processing for the given bug report.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.