on commit command run
Or really any command. I realize that this may not work but, I thought I'd ask the cvs pros. I've been reading through cvs documentation and have setup a emailing process in the loginfo file of CVSROOT with a command line like: ALL mail -s "CVS Commit" [EMAIL PROTECTED] great works reasonably well. But the thing that I would like to do is to do something with the files that are committed. This would involve getting the name of the committed file in it's check-out'able form. So if the files that were checked in were testbrnch01.tst and tstcase12.tst under mtest/otf/ and mtest/itf/ in the cvs repository, I could send that to a script with: ALL CIParser mtest/otf/testbrnch01.tst mtest/itf/tstcase12.tst and have those files added to the call to CIParser command line. Is this kind of thing possible with cvs 1.11.1p1 or am I dreaming? There does not seem to be command line substitution variables for the file name like the %s %V and %v offer but don't solve. ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Error on pserver
RH 72 and cvs 1.11.1p1 as a pserver available to a private network only. Have been using cvs system for awhile and went to check in a module tonight and got an error: cvs commit: Examining . cvs [commit aborted]: received broken pipe signal If I run the same command again I get the same error, but on the third running I get the following error: cvs commit: Examining . cvs commit: unrecognized auth response from cvs.nen: cvs: error while loading shared libraries: libgssapi_krb5.so.2: cannot open shared object file: No such file or directory cvs [commit aborted]: shutdown() failed, server cvs.nen: Transport endpoint is not connected Anyone know what this means? I did a locate for the libgssapi_krb5.so.2 and it found it at: /usr/kerberos/lib/libgssapi_krb5.so.2.2 /usr/kerberos/lib/libgssapi_krb5.so.2 Wasn't using kerberos authentication was using a $CVSROOT/passwd file I changed to the system the repository is on and was able to check out and in with no problems so it seems that it has something to do with the pserver. All that happened today is a backup of the cvs repository (normal daily cron event). Anyone help me with this problem? ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
RE: Error on pserver
Patrick Nelson wrote: ->>>> RH 72 and cvs 1.11.1p1 as a pserver available to a private network only. Have been using cvs system for awhile and went to check in a module tonight and got an error: cvs commit: Examining . cvs [commit aborted]: received broken pipe signal If I run the same command again I get the same error, but on the third running I get the following error: cvs commit: Examining . cvs commit: unrecognized auth response from cvs.nen: cvs: error while loading shared libraries: libgssapi_krb5.so.2: cannot open shared object file: No such file or directory cvs [commit aborted]: shutdown() failed, server cvs.nen: Transport endpoint is not connected Anyone know what this means? I did a locate for the libgssapi_krb5.so.2 and it found it at: /usr/kerberos/lib/libgssapi_krb5.so.2.2 /usr/kerberos/lib/libgssapi_krb5.so.2 Wasn't using kerberos authentication was using a $CVSROOT/passwd file I changed to the system the repository is on and was able to check out and in with no problems so it seems that it has something to do with the pserver. All that happened today is a backup of the cvs repository (normal daily cron event). Anyone help me with this problem? ->>>> Tried this also: Copied the repository to a local location and used the -d option and checked out and in just fine. So again it appears to be something with the pserver. ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
RE: Error on pserver SOLVED
Patrick Nelson wrote: ->>>> Tried this also: Copied the repository to a local location and used the -d option and checked out and in just fine. So again it appears to be something with the pserver. ->>>> Well I'm not sure why but it is working now. When I have a moment I will try to figure it out, but what I did was restore a backup of my etc directory that was made last night. Rebooted the system and everything now works like a charm... God I love daily backups! ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Is there a better way
What is the best way to pull a previous release out of the repository. ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Working with FP import
I have a customer who I want me to implement cvs so they can get in control of their web development. The problem that I have come up with is that their web site is developed with ms Front Page. FP has these index directories with text files in them which have names like the files in the parent directory. So, I have file that are binary and a matching file that is text like: MyLovely.jpg vti_cnf/MyLovely.jpg The MyLovely.jpg is the image file and vti_cnf/MyLovely.jpg is the text file. The problem comes with importing this. I have do a very slow and manual process to do this by hand. I was wondering if there is a way or if someone has a process to handle this kind of situation. ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
RE: pserver problem, still
Patrick Nelson wrote: ->>>> James P. Schmidt I've confirmed all my configs are correct, and that the path to cvs can be seen by everyone... re-built the repository, making sure ownership and permissions are correct... made sure the passwd file is correct... ugh, and just enjoyed a quick city-wide power outage (yay for "continue interrupted message"!)... and I STILL can't connect via pserver: > cvs -d :pserver:zaren@(host):/usr/local/cvsrepos login CVS password: cvs login: authorization failed: server (host) rejected access to /usr/local/cvsrepos for user zaren The Cederqvist suggests telnetting to the server to troubleshoot: One good debugging tool is to "telnet servername 2401". After connecting, send any text (for example "foo" followed by return). If CVS is working correctly, it will respond with cvs [pserver aborted]: bad auth protocol start: foo which I did: > telnet (host) 2401 Trying (host)... Connected to (host). Escape character is '^]'. xxx cvs [pserver aborted]: bad auth protocol start: xxx Connection closed by foreign host. So it appears that the server *is* working correctly, but it still won't let me connect. I'm going a bit buggy trying to figure out why this still isn't working. Any other idea from someone with more experience? :) ->>>> It looks like your password is wrong. If your using CVSROOT/passwd those password entries need to be encrypted not plain text. Could this be the problem? ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
RE: pserver problem, still
James P. Schmidt wrote: - No, I think I have the right password. I used the password encyption script in Fogel's book to generate the password, and I know I have the format right for the entry - it's only one line :) - Could you display the CVSROOT/passwd file line in question? Have you tried redoing the password encryption and then adding it to the CVSROOT/passwd? Make sure the passwd file is in $CVSROOT/CVSROOT subdir. That's CVSROOT under your cvsroot subdir, which looks like it would be: /usr/local/cvsrepos/CVSROOT/passwd ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
RE: pserver problem, still
James P. Schmidt wrote: - *ding ding ding* We have a winner! :D I just had passwd in /usr/local/cvsrepos. Thanks :) And thanks to Larry for all his help, too; you helped solve a few other config mistakes along the way. :) - Love it when something works!!! ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs