Skip to content

patman: Minor improvements to prepare for series handling

Simon Glass u-boot 1 version Applied

Status from this message: Applied to sjg/master, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest20 patches 20 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/20u_boot_pylib: Tidy up quoting of cc and totools/patman/func_test.py tools/u_boot_pylib/gitutil.py+6 -61 reply
2/20u_boot_pylib: Provide directories to gitutil functionstools/u_boot_pylib/command.py tools/u_boot_pylib/gitutil.py+38 -161 reply
3/20u_boot_pylib: Speed up determining the upstream branchtools/u_boot_pylib/gitutil.py+17 -101 reply
4/20patman: Add all files to __init__.pytools/patman/__init__.py+6 -31 reply
5/20patman: Allow setting the current directory when sendingtools/patman/checkpatch.py tools/patman/patchstream.py tools/patman/send.py +1 more+45 -271 reply
6/20patman: Allow setting a git directory when sendingtools/patman/patchstream.py tools/patman/send.py+13 -101 reply
7/20patman: Correct use of str in codetools/patman/send.py+2 -21 reply
8/20patman: Use itr instead of lines for iteratortools/patman/func_test.py+82 -791 reply
9/20patman: Use .git as the git directorytools/patman/func_test.py+7 -71 reply
10/20patman: Use variables for series ID and titletools/patman/func_test.py+8 -31 reply
11/20patman: Clean up creation of the git treetools/patman/func_test.py tools/patman/requirements.txt tools/u_boot_pylib/gitutil.py+27 -21 reply
12/20patman: Use git to set up the test configtools/patman/func_test.py+5 -01 reply
13/20patman: Correct some pylint and asyncio issuestools/patman/func_test.py+26 -251 reply
14/20patman: Split parser creation from parsingtools/patman/cmdline.py tools/patman/settings.py tools/patman/test_settings.py+44 -181 reply
15/20patman: Add tests for helptools/patman/func_test.py+25 -01 reply
16/20patman: Split subparsers into their own functionstools/patman/cmdline.py+87 -551 reply
17/20patman: Move arguments for sent into the correct parsertools/patman/cmdline.py+72 -521 reply
18/20patman: Move -H out of the send commandtools/patman/cmdline.py tools/patman/control.py+11 -51 reply
19/20patman: Tidy up function comments in the series moduletools/patman/series.py+21 -131 reply
20/20patman: Support collecting all lines in the commit messagetools/patman/patchstream.py+19 -41 reply

Reviews trailers per patch

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

Read the v1 thread

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

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(-)
Signature · 4 lines
2.43.0

base-commit: a15813efc66b624cede0f3c6107ca77abbffe1f2
branch: patc