Part of lp.bugs.subscribers
|Function||notify_bug_modified||Handle bug change events.|
|Function||notify_bug_comment_added||Notify CC'd list that a message was added to this bug.|
|Function||notify_bug_attachment_added||Notify CC'd list that a new attachment has been added.|
|Function||notify_bug_attachment_removed||Notify that an attachment has been removed.|
|Function||notify_bug_subscription_added||Notify that a new bug subscription was added.|
|Function||get_bug_delta||Compute the delta from old_bug to new_bug.|
|Function||add_bug_change_notifications||Generate bug notifications and add them to the bug.|
|Function||send_bug_details_to_new_bug_subscribers||Send an email containing full bug details to new bug subscribers.|
bugmessage must be an IBugMessage. event must be an IObjectCreatedEvent. If bugmessage.bug is a duplicate the comment will also be sent to the dup target's subscribers.
bugattachment must be an IBugAttachment. event must be an IObjectCreatedEvent.
old_bug and new_bug are IBug's. user is an IPerson. Returns an IBugDelta if there are changes, or None if there were no changes.
This function is designed to handle situations where bugtasks get reassigned to new products or sourcepackages, and the new bug subscribers need to be notified of the bug.
A boolean is returned indicating whether any emails were sent.