Re: [kbuild-devel] A bit of kconfig rewrite (Re: [PATCH] 9p: fix compile error if !CONFIG_SYSCTL)

2007-10-06 Thread Oleg Verych
On Fri, Oct 05, 2007 at 04:35:41AM +0200, Roman Zippel wrote:
 Hi,
 
 On Mon, 1 Oct 2007, Oleg Verych wrote:
 
  Today's kconfig was proposed and accepted in a very unpleasant
  circumstances, has very poor design, development and no working
  alternative (for 5+ years now).
 
 If you want to make such statements, you have to offer a little more than 
 the hot air you're producing right now...
...

 If you want to improve the design, you're more than welcome. I'm the first 
 one to admit that there's still lots of room for improvement, but if you 
 want to claim this can only be done via a rewrite, then you have to be 
 a lot more specific what's wrong the current design and why it's 
 unfixable.
 Quite some thought has been put into this design and if you were a little 
 more specific, I could actually tell you why it is this way and maybe how 
 to improve it incrementally instead of trying to reinvent everything.

Thanks. I will be specific, after i will finish, what i already have,
to make air a bit less hot. Of course everything will be back
compatible, so nothing to worry about (the rewrite).


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
kbuild-devel mailing list
kbuild-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kbuild-devel


Re: [kbuild-devel] A bit of kconfig rewrite (Re: [PATCH] 9p: fix compile error if !CONFIG_SYSCTL)

2007-10-04 Thread Roman Zippel
Hi,

On Mon, 1 Oct 2007, Oleg Verych wrote:

 Today's kconfig was proposed and accepted in a very unpleasant
 circumstances, has very poor design, development and no working
 alternative (for 5+ years now).

If you want to make such statements, you have to offer a little more than 
the hot air you're producing right now...
If you want to improve the design, you're more than welcome. I'm the first 
one to admit that there's still lots of room for improvement, but if you 
want to claim this can only be done via a rewrite, then you have to be 
a lot more specific what's wrong the current design and why it's 
unfixable.
Quite some thought has been put into this design and if you were a little 
more specific, I could actually tell you why it is this way and maybe how 
to improve it incrementally instead of trying to reinvent everything.

   + shell-like[0] (not like CML1, which is just shell) scripting, allowing
 to extend easily (if there is no one available) capabilities,
 config values or actions for particular sub-system or compilation
 unit,

Just to pick this one point as example: I like scripting and maybe I 
should just update the swig wrapper script I already have and merge it, 
which would make it easier to play with the kconfig database in whatever 
language you like.
OTOH due to the necessary build dependencies I don't see this become a 
mandatory feature, so unless there is a compelling reason a certain set of 
base function will remain in C.

bye, Roman

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
kbuild-devel mailing list
kbuild-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kbuild-devel


Re: [kbuild-devel] A bit of kconfig rewrite (Re: [PATCH] 9p: fix compile error if !CONFIG_SYSCTL)

2007-10-01 Thread Sam Ravnborg
Hi Oleg.
 
 Today's kconfig was proposed and accepted in a very unpleasant
 circumstances, has very poor design, development and no working
 alternative (for 5+ years now).

I have read all your mails about this subject - but I still miss what
is so bad about current design.

Could you try to stay down on the earth and be very specific about
what you see as so bad in current design.
With stay down on earth I try to say that what I have read before
I could not dechiper so be specific, please.

Sam

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
kbuild-devel mailing list
kbuild-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kbuild-devel


Re: [kbuild-devel] A bit of kconfig rewrite (Re: [PATCH] 9p: fix compile error if !CONFIG_SYSCTL)

2007-10-01 Thread Elyse M. Grasso
On Monday 01 October 2007, Oleg Verych wrote:
 * Fri, 28 Sep 2007 11:12:51 -0600
 
  On Thursday 27 September 2007, Nick Piggin wrote:
  On Saturday 29 September 2007 00:34, Linus Torvalds wrote:
   On Fri, 28 Sep 2007, Nick Piggin wrote:
 God I hate select.
   
IMO a better implementation would result in a notification / 
  confirmation
