From owner-freebsd-arch Thu Jan 31 14:37:35 2002 Delivered-To: freebsd-arch@freebsd.org Received: from mail.rpi.edu (mail.rpi.edu [128.113.22.40]) by hub.freebsd.org (Postfix) with ESMTP id 13B7737B402 for ; Thu, 31 Jan 2002 14:37:28 -0800 (PST) Received: from [128.113.24.47] (gilead.acs.rpi.edu [128.113.24.47]) by mail.rpi.edu (8.11.3/8.11.3) with ESMTP id g0VMbJi109822; Thu, 31 Jan 2002 17:37:19 -0500 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <79300.1012474898@axl.seasidesoftware.co.za> References: <79300.1012474898@axl.seasidesoftware.co.za> Date: Thu, 31 Jan 2002 17:37:18 -0500 To: Sheldon Hearn , arch@FreeBSD.ORG From: Garance A Drosihn Subject: Re: Adding support for a global src tree serial number Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Scanned-By: MIMEDefang 2.3 (www dot roaringpenguin dot com slash mimedefang) 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 At 1:01 PM +0200 1/31/02, Sheldon Hearn wrote: >Hi folks, > >I'd like to propose the addition of a global src tree serial number >that uniquely identifies an imaginary snapshot of the src tree. > >Essentially, the serial number lives in a file, the name of which is >not important until I have buy-in on the concept. Let's call it >src/SERIAL for now. > >Every time a delta is applied to a branch, the serial number in >src/SERIAL is automatically incremented through a "stealth commit" on >that branch. This ensures that, if the src tree is checked out in its >entirety and left unmodified, this serial number identifies the state >of the entire tree. > >In addition, the serial number will be included in the commonly >requested output of 'uname -a' through modifications ot newvers.sh. I like the idea, although I can see that it might be a little tricky to figure out a good implementation. As to the serial number itself, let me suggest: <4-digit year><1-letter for month>-- eg: 2002A-4.5R-0001 For the first serial number added to branch 4.4-release in Jan 2002. ('A' for Janary, ..., 'C' for December). However, I'm fine with any other serial number scheme that someone comes up with. Mainly I think there should be some indication of time, but not a pure timestamp, and some indication of the branch. I also wouldn't want to end up with a 40-character serial number that is so cleverly encoded that you'd need a program to figure out what it's saying... I decided to make a suggestion for the serial number, because I can't think of a particularly good solution to all the technical issues... :-) -- Garance Alistair Drosehn = gad@eclipse.acs.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message