From owner-freebsd-arch@FreeBSD.ORG Tue Mar 30 21:44:22 2004 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 82B9416A4CE for ; Tue, 30 Mar 2004 21:44:22 -0800 (PST) Received: from mta4.rcsntx.swbell.net (mta4.rcsntx.swbell.net [151.164.30.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A6C943D55 for ; Tue, 30 Mar 2004 21:44:22 -0800 (PST) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (2fa782828397a7f38d1b7eee7dc12919@adsl-67-115-73-128.dsl.lsan03.pacbell.net [67.115.73.128])i2V5iKbF014680; Tue, 30 Mar 2004 23:44:21 -0600 (CST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 02A8F52145; Tue, 30 Mar 2004 21:44:19 -0800 (PST) Date: Tue, 30 Mar 2004 21:44:19 -0800 From: Kris Kennaway To: Alex Keahan Message-ID: <20040331054419.GA44221@xor.obsecurity.org> References: <20040328094048.GA40406@phantom.cris.net> <20040330232429.GA65170@phantom.cris.net> <200403310727.48043.alex@hightemplar.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="nFreZHaLTZJo0R7j" Content-Disposition: inline In-Reply-To: <200403310727.48043.alex@hightemplar.com> User-Agent: Mutt/1.4.2.1i cc: freebsd-arch@freebsd.org Subject: Re: CFD: XMLification of NOTES X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: arch@freebsd.org List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Mar 2004 05:44:22 -0000 --nFreZHaLTZJo0R7j Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 31, 2004 at 07:27:48AM +0200, Alex Keahan wrote: > On Wednesday 31 Mar 2004 1:54 am, Dag-Erling Sm?rgrav wrote: > > Alexey Zelkin writes: > > > On Tue, Mar 30, 2004 at 05:05:24PM +0200, Dag-Erling Sm?rgrav wrote: > > > > NOTES is not intended as a list of supported device and options. We > > > > have src/sys/conf/files* and src/sys/conf/options* for that. > > > > > > Strange. IMO LINT was existed for exactly this reason > > > > Your opinion does not matter. The purpose of LINT is to cover as much > > code as possible. Why do you think it's called LINT? >=20 > Why doesn't his opinion matter? >=20 > Perhaps my opinion does not matter either, but as a developer and > long-time FreeBSD user, I don't think that XMLification of NOTES is > such a bad idea. >=20 > Having said that, I can also see why some developers would be opposed > to the idea. Apart from neophobia and an obligation to fight to keep > Unix pure, simple and free from modern-day buzzword nonsense, the main > reason for the hostility and ridicule with which Alexey's idea was treate= d is > the simple fact that an XML kernel configuration tool would likely shift = the > blame for misconfigured kernels from the end-user to the developer. What an odd comment. You sound pretty sure of yourself, though...on what basis do you make this assertion? > Whereas previously a developer could add a new option or remove an > existing one without having to think twice about it, a strict XML schema > would force the developer to adhere to higher standards, explicitly evalu= ate > and list the dependencies and possible incompatibilities and reconcile the > new options with the multitude of the existing configuration possibilitie= s. >=20 > A good thing for the end-user? Certainly. At the moment, a user who h= as > the misfortune of breaking his system by adding an "option FOO" to his > kernel without the required corresponding magical "option BAR" will be > told to "go read the mailing list archives", "go read UPDATING" or simply > "go away". >=20 > With an XML-based dependency system in place, the blame would be > entirely on the developer who had forgotten to update the NOTES file or > had done so incorrectly. >=20 > An XML-based list of supported devices and options would also allow the > creation of a kernel configuration tool, similar to what Linux has had fo= r as > long as I can remember. Again, a good thing for the end user. Don't change the topic. XML is not required for any of that, and someone could just as easily write those tools without it. Similarly, it's just as wrong to assume that changing to XML will magically cause all these tools to appear. Kris --nFreZHaLTZJo0R7j Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAalqzWry0BWjoQKURApX9AKDNH/Gq2u8QxSu8wrnozJJUdg2kbgCgoKd+ bake6g5nS2+Q1h5lr3Hc3mE= =3Gm3 -----END PGP SIGNATURE----- --nFreZHaLTZJo0R7j--