Subject: Re: Versioning config files
To: None <tech-kern@netbsd.org>
From: Juergen Hannken-Illjes <hannken@eis.cs.tu-bs.de>
List: tech-kern
Date: 10/02/2005 19:34:26
On Sun, Oct 02, 2005 at 07:19:11PM +0200, Quentin Garnier wrote:
> Hi,
> 
> I'd like to version config files.  I feel a bit tired of the recurrent
> "bug" report of syntax errors inside pf.files.  I'm well aware that
> whatever change I do know won't solve that issue, but I'm sure it will
> make it more meaningful.
> 
> The attached patch implements a versioning scheme based on a number
> that is supposed to grow.  I think the ISO date format is the most
> suitable for the job.
[snip]

What about
  #define CONFIG_VERSION	2005100300

Adding two digits for a `this day's version' still works until
end of year 2147.

-- 
Juergen Hannken-Illjes - hannken@eis.cs.tu-bs.de - TU Braunschweig (Germany)