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

mailer.py and how to use maps

From: Steve Williams <stevewilliams_at_kromestudios.com>
Date: 2005-08-29 07:35:22 CEST

Has anyone got the maps working with mailer.py? I'm trying to use the
one copy of mailer.py with the one copy of mailer.conf to handle commit
emails for multiple repositories. The repository names do not
correspond to the mailing list names, so I'm trying to use the maps
facility of mailer.py as described in mailer.conf. This is a cutdown
version of what I have so far.

for_repos = /var/repos/(?P<project>.*)
commit_subject_prefix = [%(project)s]
to_addr = %(project)s

to_addr = [mailing-lists]

foo = bar@company.com

This configuration successfully extracts the repository name from the
repository path, which has been proven because commit_subject_prefix
gets set to "[foo]" as it should. As described in mailer.conf, I'm
using the '['section-name']' syntax in [maps] to define a mapping from
repository name to email address, but it always tries to send the email
to "[mailing-lists]" instead of using the mailing-lists section to map
the repository name to the email address.

What have I forgotten here? I know zero Python, so I am not able to
look at mailer.py to try to understand what it is doing.

This message and its attachments may contain legally privileged or confidential information. This message is intended for the use of the individual or entity to which it is addressed. If you are not the addressee indicated in this message, or the employee or agent responsible for delivering the message to the intended recipient, you may not copy or deliver this message or its attachments to anyone. Rather, you should permanently delete this message and its attachments and kindly notify the sender by reply e-mail. Any content of this message and its attachments, which does not relate to the official business of the sending company must be taken not to have been sent or endorsed by the sending company or any of its related entities. No warranty is made that the e-mail or attachment(s) are free from computer virus or other defect.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Aug 29 07:37:03 2005

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.