Subject: Re: Versioning config files
To: None <tech-kern@netbsd.org>
From: Quentin Garnier <cube@cubidou.net>
List: tech-kern
Date: 10/02/2005 19:54:22
--hHiQ9nAwW5IGN2dL
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Oct 02, 2005 at 07:34:26PM +0200, Juergen Hannken-Illjes wrote:
> On Sun, Oct 02, 2005 at 07:19:11PM +0200, Quentin Garnier wrote:
> > Hi,
> >=20
> > 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.
> >=20
> > 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]
>=20
> What about
>   #define CONFIG_VERSION	2005100300
>=20
> Adding two digits for a `this day's version' still works until
> end of year 2147.

There is a point in having several versions of config syntax *a day*?

I mean, I want the versioning, but I sure hope there won't be as many
bumps as twice a year.

--=20
Quentin Garnier - cube@cubidou.net - cube@NetBSD.org
"When I find the controls, I'll go where I like, I'll know where I want
to be, but maybe for now I'll stay right here on a silent sea."
KT Tunstall, Silent Sea, Eye to the Telescope, 2004.

--hHiQ9nAwW5IGN2dL
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (NetBSD)

iQEVAwUBQ0AeztgoQloHrPnoAQJqeQf/b1WplNojyWrwIbkae5yTkH9u4lzYsFtq
/bVm5tsEp6QV1odsUgbMudC0ZZb4s2uQ7UaaommP02cU1dFu8qqvyplU9n4+TVWO
s+wlNI7SW1YTVs+CXwQ99zRnlktZsfP5GIrSS+0Hg9eWQwg4ir5G0U2M8JLqESUS
An5ho6oiFEd3Mgze2tlSWd0dc5rbA02QsO51Q/qbFngiev7qvc6enBi6TZW1YOEt
5Djcru2Tr7nED+AQjXAi6WJPt3PGw+ND9Nq77yOh3EcIz2//H9GxFQZDwVTP50bi
9/cGlowFUnRFH+LuvZq7JObU0z31dScTebxmhvwM6pOpc6gQgfbXaQ==
=1EfA
-----END PGP SIGNATURE-----

--hHiQ9nAwW5IGN2dL--