[cvsspam-devel] per repository mailings?
David Holroyd
dave at badgers-in-foil.co.uk
Wed May 23 19:36:56 UTC 2007
On Wed, May 23, 2007 at 03:05:42PM -0400, Stephen Bass wrote:
> Currently, our CVSSpam is configured to send notification emails to a
> local ezmlm mailing list. I would like to limit one group to only
> receive emails regarding a single specific repository, while the rest.
> Is there a way to configure this in CVSSpam?
Set up a match on the project folder name in 'loginfo'
----8<----
^folder_a /path/collect_diffs.rb to project-a-commits at lists.domain
^folder_b /path/collect_diffs.rb to project-b-commits at lists.domain
---->8----
If you want one of the lists to get messages even if another rule in
loginfo matches, use the CVS 'ALL' match,
----8<----
^folder_a /path/collect_diffs.rb to project-a-commits at lists.domain
^folder_b /path/collect_diffs.rb to project-b-commits at lists.domain
ALL /path/collect_diffs.rb to all-commits at lists.domain
---->8----
If you want there to a list that gets all the remaining projects for
which no explitit rule was created, use the CVS 'DEFAULT' match,
----8<----
^folder_a /path/collect_diffs.rb to project-a-commits at lists.domain
^folder_b /path/collect_diffs.rb to project-b-commits at lists.domain
DEFAULT /path/collect_diffs.rb to other-commits at lists.domain
---->8----
Does that answer your question?
dave
--
http://david.holroyd.me.uk/
More information about the cvsspam-devel
mailing list