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

about configuring mailer.py

From: Binod <binod3_at_gmail.com>
Date: 2007-05-23 18:07:07 CEST

Finally, I got a RPM file that has python binding included on it and I am
able to run viewvc.

Now I also want to use the mailer.py function of subversion.

I have a shell script working for email sending purpose but I want to use
mailer.py as it seems to have lot of feature . Currently I get no errors
when commiting but I donot get any emails sent as well.

I am using subversion 1.4.3 in RHEL -4

in post-commit file i have the following lines added

/usr/bin/python $REPOS/hooks/mailer.py commit "$REPOS" "$REV"

I then went to the mailer.conf..( which seems self explanatory but not
working for me) and made few changes..which are as follows:

I commented the to and from address in default section

#to_addr = commit@example.com
#from_addr = invalid@example.com

My repository structure is /home/svn/repos
So, I went to the mapping section and did the following changes
for_repos = test/(?P<test>[^/]*)($|/)
from_addr = %(author)s
to_addr = %(test)s

from_addr = [authors]
to_addr = [mailing-lists]

binod= test@example.com

test123 = test@example.org

Here I do not see how to_addr will pick up the test123 from mailing list. I
know I am missing lot more than that. Can anyone help me out with this
misery of confusion please?

Thanks for your help guys in advance. You guys have been very very helpful.

Received on Wed May 23 18:07:37 2007

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.