Date: Fri, 20 Nov 2015 13:18:57 -0500 From: Allan Jude <allanjude@freebsd.org> To: freebsd-hackers@freebsd.org Subject: Re: libUCL / UCL as FreeBSD config question Message-ID: <564F6411.6040208@freebsd.org> In-Reply-To: <20151120191426.a720ca4f4e73bd867d535104@yahoo.es> References: <5B598F72-C5DD-48FD-866D-F90E117D646E@rdsor.ro> <564F6118.5030702@freebsd.org> <20151120191426.a720ca4f4e73bd867d535104@yahoo.es>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --XkT97Bv6UheuM2MqNRv8p0AthIrg6AWlx Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2015-11-20 13:14, Eduardo Morras wrote: > On Fri, 20 Nov 2015 13:06:16 -0500 > Allan Jude <allanjude@freebsd.org> wrote: >=20 >> Although some limitation in libucl mean that, if you have a config >> that has comments in it, the comments are lost, as they are not >> represented in the in-memory version of the object that then gets >> serialized for output. If you treat the config files as a database, >> then this is fine, but if the user expects to still hand edit them >> with an editor, this is a fairly big POLA violation. >=20 > POLA as in https://en.wikipedia.org/wiki/Principle_of_least_astonishmen= t or https://en.wikipedia.org/wiki/Principle_of_least_privilege ? Astonishment. The user put meaningful comments in their config file, they used the utility to make a change to some value elsewhere in the config file, now their config file is written possibly in a different order, and with no comments. >=20 >> >> --=20 >> Allan Jude >> >=20 >=20 > --- --- > Eduardo Morras <emorrasg@yahoo.es> > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.o= rg" >=20 --=20 Allan Jude --XkT97Bv6UheuM2MqNRv8p0AthIrg6AWlx Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (MingW32) iQIcBAEBAgAGBQJWT2QUAAoJEBmVNT4SmAt+oMQP/0P2XBO9IAWoym3tOsR3ONDQ ps89SMOh9dHtkc6uXUZG+abDxrvTpqHsdrQyd1maDqy5iPgxT2gdqU/6s+GcJnIT +IPmVXncPkJIInuI/4GRpC2gKw+tQzCy1Z7EBRCEbuzeObwnLwnxt58qesAy6qr1 e/qWrqIrFLvovQIO9aTqiUJSv+7aiuF4viXhHyNdS7NKfJaVbRhljijaIKM9X8XX PRvdMlF+gtcAH08y3cE9lu2aFFjiIs4Fd2Nq53kJhILW109F3cCswIXHgdcsc853 0gnP1BMprFV+rDnY17OSE41QTe1ovH7m1jZsVc/Oze3vop0cU1Znk3Fy8nNBH09H byHtD9wM04GZ93uxS9MscKixZYQx+LCOdRd0afNUvnHwJBsxJKZhHqSpFiGoMNy1 sndPwVW3yTXxkvktmwAvaEbZZvkAtWpgr7fJsP6O8A0ow5z9TA8Rprjo8YcHG0Qq g/k1H5MaNkG6j1QTIBgCZh7wPGj9GCekgvkxv2fJJaTkCdzkFKlFLZLSJ4QGMqti mS8BPQWjrUZDP0tDnYTArtOxZpHg1sJhfrrSG0gNSdRg/Fkw3zVOYQjyFiKfHf3m EQyJ9gn3L/D2ds47EIrc47gS40/mN8XdrBPdXItF37xcAVVcY2rievF9fZx+ObBE jP1t8CnPdiuVeVKJ6DP6 =IhH7 -----END PGP SIGNATURE----- --XkT97Bv6UheuM2MqNRv8p0AthIrg6AWlx--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?564F6411.6040208>