[OE-core] [PATCH] ui/knotty: Add a footer to the build output for interactive terminals

Koen Kooi koen at dominion.thruhere.net
Mon Mar 19 11:48:02 UTC 2012


Op 15 mrt. 2012, om 23:56 heeft Richard Purdie het volgende geschreven:

> I've sent this before, this is an updated version with several bugfixes
> and improvements. Its a major change but one I think people will like
> overall as I hear a lot of complaints about the verbose console
> messages. v0 never got complaints so I will merge this fairly quickly
> unless there are objections.
> 
> ---
> On terminals which support it, add summary information to the end of the
> build output about the number of tasks currently running and how many tasks
> we've run so far.
> 
> This provides a summary at a glace of what the current state of the build is
> and what the build is currently doing which is lacking in the current UI.
> 
> Also disable echo of characters on stdin since this corrupts the disable,
> particularly Crtl+C.
> 
> The "waiting for X tasks" code can be merged into this code too since
> that is only useful on interactive terminals and this improves the
> readability of that output too.
> 
> Improvements since v0:
> 
> * The tasks are ordered in execution order.
> * The display is only updated when the list of tasks changes or there
>  is output above the footer.
> * Errors early in the init process don't corrupt the terminal
> * Running task x of y and package messages are suppressed from the console
> 
> Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
> ---
> diff --git a/bitbake/lib/bb/ui/knotty.py b/bitbake/lib/bb/ui/knotty.py

This doesn't apply for obvious reasons.



More information about the Openembedded-core mailing list