Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Jan 2002 07:17:15 -0600
From:      "Jacques A. Vidrine" <n@nectar.cc>
To:        Sheldon Hearn <sheldonh@starjuice.net>
Cc:        arch@FreeBSD.org
Subject:   Re: Adding support for a global src tree serial number
Message-ID:  <20020131131714.GA87780@madman.nectar.cc>
In-Reply-To: <79300.1012474898@axl.seasidesoftware.co.za>
References:  <79300.1012474898@axl.seasidesoftware.co.za>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jan 31, 2002 at 01:01:38PM +0200, Sheldon Hearn wrote:
> I'd like to propose the addition of a global src tree serial number that
> uniquely identifies an imaginary snapshot of the src tree.

This is attractive to me, since we already do something like this for
the `security' branches (RELENG_4_3 et al).  We manually bump $BRANCH
in newvers.sh.  I imagine it would also be attractive to people on
freebsd-binup.

Other folks have already pointed out the problems with the scheme, but
I want to make a couple of other random comments:

= I would like to be able to change this number in a running system.
  i.e. if patch X is applied to FOO.BAR-RELEASE, I want the system to
  immediately reflect that it is now FOO.BAR'-RELEASE.

= The serial number would need to be different for different branches,
  and unambiguous.  Or all references to the serial number must also
  include the branch, e.g. 4.5-RELEASE build 9230.

= It would be almost as useful if the serial number were simply bumped
  once a day, every day.

= The serial number could be the MD5 of the source tree from which the
  system was compiled:
    tar -C /usr/src --exclude CVS -cf - . | md5
  I'm currently running 4.5-RELEASE build 10c5be07ecd40c66fc126dd57afd934c.

Cheers,
-- 
Jacques A. Vidrine <n@nectar.cc>                 http://www.nectar.cc/
NTT/Verio SME          .     FreeBSD UNIX     .       Heimdal Kerberos
jvidrine@verio.net     .  nectar@FreeBSD.org  .          nectar@kth.se

OK, you caught me.  The last bullet was a joke.

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?20020131131714.GA87780>