how to execute cvs commit from script?
Dear sir, script: #!/bin/ksh `cvs commit temp.c` the script giving following error. Vim: Warning: Output is not to a terminal how to execute cvs commit from script? thankyou, Bhavani. ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Multiple CVS and same files
Well I found a solution, it is possible to use symlinks (unix) when creating files and directories in other directories. It is both possible to symlink the directories and files and committing works lika a charm now :) So I ended up with a layout such this one cvsA/xml cvsA/apple and cvsB/orange cvB/xml - cvsA/xml Thanks for all the good answers //Erik HI Im wondering if it is possible for different CVS's to share some files ? Im in a project that has two CVS, because they are mainly two different projects. But in these two projects we do have some common files that are used in both projects, and it would be nice if those files just could be one instance. The problem now is when we update a file in a CVS we must also edit the other file in the other CVS to update so the file looks the same. This can be tedious and very errorprone so it would nice to share the same file in the two CVS's, and just update one instance of it, and both CVS would have the new file. If you still dont get it : Imagine the following layout of a CVS: cvsA/xml cvsA/applecode cvsB/xml cvsB/orangecode the */xml contains the same files but are needed in both projects. Is it possible to update the cvsA/xml so the cvsB/xml also gets updated ? Any ideas or suggestions ? //Erik ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: how to execute cvs commit from script?
cvs commit -m Your comment here temp.c -Original Message- From: Bhavaniprasad Polimetla [EMAIL PROTECTED] To: CVS [EMAIL PROTECTED] Date: Thursday, May 31, 2001 12:32 PM Subject: how to execute cvs commit from script? Dear sir, script: #!/bin/ksh `cvs commit temp.c` the script giving following error. Vim: Warning: Output is not to a terminal how to execute cvs commit from script? thankyou, Bhavani. ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: how to execute cvs commit from script?
thankyou sir. thankyou, Bhavnai Prasad Shubhabrata Sengupta wrote: cvs commit -m Your comment here temp.c -Original Message- From: Bhavaniprasad Polimetla [EMAIL PROTECTED] To: CVS [EMAIL PROTECTED] Date: Thursday, May 31, 2001 12:32 PM Subject: how to execute cvs commit from script? Dear sir, script: #!/bin/ksh `cvs commit temp.c` the script giving following error. Vim: Warning: Output is not to a terminal how to execute cvs commit from script? thankyou, Bhavani. ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Automatic update for Web pages
Hello. We are currently using CVS for writing the web pages of our Intranet server. There are several developpers. All works fine : developper 1 developper 2 developper n | | | | | | --|-- | CVS Repository | | Intranet server pages However, when a developper commit changes on the repository , we would like the Intranet side be automatically updated. At this time, we are forced to use a CGI script that runs the update. Is there a way to achieve this ? Thanks. Nicolas. ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Diffs by a particular user-id
Hi, I want to see the diffs between two static tags - but I only want to see it for checkins done by a particular user. How do I do that. Thanks Shubho ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
how to restrict the users to checkout only some branches
hi I wish to know how to restrict users of project so that they will be accessibel to only to a particular branch regards Sudarshan ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: how to restrict the users to checkout only some branches
Why don't you divide users in groups then give group write access only to the directories which you want a particular group to checkout. Shubho -Original Message- From: Sudarshan [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Thursday, May 31, 2001 3:46 PM Subject: how to restrict the users to checkout only some branches hi I wish to know how to restrict users of project so that they will be accessibel to only to a particular branch regards Sudarshan ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Reapplying a tag
I couldn't see this documented anywhere but I could have missed it being new to CVS... I've moved some source code to CVS and run rtag to give it an appropriate label. I now discover I've failed to move some files across and have just added these in. I've also put the wrong version of some files into CVS. These have now been updated. If I now run rtag again on everything using the same label as before what's going to happen to the files already tagged? Will I end up with 2 identical tags on one file, possibly referring to two different version? Thinking about it, I could just delete and reapply the tag but I'm still curious as to what would happen. Thanks -- Matt Helliwell -- If you have received this e-mail in error or wish to read our e-mail disclaimer statement and monitoring policy, please refer to http://www.drkw.com/disc/email/ or contact the sender. -- ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
CVS.DLL for DreamWeaver
Please I need a DLL for use CVS integrate with DreamWeaver 4. Can anybody help me ? Thank's Luis Andre Zattar ([EMAIL PROTECTED]) ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: login problems - problem details given clearly
dear sir, thankyou very very much. it is working fine. regards, bhavani. Larry Jones wrote: David Zaroski writes: Create file 'cvspserver' in '/etc/xinetd.d' (containing the following): service cvspserver { flags = REUSE NAMEINARGS socket_type = stream protocol= tcp wait= no user= root server = /usr/bin/cvs server_args = cvs -f --allow-root=/home/bhavani/cvsroot pserver } You should also have: passenv = PATH to avoid problems with $HOME being set inappropriately. -Larry Jones Even if lives DID hang in the balance, it would depend on whose they were. -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: how to restrict the users to checkout only some branches
He was talking about checkouts not checkins. I agree with you - if you need to restrict checkins to branches you need to have a commitinfo script - I had posted a sample script on this mailing list some time back. Shubho -Original Message- From: Andy Baker [EMAIL PROTECTED] To: 'Shubhabrata Sengupta' [EMAIL PROTECTED]; [EMAIL PROTECTED] [EMAIL PROTECTED]; [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Thursday, May 31, 2001 4:45 PM Subject: RE: how to restrict the users to checkout only some branches That won't work if you're trying to restrict to a branch. If you really want to do it then fire off a script from commitinfo to prevent given users checking in on given branches Andy -Original Message- From: Shubhabrata Sengupta [mailto:[EMAIL PROTECTED]] Sent: 31 May 2001 11:23 To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: how to restrict the users to checkout only some branches Why don't you divide users in groups then give group write access only to the directories which you want a particular group to checkout. Shubho NOTICE AND DISCLAIMER: This email (including attachments) is confidential. If you have received this email in error please notify the sender immediately and delete this email from your system without copying or disseminating it or placing any reliance upon its contents. We cannot accept liability for any breaches of confidence arising through use of email. Any opinions expressed in this email (including attachments) are those of the author and do not necessarily reflect our opinions. We will not accept responsibility for any commitments made by our employees outside the scope of our business. We do not warrant the accuracy or completeness of such information. ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
AW: Reapplying a tag
Matt, If I now run rtag again on everything using the same label as before what's going to happen to the files already tagged? Will I end up with 2 identical tags on one file, possibly referring to two different version? use rtag -F, then existing tags will move to the actual position. Walter ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
RE: Reapplying a tag
As a specific tag can only appear once within a file, reapplying the tag to a file that already contains it will move the tag to the specified revision - providing you use the '-F' option (see cvs -H rtag). Andy -Original Message- From: Helliwell, Matthew [mailto:[EMAIL PROTECTED]] Sent: 31 May 2001 11:57 To: [EMAIL PROTECTED] Subject: Reapplying a tag I couldn't see this documented anywhere but I could have missed it being new to CVS... I've moved some source code to CVS and run rtag to give it an appropriate label. I now discover I've failed to move some files across and have just added these in. I've also put the wrong version of some files into CVS. These have now been updated. If I now run rtag again on everything using the same label as before what's going to happen to the files already tagged? Will I end up with 2 identical tags on one file, possibly referring to two different version? Thinking about it, I could just delete and reapply the tag but I'm still curious as to what would happen. Thanks -- Matt Helliwell -- If you have received this e-mail in error or wish to read our e-mail disclaimer statement and monitoring policy, please refer to http://www.drkw.com/disc/email/ or contact the sender. -- ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs NOTICE AND DISCLAIMER: This email (including attachments) is confidential. If you have received this email in error please notify the sender immediately and delete this email from your system without copying or disseminating it or placing any reliance upon its contents. We cannot accept liability for any breaches of confidence arising through use of email. Any opinions expressed in this email (including attachments) are those of the author and do not necessarily reflect our opinions. We will not accept responsibility for any commitments made by our employees outside the scope of our business. We do not warrant the accuracy or completeness of such information. ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: cvs edit: dying gasps
Bina Kshatriya wrote: If there is a watch set on a file and I try to use cvs edit filename to edit the file, I get an error message: cvs edit: dying gasps from the respository host. The weird part is that I have used watches before and did not receive this error message. This isn't enough information for me to diagnose this problem properly. Could you set CVS_CLIENT_LOG to some absolute path and filename (for example, '/tmp/cvslog', and don't forget to export CVS_CLIENT_LOG if your shell requires it), rerun the offending CVS command, this time specifying '-t' (trace), and post the result of the 'cvs -t edit filename' command, the result of 'cvs version' (or, second best, 'cvs -v' since the version command is relatively new), the result of 'uname -a' (and/or a description of your system), and the contents of both log files (in the example, '/tmp/cvslog.in' and '/tmp/cvslog.out') to [EMAIL PROTECTED] ? Derek -- Derek Price CVS Solutions Architect ( http://CVSHome.org ) mailto:[EMAIL PROTECTED] CollabNet ( http://collab.net ) -- My karma ran over my dogma. ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: cvs login problem from wincvs
dear sir, the problem solved. i selected proper proxy server options in wincvs. thankyou, Bhavani. Bhavani Prasad Polimetla wrote: dear sir, cvs login (Logging in to [EMAIL PROTECTED]) cvs [login aborted]: proxy server 192.32.10.199:2401 does not support http tunnelling *CVS exited normally with code 1* this error coming in wincvs. I am logging in linux successfully. how can i solve the above problem. thankyou, Bhavani. ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Multiple CVS and same files
Erik Mattsson wrote: Well I found a solution, it is possible to use symlinks (unix) when creating files and directories in other directories. It is both possible to symlink the directories and files and committing works lika a charm now :) So I ended up with a layout such this one cvsA/xml cvsA/apple and cvsB/orange cvB/xml - cvsA/xml I think this is fairly safe with directories if you are keeping locks inside the individual repositories. It probably doesn't work properly with LockDir set in the CVSROOT/config file if you are referring to multiple projects in a single repository and almost certainly doesn't if you are referring to projects in separate repositories. There are quite definately locking and other issues involved with symlinking files. Search the mail archives of this list for more. There was a recent discussion on the topic of symlinks. Derek -- Derek Price CVS Solutions Architect ( http://CVSHome.org ) mailto:[EMAIL PROTECTED] CollabNet ( http://collab.net ) -- A polar bear is a rectangular bear after a coordinate transform. ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: CVS SSL
Greg A. Woods wrote: I am most definitely not limiting CVS to any security model! I am arguing vehemently for total elimination of any *and* all security models from *within* CVS. CVS has no business even suggesting an appropriate security model for anyone -- in a client/server implementation it need only make use of *any* external tool capable of connecting it to an instance of itself acting as a server on some other machine. Well, there _is_ a basis of at least suggesting models in the docs. I know that when I was a novice user I much preferred, well, this'll get you up and running if you need it, with appropriate warnings to directions like, go learn Kerberos and talk to us later. Furthermore CVS has no need to include any built-in security model or even any built-in communications support, not on any modern platform! Keep in mind that I view pserver as more of a logging aid that can double as a simple, if possibly dangerous, security implementation if necessary. I've never been one for making it impossible for a user to shoot themselves in the foot as long as the appropriate warnings were present. I'm just not so egotistical as to think that I'm going to understand every one of their problems and I think the flexibility left in many *NIX programs has enabled their use for many probably unforeseen purposes. As for excluding communications support, well, it's there, at least, for user-side simplicity's sake. Not everybody has a copy of tcpserver lying around yet. Especially not on Windoze, I'm guessing. And opening a simple TCP socket is fairly simple nowadays, even from inside a program. You're free to use any external remote job execution tool that meets your own security requirements. If it's as simple as 'nc' and 'nc -I' then that's your business. If you want to use rsh in the clear then that's your business to. If you choose to use SSH, or stunnel, or any of the above in combination with a VPN then that's fine too. You should feel free to run your CVS server on a single-user operating system if you want. Issues of security should remain totally orthogonal to CVS (and indeed should be deemed inappropriate for this very forum!). Well, yeah. I think this discussion started about the generic socket provider hook I provided, initially with the idea that it would be useful with an SSL provider. This leaves CVS room to use authenticating and non-authenticating channel providers now - a non-authenticating provider (one which doesn't have/provide a useful user ID on the server) will use the old authentication server, at the least for logging purposes. If the administrator desires something more secure, she can work that out for herself - the hooks are there. Derek -- Derek Price CVS Solutions Architect ( http://CVSHome.org ) mailto:[EMAIL PROTECTED] CollabNet ( http://collab.net ) -- We have plenty of youth, how about a fountain of smart? ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Diffs by a particular user-id
Shubhabrata Sengupta wrote: Hi, I want to see the diffs between two static tags - but I only want to see it for checkins done by a particular user. How do I do that. You'll have to script something that reads logs or history to get the revisions you want diffs between then run cvs diff. This might be as simple as 'if cvs log -rtag1:tag2 filename |grep username /dev/null 21; then cvs diff filename; fi' Derek -- Derek Price CVS Solutions Architect ( http://CVSHome.org ) mailto:[EMAIL PROTECTED] CollabNet ( http://collab.net ) -- Man who run in front of car get tired. ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
[Fwd: CVS again]
Sir, I thank you for your quick reply. your answers have been very helpful. today i came to know from my senior about why this software is needed.(he does not have any idea,came to know through someone)our overseas client has the source code of the software and at times there is a version conflict Though you have answered my query but i put the same question again Can i distribute the entire project on the web ? Can we host the source code centrally so that both the parties can have access to it and at any given point of time . in this case there is no need to maintain two separate copies(one at client side,one for us) this will lead to easy maintenance and no discrepency with respect to source code. Is it possible if it is how could it be done?. What does client interface and Web based interface mean with respect to cvs. which interface does it support. There are several web browsers, at least one web client and a java client available, but no, strictly speaking, CVS is not browser based.(your reply) what are the names of web browsers ,web client(what do you mean by it0 Java client? if i were to use it what are its advantages over Visual Soure Safe and what are its disadvantages. as i am doing a comparative study between the two and your answers would be very helpful to me in ginving a correct report to my boss. i would be certainly going through the sites mentioned An early reply would be appreciated. Thanking you in anticipation Regards Amit Madhok _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Re: make check fails on redhat 6.2
Larry Jones wrote: Manik Bafna writes: Ok, I'm attaching the log. I compiled with the following options ./configure --without-gssapi --without-krb4 [...] revision 1.1 date: 2034/12/25 12:31:00; author: manik; state: Exp; Either your touch command is broken or you live somewhere with a fractional timezone. sanity.sh does: touch 1225180134 cdir/cfile Which should set the timestamp of that file to 2034/12/25 18:01:34 in your local time. It then expects the corresponding UTC time to be some date between 2034/12/24 and 2034/12/26, any hour, any seconds (many touch commands don't set the seconds correctly), but it expects the minutes to be exactly 01, whereas your system has 31. Right I'm +5.30 hours ahead of UTC so 18:01-05:30 = 12:31 But how do I select a different time zone in Linux Redhat 6.2 REgards, Manik If you are in a fractional timezone, please select a different timezone while you're running the tests. -Larry Jones The real fun of living wisely is that you get to be smug about it. -- Hobbes ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
One Question
I'm thinking in use cvs but I have the folowing doubt: If I run the CVS server in aUNIX machine while win32 clients are used. I want that every win32 client had his private project (files), so Can I use passwords for security issues without create a UNIX user for every win32 client? Thanx in advance, Pedro ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: One Question
On Thu, May 31, 2001 at 03:25:40PM +0200, Pedro wrote: I'm thinking in use cvs but I have the folowing doubt: If I run the CVS server in aUNIX machine while win32 clients are used. I want that every win32 client had his private project (files), so Can I use passwords for security issues without create a UNIX user for every win32 client? Thanx in advance, Pedro Yes, you can. Look at the manual for details, you can write an specific password file for CVS under the CVSROOT directory (which is not the same as the root of the cvs repository but is located under it). ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: [Fwd: CVS again]
On Thu, May 31, 2001 at 08:56:48AM -0400, Derek R. Price wrote: Sir, I thank you for your quick reply. your answers have been very helpful. today i came to know from my senior about why this software is needed.(he does not have any idea,came to know through someone)our overseas client has the source code of the software and at times there is a version conflict Though you have answered my query but i put the same question again Can i distribute the entire project on the web ? Yes, of course. For a very good example, browse the cvs repository of any of the many projects developed in www.sourceforge.net. cvsweb allows for browsing the source code repository like you can browse an ftp directory, but with many more features derived from the version control functionalities. cvs allows for splitting a project into several modules, in order to grant different access permissions to several developers. You can grant access to all or any desired module. Can we host the source code centrally so that both the parties can have access to it and at any given point of time . in this case there is no need to maintain two separate copies(one at client side,one for us) this will lead to easy maintenance and no discrepency with respect to source code. Is it possible if it is how could it be done?. Yes, again, take www.sourceforge.net as a good example. For instance, I am involved in a project coordinated through sourceforge, I use to checkout the code from the central repository, modify some files, and then upload it to the repository. That way, many programmers all around the world can jointly develop an international project. What does client interface and Web based interface mean with respect to cvs. which interface does it support. The cvs server can be accessed through plenty of different interfaces, look at www.cvsgui.org; in general, there are * command line interfaces * GUI interfaces * Web interfaces There is a cvs server, and since it is widespread and being used for many years, there are a lot of front-ends. There are several web browsers, at least one web client and a java client available, but no, strictly speaking, CVS is not browser based.(your reply) what are the names of web browsers ,web client(what do you mean by it0 Java client? if i were to use it what are its advantages over Visual Soure Safe and what are its disadvantages. as i am doing a comparative study between the two and your answers would be very helpful to me in ginving a correct report to my boss. I do not know -any- big and open project being developed with Source Safe. On the other hand, it is almost impossible surfing the web without finding a project developed with cvs. It is a strong reason to trust cvs. Also, you may have noticed that Microsoft products are not very reliable for server tasks. Another reason to choose cvs: you can browse full manual on line, freely download cvs, freely download its source code, request improvements, ask other users all around the world. i would be certainly going through the sites mentioned An early reply would be appreciated. Thanking you in anticipation Regards Amit Madhok ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
lock/authorization fails
WinCVS Error (on remove command): cvs server: failed to create lock directory in repository `/home/cvsroot': Permission denied cvs server: failed to obtain dir lock in repository `/home/cvsroot' cvs [server aborted]: read lock failed - giving up CVS Command Line Error: (on login command) $ cvs login (Logging in to jbacon@core) CVS password: for user jbaconrization failed: server core rejected access to /home/cvsroot Using CYGWIN tools in Win2000. I've tried deleting my .cvspass file and the only way we know how to fix this is delete the entire local copy of the source and re-check it out -- not great as I have changes not checked in. Jeffrey Bacon [EMAIL PROTECTED] Phone: (613)789-0090x468 Cell: (613)262-3571 Zucotto Wireless Inc. [http://www.zucotto.com] ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
commitinfo and client/server
Hello, we use cvs server 1.11 on linux and wincvs as client. To pre-commit certain files at checkin, a perl-script should check these files. I changed commitinfo, checkoutlist etc and the script gets called with the path from repository and the filenames in this directory. While executing the script, the files reside in /tmp/cvsserv-a number, but I have no clue, how to determine this path; there is no environment variable pointing to it or something like that. TIA Walter ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: [Fwd: CVS again]
Derek R. Price wrote: Subject: CVS again Date: Tue, 29 May 2001 07:00:00 - From: amit madhok [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sir, I thank you for your quick reply. your answers have been very helpful. today i came to know from my senior about why this software is needed.(he does not have any idea,came to know through someone)our overseas client has the source code of the software and at times there is a version conflict Though you have answered my query but i put the same question again Can i distribute the entire project on the web ? If you really mean web, yes. There are at least several web browsers and a web client. I consider the web client to be somewhat clunky. Poking around on http://cvshome.org should provide links to some of the other clients. Can we host the source code centrally so that both the parties can have access to it and at any given point of time . in this case there is no need to maintain two separate copies(one at client side,one for us) this will lead to easy maintenance and no discrepency with respect to source code. Is it possible if it is how could it be done?. CVS is good at remote repositories. Read the manual on http://cvshome.org/docs/manual/cvs.html. Security might be another matter. There's some discussion of those matters in the manual, but you might want to scan the recent discussions on this list about that. What does client interface and Web based interface mean with respect to cvs. which interface does it support. There are several web browsers, at least one web client and a java client available, but no, strictly speaking, CVS is not browser based.(your reply) what are the names of web browsers ,web client(what do you mean by it0 Java client? There are pages and pages of doc describing what features are required in a minimal CVS client much less a fully functional one. Basically a client should allow write access in my current simplistic usage. jCVS is the name of one of the Java clients. Again, poke around on cvshome.org or try web searches. jCVS is pretty good, IIRC, CVS itself compiles and runs on a lot of platforms, and there are several usable GUIs ( http://cvsgui.org ). if i were to use it what are its advantages over Visual Soure Safe and what are its disadvantages. as i am doing a comparative study between the two and your answers would be very helpful to me in ginving a correct report to my boss. VSS is bad at networks. CVS is good at it. VSS uses a locking model. CVS allows concurrent development. Read the manual of search the list archives for more detail - this comes up a lot. I'm reluctant to turn marketer/evangelist, but we already advertise Karl Fogel's book occasionally, so here goes... My current employer, Collab.Net, provides complete (sic) solutions along these lines to assist distributed development, including integrated CVS repositories, user management, public/private projects ACLs, issue tracking, mailing lists archives, and more, and most of it is open source... I don't know if you wanted anything this complex/expensive, but you ask a lot of questions, so hit their site (link in my sig) if this sounds interesting. Of course, if you're determined to learn CVS, please make use of the manual, web pages, mail archives, and FAQ (links to many of which are available from http://cvshome.org ), preferably before asking new questions on this info list, but we'll likely try and help anyhow, even if just with more links. i would be certainly going through the sites mentioned An early reply would be appreciated. Thanking you in anticipation I do my best. Derek -- Derek Price CVS Solutions Architect ( http://CVSHome.org ) mailto:[EMAIL PROTECTED] CollabNet ( http://collab.net ) -- I will not teach others to fly. I will not teach others to fly. I will not teach others to fly... - Bart Simpson on chalkboard, _The Simpsons_ ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: make check fails on redhat 6.2
Manik Bafna wrote: Either your touch command is broken or you live somewhere with a fractional timezone. sanity.sh does: touch 1225180134 cdir/cfile Which should set the timestamp of that file to 2034/12/25 18:01:34 in your local time. It then expects the corresponding UTC time to be some date between 2034/12/24 and 2034/12/26, any hour, any seconds (many touch commands don't set the seconds correctly), but it expects the minutes to be exactly 01, whereas your system has 31. Right I'm +5.30 hours ahead of UTC so 18:01-05:30 = 12:31 But how do I select a different time zone in Linux Redhat 6.2 'TZ=UTC0; export TZ' or the like may work. I had to hit a lot of man pages last time I tried to solve that one and I don't remember having much luck. Larry, unfortunately, 'date +%z' doesn't appear to be portable, but 'date -u' is defined to return UTC by SUS2. Any objections to something like 'expr abs\(`date +%M` - `date -u +%M`\)/10' to grab the minute differential? We could probably get the hours exact this way too with a little bit of effort. I don't know if that's important to this particular test. Derek -- Derek Price CVS Solutions Architect ( http://CVSHome.org ) mailto:[EMAIL PROTECTED] CollabNet ( http://collab.net ) -- I don't suffer from stress. I'm a carrier. - Scott Adam's _Dilbert_ ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
fatal signal and .rfl locks
When I do an update, I get the message, Terminated with fatal signal 11 It seems to be happening in the same place everytime, so I went to the directory on the CVS server where it stops, did an ls and found some #cvs.rfl files there. If I try to list those files (using ls -la) to get their time stamp, I get a segmentation fault. Nobody is using CVS right now, is it safe to delete those files? Should I be concerned about a possible disk fault or disk errors? - Dennis ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
RE: commitinfo and client/server
AIUI, on the server side you will actually be in the /tmp/cvsblah directory when your script is called so a quick examination of 'pwd' should give the game away. Andy -Original Message- From: Schell Walter [mailto:[EMAIL PROTECTED]] we use cvs server 1.11 on linux and wincvs as client. To pre-commit certain files at checkin, a perl-script should check these files. I changed commitinfo, checkoutlist etc and the script gets called with the path from repository and the filenames in this directory. While executing the script, the files reside in /tmp/cvsserv-a number, but I have no clue, how to determine this path; there is no environment variable pointing to it or something like that. NOTICE AND DISCLAIMER: This email (including attachments) is confidential. If you have received this email in error please notify the sender immediately and delete this email from your system without copying or disseminating it or placing any reliance upon its contents. We cannot accept liability for any breaches of confidence arising through use of email. Any opinions expressed in this email (including attachments) are those of the author and do not necessarily reflect our opinions. We will not accept responsibility for any commitments made by our employees outside the scope of our business. We do not warrant the accuracy or completeness of such information. ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
AW: commitinfo and client/server
You're right. I only looked in $PWD; executing `pwd` shows the right directory. thank you Walter AIUI, on the server side you will actually be in the /tmp/cvsblah directory when your script is called so a quick examination of 'pwd' should give the game away. Andy ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: AW: commitinfo and client/server
Schell Walter wrote: You're right. I only looked in $PWD; executing `pwd` shows the right directory. thank you Walter AIUI, on the server side you will actually be in the /tmp/cvsblah directory when your script is called so a quick examination of 'pwd' should give the game away. And checking `pwd` might not be necessary as relative paths should find you the files just fine. Derek -- Derek Price CVS Solutions Architect ( http://CVSHome.org ) mailto:[EMAIL PROTECTED] CollabNet ( http://collab.net ) -- Re: Graphics A picture is worth 10k words, but only if the words describe the picture. Very few arbitrary sets of 10k words can be adequately replaced with a picture. ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: commitinfo and client/server
Schell Walter writes: we use cvs server 1.11 on linux and wincvs as client. To pre-commit certain files at checkin, a perl-script should check these files. I changed commitinfo, checkoutlist etc and the script gets called with the path from repository and the filenames in this directory. While executing the script, the files reside in /tmp/cvsserv-a number, but I have no clue, how to determine this path; there is no environment variable pointing to it or something like that. When the script gets executed, it's current working directory is the directory (under /tmp/cvsserv-...) containing the files. -Larry Jones This sounds suspiciously like one of Dad's plots to build my character. -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Skipping directories in checkout
Hi, While running cvs -d path-to-CVSROOT get some-project, I get the following message: cvs checkout: Updating some-project cvs checkout: cannot open directory path-to-CVSROOT/some-project: No such file or directory cvs checkout: skipping directory some-project The reason CVS is unable to open the repository directories of this project is that there is a network problem and the connection to the file server (not CVS server!) in which the repository is located is unstable. The question is, why does it skip the directory? Why does it not die with a fatal error message? I run many such cvs get commands from a script, and the fact that it skips the directories and returns with a good exit status prevents the script from recognizing that it didn't manage to checkout the project. Shlomo ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: fatal signal and .rfl locks
Well, I couldn't wait for an answer, so I deleted the files. I still got the fatal signal and segmentation faults, so I figured there was something going on in the filesystem. So, I rebooted the server and was going to run fsck, but all is well after the reboot. Very strange. - Dennis - Original Message - From: Dennis Jones [EMAIL PROTECTED] To: CVS Mailing List [EMAIL PROTECTED] Sent: Thursday, May 31, 2001 8:30 AM Subject: fatal signal and .rfl locks When I do an update, I get the message, Terminated with fatal signal 11 It seems to be happening in the same place everytime, so I went to the directory on the CVS server where it stops, did an ls and found some #cvs.rfl files there. If I try to list those files (using ls -la) to get their time stamp, I get a segmentation fault. Nobody is using CVS right now, is it safe to delete those files? Should I be concerned about a possible disk fault or disk errors? - Dennis ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: fatal signal and .rfl locks
On Thu, May 31, 2001 at 08:30:43AM -0700, Dennis Jones wrote: When I do an update, I get the message, Terminated with fatal signal 11 It seems to be happening in the same place everytime, so I went to the directory on the CVS server where it stops, did an ls and found some #cvs.rfl files there. If I try to list those files (using ls -la) to get their time stamp, I get a segmentation fault. You get a seg fault from ls? That's bizarre. Are you setting your LD_LIBRARY_PATH to something strange? If not you could be having some sort of weird disk fault/errors.. donald Nobody is using CVS right now, is it safe to delete those files? Should I be concerned about a possible disk fault or disk errors? - Dennis ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: vss2cvs migration of shared files
Manik Bafna [EMAIL PROTECTED] writes: BTW when trying to migrate from VSS to CVS found that it does not migrate deleted files. How to fix this problem. Laine Stump wrote: I'm not aware of any method to get information or history for file deleted from VSS without undeleting them first. If you know of a way to use the ss commandline utility to get a list of deleted files, and to retrieve old versions of those files, without undeleting them, let me know and I'll try adding support for that into vss2cvs. Manik Bafna [EMAIL PROTECTED] writes: What is the issue if I mark undeleted, migrate and mark deleted again. I know VSS creates new versions for files and projects if we undelete or delete. Will this create any problem. There is no issue there (as long as nobody else is using your VSS repository at the time), and that's how I've always assumed it would need to be done. However, what I asked for was actual VSS commandlines to get a list of the deleted files. I don't have the time or desire to go wading through VSS documentation to figure out the right commandline parameters. To list the files/projects deleted: ListDeleted (PROJECT) { LIST all the files/subprojects deleted in PROJECT foreach element in the LIST { recover element if(element is a subproject/folder) { ListDeleted(element) delete the element } print element } } By this we could list current deleted files/project in the VSS. Similar code could be written to recover, migrate and mark deleted again. Regards, Manik Or, better yet, do it yourself and send me the patches! ;-) ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
deleting branches.
I have a user who manged to delete a branch( it looks like with the cvs rtag -d command ). When I went poking at the ,v file it looks like the revisions for that branch are still around. Is it ok to just put the branch name and revision back into the ,v files? donald ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: CVS LockDir Help
does /home/dotcvs/cvslocks exist? donald On Thu, May 31, 2001 at 05:56:44PM +0600, William Asquith wrote: I am trying to use LockDir with cvs1.10.7 on Linux. My root is /home/dotcvs and I want locks in /home/cvslocks. I have played with permissions but still get this: cvs checkout: Updating junkcvs cvs [checkout aborted]: cannot stat /home/dotcvs/cvslocks: No such file or directory cvs [checkout aborted]: cannot stat /home/dotcvs/cvslocks: No such file or directory I want CVS to have specific readers and writers. From my reading I need to use a separate lock directory to support read-only users. If so can someone provide some tutorial on how this works. I don't find this message in the help area on the cvshome page. Thanks for the wonderful product. . . William H. Asquith Hydrologist USGS, Austin, TX ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
RE: fatal signal and .rfl locks
Are you using WinCVS? If so, ours was crashing too because the username that we were using wasn't listed in the CVSROOT/passwd file (and we are allowing the system to fall-back to system authentication). BTW: If nobody else is using cvs, then you can remove the lock files. -Original Message- From: Dennis Jones [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 31, 2001 9:56 AM To: CVS Mailing List Subject: Re: fatal signal and .rfl locks Well, I couldn't wait for an answer, so I deleted the files. I still got the fatal signal and segmentation faults, so I figured there was something going on in the filesystem. So, I rebooted the server and was going to run fsck, but all is well after the reboot. Very strange. - Dennis - Original Message - From: Dennis Jones [EMAIL PROTECTED] To: CVS Mailing List [EMAIL PROTECTED] Sent: Thursday, May 31, 2001 8:30 AM Subject: fatal signal and .rfl locks When I do an update, I get the message, Terminated with fatal signal 11 It seems to be happening in the same place everytime, so I went to the directory on the CVS server where it stops, did an ls and found some #cvs.rfl files there. If I try to list those files (using ls -la) to get their time stamp, I get a segmentation fault. Nobody is using CVS right now, is it safe to delete those files? Should I be concerned about a possible disk fault or disk errors? - Dennis ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: CVS LockDir Help
I sure does--and that is the mystery to me. CVSROOT cvslocks fortworth junkcvs [asquith@balrog dotcvs]$ pwd /home/dotcvs [asquith@balrog dotcvs]$ ls -l total 16 drwxrwxr-x3 asquith cvsadmin 4096 May 31 13:00 CVSROOT drwxrwxr-x2 asquith txdotcvs 4096 May 31 12:55 cvslocks drwxrwxr-x2 asquith txdotcvs 4096 May 25 13:36 fortworth drwxrwxrwx2 asquith txdotcvs 4096 May 31 13:40 junkcvs Also, how are my permissions above. Here is config. LockDir is commented out for now. # Set this to no if pserver shouldn't check system users/passwords SystemAuth=yes # Set `PreservePermissions' to `yes' to save file status information # in the repository. #PreservePermissions=no # Set `TopLevelAdmin' to `yes' to create a CVS directory at the top # level of the new working directory when using the `cvs checkout' # command. #TopLevelAdmin=no # LockDir=/home/dotcvs/cvslocks On Thu, 31 May 2001, Donald Sharp wrote: does /home/dotcvs/cvslocks exist? donald On Thu, May 31, 2001 at 05:56:44PM +0600, William Asquith wrote: I am trying to use LockDir with cvs1.10.7 on Linux. My root is /home/dotcvs and I want locks in /home/cvslocks. I have played with permissions but still get this: cvs checkout: Updating junkcvs cvs [checkout aborted]: cannot stat /home/dotcvs/cvslocks: No such file or directory cvs [checkout aborted]: cannot stat /home/dotcvs/cvslocks: No such file or directory I want CVS to have specific readers and writers. From my reading I need to use a separate lock directory to support read-only users. If so can someone provide some tutorial on how this works. I don't find this message in the help area on the cvshome page. Thanks for the wonderful product. . . William H. Asquith Hydrologist USGS, Austin, TX ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs William H. Asquith Hydrologist USGS, Austin, TX ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: fatal signal and .rfl locks
On Thu, May 31, 2001 at 01:01:51PM -0400, Donald Sharp wrote: On Thu, May 31, 2001 at 08:30:43AM -0700, Dennis Jones wrote: When I do an update, I get the message, Terminated with fatal signal 11 It seems to be happening in the same place everytime, so I went to the directory on the CVS server where it stops, did an ls and found some #cvs.rfl files there. If I try to list those files (using ls -la) to get their time stamp, I get a segmentation fault. You get a seg fault from ls? That's bizarre. Are you setting your LD_LIBRARY_PATH to something strange? If not you could be having some sort of weird disk fault/errors.. Or a hacked system. Say they replaced /bin/ls with a custom version that wouldn't show the files they planted -- a fairly common trick -- but their bogus ls program is broken. Or they replaced libc.so.X with a broken version, for similar reasons -- that'd explain why both cvs and ls have similar problems. Or some other problem. Either way, I'd be very worried until I'd figured out what was going on. Or maybe something just went bad in the running kernel, and the reboot's all that was needed. But I'd want to put a fair amount of effort into convincing myself that's all it was. -- | | /\ |-_|/ Eric Siegerman, Toronto, Ont.[EMAIL PROTECTED] | | / With sufficient thrust, pigs fly just fine. However, this is not necessarily a good idea. - RFC 1925 (quoting an unnamed source) ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: fatal signal and .rfl locks
Dennis Jones writes: Well, I couldn't wait for an answer, so I deleted the files. I still got the fatal signal and segmentation faults, so I figured there was something going on in the filesystem. So, I rebooted the server and was going to run fsck, but all is well after the reboot. Very strange. Indeed. The leftover lock files were almost certainly a symptom of the problem rather than the cause, particularly since you say that even ls dumpped core when you listed the directory. My best guess is that you have some memory that's marginal -- I'm betting your server is modern (read cheap, in all senses of the word) PC hardware with no parity or ECC. -Larry Jones When you're SERIOUS about having fun, it's not much fun at all! -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
RE: deleting branches.
Yes, if you can identify the a.b.0.c revision, but tread with care! Oh, and give the user a slap '-) Andy -Original Message- From: Donald Sharp [mailto:[EMAIL PROTECTED]] Sent: 31 May 2001 19:18 To: [EMAIL PROTECTED] Subject: deleting branches. I have a user who manged to delete a branch( it looks like with the cvs rtag -d command ). When I went poking at the ,v file it looks like the revisions for that branch are still around. Is it ok to just put the branch name and revision back into the ,v files? donald ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs NOTICE AND DISCLAIMER: This email (including attachments) is confidential. If you have received this email in error please notify the sender immediately and delete this email from your system without copying or disseminating it or placing any reliance upon its contents. We cannot accept liability for any breaches of confidence arising through use of email. Any opinions expressed in this email (including attachments) are those of the author and do not necessarily reflect our opinions. We will not accept responsibility for any commitments made by our employees outside the scope of our business. We do not warrant the accuracy or completeness of such information. ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: CVS LockDir Help
William Asquith writes: I am trying to use LockDir with cvs1.10.7 on Linux. My root is /home/dotcvs and I want locks in /home/cvslocks. I have played with permissions but still get this: cvs checkout: Updating junkcvs cvs [checkout aborted]: cannot stat /home/dotcvs/cvslocks: No such file or directory cvs [checkout aborted]: cannot stat /home/dotcvs/cvslocks: No such file or directory What does your CVSROOT/config file look like? It looks like you have LockDir=/home/dotcvs/cvslocks instead of LockDir=/home/cvslocks. And note that the LockDir must already exist -- CVS won't create it. -Larry Jones I won't eat any cereal that doesn't turn the milk purple. -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: deleting branches.
As I suspected. I can identify the a.b.0.c revision. donald On Thu, May 31, 2001 at 07:57:26PM +0100, Andy Baker wrote: Yes, if you can identify the a.b.0.c revision, but tread with care! Oh, and give the user a slap '-) Andy -Original Message- From: Donald Sharp [mailto:[EMAIL PROTECTED]] Sent: 31 May 2001 19:18 To: [EMAIL PROTECTED] Subject: deleting branches. I have a user who manged to delete a branch( it looks like with the cvs rtag -d command ). When I went poking at the ,v file it looks like the revisions for that branch are still around. Is it ok to just put the branch name and revision back into the ,v files? donald ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs NOTICE AND DISCLAIMER: This email (including attachments) is confidential. If you have received this email in error please notify the sender immediately and delete this email from your system without copying or disseminating it or placing any reliance upon its contents. We cannot accept liability for any breaches of confidence arising through use of email. Any opinions expressed in this email (including attachments) are those of the author and do not necessarily reflect our opinions. We will not accept responsibility for any commitments made by our employees outside the scope of our business. We do not warrant the accuracy or completeness of such information. ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Skipping directories in checkout
Reinstein, Shlomo writes: The reason CVS is unable to open the repository directories of this project is that there is a network problem and the connection to the file server (not CVS server!) in which the repository is located is unstable. The question is, why does it skip the directory? Why does it not die with a fatal error message? Because the philosophy is that you'd rather have more of what you're trying to checkout than less. Why do you have (part of) your repository on an unreliable network filesystem -- is it read-only, junk you don't really care about, or do you just enjoy living dangerously? -Larry Jones See if we can sell Mom and Dad into slavery for a star cruiser. -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: fatal signal and .rfl locks
Well, we *do* know the system is a little flaky. This is the same system on which we were (and still do occasionally) getting those funny single-bit errors during check-in, where a character would get modified by one bit to become some other character. We are planning to replace this server ASAP. - Dennis - Original Message - From: Larry Jones [EMAIL PROTECTED] To: Dennis Jones [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, May 31, 2001 11:53 AM Subject: Re: fatal signal and .rfl locks Dennis Jones writes: Well, I couldn't wait for an answer, so I deleted the files. I still got the fatal signal and segmentation faults, so I figured there was something going on in the filesystem. So, I rebooted the server and was going to run fsck, but all is well after the reboot. Very strange. Indeed. The leftover lock files were almost certainly a symptom of the problem rather than the cause, particularly since you say that even ls dumpped core when you listed the directory. My best guess is that you have some memory that's marginal -- I'm betting your server is modern (read cheap, in all senses of the word) PC hardware with no parity or ECC. -Larry Jones When you're SERIOUS about having fun, it's not much fun at all! -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: CVS LockDir Help
William Asquith writes: Yes, I have LockDir=/home/dotcvs/cvslocks in config. The directory does exist. No, it doesn't. If it did, you wouldn't be getting No such file or directory. Check for typos. As mentioned in first email, I want true read-only and writer access to repository. LockDir is the first step right? Right. -Larry Jones I'm so disappointed. -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: CVS LockDir Help
William Asquith writes: # LockDir=/home/dotcvs/cvslocks Lose the around the value -- it should be just: LockDir=/home/dotcvs/cvslocks -Larry Jones I've got PLENTY of common sense! I just choose to ignore it. -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: deleting branches.
Donald Sharp writes: I have a user who manged to delete a branch( it looks like with the cvs rtag -d command ). When I went poking at the ,v file it looks like the revisions for that branch are still around. Is it ok to just put the branch name and revision back into the ,v files? Yep. Note that you'll have to use admin to do it -- tag -b will insist on creating a new branch, which isn't what you want. -Larry Jones I just can't identify with that kind of work ethic. -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: deleting branches.
I was just going to do it by hand( didn't realize that admin could do this ). I think I can do a cvs admin -nbranch_name:branch_rev filenames Where branch_name is the branch in question. Where branch_rev is the revision number for the branch. is this correct? donald On Thu, May 31, 2001 at 03:43:32PM -0400, Larry Jones wrote: Donald Sharp writes: I have a user who manged to delete a branch( it looks like with the cvs rtag -d command ). When I went poking at the ,v file it looks like the revisions for that branch are still around. Is it ok to just put the branch name and revision back into the ,v files? Yep. Note that you'll have to use admin to do it -- tag -b will insist on creating a new branch, which isn't what you want. -Larry Jones I just can't identify with that kind of work ethic. -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: make check fails on redhat 6.2
Derek R. Price writes: Larry, unfortunately, 'date +%z' doesn't appear to be portable, but 'date -u' is defined to return UTC by SUS2. Any objections to something like 'expr abs\(`date +%M` - `date -u +%M`\)/10' to grab the minute differential? Other than the fact that most expr's don't understand abs()? And that it doesn't work unless the offset is 0 or 30 minutes? (If the offset is negative, you need to add 60, not negate it.) Also, I'm not sure how common date -u is -- a quick check here didn't turn up any systems without it, but it's not in V7 Unix which is my touchstone for *real* portability. Fractional timezones are rare enough that I'm not sure it's worth worrying about, other than noting in TESTS (which I've already done, but haven't checked in pending the outcome of this discussion). We could probably get the hours exact this way too with a little bit of effort. I don't know if that's important to this particular test. It's somewhat important -- the point of that test (and some of its neighbors) is to ensure that imported files get timestamped correctly in the repository. Right now, they make sure it's at least in the right ballpark (assuming you're not in a fractional timezone), but it would be better to check it exactly if there's a highly portable way to do that that isn't too complicated. -Larry Jones I never get to do anything fun. -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: deleting branches.
Donald Sharp writes: I was just going to do it by hand( didn't realize that admin could do this ). That's what I was afraid of. :-) I think I can do a cvs admin -nbranch_name:branch_rev filenames Where branch_name is the branch in question. Where branch_rev is the revision number for the branch. is this correct? I think so. But note that the branch_rev is likely to be different for each file, so be careful. (Some commands won't even let you specify a numeric revision with more than one file -- I don't remember whether admin is one of them or not.) -Larry Jones Archaeologists have the most mind-numbing job on the planet. -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: deleting branches.
On Thu, May 31, 2001 at 03:59:15PM -0400, Larry Jones wrote: Donald Sharp writes: I was just going to do it by hand( didn't realize that admin could do this ). That's what I was afraid of. :-) Yep.. That's the reason I asked the question. Fortunately for me if I do it in this manner the user has only created this one branch after a import into the repository. So everthing looks identical.. I think I can do a cvs admin -nbranch_name:branch_rev filenames Where branch_name is the branch in question. Where branch_rev is the revision number for the branch. is this correct? I think so. But note that the branch_rev is likely to be different for each file, so be careful. (Some commands won't even let you specify a numeric revision with more than one file -- I don't remember whether admin is one of them or not.) I just tried using the admin -n command in a test repository. I'm getting: donsharp-u5:27 cvs admin -nFOOZLE:1.5.0.2 bar RCS file: /nfs/swtrf/repository/test/c/bar,v cvs [admin aborted]: revision `1.5.0.2' does not exist I know 1.5.0.2 doesn't exist, but that's the branch revision number... Thoughts? donald -Larry Jones Archaeologists have the most mind-numbing job on the planet. -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: CVS LockDir Help
Sorry to kept this up. The removal might have made the difference. It is now apparently working for 'junkcvs', but checkout is not working for 'fortworth'. Here is CVSROOT (should permissions be stricter for users?): [asquith@balrog txdotcvs]$ ls -l total 16 drwxrwxr-x3 asquith cvsadmin 4096 May 31 15:05 CVSROOT drwxr-xr-x3 asquith txdotcvs 4096 May 31 15:06 cvslocks drwxrwxr-x2 asquith txdotcvs 4096 May 31 13:48 fortworth drwxrwxrwx2 asquith txdotcvs 4096 May 31 13:40 junkcvs I can checkout 'junkcvs' and 'fortworth' as 'asquith' who is member of txdotcvs and cvsadmin. I can not checkout as 'wasquith' who is a member of txdotcvs only. [wasquith@balrog fortworth]$ cvs co fortworth cvs checkout: Updating fortworth cvs checkout: failed to create lock directory in repository `/home/dotcvs/fortworth': Permission denied cvs checkout: failed to obtain dir lock in repository `/home/dotcvs/fortworth'cvs [checkout aborted]: read lock failed - giving up [asquith@balrog asquith]$ cvs co fortworth cvs checkout: Updating fortworth QUESTION: Is the group txdotcvs not being picked up by user wasquith? Notice that world has write permission on junkcvs. William H. Asquith Hydrologist USGS, Austin, TX ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: CVS LockDir Help
On Thu, May 31, 2001 at 08:28:24PM +0600, William Asquith wrote: Sorry to kept this up. The removal might have made the difference. It is now apparently working for 'junkcvs', but checkout is not working for 'fortworth'. Here is CVSROOT (should permissions be stricter for users?): [asquith@balrog txdotcvs]$ ls -l total 16 drwxrwxr-x3 asquith cvsadmin 4096 May 31 15:05 CVSROOT drwxr-xr-x3 asquith txdotcvs 4096 May 31 15:06 cvslocks The group txdotcvs doesn't have write permission in the cvslocks directory. donald drwxrwxr-x2 asquith txdotcvs 4096 May 31 13:48 fortworth drwxrwxrwx2 asquith txdotcvs 4096 May 31 13:40 junkcvs I can checkout 'junkcvs' and 'fortworth' as 'asquith' who is member of txdotcvs and cvsadmin. I can not checkout as 'wasquith' who is a member of txdotcvs only. [wasquith@balrog fortworth]$ cvs co fortworth cvs checkout: Updating fortworth cvs checkout: failed to create lock directory in repository `/home/dotcvs/fortworth': Permission denied cvs checkout: failed to obtain dir lock in repository `/home/dotcvs/fortworth'cvs [checkout aborted]: read lock failed - giving up [asquith@balrog asquith]$ cvs co fortworth cvs checkout: Updating fortworth QUESTION: Is the group txdotcvs not being picked up by user wasquith? Notice that world has write permission on junkcvs. William H. Asquith Hydrologist USGS, Austin, TX ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
What does cvs admin -l do for me?
I have search the archives and I know that locking files has been brought up in the past. According to the manual, -l will lock the latest revision number. But, in the next paragraph it states that I need to use rcslock.pl to have a reserved checkout. I am confused on what exactly the -l option would do without the use of the rcslock command. Our process dictates that we only let one person work on a file and so we need this functionality. Thanks. Sandra ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
CVS GUI (Solaris 2.8)
Good Afternoon, All, I have CVS-1.11.1p installed on a Solaris 2.8 environment. and converted our software from SCCS to CVS. This users list has been very helpful in enabling me to do this effort. Much Thanks Question:What gui-type packages are available and compatible with the environment I've just set up? ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
deleting branches
Donald Sharp wrote: I have a user who manged to delete a branch( it looks like with the cvs rtag -d command ). When I went poking at the ,v file it looks like the revisions for that branch are still around. Is it ok to just put the branch name and revision back into the ,v files? Yes, I think so, but you have to use the magic branch revision,(with a zero in it in the next to last part of the rev number.) This can be a little tricky to figure out, conceivably impossible in some cases). There was a thread some time ago on recovering a lost branch tag. In the general case, it is not possible, though in specific cases (possibly most cases?) it can be done. If you have a revision a.b.c.d, the branch revision could be a.b.0.c, but, if the file has not been changed on that branch, it would be something else, and that's where the trouble comes from. (I think I got that right...) See: http://groups.google.com/groups?hl=enlr=safe=offic=1th=9c603ed65ed2e6a4,11seekm=fa.olakjtv.dhsqp9%40ifi.uio.no#p (go to groups.google.com and search for Deleted Branch Tag if you don't want to type in that URL.) If you created a non-branch tag initially when the branch was created to mark the origin, you are in better shape than if you didn't. (This would be an argument _against_ my .origin patch http://www.geocities.com/dotslashstar/branch_patch.html) However, you cannot just do cvs rtag -b -r my_branch_origin_tag lost_branch_tag everything It might make sense to change CVS so that it balks at deleting a branch tag unless you give it some option to let it know that you know that you're deleting a branch tag, so that you don't inadvertently do so when you mean only to delete a regular tag. I say this because there is almost never a sane reason to delete a branch tag. Even if you create one by mistake, what harm is there in leaving it lying around? And if there are revisions on the branch, then deleting the branch tag is almost certainly the wrong thing to do, and can be catastrophic. For the case where you have a tag which is non-branch in some files, and a branch tag in others, skip deleting the branch tags...(with warnings about skipping and about the fact that the same tag shows up sometimes as branch sometimes as non-branch.) Or are there people out there happily deleting branch tags willy-nilly as part of normal every day operations? -- steve __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/ ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: What does cvs admin -l do for me?
I have search the archives and I know that locking files has been brought up in the past. According to the manual, -l will lock the latest revision number. But, in the next paragraph it states that I need to use rcslock.pl to have a reserved checkout. I am confused on what exactly the -l option would do without the use of the rcslock command. Our process dictates that we only let one person work on a file and so we need this functionality. Why does your process dictate this? Have you looked at using the edit, watch, and notify features? If those aren't enough, have a look at some of the patches available at www.sourceforge.com under project RCVS. Noel This communication is for informational purposes only. It is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction. All market prices, data and other information are not warranted as to completeness or accuracy and are subject to change without notice. Any comments or statements made herein do not necessarily reflect those of J.P. Morgan Chase Co., its subsidiaries and affiliates. ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
update -C fails
Hi, When I do: $ cvs -z9 -q update -P -C I get the following error message: cvs server: invalid option -- C Usage: cvs server [-APdflRp] [-k kopt] [-r rev|-D date] [-j rev] [-I ign] [-W spec] [files...] -A Reset any sticky tags/date/kopts. -P Prune empty directories. -d Build directories, like checkout does. -f Force a head revision match if tag/date not found. -l Local directory only, no recursion. -R Process directories recursively. -p Send updates to standard output (avoids stickiness). -k kopt Use RCS kopt -k option on checkout. -r rev Update using specified revision/tag (is sticky). -D date Set date to update from (is sticky). -j rev Merge in changes made between current revision and rev. -I ign More files to ignore (! to reset). -W spec Wrappers specification line. Could this be that the cvs server is so old that the -C option doesn't exist? (This is the sources.redhat.com CVS server...) Thanks -- Fabrice Gautier [EMAIL PROTECTED] ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
help!
I'm new to CVS and to wincvs. The problem is this: Create Menu ... Checkout Module ... Checkout Settings (popup), in both the CheckoutSettings tab and General tab, I want to get rid of some of the options in the drop down list (module name and path). How does one accomplish this? If it's in the 'Help', it's anything but obvious. Thanks. Jeanie ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Linux security issues as they pertain to CVS
[Greg Woods wrote...] By allowing *anyone* to use CVS on your machine you are very nearly granting them shell access anyway! If you do so in a totally unaccountable way (i.e. with pserver) then you've just lost the integrity (and thus the security) of your repository. I.e. CVS cannot guarantee that it will not allow a remote user to execute any arbitrary command (and indeed maybe even any arbitrary code whatsoever). There is no inherent security in CVS -- anyone who can execute it can probably do anything as the user it executes as. Perhaps this is what I am missing, then. How does CVS access very nearly grant them shell access? By what mechanism do you see this happening? Are you assuming that there is a risk worthy of consideration that, since no service can be proven to not possess program bugs, and since some bugs allow code to be injected into programs, any running service must be assumed to contain code that was not a part of its original design, code contributed by a hacker at runtime that may run in any account to which the service has access? The implication of this would be that no restriction in the design of a program is of any significance to security, since no assumptions can be made about the actual contents of the running code. The only factor about a running server that is of any significance is the set of accounts to which it is may acquire access during execution. Of course, this would apply to the code implementing tunneling services or ssh or any of a dozen other services as well, no? The fundamental paradox of security is that you have to trust someone in order to know whom to trust. :-) If we aren't worried about those services, then the argument is really I trust these coders not to screw up (perhaps only because I have to) but not those coders. That's fine; but if that is the substance of your argument, it needs to be stated plainly. Or is there something more specific to CVS that I am missing? Let us presume from the outset that reasonable precautions have been made about the CVSROOT directory that prevent it from being modified except in a local account on the system. This is a known vulnerability, dealt with easily enough. Is there something else in CVS that permits its users to affect files outside of the repository? Once we're past this point in the discussion, I'll bring up the notion of what is or isn't considered acceptable risk and why. Ralph A. Mack ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
wincvs error 2
I get the following error when starting up wincvs: Error while accessing C:\Macros (error 2) Then it proceeds to log into CVSROOT with no problem. What is this error? Is it something I need to be concerned about? Jeanie ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
-jHEAD:yesterday
I would like to do something that I think CVS should be able to do, but the method has so far escaped me. basically I type... cvs update -jHEAD -jHEAD:yesterday ...to try to merge changes in the main branch between yesterday and today in reverse chronological order. Instead, it simply schedules all my files for removal... Huh? Can someone out there explain to me exactly... A: Why CVS thinks I want to delete all my files and B: How I can convince CVS that no, I don't want to delete all my files? And no, 'cvs diff -uN -rHEAD -Dyesterday | patch -p0' isn't a very good answer. Thanks. Cheers - Tony 'Nicoya' Mantler :) -- Tony Nicoya Mantler - Renaissance Nerd Extraordinaire - [EMAIL PROTECTED] Winnipeg, Manitoba, Canada -- http://nicoya.feline.pp.se/ ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: update -C fails
Fabrice Gautier writes: Could this be that the cvs server is so old that the -C option doesn't exist? Exactly. -Larry Jones How am I supposed to learn surgery if I can't dissect anything? -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
RE: Skipping directories in checkout
Hi, I fully agree with the philosophy - I'd rather have more than less. But at the end of the checkout operation, I expect to know from CVS (through its exit status, and perhaps also through an error message) that something went wrong. Otherwise the only way for me to intercept it is to capture the errors from the standard error (or output). Shlomo -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 31, 2001 10:18 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: Skipping directories in checkout Reinstein, Shlomo writes: The reason CVS is unable to open the repository directories of this project is that there is a network problem and the connection to the file server (not CVS server!) in which the repository is located is unstable. The question is, why does it skip the directory? Why does it not die with a fatal error message? Because the philosophy is that you'd rather have more of what you're trying to checkout than less. Why do you have (part of) your repository on an unreliable network filesystem -- is it read-only, junk you don't really care about, or do you just enjoy living dangerously? -Larry Jones See if we can sell Mom and Dad into slavery for a star cruiser. -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs