From owner-freebsd-stable Wed Nov 19 15:24:23 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id PAA12017 for stable-outgoing; Wed, 19 Nov 1997 15:24:23 -0800 (PST) (envelope-from owner-freebsd-stable) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id PAA11987 for ; Wed, 19 Nov 1997 15:24:12 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id QAA13102; Wed, 19 Nov 1997 16:24:05 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id QAA07495; Wed, 19 Nov 1997 16:24:02 -0700 Date: Wed, 19 Nov 1997 16:24:02 -0700 Message-Id: <199711192324.QAA07495@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Joseph Stein Cc: andrsn@andrsn.stanford.edu, nate@mt.sri.com, rkw@dataplex.net, freebsd-stable@FreeBSD.ORG Subject: Re: Version Resolution? In-Reply-To: <199711192320.PAA02638@shasta.wstein.com> References: <199711192320.PAA02638@shasta.wstein.com> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-stable@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > Anyway, here's what uname -r does for me right now: > > > > 2.2.5-STABLE-971118 > > > > Perhaps it would be better if it just said 2.2.5-971118. However, the > > date should somehow or other come with the sources and identify the > > build as based on sources as of a particular date (with time if > > necessary). At least that's how it seems to me. > > So you make newvers.sh a dynamic file, with some hook or other(tm) built in > to cvsup or whatever method you used -- even something as simple as looking > at /usr/sup/* to get the timestamp from the sup statistics... > to make it look like this: > > 2.2.5-STABLE-879981548 -- the time value in seconds since epoch. Sounds easy, but in practice it's a bit more difficult than you think, because of the many 'distribution' mechanims that are used by folks to get bits. Nate