Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Jan 2002 12:28:50 +0100
From:      Marco Molteni <molter@tin.it>
To:        arch@FreeBSD.org
Cc:        Sheldon Hearn <sheldonh@starjuice.net>
Subject:   Re: Adding support for a global src tree serial number
Message-ID:  <20020131112850.GB28361@cobweb.example.org>
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
Hi Sheldon,

the only drawback I see to your approach is that the serial number you are
proposing is dateless, so folks will probably ask for a date too:

> 	This problem was introduced in serial number 11809 and was
> 	corrected in serial number 11832.

My suggestion is to use a serial number bound to the date the serial
number was generated, something like

20020223123435XXXX
yyyymmddhhmmss

with XXXXX set to the precision you consider appropriate, and the date
being GMT.

Or maybe something like

20020223-XXXX
yyyymmdd

where XXXX is the number of changes made in that day up to this change.

One difference is that with your proposal two successive serial
numbers have a difference of 1, for example 11833 - 11832 = 1, while
with mine you loose this.

My 0.02 euros
marco

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?20020131112850.GB28361>