Skip to content

buildman: Improve summary output

Simon Glass u-boot 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest28 patches 0 repliesNew
  2. v122 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- Move the 'boards' variables to the start of _CheckOutput()
- Add new patch to use spaces in the board list
- Drop use of temporary 'line' variable
- Add new patch to ignore migration warnings
- Add patch to udpate TODO items
- Add new patch to change the exit codes

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/28buildman: Refactor error-line output int a functiontools/buildman/builder.py+19 -131 reply
2/28buildman: Add test coverage for error/warning colourtools/buildman/test.py+7 -01 reply
3/28buildman: Use an iterator to check test outputtools/buildman/test.py+52 -421 reply
4/28buildman: Create temp directory in test setuptools/buildman/test.py+10 -161 reply
5/28buildman: Split out testOutput() into separate functionstools/buildman/test.py+28 -61 reply
6/28buildman: Add a test helper for creating a line prefixtools/buildman/test.py+31 -201 reply
7/28buildman: Test the output with --list-error-boardstools/buildman/test.py+32 -141 reply
8/28buildman: Use yellow consistently for warning linestools/buildman/builder.py tools/buildman/test.py+4 -41 reply
9/28buildman: Use an object to hold error linestools/buildman/builder.py+52 -171 reply
10/28buildman: Show the list of boards in magentatools/buildman/builder.py tools/buildman/test.py+44 -411 reply
11/28buildman: Use spaces in the board listtools/buildman/builder.py tools/buildman/test.py+4 -41 reply
12/28patman: Update flushing Print() for Python 3tools/patman/terminal.py+2 -31 reply
13/28patman: Support erasing a previously unfinished text linetools/patman/patman.py tools/patman/terminal.py+48 -11 reply
14/28patman: Support limiting output to a single linetools/patman/terminal.py+57 -11 reply
15/28buildman: Drop the line-clearing code in Buildertools/buildman/builder.py+3 -251 reply
16/28buildman: Show a message when fetching a repotools/buildman/builder.py+4 -11 reply
17/28buildman: Drop unused output codetools/buildman/builder.py+0 -51 reply
18/28buildman: Show the number of builds remainingtools/buildman/builder.py+9 -41 reply
19/28buildman: Limit the length of progress messagestools/buildman/builder.py+1 -11 reply
20/28buildman: Show a summary of the build resulttools/buildman/builder.py tools/buildman/test.py+20 -31 reply
21/28buildman: Update the 'theory of operation' a littletools/buildman/README+39 -301 reply
22/28buildman: Add the abbreviation for --boardstools/buildman/README+3 -31 reply
23/28buildman: Update workflow documentation with more detailtools/buildman/README+36 -171 reply
24/28buildman: Make -I the defaulttools/buildman/README tools/buildman/builder.py tools/buildman/builderthread.py +3 more+41 -241 reply
25/28buildman: Add an option to ignore device-tree warningstools/buildman/README tools/buildman/builder.py tools/buildman/cmdline.py +2 more+52 -231 reply
26/28buildman: Add an option to ignore migration warningstools/buildman/README tools/buildman/builder.py tools/buildman/cmdline.py +2 more+107 -351 reply
27/28buildman: Update the TODO itemstools/buildman/README+11 -61 reply
28/28buildman: Change the exit codestools/buildman/README tools/buildman/control.py+8 -81 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 00/28] buildman: Improve summary output

This series makes the output produced by buildman a little more useful and easier to read:

- when using -l to see which errors relate to which board, it shows the boards in a different colour so they can be distinguished from the errors
- uses yellow consistently for warning lines
- shows the number of remaining builds
- shows a summary when the build completes, including the time taken
- adds a few messages to indicate what is happening while starting up

It also refactors a few tests a little to make them easier to follow, makes -I the default and improves the documentation a little.

Finally it changes the exit codes to something acceptable to git bisect.

Changes in v2:
- Move the 'boards' variables to the start of _CheckOutput()
- Add new patch to use spaces in the board list
- Drop use of temporary 'line' variable
- Add new patch to ignore migration warnings
- Add patch to udpate TODO items
- Add new patch to change the exit codes

Simon Glass (28):
buildman: Refactor error-line output int a function
buildman: Add test coverage for error/warning colour
buildman: Use an iterator to check test output
buildman: Create temp directory in test setup
buildman: Split out testOutput() into separate functions
buildman: Add a test helper for creating a line prefix
buildman: Test the output with --list-error-boards
buildman: Use yellow consistently for warning lines
buildman: Use an object to hold error lines
buildman: Show the list of boards in magenta
buildman: Use spaces in the board list
patman: Update flushing Print() for Python 3
patman: Support erasing a previously unfinished text line
patman: Support limiting output to a single line
buildman: Drop the line-clearing code in Builder
buildman: Show a message when fetching a repo
buildman: Drop unused output code
buildman: Show the number of builds remaining
buildman: Limit the length of progress messages
buildman: Show a summary of the build result
buildman: Update the 'theory of operation' a little
buildman: Add the abbreviation for --boards
buildman: Update workflow documentation with more detail
buildman: Make -I the default
buildman: Add an option to ignore device-tree warnings
buildman: Add an option to ignore migration warnings
buildman: Update the TODO items
buildman: Change the exit codes

 tools/buildman/README           | 171 +++++++++++-------
 tools/buildman/builder.py       | 216 ++++++++++++++--------
 tools/buildman/builderthread.py |   6 +-
 tools/buildman/cmdline.py       |  11 +-
 tools/buildman/control.py       |  22 ++-
 tools/buildman/func_test.py     |  28 ++-
 tools/buildman/test.py          | 305 +++++++++++++++++++++++---------
 tools/patman/patman.py          |   2 +-
 tools/patman/terminal.py        | 110 +++++++++++-
 9 files changed, 614 insertions(+), 257 deletions(-)
Signature · 1 line
2.26.0.110.g2183baf09c-goog