On Mon, 9 Dec 2024 at 18:00, Richard Purdie
<[email protected]> wrote:
> Firstly, I think the "(disabled)" is the wrong way to show that
> information. It would be more compact and perhaps more usable to show
> the elements sorted into two sections along the lines of:
>
> """
> Enabled fragments:
>
> selftest/test-fragment - This is a configuration fragment intended for 
> testing in oe-selftest context
>
> Unused fragments:
>
> selftest/more-fragments-here/test-another-fragment - This is a second 
> configuration fragment intended for testing in oe-selftest context
> """

This is fine, I can fix it.

> Secondly when listing the fragments, the current approach does lend
> itself to cut and past but also doesn't group neatly. For example you
> could do something like:
>
> selftest/
>   test-fragment - This is a configuration fragment intended for testing in 
> oe-selftest context
>   more-fragments-here/test-another-fragment - This is a second configuration 
> fragment intended for testing in oe-selftest context

If we start going down this path, we might as well write an
interactive curses UI, and keep the command line output 'flat' like it
is now. I'm also not sure what is the best approach, we'd need to take
fragments into practical use and accumulate a sizable amount of them
perhaps. Such things can be easily tweaked from experience.

Alex
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#208535): 
https://lists.openembedded.org/g/openembedded-core/message/208535
Mute This Topic: https://lists.openembedded.org/mt/109647318/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to