[PATCH 00/20] patman: Minor improvements to prepare for series handling

Simon Glass sjg at chromium.org
Thu May 8 09:28:24 CEST 2025


This series includes a number of internal improvements to patman:
- Tidy-up of parsing
- Adjust how tests create the git tree
- Support for creating patches in a different git directory
- Faster determination of the upstream branch
- Ability to collect the body of a commit message as a series of lines


Simon Glass (20):
  u_boot_pylib: Tidy up quoting of cc and to
  u_boot_pylib: Provide directories to gitutil functions
  u_boot_pylib: Speed up determining the upstream branch
  patman: Add all files to __init__.py
  patman: Allow setting the current directory when sending
  patman: Allow setting a git directory when sending
  patman: Correct use of str in code
  patman: Use itr instead of lines for iterator
  patman: Use .git as the git directory
  patman: Use variables for series ID and title
  patman: Clean up creation of the git tree
  patman: Use git to set up the test config
  patman: Correct some pylint and asyncio issues
  patman: Split parser creation from parsing
  patman: Add tests for help
  patman: Split subparsers into their own functions
  patman: Move arguments for sent into the correct parser
  patman: Move -H out of the send command
  patman: Tidy up function comments in the series module
  patman: Support collecting all lines in the commit message

 tools/patman/__init__.py      |   9 +-
 tools/patman/checkpatch.py    |  12 +-
 tools/patman/cmdline.py       | 230 ++++++++++++++++++----------
 tools/patman/control.py       |  14 +-
 tools/patman/func_test.py     | 278 ++++++++++++++++++++--------------
 tools/patman/patchstream.py   |  44 ++++--
 tools/patman/requirements.txt |   2 +-
 tools/patman/send.py          |  45 +++---
 tools/patman/series.py        |  47 +++---
 tools/patman/settings.py      |  28 ++--
 tools/patman/test_settings.py |   2 +-
 tools/u_boot_pylib/command.py |   5 +-
 tools/u_boot_pylib/gitutil.py | 102 +++++++++----
 13 files changed, 521 insertions(+), 297 deletions(-)

-- 
2.43.0

base-commit: a15813efc66b624cede0f3c6107ca77abbffe1f2
branch: patc


More information about the U-Boot mailing list