generic-poky/bitbake/lib
Paul Eggleton b372e85d9b bitbake: bitbake-diffsigs: colourise output
If the output is a TTY, add colour to the output in order to make it
easier to read. At the moment this is fairly basic, just add colour to
the "titles" of each change and to the diff output.

I tried to introduce this without changing the code too much - rather
than moving everything over to the new python formatting style, I've
introduced a color_format() function which takes care of the colour
formatting, either accepting additional format arguments or
alternatively leaving the caller to use the old-style formatting (%) to
insert values.

(Bitbake rev: 04a023c8fdea1e1812fcdcaf00345aab59f9abe1)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-10 23:00:32 +01:00
..
bb bitbake: bitbake-diffsigs: colourise output 2017-04-10 23:00:32 +01:00
bblayers bitbake: bitbake-layers: fix layerindex-fetch for Python 3 2017-03-22 11:35:22 +00:00
bs4 bitbake: lib/bs4: Fix imports from html5lib >= 0.9999999/1.0b8 2016-12-07 10:43:20 +00:00
ply bitbake: bitbake: Convert to python 3 2016-06-02 08:24:02 +01:00
progressbar bitbake: lib: implement basic task progress support 2016-07-08 09:57:26 +01:00
prserv bitbake: prserv/persist_data/utils: Drop obsolete python2 imports 2017-01-09 13:39:13 +00:00
simplediff bitbake: lib/bb/siggen: show word-diff for single-line values containing spaces 2017-04-10 23:00:32 +01:00
toaster bitbake: toaster:test:Create selenium tests for project dashboard page 2017-04-10 23:00:32 +01:00
codegen.py bitbake: bitbake: Convert to python 3 2016-06-02 08:24:02 +01:00
pyinotify.py bitbake: bitbake/pyinotify.py: Upgrade to py3 version 2016-06-02 08:24:02 +01:00