Subject: Re: .../CVS/Root files and meaning of their life
To: Petri Koistinen <pkoistin@cs.stadia.fi>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: current-users
Date: 07/21/2001 18:00:05
On Sat, Jul 21, 2001 at 05:24:09PM +0300, Petri Koistinen wrote:
> Hi!
> 
> I have just been wondering why do we need .../CVS/Root files distributed
> along NetBSD-current tarballs. I belive it can result in situation where
> people use primary anoncvs server instead of nearest mirror. I almost did
> that. And shouldn't everybody have $CVSROOT set anyway? And those
> ..../CVS/Root files are also consuming some disk space too.

This is so that peoples can get sources tree via ftp or sup, and then
start using anoncvs with it.
It's easy to change CVS/Root to point to the mirror you want.

> 
> Here is what I am mean:
> bash-2.05$ pwd
> /usr/src
> bash-2.05$ echo $CVSROOT
> :ext:anoncvs@anoncvs.no.netbsd.org:/cvsroot
> bash-2.05$ echo $CVS_RSH
> ssh
> bash-2.05$ tar -zxvf /cdrom/NetBSD-current-180701/src/top-level.tar.gz -C
> /usr
> src/CVS
> src/CVS/Repository
> src/CVS/Entries
> src/CVS/Root
> src/Makefile
> src/Makefile.inc
> src/UPDATING
> bash-2.05$ rm ~/.ssh/known_hosts
> bash-2.05$ cvs update UPDATING
> The authenticity of host 'anoncvs.netbsd.org (204.152.184.161)' can't be
> established.
> RSA key fingerprint is a0:b1:35:d7:56:be:2c:30:78:b0:21:df:43:d9:64:5c.
> Are you sure you want to continue connecting (yes/no)? no
> Aborted by user!
> verify_host_key failed
> cvs [update aborted]: end of file from server (consult above messages if
> any)
> bash-2.05$ cat CVS/Root
> anoncvs@anoncvs.netbsd.org:/cvsroot
> bash-2.05$ rm CVS/Root
> bash-2.05$ cvs update UPDATING
> The authenticity of host 'anoncvs.no.netbsd.org (129.242.16.119)' can't be
> established.
> RSA1 key fingerprint is 72:bc:03:78:24:e5:e4:9f:96:66:30:09:0c:d0:30:a5.
> Are you sure you want to continue connecting (yes/no)? yes
> Warning: Permanently added 'anoncvs.no.netbsd.org,129.242.16.119' (RSA1)
> to the list of known hosts.
> bash-2.05$
> 
> So either I delete CVS/Root files or write 'cvs -d
> :ext:anoncvs@anoncvs.no.netbsd.org:/cvsroot update UPDATING' which I realy
> wouldn't like to type so often. So why don't we just get rid of
> ..../CVS/Root files already in tarballs. Is this a good idea, or do I have
> missed some important point here.

Does cvs work without the CVS/Root files ?

--
Manuel Bouyer <bouyer@antioche.eu.org>
--