Re: Proposal to improve package configuration upgrades
Manoj Srivastava <email@example.com> writes:
> Do we have an idea of how many configuration files can be
> described in terms of such a model?
I do not know how many. I'd say most of the files that do not use
variables. For instance exim config is out. I do not know for Apache
So far, I've created models for OpenSsh  (quite easy) and Xorg 
(more challenging and the model is still not complete)
You will be able to try yourself OpenSsh editor as soon as
libconfig-model-openssh-perl is accepted by ftp-masters.
> (I generally tend to code configuration files in a scripting
> language if the code is written in a scripting language).
> While I suspect a large number of our configuration files are
> simple, I fear that a significan chunk of them are fairly complex; and
> possibly not amenable to being described in terms of a non-trivial
Agreed. We may need to use hybrid solution for the most complex
configuration files. Something like exim-like template + Config::Model
for the template variables.
All the best
"Delivering successful solutions requires giving people what they
need, not what they want." Kurt Bittner
domidumont at irc.freenode.net
ddumont at irc.debian.org