Part of lp.bugs.interfaces.externalbugtracker View In Hierarchy
Known subclasses: lp.bugs.interfaces.externalbugtracker.ISupportsBackLinking, lp.bugs.interfaces.externalbugtracker.ISupportsBugImport, lp.bugs.interfaces.externalbugtracker.ISupportsCommentImport, lp.bugs.interfaces.externalbugtracker.ISupportsCommentPushing
Method | getExternalBugTrackerToUse | Return the ExternalBugTracker instance to use. |
Method | getCurrentDBTime | Return the current time of the bug tracker's DB server. |
Method | getModifiedRemoteBugs | Return the bug ids that have been modified. |
Method | initializeRemoteBugDB | Do any initialization before each bug watch is updated. |
Method | convertRemoteStatus | Convert a remote status string to a BugTaskStatus item. |
Method | convertRemoteImportance | Convert a remote importance to a BugTaskImportance item. |
Method | getRemoteProduct | Return the remote product for a given remote bug. |
ExternalBugTracker
instance to use.
Probe the remote bug tracker and choose the right
ExternalBugTracker
instance to use further on. In most cases
this will simply return self
.
The current time will be returned as a timezone-aware datetime.
Returns | datetime.datetime with timezone. |
Return all ids if the modified bugs can't be determined.
Parameters | remote_bug_ids | The remote bug IDs to be checked. (type: list of strings) |
last_checked | The date and time since when a bug should be considered modified. | |
last_checked | datetime.datetime |
Parameters | remote_bug_ids | The remote bug IDs that to be checked. (type: list of strings) |
Returns | a member of BugTaskStatus |
Returns | a member of BugTaskImportance |
Parameters | remote_bug | The ID of the remote bug for which to return the remote product. (type: string) |
Returns | The remote product for remote_bug . If no remote
product is recorded for remote_bug return None. | |
Raises | BugNotFound | If remote_bug doesn't exist for the bug
tracker. |