Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Jan 2002 14:43:45 +0200
From:      Ruslan Ermilov <ru@FreeBSD.ORG>
To:        Sheldon Hearn <sheldonh@starjuice.net>
Cc:        arch@FreeBSD.ORG
Subject:   Re: Adding support for a global src tree serial number
Message-ID:  <20020131144345.A73522@sunbay.com>
In-Reply-To: <79636.1012479657@axl.seasidesoftware.co.za>
References:  <20020131140403.A69232@sunbay.com> <79636.1012479657@axl.seasidesoftware.co.za>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jan 31, 2002 at 02:20:57PM +0200, Sheldon Hearn wrote:
> 
> 
> On Thu, 31 Jan 2002 14:04:03 +0200, Ruslan Ermilov wrote:
> 
> > This scheme won't work because the state of the tree can be modified
> > by CVS meisters performing direct operations on a repository.  See
> > how stealthy the latest GCC import gone.
> 
> I don't think there are so many CVS meisters, or so much src repo
> surgery, that having them bump the serial number manually in these cases
> is a problem.
> 
"commit" is atomic operation, while direct manipulation of repository
isn't.  To make it atomic, CVS meisters would have to lock src/, make
the necessary surgery, bump serial number, then unlock it.


> 1) Folks reporting build failures can be asked to quote the serial
>    number of the src tree they're building.
> 
Mirroring of CVS repositories with CVSup could be a problem here.
We'd need to somehow guarantee that src/SERIAL is consistent with
the rest of the checked out sources.  What if the mirror site you
are "cvs updating" from is experiencing a CVSup latency, and some
checked out sources are still behind SERIAL?  This is not an
unlikely thing to see.


Cheers,
-- 
Ruslan Ermilov		Sysadmin and DBA,
ru@sunbay.com		Sunbay Software AG,
ru@FreeBSD.org		FreeBSD committer,
+380.652.512.251	Simferopol, Ukraine

http://www.FreeBSD.org	The Power To Serve
http://www.oracle.com	Enabling The Information Age

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020131144345.A73522>