From owner-freebsd-arch Thu Jan 31 9:50: 9 2002 Delivered-To: freebsd-arch@freebsd.org Received: from tao.org.uk (genius.tao.org.uk [212.135.162.51]) by hub.freebsd.org (Postfix) with ESMTP id CB4B937B404 for ; Thu, 31 Jan 2002 09:50:05 -0800 (PST) Received: by tao.org.uk (Postfix, from userid 100) id BC144F7; Thu, 31 Jan 2002 17:50:01 +0000 (GMT) Date: Thu, 31 Jan 2002 17:50:01 +0000 From: Josef Karthauser To: Nate Williams Cc: Josef Karthauser , Sheldon Hearn , Terry Lambert , arch@FreeBSD.ORG Subject: Re: Adding support for a global src tree serial number Message-ID: <20020131175001.K77899@genius.tao.org.uk> References: <3C5944A4.4927F812@mindspring.com> <80628.1012484102@axl.seasidesoftware.co.za> <15449.30438.698921.182380@caddis.yogotech.com> <20020131173702.J77899@genius.tao.org.uk> <15449.33154.45261.703514@caddis.yogotech.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="2feizKym29CxAecD" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <15449.33154.45261.703514@caddis.yogotech.com>; from nate@yogotech.com on Thu, Jan 31, 2002 at 10:40:18AM -0700 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 --2feizKym29CxAecD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jan 31, 2002 at 10:40:18AM -0700, Nate Williams wrote: > > > FWIW, this has been gone over many times in the past. We even had a > > > workable solution, but unfortunately Richard W. (the originator of sa= id > > > feature request) refused to acknowledge the issues and propose a > > > solution that would satisfy all problems. > >=20 > > This is mad! :) > >=20 > > The easiest solution is the one that I proposed in the PR, which is to > > use the effective date of the latest date in the $FreeBSD$ files. >=20 > Won't work. Does work. There is always a latest commit in the source tree. =20 > > Of course this means going through each source file, but that's only > > time. >=20 > Time is a precious commodity, especially when you talk the entire tree. > Plus, each user may have a different subset of the tree (some wouldn't > have kerberos, some wouldn't have doc, some wouldn't have release, > etc...) >=20 > No standard. There is a standard src tree though. > > Doing anything with CVSROOT/ and cvsup, etc, is complexity that > > isn't needed. > >=20 > > l=3D`find /usr/src/sys | xargs grep '\$FreeBSD:.*$' | sed \ > > 's/.*\$FreeBSD://' | awk '{ print $3 "-" $4 }' | sort -n | tail -1` > >=20 > > Kind of thing. >=20 > Way too much overhead and you wouldn't get a consistent answer. Kind of > like going to buying a hardware store just to hammer in a nail. :) Why wouldn't you get a consistent answer. A source tree is a source tree isn't it? Joe --2feizKym29CxAecD Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjxZg8kACgkQXVIcjOaxUBY24gCgqO45//ob8lscLpSIzo4kLrdI V5UAnjV2Vc4rcjaMCIONt4G8pHLkL1g+ =OO6q -----END PGP SIGNATURE----- --2feizKym29CxAecD-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message