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

[PATCH] Hook script mailer.py: Allow custom headers in email

From: Olav Vitters <olav_at_bkor.dhs.org>
Date: Sun, 6 Jan 2008 16:11:45 +0100

I have loads (almost 500) repositories going into one mailing list.
Subscribers can select the repositories they are interested in using the
Topic feature in mailman. Basically, there is a topic per repository.
This requires the following header to be set:
  Keywords: <something>

Later on this keyword is matched by mailman.

I'd like to add the keyword header to the hook script mailer.py. As I
expected such a specific change to be rejected, I've generalized the
patch a bit.

The patch allows the following:
  [headers]
  keywords = %(project)s

Any item defined under [headers] will be added as a custom header.

See attached for a patch. Comments?
Note: against Subversion 1.4.6. Line numbers will not match exactly due
to the other patches.

-- 
Regards,
Olav


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org

Received on 2008-01-06 16:11:59 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.