From owner-freebsd-arch Thu Jan 31 16:30: 8 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 8922737B402 for ; Thu, 31 Jan 2002 16:30:03 -0800 (PST) Received: by tao.org.uk (Postfix, from userid 100) id C4D8C314; Fri, 1 Feb 2002 00:30:00 +0000 (GMT) Date: Fri, 1 Feb 2002 00:30:00 +0000 From: Josef Karthauser To: Nate Williams Cc: Garance A Drosihn , "Matthew D. Fuller" , arch@FreeBSD.ORG Subject: Re: Adding support for a global src tree serial number Message-ID: <20020201003000.B87231@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> <20020131183321.GA59544@gattaca.yadt.co.uk> <20020131184230.D84715@genius.tao.org.uk> <20020131150720.A33201@over-yonder.net> <15449.45750.572076.480900@caddis.yogotech.com> <15449.49211.508201.314013@caddis.yogotech.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="lMM8JwqTlfDpEaS6" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <15449.49211.508201.314013@caddis.yogotech.com>; from nate@yogotech.com on Thu, Jan 31, 2002 at 03:07:55PM -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 --lMM8JwqTlfDpEaS6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jan 31, 2002 at 03:07:55PM -0700, Nate Williams wrote: > > > > Note also the additional trouble of underhandedly hand-crafting a > > > > ,v-alike file will break checking out a revision other than the > > > > absolute latest on the branch, since you'll end up with either no > > > > serial, or still the latest serial, depending on how the file is > > > > crafted. > > > > > >In general, that would only be a problem with folks that have the > > >CVS tree who have updated their CVS tree but have not updated their > > >/usr/src tree. > >=20 > > Would it work for me? I have a local cvs tree which I update using > > cvsup. It exists in a separate partition, /usr/cvs >=20 > My proposal would work for you, since the 'file' would have at least one > revision in it for every branch. My proposal would also work because every file that contributes to your kernel source has a revision tag. It follows that the most recent tag date across all of those files describes the most recent commit in the repository that lead that that kernel. It's probably sufficient just to look at src/sys/ to determine a date that's close enough to support from. It requires no CVSROOT or cvsup or cvs hackery and requires just a short amount of extra time (1.5 minutes on my -current laptop) which is nothing compared to the length of a normal build with all the modules and everything. Let's have it switch-off-able in make.conf, and advertised in the kernel version string. Joe --lMM8JwqTlfDpEaS6 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 iEYEARECAAYFAjxZ4YgACgkQXVIcjOaxUBZzVQCghYysaX0D/5F6PHohJt9IVwhQ CHoAoMSn4M7r9V+mrVRFT91eQ/arsByr =cyjg -----END PGP SIGNATURE----- --lMM8JwqTlfDpEaS6-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message