[Techtalk] conceptual CVS

Cynthia Kiser cnk at ugcs.caltech.edu
Thu Jul 17 22:14:44 EST 2003


Well Emma has already replied that rsync is not an option as that
would require her to have the admin's install rsync. I was suggesting
she circumvent the "needs admins" by installing the cvs binary in her
home directory. That gives her the cvs client and server - but if she
does not set up a repository on any of the machines she does not
admin, then I expect no one to be the wiser.

Do you have scp already installed everywhere? It is not as efficient
as rsync or cvs because it copies all the files not just the ones that
have changed, but you can use "scp -r" to recursively copy files from
your working directories on your laptop to the production
servers. (And how are the admins living without rsync? I would expect
them to need it for their own purposes)

Quoting Elizabeth Barham <lizzy at soggytrousers.net>:
> Cynthia writes:
> 
> > > rsync?
> > 
> > That would be a good option - something like 
> > 
> > rsync -e ssh -av --delete --exclude=CVS local/working/copy remote:/deployment/dir
> > 
> > But FYI cvs is a small binary. If you have shell access to the
> > deployment servers - as you would need for rsync (AFAIK) - you could
> > just put the appropriate CVS executable in your home directory and get
> > on with things. The security issues with CVS are on the server site -
> > and since you are running the server on your laptop it should not be a
> > big issue. 
> 
> I don't understand what the point of placing cvs onto the server
> is. pserver is the remote cvs server and that sounds like a hassle for
> her to ask the administrators of the sites to set that up for her.
> 
> rsync only requires shell access and I was thinking that a script
> could do your work fairly well but there may be a problem with
> passwords if the remote sites do not allow public key or host based
> authentication.
> 
> RSITES="x at x.com:~/public_html y at y.com:~/htdocs z at z.com:~/public_html"
> for EACH in $RSITES ; do
>       rsync -e ssh -av --delete --exclude=CVS $1 $EACH/$1
> done
> 
> This of course placing the first directory on the command line to
> its equivalent on the remote site.
> 
> Elizabeth
> _______________________________________________
> Techtalk mailing list
> Techtalk at linuxchix.org
> http://mailman.linuxchix.org/mailman/listinfo/techtalk

-- 
Cynthia N. Kiser
cnk at ugcs.caltech.edu


More information about the Techtalk mailing list