From owner-freebsd-arch Thu Jan 31 9:40:35 2002 Delivered-To: freebsd-arch@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by hub.freebsd.org (Postfix) with ESMTP id 278A537B400 for ; Thu, 31 Jan 2002 09:40:29 -0800 (PST) Received: from caddis.yogotech.com (caddis.yogotech.com [206.127.123.130]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id KAA18956; Thu, 31 Jan 2002 10:40:20 -0700 (MST) (envelope-from nate@yogotech.com) Received: (from nate@localhost) by caddis.yogotech.com (8.11.6/8.11.6) id g0VHeI514967; Thu, 31 Jan 2002 10:40:19 -0700 (MST) (envelope-from nate) From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15449.33154.45261.703514@caddis.yogotech.com> Date: Thu, 31 Jan 2002 10:40:18 -0700 To: Josef Karthauser Cc: Nate Williams , Sheldon Hearn , Terry Lambert , arch@FreeBSD.ORG Subject: Re: Adding support for a global src tree serial number In-Reply-To: <20020131173702.J77899@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> X-Mailer: VM 6.96 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) 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 > > FWIW, this has been gone over many times in the past. We even had a > > workable solution, but unfortunately Richard W. (the originator of said > > feature request) refused to acknowledge the issues and propose a > > solution that would satisfy all problems. > > This is mad! :) > > 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. Won't work. > Of course this means going through each source file, but that's only > time. 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...) No standard. > Doing anything with CVSROOT/ and cvsup, etc, is complexity that > isn't needed. > > l=`find /usr/src/sys | xargs grep '\$FreeBSD:.*$' | sed \ > 's/.*\$FreeBSD://' | awk '{ print $3 "-" $4 }' | sort -n | tail -1` > > Kind of thing. 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. :) Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message