l.b.s.c.b.BugWatchUpdater(WorkingBase) : class documentation

Part of lp.bugs.scripts.checkwatches.bugwatchupdater View In Hierarchy

Known subclasses: lp.bugs.scripts.checkwatches.tests.test_bugwatchupdater.LoggingBugWatchUpdater

Handles the updating of a single BugWatch for checkwatches.
Method __init__ Undocumented
Method updateBugWatch Update the BugWatch.
Method importBugComments Import all the comments from the remote bug.
Method pushBugComments Push Launchpad comments to the remote bug.
Method linkLaunchpadBug Link a Launchpad bug to a given remote bug.
Method _formatRemoteComment Format a comment for a remote bugtracker and return it.

Inherited from WorkingBase:

Method init Undocumented
Method initFromParent Undocumented
Method interaction Context manager for interaction as the given user.
Method transaction Context manager to ring-fence database activity.
Method statement_logging Context manager to start and stop SQL statement logging.
Method warning Record a warning.
Method error Record an error.
Method _statement_logging_start Start logging SQL statements and other database activity.
Method _statement_logging_stop Stop logging SQL statements.
Method _statement_logging_reset Reset the SQL statement log, if enabled.
def __init__(self, parent, bug_watch, external_bugtracker):
Undocumented
@commit_before
def updateBugWatch(self, new_remote_status, new_malone_status, new_remote_importance, new_malone_importance):
Update the BugWatch.
@commit_before
def importBugComments(self):
Import all the comments from the remote bug.
def _formatRemoteComment(self, message):
Format a comment for a remote bugtracker and return it.
@commit_before
def pushBugComments(self):
Push Launchpad comments to the remote bug.
Parametersself.external_bugtrackerAn external bugtracker which implements ISupportsCommentPushing.
self.bug_watchThe bug watch to which the comments should be pushed.
@commit_before
def linkLaunchpadBug(self):
Link a Launchpad bug to a given remote bug.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.