Subject: Re: Versioning config files
To: Hubert Feyrer <hubert@feyrer.de>
From: Quentin Garnier <cube@cubidou.net>
List: tech-kern
Date: 10/02/2005 22:17:08
--8RsyD0KswhpoK73Z
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Sun, Oct 02, 2005 at 09:12:03PM +0200, Hubert Feyrer wrote:
> On Sun, 2 Oct 2005, Quentin Garnier wrote:
> >>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*?
>=20
> Sounds likely to me.
You probably didn't understand me. I'm talking about versioning the
config(1) grammar itself, not the files themselves.
> >I mean, I want the versioning, but I sure hope there won't be as many
> >bumps as twice a year.
>=20
> Personally, I'd prefer to keep our tools and sources in sync.
> I imagine updating config(8) to handle older syntax doesn't help to make=
=20
> the code better.
The intent is not to keep backward compatibility for its own sake. The
idea is to make it easy to introduce features or make some changes and
not complain until we actually use them.
Typical example: the 'no' stuff I've added recently. Once/If we start
using it in the config files we have in the tree, then we will add a
version line and let older config(1) print a syntax error. But
meanwhile, let's not change the tree and allow the versioned config(1)
to work with that tree.
Is the intent clearer when put that way?
=20
> Maybe some general (re)design of this whole thing would be good.
Sure. Any volunteers?
--=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.
--8RsyD0KswhpoK73Z
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (NetBSD)
iQEVAwUBQ0BAQ9goQloHrPnoAQLd5gf/ahIMhclh495T36C+spbq757VWOAT5QZB
aA3ap0kxYwCkSjn5q1PlN3GjhOT4DTSx+FEX0NXuZEGXJy+icLGvVbneGOxdEcQy
hY2QAJkfskQm6sSPhJ17hySbg58e9asR07zHa0zMiOrs8LVm/g727kGn4G8CqB7w
vq0AVv0Tbh4rL3lkqjlnSH6TuAzk2psu8ZtfWAe6yPv013zxFZjxgeLc3I457CL0
tMkonkYt4pVGf472OBetdwGXqL/4Y7l2IvlZkVWyeWAcxPMjBlQXKXZ36Jy2nvVy
cwzdbIONEY1kBX0CvcXJPctilPfC/qaI/SmCYt6WdA4VWFGuF1b1+w==
=vlVn
-----END PGP SIGNATURE-----
--8RsyD0KswhpoK73Z--