Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Feb 2002 00:30:00 +0000
From:      Josef Karthauser <joe@tao.org.uk>
To:        Nate Williams <nate@yogotech.com>
Cc:        Garance A Drosihn <drosih@rpi.edu>, "Matthew D. Fuller" <fullermd@over-yonder.net>, arch@FreeBSD.ORG
Subject:   Re: Adding support for a global src tree serial number
Message-ID:  <20020201003000.B87231@genius.tao.org.uk>
In-Reply-To: <15449.49211.508201.314013@caddis.yogotech.com>; from nate@yogotech.com on Thu, Jan 31, 2002 at 03:07:55PM -0700
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> <p05101401b87f6aaa81ab@[128.113.24.47]> <15449.49211.508201.314013@caddis.yogotech.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020201003000.B87231>