Re: linux kernel config converter

From: David Lang (david.lang@digitalinsight.com)
Date: Thu Feb 21 2002 - 09:40:38 EST


On Thu, 21 Feb 2002, Jeff Garzik wrote:

> David Lang wrote:
> > 1. does this handle the cross directory dependancies?
>
> I presume you are talking about Roman's tool, so I'll let him answer. I
> think he just implemented a converter to a new language, so new language
> tools to parse the language don't exist yet, I think.

I am so I'll wait for his answer

> > 2. does it handle the 'I want this feature, turn on everything I need for
> > it'?
>
> This is fundamentally impossible for anything beyond the most simple
> features. Although you can do a lot with config.in info, "everything I
> need" is something a human needs to define in many cases.
>

unless I am missing something this is one of the features that CML2
implements. Agreed that 'everything I need' needs to be defined by a
human, that's what Eric has done in his ruleset, define the dependancies.

>
> > 3. if it handles #2 what does it do if you turn off that feature again
> > (CML2 turns off anything it turned on to support that feature, assuming
> > nothing else needs it)
>
> This is a policy decision. I'm not sure one -wants- to do this...
> Doing something like this blindly can have unintended side effects, i.e.
> violate the Principle of Least Surprise.

I'll argue that _not_ doing this violated the principle of lease surprise,
if you turn a feature on and immediatly back off why should anything in
your config be any different then it was before you turned it on?

David Lang

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Feb 23 2002 - 21:00:33 EST