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

Make mailer.py send to NNTP and match logmsg on regex

From: Lars Gullik Bjønnes <lgb_at_tandberg.com>
Date: Tue, 14 Apr 2009 19:42:08 +0200

This is a rather dirty patch (mailer.py did not lend itself to
modifications too nicely) that adds some more config vars to the conf
file:

For nntp handling:

nntp_hostname - the nntp server to send to
to_group - the newsgroup to send to

For bug/regex handling (f.ex. for sending to bugzilla):

bug_regex - the regex to match on
bug_multi - if to send multiple messages when the regex
                     matches more than once
bug_to_addr - where to send the matching messages
                     (possibly this can be dropped...)

The matching bug_reges should have one group that matches on bug id,
this id can be used in *_subject_prefix:

commit_subject_prefix = [Bug %(bugid)s] [%(repo)s]

If there are interest in cleaning this up for inclusion in subversion
I'll update against current trunk and try to clean it up further. As
it is now it is mostly FYI only.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1713817

This is a rather dirty patch (mailer.py did not lend itself to
modifications too nicely) that adds some more config vars to the conf
file:

For nntp handling:

nntp_hostname - the nntp server to send to
to_group - the newsgroup to send to

For bug/regex handling (f.ex. for sending to bugzilla):

bug_regex - the regex to match on
bug_multi - if to send multiple messages when the regex
                     matches more than once
bug_to_addr - where to send the matching messages
                     (possibly this can be dropped...)

The matching bug_reges should have one group that matches on bug id,
this id can be used in *_subject_prefix:

commit_subject_prefix = [Bug %(bugid)s] [%(repo)s]

If there are interest in cleaning this up for inclusion in subversion
I'll update against current trunk and try to clean it up further. As
it is now it is mostly FYI only.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1713817

Received on 2009-04-14 23:21:23 CEST

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.