info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

unsuscribe


From: Nelson Lopez
Subject: unsuscribe
Date: Thu, 3 Jan 2002 13:23:50 -0300

---- Original Message ----
De: address@hidden
Para: address@hidden, 
Asunto: RE: Info-cvs digest, Vol 1 #1281 - 16 msgs
Fecha: Wed, 02 Jan 2002 22:48:04 -0500

>Send Info-cvs mailing list submissions to
>       address@hidden
>
>To subscribe or unsubscribe via the World Wide Web, visit
>       http://mail.gnu.org/mailman/listinfo/info-cvs
>or, via email, send a message with subject or body 'help' to
>       address@hidden
>
>You can reach the person managing the list at
>       address@hidden
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of Info-cvs digest..."
>
>
>Today's Topics:
>
>   1. Re: Accidental -kb option used when adding a text file (Duncan 
>Sommerville)
>   2. Re: Re: How to add cvs user? (Duncan Sommerville)
>   3. question on cvs update (Naveen Srinivasa Murthy)
>   4. question on cvs update (Naveen Srinivasa Murthy)
>   5. Importing files (Datla, Raghav)
>   6. Ill effects of heavy use of tags? (Schlitz)
>   7. password generation (Beachey, Kendric)
>   8. Re: Accidental -kb option used when adding a text file (Steve 
>Greenland)
>   9. Re: Importing files (Steve Greenland)
>  10. Help on this scenario (Datla, Raghav)
>  11. Re: Accidental -kb option used when adding a text file (Larry 
>Jones)
>  12. Re: question on cvs update (Larry Jones)
>  13. New feature/command (Stuart Midgley)
>  14. Re: question about cvsignore (Mark A. Flacy)
>  15. cvs 1.11.1p1 commit problems (mrao2001)
>  16. Re: cvs 1.11.1p1 commit problems (Larry Jones)
>
>--__--__--
>
>Message: 1
>Date: Wed, 02 Jan 2002 17:25:23 +0000
>To: address@hidden
>From: Duncan Sommerville <address@hidden>
>Subject: Re: Accidental -kb option used when adding a text file
>
>--=====================_1230634588==_.ALT
>Content-Type: text/plain; charset="us-ascii"
>
>
>>I accidentally used the -kb option when adding a text file to my cvs
>>repository.  Is there any way to “undo” this operation?
>>Regards,
>
>cvs admin -kv <myfile.txt>
>
>Typically you need to do an 'update' afterwards for the change to be 
>reflected in the workspace, however in my version of CVS (1.10) 
>changing from a -kb to -kv needed me to redo the 'checkout' 
>operation before the change was evident in the workspace...
>
>Kind Regards,
>Duncan.
>--=====================_1230634588==_.ALT
>Content-Type: text/html; charset="us-ascii"
>
><html>
><blockquote type=cite class=cite cite>I accidentally used the -kb 
>option
>when adding a text file to my cvs<br>
>repository.  Is there any way to “undo” this operation?<br>
>Regards,</blockquote><br>
>cvs admin -kv <myfile.txt><br><br>
>Typically you need to do an 'update' afterwards for the change to be
>reflected in the workspace, however in my version of CVS (1.10) 
>changing
>from a -kb to -kv needed me to redo the 'checkout' operation before 
>the
>change was evident in the workspace...<br><br>
>Kind Regards,<br>
>Duncan.</html>
>
>--=====================_1230634588==_.ALT--
>
>
>_________________________________________________________
>Do You Yahoo!?
>Get your free @yahoo.com address at http://mail.yahoo.com
>
>
>
>--__--__--
>
>Message: 2
>Date: Wed, 02 Jan 2002 17:31:40 +0000
>To: address@hidden
>From: Duncan Sommerville <address@hidden>
>Subject: Re: Re: How to add cvs user?
>
>--=====================_1231011040==_.ALT
>Content-Type: text/plain; charset="us-ascii"
>
>
>>cp /etc/shadow /var/cvs/CVSROOT/passwd
>
>The CVS passwd file does not have the same format as the 
>shadow-passwd file - check out the following:
>
>  http://www.cvshome.org/docs/manual/cvs_2.html#SEC30
>
>Kind Regards,
>Duncan.
>
>--=====================_1231011040==_.ALT
>Content-Type: text/html; charset="us-ascii"
>
><html>
><blockquote type=cite class=cite cite>cp /etc/shadow
>/var/cvs/CVSROOT/passwd</blockquote><br>
>The CVS passwd file does not have the same format as the 
>shadow-passwd
>file - check out the following:<br><br>
> 
><a href="http://www.cvshome.org/docs/manual/cvs_2.html#SEC30"; 
>eudora="autourl">http://www.cvshome.org/docs/manual/cvs_2.html#SEC30<
>br><br>
></a>Kind Regards,<br>
>Duncan.<br>
></html>
>
>--=====================_1231011040==_.ALT--
>
>
>_________________________________________________________
>Do You Yahoo!?
>Get your free @yahoo.com address at http://mail.yahoo.com
>
>
>
>--__--__--
>
>Message: 3
>To: address@hidden
>Date: Wed, 02 Jan 2002 12:38:03 -0500
>From: "Naveen Srinivasa Murthy" <address@hidden>
>Reply-To: address@hidden
>Subject: question on cvs update
>Organization: Lycos Mail  (http://mail.lycos.com:80)
>
>Hi,
>
>Im have a problem while using the cvs update.
>
>lets say that the source code is in cvs and i checked out the code
>using cvs onto my local machine.
>
>lets assume that someone else in the project added a new subdirectory
>to the existing source in cvs(using cvs import)
>
>Since the new sub-directory and its contents are not in my local 
>machine
>, I presumed that i should be doing a 'cvs update' to download
>the new directory and its contents.
>
>Is this the right way? I tried it once but even though the new
>sub directory appeared, it was containing only 'non-cvs' files.
>
>if im wrong, how should i add a new subdirectory to cvs, and how
>should other update their local content?
>
>thanks
>Naveen
>
>
>
>
>--
>Click here for your very own create-a-date adventure from MatchMaker
>Go to http://ecard.matchmaker.com/dating.html
>
>
>--__--__--
>
>Message: 4
>To: address@hidden
>Date: Wed, 02 Jan 2002 12:57:01 -0500
>From: "Naveen Srinivasa Murthy" <address@hidden>
>Reply-To: address@hidden
>Subject: question on cvs update
>Organization: Lycos Mail  (http://mail.lycos.com:80)
>
>
>
>Hi,
>
>Im have a problem while using the cvs update.
>
>lets say that the source code is in cvs and i checked out the code
>using cvs onto my local machine.
>
>lets assume that someone else in the project added a new subdirectory
>to the existing source in cvs(using cvs import)
>
>Since the new sub-directory and its contents are not in my local 
>machine
>, I presumed that i should be doing a 'cvs update' to download
>the new directory and its contents.
>
>Is this the right way? I tried it once but even though the new
>sub directory appeared, it was containing only 'non-cvs' files.
>
>if im wrong, how should i add a new subdirectory to cvs, and how
>should other update their local content?
>
>thanks
>Naveen
>
>
>
>--
>Click here for your very own create-a-date adventure from MatchMaker
>Go to http://ecard.matchmaker.com/dating.html
>
>
>--__--__--
>
>Message: 5
>From: "Datla, Raghav" <address@hidden>
>To: "'address@hidden'" <address@hidden>
>Subject: Importing files
>Date: Wed, 2 Jan 2002 13:17:24 -0500 
>
>Hi,
>   I have set off directories which contains files of both ascii and 
>binary,
>which I need to import them into CVS repository. I know that we have 
>to use
>keyword substitution for binary files, but since I have both ascii 
>and
>binary files in a directory, I am not sure what happens if i use -kb 
>option
>while importing the whole directory.
>Is there any specific way which I can use for this type of import?.
>
>Thanks,
>-Raghav
>
>
>--__--__--
>
>Message: 6
>From: "Schlitz" <address@hidden>
>Subject: Ill effects of heavy use of tags?
>Date: Wed, 02 Jan 2002 18:14:45 GMT
>Organization: ATT Broadband
>To: address@hidden
>
>Newbie question:
>I am implementing CVS on several projects, and was wondering if 
>there are
>any common problems (performance, etc.) associated with heavy use of 
>tags?
>It would be very possible in this implementation for individual file
>versions to have 0 to many tags- should I  be concerned with any 
>long term
>problems associated with heavy tag use?
>
>
>
>
>--__--__--
>
>Message: 7
>From: "Beachey, Kendric" <address@hidden>
>To: "Ïnfo-Cvs mailing list (E-mail)" <address@hidden>
>Subject: password generation
>Date: Wed, 2 Jan 2002 12:37:54 -0600 
>
>A few people have recently been asking about CVS user administration 
>and
>password generation for the pserver access method, so I thought it 
>might be
>time to repost this...
>
>Here are the perl scripts I've been using for cvs password 
>maintenance.  You
>may need to adjust the first line to point to your copy of perl.  
>The first
>script adds a new user to your cvs passwd file, using their username 
>as the
>initial password.  The second script changes a user's cvs password.  
>They're
>not the greatest solution, I'm sure, but maybe they'll give you an 
>idea for
>something better.
>
>
>--------8<--- cut here ---8<-------------------
>#!/usr/bin/perl
>#
># addcvsuser <username>
>#
># Adds a new user to the cvs passwd file, using the user's name as 
>the
># initial password.
>#
># ASSumption:
># this script needs to live in the CVSROOT directory, next door to 
>the cvs
>passwd file.
>#
># Shortcoming:
># initial password is lame.
> 
># grab username from command line
>my $username = shift;
> 
># generate encrypted password
>srand (time());
>my $randletter = "(int (rand (26)) + (int (rand (1) + .5) % 2 ? 65 : 
>97))";
>my $salt = sprintf ("%c%c", eval $randletter, eval $randletter);
>my $crypttext = crypt ($username, $salt);
>my $newpasswdline = sprintf ("%s:%s:%s", $username, $crypttext, 
>"cvs");
> 
># Check to see that user doesn't already exist
>open (PASSWD, "passwd");
>while (<PASSWD>)
>{
>        split (/:/);
>        die ("User $username already exists.\n") if (@_[0] eq 
>$username);
>}
>close (PASSWD);
> 
># Add user's line to passwd file
>open (PASSWD, ">>passwd");
>print PASSWD "${newpasswdline}\n";
>close (PASSWD);
>--------8<--- cut here ---8<-------------------
>#!/usr/bin/perl
>#
># chcvspasswd <username> <newpassword>
>#
># ASSumption:
># this script needs to live in your CVSROOT directory, next door to 
>the cvs
>passwd file.
>#
># Shortcomings:
># 1) your password is typed on the command line, so someone else 
>might see
>it.
># 2) you're not required to prove your identity.
># 3) you don't have to know your old password to change it.
> 
># Grab username and password from command line
>my $username = shift;
>my $newpasswd = shift;
> 
># Generate encrypted password
>srand (time());
>my $randletter = "(int (rand (26)) + (int (rand (1) + .5) % 2 ? 65 : 
>97))";
>my $salt = sprintf ("%c%c", eval $randletter, eval $randletter);
>my $crypttext = crypt ($newpasswd, $salt);
> 
># Find the user's line in the passwd file and change it
>open (PASSWD, "passwd");
> 
>my $found = "no";
>my $top = "";
>my $middle = "";
>my $bottom = "";
> 
>while (<PASSWD>)
>{
>        chop;
>        split (/:/);
>        my $loopuser = @_[0];
>        my $looppasswd = @_[1];
>        my $loopsysuser = @_[2];
> 
>        # Not everyone in the world mimics a system user.
>        $loopsysuser = ":" . $loopsysuser unless ($loopsysuser eq 
>"");
> 
>        my $tempstring = sprintf ("%s:%s%s\n", $loopuser, 
>$looppasswd,
>$loopsysuser);
> 
>        if ($loopuser ne $username)
>        {
>                if ($found eq "no")
>                {
>                        $top .= $tempstring;
>                }
>                else
>                {
>                        $bottom .= $tempstring;
>                }
>        } # end if loopuser ne username
>        else
>        {
>                $found = "yes";
>                $tempstring = sprintf ("%s:%s%s\n", $username, 
>$crypttext,
>$loopsysuser);
>                $middle = $tempstring;
>        }
>} # end while PASSWD
> 
># Bail out if the user doesn't exist
>die ("User $username does not exist.\n") if ($found eq "no");
> 
>close (PASSWD);
> 
># Rewrite the passwd file with the change
>open (PASSWD, ">passwd");
>print PASSWD ($top);
>print PASSWD ($middle);
>print PASSWD ($bottom);
>--------8<--- cut here ---8<-------------------
>
>Kendric Beachey
>
>
>--__--__--
>
>Message: 8
>Date: Wed, 2 Jan 2002 12:57:33 -0600
>From: Steve Greenland <address@hidden>
>To: <address@hidden>
>Subject: Re: Accidental -kb option used when adding a text file
>
>On Wed, Jan 02, 2002 at 05:25:23PM +0000, Duncan Sommerville wrote:
>> cvs admin -kv <myfile.txt>
>> 
>> Typically you need to do an 'update' afterwards for the change to
>> be reflected in the workspace, however in my version of CVS (1.10)
>> changing from a -kb to -kv needed me to redo the 'checkout' 
>operation
>> before the change was evident in the workspace...
>
>I think the problem is that the -k options are "sticky", so that a
>simple update doesn't reset to the repository (cvs can't tell that 
>the
>-kb came from the repository, vs. a 'cvs co -kb' command.) You could
>also probably do 'cvs update -A' to clear the stickiness, although 
>that
>would also undo any other sticky properties, e.g. tags.
>
>Steve
>
>
>--__--__--
>
>Message: 9
>Date: Wed, 2 Jan 2002 13:00:16 -0600
>From: Steve Greenland <address@hidden>
>To: "'address@hidden'" <address@hidden>
>Subject: Re: Importing files
>
>On Wed, Jan 02, 2002 at 01:17:24PM -0500, Datla, Raghav wrote:
>> Hi,
>>    I have set off directories which contains files of both ascii 
>and binary,
>> which I need to import them into CVS repository. I know that we 
>have to use
>> keyword substitution for binary files, but since I have both ascii 
>and
>> binary files in a directory, I am not sure what happens if i use 
>-kb option
>> while importing the whole directory.
>> Is there any specific way which I can use for this type of import?.
>
>If you're using WinCVS, it does a pretty good job of guessing, and 
>let's you
>adjust.
>
>Otherwise, if all the binary files have specific extensions, you can 
>use
>the cvswrappers admin file to automatically use -kb on them.
>
>Steve
>
>
>--__--__--
>
>Message: 10
>From: "Datla, Raghav" <address@hidden>
>To: "'address@hidden'" <address@hidden>
>Subject: Help on this scenario
>Date: Wed, 2 Jan 2002 14:50:29 -0500 
>
>Hi,
>   I have some directories or files in production and development 
>servers
>which are not under CVS control. Also there are some files which are 
>there
>in production and not in development.
>Now I am planning to arrange or keep all these directories and files 
>from
>production and development into one CVS repository which looks 
>something
>like development and production environments inside CVS repository.
>There are only some files in some modules that gets changed, as this
>repository is not a project related. This repository is just for 
>Tech & Ops
>to maintain its automated scripts, documents, configurations and 
>software on
>a central server.
>Thanks for the responses which says go for branching. 
>Branching looks like more cumbersome to me as the code or scripts 
>will not
>change as frequently as it changes in developing a particular 
>project.
>
>Any other ways, advices on how to start with or how to go for 
>branching
>limitedly so that it makes maintenance easy.
>
>Thanks,
>-Raghav
>
>
>
>--__--__--
>
>Message: 11
>Subject: Re: Accidental -kb option used when adding a text file
>To: address@hidden (Duncan Sommerville)
>Date: Wed, 2 Jan 2002 14:54:07 -0500 (EST)
>Cc: address@hidden
>From: address@hidden (Larry Jones)
>
>Duncan Sommerville writes:
>> 
>> cvs admin -kv <myfile.txt>
>
>That should be -kkv.
>
>> Typically you need to do an 'update' afterwards for the change to 
>be
>> reflected in the workspace, however in my version of CVS (1.10) 
>changing
>> from a -kb to -kv needed me to redo the 'checkout' operation 
>before the
>> change was evident in the workspace...
>
>A simple update isn't sufficient because CVS doesn't distinguish 
>between
>-k options that came from the repository and -k options that came 
>from
>the command line.  You either need to do update -A or update -kkv.
>
>-Larry Jones
>
>I kind of resent the manufacturer's implicit assumption
>that this would amuse me. -- Calvin
>
>
>--__--__--
>
>Message: 12
>Subject: Re: question on cvs update
>To: address@hidden
>Date: Wed, 2 Jan 2002 14:54:50 -0500 (EST)
>Cc: address@hidden
>From: address@hidden (Larry Jones)
>
>Naveen Srinivasa Murthy writes:
>> 
>> Since the new sub-directory and its contents are not in my local 
>machine
>> , I presumed that i should be doing a 'cvs update' to download
>> the new directory and its contents.
>
>You need to use update -d to create new directories.
>
>-Larry Jones
>
>It's either spectacular, unbelievable success, or crushing, hopeless
>defeat!  There is no middle ground! -- Calvin
>
>
>--__--__--
>
>Message: 13
>Date: Thu, 3 Jan 2002 09:54:01 +1100
>Subject: New feature/command
>From: Stuart Midgley <address@hidden>
>To: address@hidden
>
>Hi
>
>I use CVS for all my source code development and document creation.  
>My 
>standard workstation is a Laptop which I connect to LANs and WANs.  
>My 
>repository is served via pserver.  One feature I would really love 
>is 
>something like
>
>       cvs chroot
>
>which I could run on my laptop to modify all the CVS/Root files, 
>depending on which network I am on.
>
>That is my CVS/Root looks like
>
>       :pserver:address@hidden:/home/user/repository
>
>and after
>
>       cvs chroot :pserver:address@hidden:/home/user/repository
>
>the CVS/Root would look like
>
>       :pserver:address@hidden:/home/user/repository
>
>and ALL the subsequent CVS commands route through correctly to my 
>host.  
>Currently, I manually go through all the CVS directories, changing 
>the 
>file by hand.  I have a small script to do it, but it would be good 
>to 
>have it as part of CVS.
>
>The main reason for doing it this way rather than committing, 
>deleting 
>and checking out again is that some files are massive.  Downloading 
>them 
>over a modem via my ISP would take too long.  I down load the files 
>from 
>my local LAN and then hit the road and continue working/checking in 
>files etc.
>
>Thanks
>
>Stu.
>
>
>--
><--------------------------------------------------------------------
>->
>   Stuart Midgley                      |  address@hidden
>   Supercomputer Facility              |  address@hidden
>   Leonard Huxley Building 56          |  +61 (0)2 6125 5988   Work
>   Australian National University      |  +61 (0)2 6125 8199   Fax
>   CANBERRA   ACT   0200               |  +61 (0)4 1125 2488   Mob
>
>
>
>--__--__--
>
>Message: 14
>From: "Mark A. Flacy" <address@hidden>
>Subject: Re: question about cvsignore
>Date: 02 Jan 2002 17:46:34 -0600
>Organization: Nortel
>To: address@hidden
>
>My local respository is in /usr/local/cvsroot.
>
>I went into my working area and issued...
>
>cvs -d /usr/local/cvsroot/ co CVSROOT
>
>... I then changed into the new working area subdirectory of CVSROOT 
>and
>issued... 
>
>echo "*.class *.txt *.jar" > cvsignore
>cvs add cvsignore
>cvs commit -m "New file" cvsignore
>
>...and things are added into the repository as expected.
>
>Does that help?
>
>--__--__--
>
>Message: 15
>Date: Thu, 03 Jan 2002 00:50:01 -0000
>From: "mrao2001" <address@hidden>
>To: address@hidden
>Subject: cvs 1.11.1p1 commit problems
>
>Hi all
>
>I am very new to cvs and having very hard time in configuring cvs 
>1.11.1p1 on Solaris 8.
>Had configured cvs as per the instruction given at this site
>http://www.taursys.com/howto/cvs/.
>
>Able to login, checkin and checkout the files and directories.
>But when I tries to commit some changes it gives the 
>following error.
>
>$cvs commit
>/export/cvs/cvsroot: no such repository 
>
>also noticed these messages in /var/adm/messages
>Jan  2 16:30:38 cvs [ID 225002 daemon.notice] login refused 
>for /export/cvs/cvsroot
>
>Please help
>
>TIA
>mrao
>
>
>
>--__--__--
>
>Message: 16
>Subject: Re: cvs 1.11.1p1 commit problems
>To: address@hidden (mrao2001)
>Date: Wed, 2 Jan 2002 22:43:02 -0500 (EST)
>Cc: address@hidden
>From: address@hidden (Larry Jones)
>
>mrao2001 writes:
>> 
>> Able to login, checkin and checkout the files and directories.
>> But when I tries to commit some changes it gives the 
>> following error.
>> 
>> $cvs commit
>> /export/cvs/cvsroot: no such repository 
>
>I doubt it.  When reporting problems, it is very important to report 
>the
>*exact* text of any error message you get.
>
>> also noticed these messages in /var/adm/messages
>> Jan  2 16:30:38 cvs [ID 225002 daemon.notice] login refused 
>> for /export/cvs/cvsroot
>
>That implies that you're using the :pserver: access method and
>/export/cvs/cvsroot does not match any of the --allow-root options
>specified on the pserver command line in /etc/inetd.conf.  It would
>probably be helpful if you listed the exact series of commands you're
>executing so we can see what you're doing.  You'll also need to tell 
>us
>how you've set your $CVSROOT environment variable.
>
>I'd also suggest reading the CVS manual at www.cvshome.org if you
>haven't already -- it's much simpler to get CVS running with a local
>repository first and then set up client/server if you need it rather
>than trying to immediately set up client/server.
>
>-Larry Jones
>
>Oh, now don't YOU start on me. -- Calvin
>
>
>
>--__--__--
>
>_______________________________________________
>Info-cvs mailing list
>address@hidden
>http://mail.gnu.org/mailman/listinfo/info-cvs
>
>
>End of Info-cvs Digest
>

Webmail CPCIPC




reply via email to

[Prev in Thread] Current Thread [Next in Thread]