Subject: Re: misc/15797: Lack of CVSROOT/options file foils CVSup $NetBSD$ expansion
To: Chris Richards <richards+netbsd@CS.Princeton.EDU>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-bugs
Date: 03/04/2002 08:30:41
On Sun, Mar 03, 2002 at 06:17:01PM -0500, Chris Richards wrote:
> On Sun, 03 Mar 2002, Manuel Bouyer wrote:
> 
> > On Sun, Mar 03, 2002 at 05:14:29PM -0500, richards@CS.Princeton.EDU wrote:
> > > >Description:
> > > 	CVSup, by default, does not expand the $NetBSD$ keyword.  Hence
> > > 	files tracked by CVSup have off-by-one revisions in $NetBSD$.
> > > 
> > > 	(I know that NetBSD is reluctant to imply that CVSup is supported,
> > > 	but this is a small, quick fix that benefits many people.)
> > > >How-To-Repeat:
> > > 	Grab NetBSD source files from any of the CVSup mirrors listed on
> > > 	the mirrors page (except the one in Norway, which has fixed this
> > > 	problem locally).
> > > >Fix:
> > > 	In the CVSROOT directory (i.e. the CVSROOT directory that is
> > > 	propagated to mirror sites), add a file named "options" with the
> > 
> > Well, unfortunably the CVSROOT is *not* propagated to mirrors; each mirror
> > maintain their own CVSROOT.
> > So this has to be fixed on each mirror.
> 
> The mirror, if it mirrored the "anoncvs" collection, would it not pick
> up everything under ftp.netbsd.org:/pub/NetBSD-cvs/main, including
> pub/NetBSD-cvs/main/CVSROOT?

Yes, but anoncvs mirrors don't mirror from the sup/ftp/rsync machine.
They mirror directly from the anoncvs machine using rsync (no need to add
another indirection).

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