Part of lp.bugs.externalbugtracker View In Hierarchy
Method | __init__ | Undocumented |
Method | getCurrentDBTime | See IExternalBugTracker . |
Method | initializeRemoteBugDB | See ExternalBugTracker . |
Method | convertRemoteImportance | See ExternalBugTracker . |
Method | convertRemoteStatus | Convert a debbugs status to a Malone status. |
Method | getRemoteImportance | See ExternalBugTracker . |
Method | getRemoteStatus | See ExternalBugTracker. |
Method | getBugReporter | See ISupportsBugImport. |
Method | getBugTargetName | See ISupportsBugImport. |
Method | getBugSummaryAndDescription | See ISupportsBugImport. |
Method | getCommentIds | See ISupportsCommentImport . |
Method | fetchComments | See ISupportsCommentImport . |
Method | getPosterForComment | See ISupportsCommentImport . |
Method | getMessageForComment | See ISupportsCommentImport . |
Method | addRemoteComment | Push a comment to the remote DebBugs instance. |
Method | getRemoteProduct | Return the remote product for a bug. |
Method | _findBug | Undocumented |
Method | _loadLog | Load the debbugs comment log for a given bug. |
Method | _getDateForComment | Return the correct date for a comment. |
ExternalBugTracker
.
This method is overridden (and left empty) here to avoid breakage when the continuous bug-watch checking spec is implemented.
ExternalBugTracker
.
This method is implemented here as a stub to ensure that existing functionality is preserved. As a result, BugTaskImportance.UNKNOWN will always be returned.
A debbugs status consists of either two or three parts, separated with space; the status and severity, followed by optional tags. The tags are also separated with a space character.
This method is analogous to _findBug() in that if the comment log cannot be loaded from the main database it will attempt to load the log from the archive database.
If no comment log can be found, a debbugs.LogParseFailed error will be raised.
ExternalBugTracker
.
This method is implemented here as a stub to ensure that existing functionality is preserved. As a result, UNKNOWN_REMOTE_IMPORTANCE will always be returned.
Parameters | parsed_comment | An email.message.Message instance
containing a parsed DebBugs comment. |
Returns | The correct date to use for the comment contained in
parsed_comment . If a date is specified in a Received
header on parsed_comment that we can use, return that.
Otherwise, return the Date field of parsed_comment . |