of turning on new items, and the ability to deselect options which 
will
also confirm to deselect dependants. Like most other systems that 
have
similar problem to solve.
  
   Actually, the *really* nice thing to do would be to just add the reason
   something got enabled into the .config file.
 []
CONFIG_ACPI=y   # selected by X86_64_ACPI_NUMA
CONFIG_ACPI_PROCFS=y# user choice
...
 []
  Sure, that would probably be pretty trivial to implement too, and
  would solve most problems for kernel devs.
  
  At a level up from that, I think ease of use could be improved with
  a package manager-type chained-selection/deselection feature in
  the config tools.
  
  Not that I'm volunteering to implement either ;)
  
  
   That way, there's always a fairly straightforward way to see why some
   configuration is the way it is (and the .config file is not only useful
   for make oldconfig, it's also what normally gets passed around for 
bug
   reports, and is part of distro kernel packages etc, so it would seem to 
be
   the right place, no?)
  
Linus
 []
  Adding the comments to the .config files sounds like a good project for a 
  comparative newbie. By the end of next week I should have hardware 
available 
  for experimental kernel builds. (And also some free wetware cycles.) 
 
  Are there any other requirements for formatting I should consider? 
 
 No. Not another semi-newbie and/or semi-halfway done job, please.
 
 I'm pretty sure, that Linus is proposing that only after manual
 editing of/looking into the `.config' after `make oldconfig`.
 
 Before you will consider anything, please, check recent LKML (kbuild
 rewrite) and kbuild-devel(years 2001-2002) archives (assuming, you have
 experience with any build/conf things).
 
 Today's kconfig was proposed and accepted in a very unpleasant
 circumstances, has very poor design, development and no working
 alternative (for 5+ years now).
 
 The basics, i'm trying to put into design of the new kconfig, as part of
 my kbuild (already described a bit)/kconfig rewrite are:
 
 * flexible configuration development(kdevs) and process(kusers)
 
   + shell-like[0] (not like CML1, which is just shell) scripting, allowing
 to extend easily (if there is no one available) capabilities,
 config values or actions for particular sub-system or compilation
 unit,
 
   [0] if somebody would like to see *a* shell-like scripting:
   ftp://flower.upol.cz/geloiwa/src/usr/local/etc/geloiwa/iwant
 
   + duplex travelling, multi- looking at/changing of config items,
 
   + flexible, yet built-able, connections in dependency chain (tree,
 graph, whatever);
 
 * resulting config file capable of producing exact config results of the
   build on any other setup
   (e.g. no ARCH=, CROSS_*, *_FLAGS *kbuild* things);
 
 * checking tool for particular config patterns (for bug reports)
 
 * system itself must be done with minimum requirements for C libraries
   (no ncurses) and tools (no `perl`, no `python`, no `make`).
 
  In a case where option A is specified by option B which is specified by 
option 
  C which is specified by option D, should the comment on A mention B, or D 
or 
  all three items in the chain? 
 
 Fsck it. All must be done by a machine with maximum comfort of users (not
 particularly humans), even for those, who like to edit config like so:
 
 `sed -i 's/SYSFS=y/SYSFS=please, NO!!!/' .config`
 
 --
 -o--=O`C
  #oo'L O
 ___=E M
 

I did not see a requirement for a major rewrite for a tool or a toolset. I saw 
a requirement for one specific improvement to the output of one specific 
program. It seems to be an improvement that will provide immediate benefits, 
so is worthwhile even if it will eventually be superceded by a new generation 
of the tool..

After making my living as a software engineer for the past 26 years, I know 
better than to start learning a new environment by setting out to make major 
architectural changes. Or without adequately detailed requirements (even if 
they are self-generated). Apparently the newbies you complain about have not 
learned these lessons yet, leading to incomplete and unfinished projects. 

When I have used this little project as a gateway into the toolset, I might 
consider taking part in your larger redesign project as a follow on, if you 
can provide more detailed and coherent specifications for what you want done. 

Or not. 

In this case, no one is paying me to deal with inadequate specifications and 
rude people, so I may find something else to do with my spare time and 
equipment. 

-- 
Elyse Grasso