[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Enhancing mailer.py for email-based issue trackers

From: Lars Gullik Bjønnes <larsbj_at_gullik.org>
Date: Fri, 20 Nov 2009 10:57:15 +0100

Justin.Vallon_at_deshaw.com writes:

| 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]
| search_logmsg = (?P<bugid>(?P<project>projecta|project|project)#\d+)
| to_addr = %(project)s-tracker_at_example.com
| commit_subject_prefix = %(bugid)s:
| propchange_subject_prefix = %(bugid)s:
>
| The search_logmsg matches against every occurrence in the log message. Thus, if the message is "fixed projecta#123 and projectb#345", then it will match twice (with two substitution groups), and send two emails.

A couple of us (users) tried to get subversion developers interested in
a small patchset that did this and add NNTP support to mailer.py some 6
months ago.

(search for "Add NNTP support to mailer.py" in the archives)

Although some other users were interested, it seems that none of the
developers where, so the effort to get this into mailer.py died.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2420464
Received on 2009-11-20 10:58:53 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.