Part of lp.code.mail.codehandler View In Hierarchy
Method | process | Process an email for the code domain. |
Method | processCommands | Process the various merge proposal commands against the context. |
Method | processComment | Process an email and create a CodeReviewComment. |
Class Method | getBranchMergeProposal | Return branch merge proposal designated by email_addr. |
Static Method | _getReplyAddress | The address to use for automatic replies. |
Emails may be converted to CodeReviewComments, and / or deferred to jobs to create BranchMergeProposals.
The only mail command understood is 'vote', which takes 'approve', 'disapprove', or 'abstain' as values. Specifically, it takes any CodeReviewVote item value, case-insensitively. :return: True.
Addresses are of the form mp+5@code.launchpad.net, where 5 is the database id of the related branch merge proposal.
The inverse operation is BranchMergeProposal.address.