[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: sysinst split project - The Configuration File
Am 15.12.2009 um 07:25 schrieb Jason Thorpe:
On Dec 14, 2009, at 4:40 PM, Thor Lancelot Simon wrote:
Case 2: XML-like syntax -- with a huge artificial advantage because
neatly indented it.
Of course, that is only one way to use XML. That could be written
in a fashion somewhat easier on the eyes if your schema is designed
The main question is, who produces the configuration, and for what
purpose; and who uses it. If a human being is involved in this chain,
XML is not the right tool. If it is only machines, it might be the
For the system installer, I assume that the configuration of what gets
installed, and how, is something a sysadmin wants to prepare. And
since sysadmins are half-human beings, using XML would mean torture.
Instead of splitting/rewritting/ sysinstall or replacing it with
bsdinstall, I'd suggest to evolve it: Add Lua for the configuration
and move the logic and user interface from C to Lua, keeping some core
functionality of an installer in C, but make it available to Lua. A
good installer would also let me install packages, maybe even meta-
packages, so that one of the first questions this installer asks, is:
"what kind of system do yo want to install?" and provides me with a
selection of meta-packages that are available on the distribution
medium (and for which the dependent packages are also available for
the architecture given).
Then the ideal installer would allow interactive operation or complete
unattended operation, where installation instructions are give in a
Well, the ideal installer does not yet exist, but ahoka and myself
have some loose plans to make exactly this happen...
- Marc Balmer
Main Index |
Thread Index |