Enhancing mailer.py for email-based issue trackers
From: <Justin.Vallon_at_deshaw.com>
Date: Wed, 18 Nov 2009 17:44:26 -0500
We have an in-house issue tracker that accepts emails of the form project-issues_at_example.com with the subject 'Project#1234: .*', where Project#1234 is the issue number.
Attached is a patch that adds a search_logmsg property to the mailer groups.
Suppose you put "projecta#123" into your log message to relate back to the issue tracker, and that email to projecta-tracker_at_example.com with subject "projecta#123: whatever" gets attached to issue projecta#123. The following group would accomplish this:
[issuetracker]
The search_logmsg matches against every occurrence in the log message. Thus, if the message is "fixed projecta#123 and projecta#124", then it will match twice (with two substitution groups), and send two emails.
Comments? Praise?
-- -Justin ------------------------------------------------------ http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2419733 To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.