info-cvs
[Top][All Lists]
Advanced

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

Re: looking for an in-depth generic howto on cvs over ssh


From: Russ Sherk
Subject: Re: looking for an in-depth generic howto on cvs over ssh
Date: Sat, 12 Nov 2005 07:44:11 -0500



On 11 Nov 2005 15:18:32 -0800, address@hidden <address@hidden > wrote:
>
>This is confusing, first you ssh on to the server and. >can do a checkout on
>the server??
>But when you try to do a checkout while logged into the >console of the
>server you can not do a checkout????

Cool, huh?

And into spanking new directories both times.

Ok, I've looked at the things you suggest and will post the results at
the end of this message, but after looking at the troubleshooting guide
- which I should have consulted, yes yes I *know*, k? I wonder if *one*
problem is that /etc/inetd.conf on my cvs server machine is empty.

That may be an entirely separate issue. There is obviously a
permissions issue because root on the server machine can checkout
whereas my user can not. Remember that I can checkout to the server
machine using an ssh console with the same user.group
(client.uid.gid==server.uid.gid!!)

This is so weird.

I suspect there are more than one issue involved in this.

Anyway, I'm poking away at it. It's not critical, just hobby projects,
but in the long run I want to rescue my employer from VSS, but clearly
I'm not in a position to do that yet.

Any help is appreciated. Thanks very much for tuning in. Here's the
outputs from your suggestions.

Thanks.
Ok - your tests.

*********************
/begin SERVER (sroom)==

address@hidden:~$ cvs -v

Concurrent Versions System (CVS) 1.12.9 (client/server)

Copyright (c) 1989-2004 Brian Berliner, david d `zoo' zuhn,
                        Jeff Polk, and other authors

CVS may be copied only under the terms of the GNU General Public
License,
a copy of which can be found with the CVS distribution kit.

Specify the --help option for further information about CVS
address@hidden:~$ echo $CVSROOT
/usr/local/cvsroot
address@hidden:~$ hostname
sroom
address@hidden/doc/creature:~$ cat CVS/Root
/usr/local/cvsroot
***
Note: this CVS/Root was created by the ssh
session from the client (bbox)
***

cat: CVS/Root: No such file or directory
address@hidden:~$ ssh sroom cvs -v
address@hidden's password:

Concurrent Versions System (CVS) 1.12.9 (client/server)

Copyright (c) 1989-2004 Brian Berliner, david d `zoo' zuhn,
                        Jeff Polk, and other authors

CVS may be copied only under the terms of the GNU General Public
License,
a copy of which can be found with the CVS distribution kit.

Specify the --help option for further information about CVS
address@hidden:~$


/end SERVER (sroom)===

/begin  CLIENT (bbox)==
address@hidden:~$ cvs -v

Concurrent Versions System (CVS) 1.12.9 (client/server)

Copyright (c) 1989-2004 Brian Berliner, david d `zoo' zuhn,
                        Jeff Polk, and other authors

CVS may be copied only under the terms of the GNU General Public
License,
a copy of which can be found with the CVS distribution kit.

Specify the --help option for further information about CVS
address@hidden:~$ echo $CVSROOT
:pserver:address@hidden:/usr/local/cvsroot 
Um.  pserver?  You want 'ext'. (:ext:address@hidden:/usr/local/cvsroot)
address@hidden :~$ hostname
bbox
address@hidden:~$ cat CVS/Root

Hm. I think Jim meant that you should  cat  the  CVS/Root  in a checked out copy.   (But wouldn't it be nice if the computer 'just knew' what you were actually trying to do and finish the intermediate steps?  Then it wolul probably say (to itself):
"hmmm. I should probably do this:
 address@hidden:~$ export CVSROOT=:ext:address@hidden:/usr/local/cvsroot
address@hidden:/tmp$ cd /tmp; mkdir testCVS; cd testCVS
address@hidden:/tmp/testCVS$ cvs co stephensModule
address@hidden:/tmp/testCVS$ cat stephensModule/CVS/Root
:ext:address@hidden:/usr/local/cvsroot"

Now here the computer would say out loud to you: "I have solved your issue for you.  On this machine (bbox) you need to set your CVSROOT environment variable to ':ext:address@hidden:/usr/local/cvsroot'."  It would then calculate your taxes, submit it to the IRS and re-route the refund to an offshore account.  After which it will probably purchase a ticket to Bermuda through Go-Travel Direct and you will be left asking yourself: "Where _is_ my computer?  I left it right here!  It's not like it can just get up and walk away."

--Russ

cat: CVS/Root: No such file or directory
address@hidden:~$ ssh sroom cvs -v
address@hidden 's password:

Concurrent Versions System (CVS) 1.12.9 (client/server)

Copyright (c) 1989-2004 Brian Berliner, david d `zoo' zuhn,
                        Jeff Polk, and other authors

CVS may be copied only under the terms of the GNU General Public
License,
a copy of which can be found with the CVS distribution kit.

Specify the --help option for further information about CVS
/end CLIENT (bbox) ===

_______________________________________________
Info-cvs mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/info-cvs


reply via email to

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