Re: [PATCH] scripts: kconfig: implement a sort method

From: Randy Dunlap
Date: Fri Apr 22 2016 - 13:03:12 EST


On 04/22/16 00:45, Felipe Balbi wrote:
>
> Hi,
>
> Randy Dunlap <rdunlap@xxxxxxxxxxxxx> writes:
>> On 04/21/16 13:07, Felipe Balbi wrote:
>>> With a growing amount of Kernel configuration, it's
>>> getting ever more difficult to find anything on
>>> menuconfig. Because of that, implement mergesort for
>>> kconfig to make it a little easier for anybody
>>> building kernels.
>>
>> Hi,
>>
>> Please explain the problem and the solution better. I don't
>> get it.
>
> it's unclear to me what you don't understand from description above. Try
> to find and enable some random driver on menuconfig. Here's a
> suggestion:
>
> "Maxim Semiconductor MAX77843 PMIC Support"
>

yeah, I had no problem with that. / (Search) works very well, sorted
or not.

Maybe I'm not in your target market.


> In any case, the idea is the following:
>
> menuconfig has too many options, they are unsorted -> sort them
>


The addition of < Sort > to the bottom menu items is displayed (partially)
in an 80-column-wide terminal window: (oh, I see, it wraps, still not good)

âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
â <Select> < Exit > < Help > < Save > < Load > < Sort
>âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ



I still think that you have an inadequate problem statement to justify
the patch. Nothing against the patch itself.

thanks,
--
~Randy