[PATCH 00/58] buildman: Refactor code and correct some pylint warnings
Simon Glass
sjg at chromium.org
Sun Jul 2 16:25:25 CEST 2023
The buildman code has grown considerable since it was originally written.
In places it can be quite hard to understanding and work with.
This series improves things, particularly in the control and builder
parts, splitting functions into smaller sizes.
More work remains in buildthead._write_result() and other places.
Simon Glass (58):
buildman: Tidy up pylint warnings in main
buildman: Convert camel case in control.py
buildman: Fix most pylint warnings in control
buildman: Move full-help processing to main
buildman: Move series calculations into a separate function
buildman: Move fetch-arch code into a separate function
buildman: Move logic for -A up a little
buildman: Drop use of builder in show_actions()
buildman: Move dry-run handling higher in do_buildman()
buildman: Move board-selection code into a function
bulidman: Move more code to determine_series()
buildman: Move Boards-object code into a function
bulidman: Move toolchain handling to a functoin
bulldman: Set up output_dir earlier
buildman: Move output-file setup into one place
buildman: Pass option values to get_action_summary()
buildman: Pass option values to show_actions()
buildman: Build option-adjusting into a function
buildman: Move counting of commits into a function
buildman: Move setting up the output dir into a function
buildman: Move commit numbering into determine_series()
buildman: Avoid too many returns in do_buildman()
buildman: Move remaining builder properties to constructor
buildman: Tweak commits and show_bloat
buildman: Moving running of the builder into a function
buildman: Drop some unnecessary variables
buildman: Adjust show_toolchain_prefix() to not return
buildman: Move checking for make into run_builder()
buildman: Move getting the adjust_cfg into run_builder()
buildman: Use get_alow_missing() directly to avoid var
buildman: Create a function to get number of built commits
buildman: Convert camel case in cmdline.py
buildman: Correct most pylint warnings in cmdline
buildman: Add a test for --boards
buildman: Convert to argparse
buildman: Convert camel case in bsettings.py
buildman: Convert camel case in builder.py
buildman: Split parser creation in two
buildman: Convert camel case in builderthread.py
buildman: Correct most pylint warnings in builderthread
buildman: Export _get_output_dir() to avoid warnings
buildman: Correct invalid use of out_dir variable
buildman: Drop unnecessary assignment of config_out
buildman: Start a function to set up the make arguments
buildman: Move setting of toolchain arguments to _build_args()
buildman: Move more things into _build_args()
buildman: Convert config_out to string IO
buildman: Move reconfigure code into its own function
buildman: Move bulid code into its own function
buildman: Move reading of the done file into a function
buildman: Move code to remove old outputs
buildman: Move code to decide output dirs
buildman: Move checkout code to a separate function
buildman: Create a function to handle config and build
buildman: Avoid passing result into _read_done_file()
buildman: Tidy up reporting of a toolchain error
buildman: Tidy up some comments in builderthread
buildman: Move copy_files() out ot BuilderThread class
tools/buildman/bsettings.py | 14 +-
tools/buildman/builder.py | 262 +++++------
tools/buildman/builderthread.py | 652 ++++++++++++++++-----------
tools/buildman/buildman.rst | 2 +-
tools/buildman/cmdline.py | 168 ++++---
tools/buildman/control.py | 756 +++++++++++++++++++++-----------
tools/buildman/func_test.py | 42 +-
tools/buildman/main.py | 44 +-
tools/buildman/test.py | 28 +-
tools/buildman/toolchain.py | 14 +-
tools/moveconfig.py | 2 +-
11 files changed, 1213 insertions(+), 771 deletions(-)
--
2.41.0.255.g8b1d071c50-goog
More information about the U-Boot
mailing list