mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Stefan Richter <stefanr@s5r6.in-berlin.de>
To: "Robert P. J. Day" <rpjday@mindspring.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: maturity levels:  a first pass
Date: Sun, 29 Apr 2007 02:38:07 +0200	[thread overview]
Message-ID: <4633E8EF.1080604@s5r6.in-berlin.de> (raw)
In-Reply-To: <Pine.LNX.4.64.0704281735470.29040@localhost.localdomain>

Robert P. J. Day wrote:
> +	  This feature gives you the ability to de-select entire sets of
> +	  kernel features based on how they've been tagged with the
> +	  "maturity" directive.

Why expose the end-user to implementation details like "been tagged with
the 'maturity' directive"?

...
> +config MATURITY_DEPRECATED
> +	bool "Display DEPRECATED features."
...

Maybe you rather want

	bool "Allow to select DEPRECATED features."

because MATURITY_DEPRECATED=N probably means "Do not allow to select
DEPRECATED features" which implies that deprecated features will be
deselected.  In your wording, MATURITY_DEPRECATED=N would be just "Do
not display DEPRECATED features" which is probably less than what you
want it to be.

That said, I don't know if the approach is going into the right
direction.  For example, the way you are starting it requires updates to
all Kconfig UIs/scripts, to work correctly.  Otherwise, users could
select ACTIVATE_MATURITY but the tags would still be ignored.

Another approach could be to
  - continue to use "config EXPERIMENTAL" and "depends on EXPERIMENTAL"
    and extend it for OBSOLETE, and if you cannot resist, for
    DEPRECATED,
  - extend interactive UIs like xconfig and menuconfig and oldconfig to
    display an EXPERIMENTAL sign alongside the title of an option
    which depends on EXPERIMENTAL,
  - delete occurrences of the string EXPERIMENTAL from titles of options
    and help texts,
  - vice versa for OBSOLETE, and if you cannot resist, for
    DEPRECATED.
This does what you want while it keeps contents separate from
presentation and avoids to extend the Kconfig language.  A simple
Kconfig language without presentational ballast allows for creation of a
multitude of fine-tuned configurator UIs/scripts, which can be extended
by all sorts of features, e.g. better support in dealing with obsolete
configuration options.
-- 
Stefan Richter
-=====-=-=== -=-- ===-=
http://arcgraph.de/sr/

      reply	other threads:[~2007-04-29  0:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-28 21:37 Robert P. J. Day
2007-04-29  0:38 ` Stefan Richter [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4633E8EF.1080604@s5r6.in-berlin.de \
    --to=stefanr@s5r6.in-berlin.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rpjday@mindspring.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®