From owner-freebsd-arch Thu Jan 31 5:17:21 2002 Delivered-To: freebsd-arch@freebsd.org Received: from gw.nectar.cc (gw.nectar.cc [208.42.49.153]) by hub.freebsd.org (Postfix) with ESMTP id C69A437B405 for ; Thu, 31 Jan 2002 05:17:17 -0800 (PST) Received: from madman.nectar.cc (madman.nectar.cc [10.0.1.111]) by gw.nectar.cc (Postfix) with ESMTP id 40548D; Thu, 31 Jan 2002 07:17:17 -0600 (CST) Received: (from nectar@localhost) by madman.nectar.cc (8.11.6/8.11.6) id g0VDHF487914; Thu, 31 Jan 2002 07:17:15 -0600 (CST) (envelope-from nectar) Date: Thu, 31 Jan 2002 07:17:15 -0600 From: "Jacques A. Vidrine" To: Sheldon Hearn Cc: arch@FreeBSD.org Subject: Re: Adding support for a global src tree serial number Message-ID: <20020131131714.GA87780@madman.nectar.cc> References: <79300.1012474898@axl.seasidesoftware.co.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <79300.1012474898@axl.seasidesoftware.co.za> User-Agent: Mutt/1.3.27i X-Url: http://www.nectar.cc/ 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 01:01:38PM +0200, Sheldon Hearn wrote: > I'd like to propose the addition of a global src tree serial number that > uniquely identifies an imaginary snapshot of the src tree. This is attractive to me, since we already do something like this for the `security' branches (RELENG_4_3 et al). We manually bump $BRANCH in newvers.sh. I imagine it would also be attractive to people on freebsd-binup. Other folks have already pointed out the problems with the scheme, but I want to make a couple of other random comments: = I would like to be able to change this number in a running system. i.e. if patch X is applied to FOO.BAR-RELEASE, I want the system to immediately reflect that it is now FOO.BAR'-RELEASE. = The serial number would need to be different for different branches, and unambiguous. Or all references to the serial number must also include the branch, e.g. 4.5-RELEASE build 9230. = It would be almost as useful if the serial number were simply bumped once a day, every day. = The serial number could be the MD5 of the source tree from which the system was compiled: tar -C /usr/src --exclude CVS -cf - . | md5 I'm currently running 4.5-RELEASE build 10c5be07ecd40c66fc126dd57afd934c. Cheers, -- Jacques A. Vidrine http://www.nectar.cc/ NTT/Verio SME . FreeBSD UNIX . Heimdal Kerberos jvidrine@verio.net . nectar@FreeBSD.org . nectar@kth.se OK, you caught me. The last bullet was a joke. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message