[PATCH v2 00/26] qconfig: Tidy up main() and add a small feature

Simon Glass sjg at chromium.org
Thu Jul 18 11:10:59 CEST 2024


This series improves the code a little by reducing the size of the
main() function. It also allows searching for CONFIG values.

Changes in v2:
- Drop debugging
- Add a new patch to sort the boards by name when finding
- Add new patch to support a 'list' format

Simon Glass (26):
  qconfig: Fix pylint error in read_database()
  qconfig: Drop the try_expand() function
  qconfig: Make KconfigScanner a function
  qconfig: Tidy up some pylint warnings
  qconfig: Correct format string in do_imply_config()
  qconfig: Rename the doc link
  qconfig: Move arg parsing into a separate function
  qconfig: Move arg checking a little higher
  qconfig: Move arg checking to the top of main()
  qconfig: Move getting the colour to where it is needed
  qconfig: Move checking directory to the top
  qconfig: Move converting config args to the top
  qconfig: Move testing into a separate function
  qconfig: Add a return value to do_scan_source()
  qconfig: Move imply into a separate function
  qconfig: Add a return value to do_find_config()
  qconfig: Move all move_config code into move_config()
  qconfig: Move commit code into a separate function
  qconfig: Move progress output into the class
  qconfig: Move the last two operations into their own functions
  qconfig: Use the Color object in Progress
  qconfig: Drop col argument from Slots()
  qconfig: Move operation check into parse_args()
  qconfig: Allow searching for CONFIG values
  qconfig: Sort the boards by name when finding
  qconfig: Support a 'list' format

 doc/develop/qconfig.rst |  14 ++
 tools/qconfig.py        | 414 ++++++++++++++++++++++++----------------
 2 files changed, 264 insertions(+), 164 deletions(-)

-- 
2.34.1



More information about the U-Boot mailing list