From Marie.G.Ricketts at tuck.dartmouth.edu Mon Jan 15 21:56:51 2007 From: Marie.G.Ricketts at tuck.dartmouth.edu (Ricketts, Marie G.) Date: Tue Jan 16 08:43:59 2007 Subject: [cvsspam-devel] Installation Question Message-ID: <9C1F9C7E0CED134688AA0254ACCA745417109C@tucknt5.tucknt.dartmouth.edu> Hi, Trying to install CVSSPAM on and OS X server running CVS. I installed in the CVSROOT directory. Does anyone have any ideas on what is wrong here: Checking in test/IF I DID NOT HAVE DOGS.txt; /usr/local/CVS/test/IF I DID NOT HAVE DOGS.txt,v <-- IF I DID NOT HAVE DOGS.txt new revision: 1.8; previous revision: 1.7 done /usr/local/CVS/CVSROOT/collect_diffs.rb:148:in `process_log': missing data dir (/tmp/#cvsspam.4365.1027-XXXXXX) (RuntimeError) from /usr/local/CVS/CVSROOT/collect_diffs.rb:447 Marie From dave at badgers-in-foil.co.uk Tue Jan 16 08:51:54 2007 From: dave at badgers-in-foil.co.uk (David Holroyd) Date: Tue Jan 16 08:51:57 2007 Subject: [cvsspam-devel] Installation Question In-Reply-To: <9C1F9C7E0CED134688AA0254ACCA745417109C@tucknt5.tucknt.dartmouth.edu> References: <9C1F9C7E0CED134688AA0254ACCA745417109C@tucknt5.tucknt.dartmouth.edu> Message-ID: <20070116085153.GA12124@badgers-in-foil.co.uk> On Mon, Jan 15, 2007 at 04:56:51PM -0500, Ricketts, Marie G. wrote: > Trying to install CVSSPAM on and OS X server running CVS. I installed in > the CVSROOT directory. > > Does anyone have any ideas on what is wrong here: > > Checking in test/IF I DID NOT HAVE DOGS.txt; > /usr/local/CVS/test/IF I DID NOT HAVE DOGS.txt,v <-- IF I DID NOT HAVE > DOGS.txt > new revision: 1.8; previous revision: 1.7 > done > /usr/local/CVS/CVSROOT/collect_diffs.rb:148:in `process_log': missing > data dir (/tmp/#cvsspam.4365.1027-XXXXXX) (RuntimeError) > from /usr/local/CVS/CVSROOT/collect_diffs.rb:447 Is there a file in '/tmp' named anything like the above (with the 'X's replaced by numbers)? Have you got your entry for 'record_lastdir.rb' in 'commitinfo' (using a match-expression equivalent to the one used for 'collect_diffs.rb' in 'loginfo')? Can you make sure that if your modification to commitinfo looks good, that it's been committed back to the repository... Any good? ta, dave -- http://david.holroyd.me.uk/ From rmccullough at rightnow.com Tue Jan 16 16:41:56 2007 From: rmccullough at rightnow.com (McCullough, Ryan) Date: Tue Jan 16 16:42:49 2007 Subject: [cvsspam-devel] Installation Question In-Reply-To: <20070116085153.GA12124@badgers-in-foil.co.uk> Message-ID: <30A5F9D51C0D9D47BD8D89C85B49E7006971FB@EVS2.corp.rightnow.com> It looks like permissions. If you are running a pserver, make sure the user the server is running as has write permissions to /tmp. If you are using a local path, ssh, ext then make sure the user you are doing the check-in as has permission to write to /tmp. -Ryan -----Original Message----- From: cvsspam-devel-bounces@lists.badgers-in-foil.co.uk [mailto:cvsspam-devel-bounces@lists.badgers-in-foil.co.uk] On Behalf Of David Holroyd Sent: Tuesday, January 16, 2007 1:52 AM To: cvsspam-devel@lists.badgers-in-foil.co.uk Subject: Re: [cvsspam-devel] Installation Question On Mon, Jan 15, 2007 at 04:56:51PM -0500, Ricketts, Marie G. wrote: > Trying to install CVSSPAM on and OS X server running CVS. I installed > in the CVSROOT directory. > > Does anyone have any ideas on what is wrong here: > > Checking in test/IF I DID NOT HAVE DOGS.txt; /usr/local/CVS/test/IF I > DID NOT HAVE DOGS.txt,v <-- IF I DID NOT HAVE DOGS.txt new revision: > 1.8; previous revision: 1.7 done > /usr/local/CVS/CVSROOT/collect_diffs.rb:148:in `process_log': missing > data dir (/tmp/#cvsspam.4365.1027-XXXXXX) (RuntimeError) > from /usr/local/CVS/CVSROOT/collect_diffs.rb:447 Is there a file in '/tmp' named anything like the above (with the 'X's replaced by numbers)? Have you got your entry for 'record_lastdir.rb' in 'commitinfo' (using a match-expression equivalent to the one used for 'collect_diffs.rb' in 'loginfo')? Can you make sure that if your modification to commitinfo looks good, that it's been committed back to the repository... Any good? ta, dave -- http://david.holroyd.me.uk/ _______________________________________________ cvsspam-devel mailing list cvsspam-devel@lists.badgers-in-foil.co.uk http://lists.badgers-in-foil.co.uk/mailman/listinfo/cvsspam-devel -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3353 bytes Desc: not available Url : http://lists.badgers-in-foil.co.uk/pipermail/cvsspam-devel/attachments/20070116/18fe4ea8/smime.bin From Marie.G.Ricketts at tuck.dartmouth.edu Fri Jan 19 13:47:30 2007 From: Marie.G.Ricketts at tuck.dartmouth.edu (Ricketts, Marie G.) Date: Fri Jan 19 14:22:51 2007 Subject: [cvsspam-devel] FW: Does CVSSPAM work with GUI tools from a remote PC? Message-ID: <9C1F9C7E0CED134688AA0254ACCA74541711BB@tucknt5.tucknt.dartmouth.edu> I have it working now from the commend line on the same box where the repository lives but I would like to use JDeveloper or WinCVS from my pc. The repository updates but I get no notifications from CVSSPAM. Thanks! Marie From dave at badgers-in-foil.co.uk Fri Jan 19 14:36:02 2007 From: dave at badgers-in-foil.co.uk (David Holroyd) Date: Fri Jan 19 14:36:05 2007 Subject: [cvsspam-devel] Does CVSSPAM work with GUI tools from a remote PC? In-Reply-To: <9C1F9C7E0CED134688AA0254ACCA74541711BB@tucknt5.tucknt.dartmouth.edu> References: <9C1F9C7E0CED134688AA0254ACCA74541711BB@tucknt5.tucknt.dartmouth.edu> Message-ID: <20070119143602.GA9237@badgers-in-foil.co.uk> On Fri, Jan 19, 2007 at 08:47:30AM -0500, Ricketts, Marie G. wrote: > I have it working now from the commend line on the same box where the > repository lives but I would like to use JDeveloper or WinCVS from my > pc. The repository updates but I get no notifications from CVSSPAM. I regularly use CVSspam with Eclipse; and the particular client being used shouldn't make such a huge difference, I'd hope. Do the client-side applications you're using show you 'console' output when you do a CVS commit? Is there any evidence of errors that text? If you don't see anything informative there, please find the entry that matches to project you are committing to in the loginfo config file, and add the '--debug' option to the commandline after the invocation of the 'collect_diffs.rb' script. This should cause extra debugging info to be sent to the CVS console in the client app, and you can post this to the list to see if anyone can spot the problem. hope that helps! dave -- http://david.holroyd.me.uk/ From Marie.G.Ricketts at tuck.dartmouth.edu Fri Jan 19 15:11:44 2007 From: Marie.G.Ricketts at tuck.dartmouth.edu (Ricketts, Marie G.) Date: Fri Jan 19 15:11:57 2007 Subject: [cvsspam-devel] Does CVSSPAM work with GUI tools from a remote PC? In-Reply-To: <20070119143602.GA9237@badgers-in-foil.co.uk> Message-ID: <9C1F9C7E0CED134688AA0254ACCA74541711C3@tucknt5.tucknt.dartmouth.edu> Hi Dave, This is the output from WinCVS. The dir/project is testproj. The changed file is index.html The cvssspam files are in /usr/local/cvsspam/ on the host box. cvs commit -m test -- index.html (in directory C:\CVS_dl\testproj\) Checking in index.html; /usr/local/CVS/testproj/index.html,v <-- index.html new revision: 1.2; previous revision: 1.1 done collect_diffs.rb: CVSROOT is /usr/local/CVS collect_diffs.rb: ARGV is collect_diffs.rb: about to run cvs -nq diff -Nu -r1.1.1.2 -r1.2 index.html collect_diffs.rb: sending spam. (I am /usr/local/cvsspam/collect_diffs.rb) cvsspam.rb: Using config '/etc/cvsspam/cvsspam.conf' cvsspam.rb: invoking '/usr/sbin/sendmail -t -oi' cvsspam.rb: Mail From not set cvsspam.rb: leaving file /tmp/#cvsspam.10601.1027-6475096/logfile.emailtmp collect_diffs.rb: leaving file /tmp/#cvsspam.10601.1027-6475096/logfile Thank you! Marie -----Original Message----- From: cvsspam-devel-bounces@lists.badgers-in-foil.co.uk [mailto:cvsspam-devel-bounces@lists.badgers-in-foil.co.uk] On Behalf Of David Holroyd Sent: Friday, January 19, 2007 9:36 AM To: cvsspam-devel@lists.badgers-in-foil.co.uk Subject: Re: [cvsspam-devel] Does CVSSPAM work with GUI tools from a remote PC? On Fri, Jan 19, 2007 at 08:47:30AM -0500, Ricketts, Marie G. wrote: > I have it working now from the commend line on the same box where the > repository lives but I would like to use JDeveloper or WinCVS from my > pc. The repository updates but I get no notifications from CVSSPAM. I regularly use CVSspam with Eclipse; and the particular client being used shouldn't make such a huge difference, I'd hope. Do the client-side applications you're using show you 'console' output when you do a CVS commit? Is there any evidence of errors that text? If you don't see anything informative there, please find the entry that matches to project you are committing to in the loginfo config file, and add the '--debug' option to the commandline after the invocation of the 'collect_diffs.rb' script. This should cause extra debugging info to be sent to the CVS console in the client app, and you can post this to the list to see if anyone can spot the problem. hope that helps! dave -- http://david.holroyd.me.uk/ _______________________________________________ cvsspam-devel mailing list cvsspam-devel@lists.badgers-in-foil.co.uk http://lists.badgers-in-foil.co.uk/mailman/listinfo/cvsspam-devel From dave at badgers-in-foil.co.uk Fri Jan 19 15:28:32 2007 From: dave at badgers-in-foil.co.uk (David Holroyd) Date: Fri Jan 19 15:28:34 2007 Subject: [cvsspam-devel] Does CVSSPAM work with GUI tools from a remote PC? In-Reply-To: <9C1F9C7E0CED134688AA0254ACCA74541711C3@tucknt5.tucknt.dartmouth.edu> References: <20070119143602.GA9237@badgers-in-foil.co.uk> <9C1F9C7E0CED134688AA0254ACCA74541711C3@tucknt5.tucknt.dartmouth.edu> Message-ID: <20070119152832.GB9237@badgers-in-foil.co.uk> On Fri, Jan 19, 2007 at 10:11:44AM -0500, Ricketts, Marie G. wrote: > cvs commit -m test -- index.html (in directory C:\CVS_dl\testproj\) > Checking in index.html; > /usr/local/CVS/testproj/index.html,v <-- index.html > new revision: 1.2; previous revision: 1.1 > done > collect_diffs.rb: CVSROOT is /usr/local/CVS > collect_diffs.rb: ARGV is > collect_diffs.rb: about to run cvs -nq diff -Nu -r1.1.1.2 -r1.2 > index.html > collect_diffs.rb: sending spam. (I am > /usr/local/cvsspam/collect_diffs.rb) > cvsspam.rb: Using config '/etc/cvsspam/cvsspam.conf' > cvsspam.rb: invoking '/usr/sbin/sendmail -t -oi' > cvsspam.rb: Mail From not set > cvsspam.rb: leaving file > /tmp/#cvsspam.10601.1027-6475096/logfile.emailtmp > collect_diffs.rb: leaving file /tmp/#cvsspam.10601.1027-6475096/logfile Hmm, it looks like CVSspam at least attempts to send the email. What's the difference in that output when you commit from the command line on the server? (Maybe the 'Mail From' is different?) Could a difference in the system user account under which CVS is being run on the server between the two cases explain why it works in once instance and not the other? (e.g. remote CVS access is sometimes set up so that the server runs as a user like 'cvs', 'nobody', etc.) Are you able to check the MTA (sendmail, or whatever) logs on the CVS server to see if the message is being rejected? ta, dave -- http://david.holroyd.me.uk/ From dave at badgers-in-foil.co.uk Sat Jan 20 13:03:56 2007 From: dave at badgers-in-foil.co.uk (David Holroyd) Date: Sat Jan 20 13:04:02 2007 Subject: [cvsspam-devel] Re: I got it working In-Reply-To: <9C1F9C7E0CED134688AA0254ACCA74541711D8@tucknt5.tucknt.dartmouth.edu> References: <20070119152832.GB9237@badgers-in-foil.co.uk> <9C1F9C7E0CED134688AA0254ACCA74541711D8@tucknt5.tucknt.dartmouth.edu> Message-ID: <20070120130356.GA26690@badgers-in-foil.co.uk> Great to hear! thanks, dave On Fri, Jan 19, 2007 at 02:03:38PM -0500, Ricketts, Marie G. wrote: > Hi Dave, > > Thanks for your help! > > Marie > > -----Original Message----- > From: cvsspam-devel-bounces@lists.badgers-in-foil.co.uk > [mailto:cvsspam-devel-bounces@lists.badgers-in-foil.co.uk] On Behalf Of > David Holroyd > Sent: Friday, January 19, 2007 10:29 AM > To: cvsspam-devel@lists.badgers-in-foil.co.uk > Subject: Re: [cvsspam-devel] Does CVSSPAM work with GUI tools from a > remote PC? > > On Fri, Jan 19, 2007 at 10:11:44AM -0500, Ricketts, Marie G. wrote: > > cvs commit -m test -- index.html (in directory C:\CVS_dl\testproj\) > > Checking in index.html; /usr/local/CVS/testproj/index.html,v <-- > > index.html new revision: 1.2; previous revision: 1.1 done > > collect_diffs.rb: CVSROOT is /usr/local/CVS > > collect_diffs.rb: ARGV is > > collect_diffs.rb: about to run cvs -nq diff -Nu -r1.1.1.2 -r1.2 > > index.html > > collect_diffs.rb: sending spam. (I am > > /usr/local/cvsspam/collect_diffs.rb) > > cvsspam.rb: Using config '/etc/cvsspam/cvsspam.conf' > > cvsspam.rb: invoking '/usr/sbin/sendmail -t -oi' > > cvsspam.rb: Mail From not set > > cvsspam.rb: leaving file > > /tmp/#cvsspam.10601.1027-6475096/logfile.emailtmp > > collect_diffs.rb: leaving file > > /tmp/#cvsspam.10601.1027-6475096/logfile > > Hmm, it looks like CVSspam at least attempts to send the email. > > What's the difference in that output when you commit from the command > line on the server? (Maybe the 'Mail From' is different?) > > Could a difference in the system user account under which CVS is being > run on the server between the two cases explain why it works in once > instance and not the other? (e.g. remote CVS access is sometimes set up > so that the server runs as a user like 'cvs', 'nobody', etc.) > > Are you able to check the MTA (sendmail, or whatever) logs on the CVS > server to see if the message is being rejected? -- http://david.holroyd.me.uk/