From owner-freebsd-arch Thu Jan 31 4:44:24 2002 Delivered-To: freebsd-arch@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id 7D10C37B417 for ; Thu, 31 Jan 2002 04:44:06 -0800 (PST) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.6/8.11.2) id g0VChjw77303; Thu, 31 Jan 2002 14:43:45 +0200 (EET) (envelope-from ru) Date: Thu, 31 Jan 2002 14:43:45 +0200 From: Ruslan Ermilov To: Sheldon Hearn Cc: arch@FreeBSD.ORG Subject: Re: Adding support for a global src tree serial number Message-ID: <20020131144345.A73522@sunbay.com> References: <20020131140403.A69232@sunbay.com> <79636.1012479657@axl.seasidesoftware.co.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <79636.1012479657@axl.seasidesoftware.co.za> User-Agent: Mutt/1.3.23i Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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