From narender.hooda at gmail.com Thu Jun 14 05:34:07 2007 From: narender.hooda at gmail.com (Hakuna Matata) Date: Thu, 14 Jun 2007 11:04:07 +0530 Subject: [cvsspam-devel] Notification Mails per Repository basis Message-ID: <253e13910706132234j1cbe18f4y7c7fada855fc38d@mail.gmail.com> 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. I would be very much thankful if someone please help me or give me a pointer from where i can solve my problem. Many Thanks in advance --Narender From dave at badgers-in-foil.co.uk Mon Jun 18 11:29:35 2007 From: dave at badgers-in-foil.co.uk (David Holroyd) Date: Mon, 18 Jun 2007 11:29:35 +0000 Subject: [cvsspam-devel] Notification Mails per Repository basis In-Reply-To: <253e13910706132234j1cbe18f4y7c7fada855fc38d@mail.gmail.com> References: <253e13910706132234j1cbe18f4y7c7fada855fc38d@mail.gmail.com> Message-ID: <20070618112935.GA24690@badgers-in-foil.co.uk> 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/ From narender.hooda at gmail.com Mon Jun 18 11:49:40 2007 From: narender.hooda at gmail.com (Hakuna Matata) Date: Mon, 18 Jun 2007 17:19:40 +0530 Subject: [cvsspam-devel] Notification Mails per Repository basis In-Reply-To: <20070618112935.GA24690@badgers-in-foil.co.uk> References: <253e13910706132234j1cbe18f4y7c7fada855fc38d@mail.gmail.com> <20070618112935.GA24690@badgers-in-foil.co.uk> Message-ID: <253e13910706180449u35a72371ga5ed6e1d2ac3ea72@mail.gmail.com> Many Many Many Thanks Chief, i will let you know after testing. Thanks again your are kind...:) --Hakuna On 6/18/07, David Holroyd 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 >