From sbass at iclub.com Wed May 23 19:05:42 2007 From: sbass at iclub.com (Stephen Bass) Date: Wed, 23 May 2007 15:05:42 -0400 Subject: [cvsspam-devel] per repository mailings? Message-ID: <46549086.3040104@iclub.com> 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? From clayton.rocha at atan.com.br Wed May 23 20:12:02 2007 From: clayton.rocha at atan.com.br (clayton) Date: Wed, 23 May 2007 16:12:02 -0400 Subject: [cvsspam-devel] Error in email send Message-ID: <1179951122.4789.8.camel@atan-000003> Hi all, I'm using CVSSpam 0.2.12 and he not send emails if the name of folder or name of file have spaces. i need help! Clayton Rocha From dave at badgers-in-foil.co.uk Wed May 23 19:36:56 2007 From: dave at badgers-in-foil.co.uk (David Holroyd) Date: Wed, 23 May 2007 19:36:56 +0000 Subject: [cvsspam-devel] per repository mailings? In-Reply-To: <46549086.3040104@iclub.com> References: <46549086.3040104@iclub.com> Message-ID: <20070523193656.GA26678@badgers-in-foil.co.uk> 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/ From dave at badgers-in-foil.co.uk Wed May 23 19:40:22 2007 From: dave at badgers-in-foil.co.uk (David Holroyd) Date: Wed, 23 May 2007 19:40:22 +0000 Subject: [cvsspam-devel] Error in email send In-Reply-To: <1179951122.4789.8.camel@atan-000003> References: <1179951122.4789.8.camel@atan-000003> Message-ID: <20070523194022.GB26678@badgers-in-foil.co.uk> On Wed, May 23, 2007 at 04:12:02PM -0400, clayton wrote: > I'm using CVSSpam 0.2.12 and he not send emails if the name of folder > or name of file have spaces. It *should* work :( I even have a specific test-case for a filename including a space: http://www.badgers-in-foil.co.uk/projects/cvsspam/example.html#file15 Could you try adding the --debug option to the collect_diffs.rb commandline in loginfo, and send to the mailing list the output that you see on your console when you do a commit? thanks! dave -- http://david.holroyd.me.uk/ From dave at badgers-in-foil.co.uk Wed May 23 21:14:06 2007 From: dave at badgers-in-foil.co.uk (David Holroyd) Date: Wed, 23 May 2007 21:14:06 +0000 Subject: [cvsspam-devel] Error in email send In-Reply-To: References: Message-ID: <20070523211406.GA28173@badgers-in-foil.co.uk> On Wed, May 23, 2007 at 05:54:54PM -0300, Clayton Cesar Rocha Perdig?o wrote: > Hi Dave, > > this is the error in my cvsspam: > > In D:\Documents and Settings\clayton.rocha\Desktop\New Folder: "D:\Program Files\TortoiseCVS\cvs.exe" "-q" "commit" "-m" "" "teste1/New Folder/New Text Document.txt" > CVSROOT=:sspi:atancvs:/CVSRep/teste-cvs > > Checking in teste1/New Folder/New Text Document.txt; > /CVSRep/teste-cvs/teste1/New Folder/New Text Document.txt,v <-- New Text Document.txt > new revision: 1.10; previous revision: 1.9 > done > ERROR(viewvc-loginfo): Argument "teste1/New\ Folder New\ Text\ Document.txt,1.9,1.10" does not start with a valid directory > collect_diffs.rb: CVSROOT is /CVSRep/teste-cvs > collect_diffs.rb: ARGV is > /CVSRep/teste-cvs/CVSROOT/collect_diffs.rb:106:in `collect_antique_style_args': calculated repository path ('teste1/New Folder') doesn't match start of command line arg ('teste1/New\ Folder New\ Text\ Document.txt,1.9,1.10') (RuntimeError) > from /CVSRep/teste-cvs/CVSROOT/collect_diffs.rb:166:in `process_log' > from /CVSRep/teste-cvs/CVSROOT/collect_diffs.rb:447 Odd, I wonder where those '\' character preceeding the spaces are coming from? I notice that viewvc is also generating error messages about this commit, so I think that the problem is something more general than just a CVSspam issue. What CVS server version are you using? What does your loginfo file look like? thanks, dave -- http://david.holroyd.me.uk/ From dave at badgers-in-foil.co.uk Thu May 24 13:58:32 2007 From: dave at badgers-in-foil.co.uk (David Holroyd) Date: Thu, 24 May 2007 13:58:32 +0000 Subject: [cvsspam-devel] Error in email send In-Reply-To: References: Message-ID: <20070524135831.GA7315@badgers-in-foil.co.uk> On Thu, May 24, 2007 at 10:06:50AM -0300, Clayton Cesar Rocha Perdig?o wrote: > Good mornig Dave. > > i believe that the bar '\' is the space in name of directory in the linux. > > I'm using : > > Centos 4 > cvsnt-2.5.03 > cvsspam-0.2.12 > ViewVC 1.0.2 Hmm, I guess this is a CVSNT thing. I don't test on CVSNT, and although people have reported it working in the past, I guess things have become incompatible at some point :( dave > -----Original Message----- > From: David Holroyd [mailto:dave at badgers-in-foil.co.uk] > Sent: Wednesday, May 23, 2007 6:14 PM > To: Clayton Cesar Rocha Perdig?o > Cc: cvsspam-devel at lists.badgers-in-foil.co.uk > Subject: Re: [cvsspam-devel] Error in email send > > On Wed, May 23, 2007 at 05:54:54PM -0300, Clayton Cesar Rocha Perdig?o wrote: > > Hi Dave, > > > > this is the error in my cvsspam: > > > > In D:\Documents and Settings\clayton.rocha\Desktop\New Folder: "D:\Program Files\TortoiseCVS\cvs.exe" "-q" "commit" "-m" "" "teste1/New Folder/New Text Document.txt" > > CVSROOT=:sspi:atancvs:/CVSRep/teste-cvs > > > > Checking in teste1/New Folder/New Text Document.txt; > > /CVSRep/teste-cvs/teste1/New Folder/New Text Document.txt,v <-- New Text Document.txt > > new revision: 1.10; previous revision: 1.9 > > done > > ERROR(viewvc-loginfo): Argument "teste1/New\ Folder New\ Text\ Document.txt,1.9,1.10" does not start with a valid directory > > collect_diffs.rb: CVSROOT is /CVSRep/teste-cvs > > collect_diffs.rb: ARGV is > > /CVSRep/teste-cvs/CVSROOT/collect_diffs.rb:106:in `collect_antique_style_args': calculated repository path ('teste1/New Folder') doesn't match start of command line arg ('teste1/New\ Folder New\ Text\ Document.txt,1.9,1.10') (RuntimeError) > > from /CVSRep/teste-cvs/CVSROOT/collect_diffs.rb:166:in `process_log' > > from /CVSRep/teste-cvs/CVSROOT/collect_diffs.rb:447 > > Odd, I wonder where those '\' character preceeding the spaces are coming > from? > > I notice that viewvc is also generating error messages about this > commit, so I think that the problem is something more general than just > a CVSspam issue. > > What CVS server version are you using? What does your loginfo file look > like? > > > thanks, > dave > > -- > http://david.holroyd.me.uk/ -- "Your shoes are on the wrong feet, or your feet are on the wrong legs. And you have gloves on inside, which we all know is unlucky. I'm actually in your desk drawer. Don't try and find me though. I'm quick. Really quick." -- AW