Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Jan 2002 08:59:13 -0800 (PST)
From:      Julian Elischer <julian@elischer.org>
To:        Sheldon Hearn <sheldonh@starjuice.net>
Cc:        Marco Molteni <molter@tin.it>, arch@FreeBSD.org
Subject:   Re: Adding support for a global src tree serial number 
Message-ID:  <Pine.BSF.4.21.0201310857430.61932-100000@InterJet.elischer.org>
In-Reply-To: <79603.1012479536@axl.seasidesoftware.co.za>

next in thread | previous in thread | raw e-mail | index | archive | help
Basically you are talking about an extension to the commit logging
process.

it would be good if the file also listed all files changed in that commit.


On Thu, 31 Jan 2002, Sheldon Hearn wrote:

> 
> 
> On Thu, 31 Jan 2002 12:28:50 +0100, Marco Molteni wrote:
> 
> > 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.
> 
> I can see why support folks would want a date, however it's a trivial
> thing to determine from the CVS logs for the src/SERIAL file. [1]
> 
> That said, I can't think of any reason _not_ to prepend a date string to
> the serial number.  You said this:
> 
> > 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.
> 
> But I can't see any value in knowing the number of commits made to the
> entire tree between two snapshots.
> 
> Another advantage of your idea is that it allows for a fixed-width
> serial number until
> 
> a) The year 10000AD.
> 
> b) The number of commits (not deltas!) per day reaches an unexpectedly
>    high number.
> 
> For example, we could say that the serial number should be constructed
> as follows:
> 
> 	YYYYMMDDXXXXXXX
> 	200201310000001
> 
> This example shows the first commit of the day for 31 January 2001
> (freefall time).
> 
> Here, we use 4 digits to represent the year, 2 digits to represent the
> month, 2 digits to represent the day and 7 digits to represent the
> commit.  This assumes that we would never see more than 999,999 commits
> in a single day.  I'm not sure this will happen before the year 10000AD.
> ;-)
> 
> Ciao,
> Sheldon.
> 
> [1] And anyway, do we really want to clutter the serial file with CVS
>     revision Id, which may cause confusion?  Certainly, we won't be
>     allowing manual commits to this file!
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-arch" in the body of the message
> 


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?Pine.BSF.4.21.0201310857430.61932-100000>