[parisc-linux] Re: rsync for CVS repository

Andrew Shugg andrew@neep.com.au
Mon, 19 Nov 2001 21:56:46 +0800


Quoth Grant Grundler:
> Jan-Benedict Glaw wrote:
> > ...which remembers me that I emailed with Grant these days about
> > making the CVS repository available via rsync. He also thought that
> > that would be a nice thing to have... I volunteered to do the setup
> > if time is all off. How about that?
> 
> I've heard nothing back about this.  Sorry - I can't autonomously give
> out logins to the cvs machine or I would have already.
> Do you have a URL for a short how-to?
> I might take a crack at it if no one else with access speaks up.
> 
> grant

I've not responded individually to the comments in the thread following
this post, but I think there's a bit of confusion.

There's not much point in setting rsync access to the CVS repository,
except for mirroring purposes.  (And even then, you probably would only
want it to be rsync in one direction; maintaining two or more live CVS
repositories and attempting to keep them synchronised with rsync would
be an exercise in hard work.)

What is useful though, and what is being done by several projects, is to
maintain one or more checked-out trees from their CVS repository and
have these trees available by anonymous rsync.  Most popular CVS
projects don't branch, and so this is very easy: a regular cron job
keeps a CVS HEAD checkout fresh, and the tree is served by rsync or some
other server of choice (ftp/http).

The usefulness of this - as it is not replacing cvs in any way - is that
a user may easily bring their tree in sync with HEAD (or whichever
branch is being tracked) and then still be able to perform the usual cvs
operations on it (eg diff, log etc).

I know that I would make use of an anonymous rsync service if it were
available.  I do agree with the point made by some others though, that
if advertised there are likely to be people who will try it just for fun
and then generate a lot of list noise when they have problems.  On the
other hand, this is a risk you also take by putting up a CVS server, or
running a mailing list.  There's a balance there somewhere.  =)

Andrew.

-- 
Andrew Shugg <andrew@neep.com.au>                   http://www.neep.com.au/

"Just remember, Mr Fawlty, there's always someone worse off than yourself."
"Is there?  Well I'd like to meet him.  I could do with a good laugh."