From owner-freebsd-arch Thu Jan 31 8:10:53 2002 Delivered-To: freebsd-arch@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 5C14937B404; Thu, 31 Jan 2002 08:10:45 -0800 (PST) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.3/8.11.3) with ESMTP id g0VGAio36213; Thu, 31 Jan 2002 09:10:44 -0700 (MST) (envelope-from imp@village.org) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.11.6/8.11.6) with ESMTP id g0VGAgx32223; Thu, 31 Jan 2002 09:10:43 -0700 (MST) (envelope-from imp@village.org) Date: Thu, 31 Jan 2002 09:10:03 -0700 (MST) Message-Id: <20020131.091003.108028797.imp@village.org> To: ru@FreeBSD.ORG Cc: sheldonh@starjuice.net, arch@FreeBSD.ORG Subject: Re: Adding support for a global src tree serial number From: "M. Warner Losh" In-Reply-To: <20020131140403.A69232@sunbay.com> References: <79300.1012474898@axl.seasidesoftware.co.za> <20020131140403.A69232@sunbay.com> X-Mailer: Mew version 2.1 on Emacs 21.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 In message: <20020131140403.A69232@sunbay.com> Ruslan Ermilov writes: : 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. Also right now two committers can be committing to different parts of the tree at the same time, so A might get his src commit in first, but get the second serial because B races his commit in and wins the race for the global serial number. So the serial number is only approximately useful, but that approximation is likely to be better than 4.4 or 4.5 :-). Right now cvs co -D doesn't work due to repo surgeries, and this would be no different. As to the format, ignore everybody else and pick one that won't generate too many complaints. I have my opinions, but that's really a detail best left to the implementor. (eg I don't care what you do as long as it isn't Wrong :-). Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message