[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Configuration frontend



On Sun, Jan 24, 1999 at 03:25:46PM +0800, Mikolaj J. Habryn wrote:
> >>>>> "WA" == Wichert Akkerman <wakkerma@cs.leidenuniv.nl> writes:
> 
>     WA> Wrong. dpkg-question is evil in that it only allows you to
>     WA> answer a single question at a time. That is silly of course,
>     WA> and it makes lots of sense to group questions together and ask
>     WA> them all at once in a single screen/dialog/webpage/whatever.
> 
>   Okay, that is a very good point. However, how do you then deal with
> interdependencies between variables (ie, when the nth question you ask 
> is dependent upon the n-1th)? I agree to a large extent with you, and
> this is something that I would suggest resolving in a later stage,
> perhaps by variable substitution in config files.
> 

Here's the simplest way to do it; just have the interpreter (yes, we're
going to have to introduce a new scripting language for this, otherwise
it'll be ugly as heck) be able to toggle keys as active based on specified
criteria... We also need a rudimentary looping mechanism.
	Like, boolean tests or regexps.
	I know perl wouldn't be a good thing to have as the backend
configuration info format... Perhaps python or something home grown.

-- 
..Aaron Van Couwenberghe... ..vanco@sonic.net.. ..aaronv@debian.org....
	Berlin:			http://www.berlin-consortium.org
	Debian GNU/Linux:	http://www.debian.org

Nullum magnum ingenium sine mixtura dementiae fuit. -- Seneca


Reply to: