[cvsspam-devel] Notification Mails per Repository basis
Hakuna Matata
narender.hooda at gmail.com
Mon Jun 18 11:49:40 UTC 2007
Many Many Many Thanks Chief,
i will let you know after testing.
Thanks again your are kind...:)
--Hakuna
On 6/18/07, David Holroyd <dave at badgers-in-foil.co.uk> wrote:
> On Thu, Jun 14, 2007 at 11:04:07AM +0530, Hakuna Matata wrote:
> > Hi All,
> >
> > I am using cvsspam from last few months without any problem :). it is
> > a very very nice piece of software. Thanks for its creator. :)
> >
> > I need kind advise about the below problem :-
> >
> > I have many repository under /cvs.
> > like ....
> > /cvs/repos1
> > /cvs/repos2
> > /cvs/repos3
> > /cvs/repos4
> >
> > i am getting cvsspam notification mails from the repos1 successfully.
> >
> > now i want to receive notification mails from other repository too but
> > to different mailing groups.
>
> In your /cvs/CVSROOT/commitinfo, put something like,
>
> ^repos1 $cvsspam_path/record_lastdir.rb
> ^repos2 $cvsspam_path/record_lastdir.rb
> ...
>
> then, add to /cvs/CVSROOT/loginfo something like,
>
> ^repos1 $cvsspam_path/collect_diffs.rb --to group1 at example.com
> ^repos2 $cvsspam_path/collect_diffs.rb --to group2 at example.com
> ...
>
> If you want to send an email for commits to *every* repository (with a
> catch-all email address for anything you don't configure with a specific
> destination address), you can simplify the config using 'DEFAULT'
> matches:
>
> In commitinfo,
>
> DEFAULT $cvsspam_path/record_lastdir.rb
>
> and in loginfo,
>
> ^repos1 $cvsspam_path/collect_diffs.rb --to group1 at example.com
> ^repos2 $cvsspam_path/collect_diffs.rb --to group2 at example.com
> ...
> DEFAULT $cvsspam_path/collect_diffs.rb --to other-commits at example.com
>
> (you *must* have a DEFAULT match in both CVS config files, otherwise
> CVSspam will start leaving undeleted files in you /tmp dir).
>
>
> Does that help?
> dave
>
> --
> http://david.holroyd.me.uk/
>
> _______________________________________________
> cvsspam-devel mailing list
> cvsspam-devel at lists.badgers-in-foil.co.uk
> http://lists.badgers-in-foil.co.uk/mailman/listinfo/cvsspam-devel
>
More information about the cvsspam-devel
mailing list