Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Feb 2003 12:22:18 +0100
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        Mike Makonnen <mtm@identd.net>
Cc:        drosih@rpi.edu, wollman@lcs.mit.edu, wes@softweyr.com, arch@FreeBSD.ORG
Subject:   Re: syslog.conf syntax change (multiple program/host specifications)
Message-ID:  <20030213122218.3d72c6ba.Alexander@Leidinger.net>
In-Reply-To: <20030213041709.XOQ23484.out001.verizon.net@kokeb.ambesa.net>
References:  <20030210114930.GB90800@melusine.cuivre.fr.eu.org> <200302120632.36583.wes@softweyr.com> <200302121411.h1CEBRSe025071@khavrinen.lcs.mit.edu> <200302121521.33506.wes@softweyr.com> <200302121615.h1CGFdGG025691@khavrinen.lcs.mit.edu> <p05200f10ba70be419852@[128.113.24.47]> <20030213041709.XOQ23484.out001.verizon.net@kokeb.ambesa.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 12 Feb 2003 23:17:08 -0500
Mike Makonnen <mtm@identd.net> wrote:

> never work.  The current file layouts are too entrenched. What would work;
> however, is XML as an intermediate data layout. The XML would sit between some
> program the user can use to make choices and the underlying text file. Take
> rc.conf for example. You could put all that data in XML format and some gui
> would let the user choose whatever he/she wanted and that would then be piped
> through an XSLT script that renders it in the current key=value layout. The data
> would be kept in defaults/rc.conf.xml and defaults/rc.conf would just become
> another generated file.

How do you want to solve the problem of:
 - T1: a human edited /etc/rc.conf without updating the .xml
 - T2: someone else (or the same human) uses the GUI to change something
--> the hand edited change in rc.conf is lost

If you have a parser for rc.conf -> .xml (note: I also have some special
r.conf's with "if, else, ...") then you can directly use this parser in
the GUI instead of translating it into xml.


OT-Question: should we "export" existing parsers into share/ so
interested people just have to look into share/parsers/<type> instead of
searching it in /usr/src?

Bye,
Alexander.

-- 
            Secret hacker rule #11: hackers read manuals.

http://www.Leidinger.net                       Alexander @ Leidinger.net
  GPG fingerprint = C518 BC70 E67F 143F BE91  3365 79E2 9C60 B006 3FE7

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030213122218.3d72c6ba.Alexander>