From Kunal.Shah at lsi.com Wed Apr 22 23:45:12 2009 From: Kunal.Shah at lsi.com (Shah, Kunal) Date: Wed, 22 Apr 2009 15:45:12 -0700 Subject: [cvsspam-devel] Stuck with commitinfo while setting up CVSspam Message-ID: Hello, I have been trying to install CVSspam for our project and stuck in checking in commitinfo file. Below are the lines that I added in commitinfo file. --------------------------------------------------------------------------------------- ^cobra $CVSROOT/CVSROOT/record_lastdir.rb # always allow commits to CVSROOT ^CVSROOT /bin/cat>/dev/null # Invoke CVSspam lastdir script, DEFAULT ... --------------------------------------------------------------------------------------- Error that I get while checking in commitinfo file. --------------------------------------------------------------------------------------- cvs commit: cannot find pre-commit filter `/bin/cat>/dev/null': No such file or directory cvs commit: Pre-commit check failed --------------------------------------------------------------------------------------- Now I'm not able to make any changes in commitinfo and probably in CVSROOT directory. Appreciate your help on this. Thanks, Kunal Shah Sr. Design Verification Engineer LSI Corporation Milpitas, CA USA -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.badgers-in-foil.co.uk/pipermail/cvsspam-devel/attachments/20090422/fd1afcbc/attachment.htm From rsiemsen at rossvideo.com Thu Apr 23 00:10:21 2009 From: rsiemsen at rossvideo.com (Ralph Siemsen) Date: Wed, 22 Apr 2009 19:10:21 -0400 Subject: [cvsspam-devel] Stuck with commitinfo while setting up CVSspam In-Reply-To: References: Message-ID: <20090422231021.GG29397@trogdor.rossvideo.com> On Wed, Apr 22, 2009 at 03:45:12PM -0700, Shah, Kunal wrote: > > cvs commit: cannot find pre-commit filter `/bin/cat>/dev/null': No such > file or directory > > cvs commit: Pre-commit check failed Instead of the 'cat' command, the following works fine for me: # Always allow CVSROOT files to be comitted ^CVSROOT /bin/true Since you cannot commit right now, you must edit commitinfo directly on your server (in $CVSROOT/CVSROOT). Then you must also fix any copies you have checke out, before you commit again... to avoid getting in the same situation. For more information see the following link: http://www.nabble.com/can't-use-cvsspam-with-cvs-1.11.22-5-td20236325.html Regards, -Ralph From Kunal.Shah at lsi.com Fri Apr 24 00:14:54 2009 From: Kunal.Shah at lsi.com (Shah, Kunal) Date: Thu, 23 Apr 2009 16:14:54 -0700 Subject: [cvsspam-devel] Stuck with commitinfo while setting up CVSspam In-Reply-To: <20090422231021.GG29397@trogdor.rossvideo.com> Message-ID: Thanks Ralph. That helped. I directly modified $CVSROOT/CVSROOT files. Do I need to check in or release CVSROOT directory? The think is I have now set up as per CVSspam documentation but still I don't see any emails for any check in. I manually checked "sendmail" command and it worked. Kunal -----Original Message----- From: cvsspam-devel-bounces at lists.badgers-in-foil.co.uk [mailto:cvsspam-devel-bounces at lists.badgers-in-foil.co.uk] On Behalf Of Ralph Siemsen Sent: Wednesday, April 22, 2009 4:10 PM To: Shah, Kunal Cc: cvsspam-devel-owner at lists.badgers-in-foil.co.uk; cvsspam-devel at lists.badgers-in-foil.co.uk Subject: Re: [cvsspam-devel] Stuck with commitinfo while setting up CVSspam On Wed, Apr 22, 2009 at 03:45:12PM -0700, Shah, Kunal wrote: > > cvs commit: cannot find pre-commit filter `/bin/cat>/dev/null': No such > file or directory > > cvs commit: Pre-commit check failed Instead of the 'cat' command, the following works fine for me: # Always allow CVSROOT files to be comitted ^CVSROOT /bin/true Since you cannot commit right now, you must edit commitinfo directly on your server (in $CVSROOT/CVSROOT). Then you must also fix any copies you have checke out, before you commit again... to avoid getting in the same situation. For more information see the following link: http://www.nabble.com/can't-use-cvsspam-with-cvs-1.11.22-5-td20236325.html Regards, -Ralph _______________________________________________ cvsspam-devel mailing list cvsspam-devel at lists.badgers-in-foil.co.uk http://lists.badgers-in-foil.co.uk/mailman/listinfo/cvsspam-devel From rsiemsen at rossvideo.com Fri Apr 24 16:52:04 2009 From: rsiemsen at rossvideo.com (Ralph Siemsen) Date: Fri, 24 Apr 2009 11:52:04 -0400 Subject: [cvsspam-devel] Stuck with commitinfo while setting up CVSspam In-Reply-To: References: Message-ID: <49F1E024.10809@rossvideo.com> Shah, Kunal wrote: > Do I need to check in or release CVSROOT directory? Normally you should make changes by editing a copy and then doing a check-in. Changes that you made by directly editing the CVSROOT files on the server, will be overwritten by the check-in. So, you should ensure that your copy of commitinfo has been corrected, and then you can commit it. This will bring everything in sync, and thereafter, you should not need to edit directly on the server anymore. > The think is I have now set up as per CVSspam documentation but still I don't see any emails for any check in. I manually checked "sendmail" command and it worked. I would suggest you go through the CVSspam installation guide again, in particular make sure that you have made approprate changes to the files 'commitinfo', 'loginfo', and 'checkedoutlist'. -Ralph