All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH 0/3] Log colorizer
@ 2020-07-28  1:35 Chris Laplante
  2020-07-28  1:35 ` [meta-oe][PATCH 1/3] lib/oe/log_colorizer.py: add LogColorizerProxyProgressHandler Chris Laplante
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Chris Laplante @ 2020-07-28  1:35 UTC (permalink / raw)
  To: openembedded-core; +Cc: Chris Laplante

This patch series turns on color compiler diagnostics. It is especially
useful when doing edit-compile-test development work with devtool.

It is based on one I've been using internally for about a
year now.

Limitation: Note that the *.nocolor and *.color logs will only contain the
 output of the task itself, not any prefuncs or postfuncs. This is
 because the color filtering is implemented using progress handlers,
 which don't see prefunc or postfunc output.

Chris Laplante (3):
  lib/oe/log_colorizer.py: add LogColorizerProxyProgressHandler
  base.bbclass: make oe.log_colorizer available in global context
  log-colorizer.bbclass: add new class

 meta/classes/base.bbclass          |  2 +-
 meta/classes/log-colorizer.bbclass | 49 +++++++++++++++++
 meta/lib/oe/log_colorizer.py       | 86 ++++++++++++++++++++++++++++++
 3 files changed, 136 insertions(+), 1 deletion(-)
 create mode 100644 meta/classes/log-colorizer.bbclass
 create mode 100644 meta/lib/oe/log_colorizer.py

--
2.17.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2020-07-29 20:55 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-28  1:35 [meta-oe][PATCH 0/3] Log colorizer Chris Laplante
2020-07-28  1:35 ` [meta-oe][PATCH 1/3] lib/oe/log_colorizer.py: add LogColorizerProxyProgressHandler Chris Laplante
2020-07-28  1:35 ` [meta-oe][PATCH 2/3] base.bbclass: make oe.log_colorizer available in global context Chris Laplante
2020-07-28  1:35 ` [meta-oe][PATCH 3/3] log-colorizer.bbclass: add new class Chris Laplante
2020-07-28  2:02 ` ✗ patchtest: failure for Log colorizer Patchwork
2020-07-28 15:50 ` [OE-core] [meta-oe][PATCH 0/3] " Richard Purdie
2020-07-28 19:24   ` Chris Laplante
2020-07-29 14:29   ` Chris Laplante
2020-07-29 20:55   ` Chris Laplante

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.