generic-poky/bitbake/lib/bb
Richard Purdie eeb0529e13 ui/knotty: Add a footer to the build output for interactive terminals as knotty2 UI
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.
* Running task x oy y and package messages are supressed from the console

This UI can be accessed with "bitbake -u knotty2".

(From Poky rev: e38b4569648f2916c4370871c79e6a6090eb8bc1)

(Bitbake rev: 156189c799d2bb1f69bdaa04b5cd718fe7881425)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-29 19:44:01 +01:00
..
fetch2 bitbake/fetch2: Ensure mirror tarballs have .done stamps so we don't redownload and corrupt them 2012-03-23 14:54:16 +00:00
parse parse/ast: Expand inherit statements before splitting them 2012-03-15 22:56:16 +00:00
pysh make exception handling syntax consistent 2011-06-15 11:13:13 +01:00
server bitbake: Add client socket info for BitBakeServerConnection 2012-02-23 22:52:16 +00:00
ui ui/knotty: Add a footer to the build output for interactive terminals as knotty2 UI 2012-03-29 19:44:01 +01:00
COW.py Apply some 2to3 refactorings 2010-07-02 15:41:37 +01:00
__init__.py bitbake: Drop fetch v1, v2 provides a much better codebase to build from 2012-03-05 10:38:01 -08:00
build.py bb.build: use relative log links, not absolute 2012-03-29 09:44:45 +01:00
cache.py bitbake: change for adding progress bar in Hob2. 2012-02-23 22:52:17 +00:00
cache_extra.py bitbake: Add description into the cache and clean up cache duplication 2012-02-02 16:55:28 +00:00
codeparser.py codeparser: Call intern over the set contents for better cache performance 2012-03-12 15:52:33 +00:00
command.py command.py: remove the resolve parameter in generateTargetsTree 2012-03-01 15:51:34 +00:00
compat.py bitbake: Add missing file 2011-05-07 08:49:28 +01:00
cooker.py cooker: add inherit information when generating package tree 2012-03-22 14:40:40 +00:00
daemonize.py Apply some 2to3 transforms that don't cause issues in 2.6 2010-07-02 15:41:33 +01:00
data.py data/runqueue.py: Fix commented out test code after variable name changes 2012-01-27 09:40:05 +00:00
data_smart.py meta/classes: Convert to use appendVar and appendVarFlags 2012-03-05 10:36:53 -08:00
event.py bitbake: change for adding progress bar in Hob2. 2012-02-23 22:52:17 +00:00
exceptions.py bb.exceptions: don't choke on frames without arguments 2011-06-08 20:38:25 +01:00
methodpool.py Consolidate the exec/eval bits, switch anonfunc to better_exec, etc 2010-07-02 15:41:31 +01:00
monitordisk.py meta/classes: Convert to use appendVar and appendVarFlags 2012-03-05 10:36:53 -08:00
msg.py bitbake: implement BB_VERBOSE_LOGS 2012-02-28 13:47:10 +00:00
namedtuple_with_abc.py bb.namedtuple_with_abc: add useful util from activestate 2011-06-08 20:38:23 +01:00
persist_data.py persist_data: survive if sqlite3 couldn't enable the shared cache 2012-02-22 20:25:29 +00:00
process.py make exception handling syntax consistent 2011-06-15 11:13:13 +01:00
providers.py meta/classes: Convert to use appendVar and appendVarFlags 2012-03-05 10:36:53 -08:00
runqueue.py Typo: "nonexistant" -> "non-existent" 2012-03-20 15:21:32 +00:00
shell.py Introduce new param caches_array into Cache impl. 2011-06-07 22:39:52 +01:00
siggen.py siggen.py: Use basehash if no taskhash 2012-03-12 02:26:23 +00:00
taskdata.py taskdata: fix string formatting of an error message 2011-09-20 22:22:21 +01:00
utils.py utils: Add split_version function for splitting a version into its components 2012-03-20 15:21:36 +00:00