[PATCH 00/25] patman: Support beter management of series

Simon Glass sjg at chromium.org
Sat May 10 13:04:53 CEST 2025


Patman provides good facilities for preparing and sending out series. It
also has a way to collect review/test tags from Patchwork in preparation
for sending the next series. But so far it lacks series management.

This series provides a few new subcommands, mainly 'series', which:

- maintains a local database of series
- sendings series and gathers tags and feedback from Patchwork
- provides an overall view of upstreaming progress
- allows tracking of multiple versions of a series


Simon Glass (25):
  u_boot_pylib: Correct pylint warnings in gitutil
  patman: Deal with git safe-directory warning
  u_boot_pylib: Add more functions to gitutil
  patman: Use python3 with /usr/bin/env
  patman: Add a test for collecting a PATCH prefix
  patman: Move common test code into a new module
  patman: Add a fourth series for testing
  patman: Avoid touching the system or local config
  patman: Add a simple database implementation
  patman: Add a helper for managing cseries
  patman: Add a Cseries class
  patman: Update status command support cover-letter info
  patman: Enhance patchwork interface to support Cseries
  patman: Enhance implementation of file-based defaults
  patman: Use -c to show patch comments
  patman: Support returning the parsers to use
  patman: Introduce basic database support in Series
  patman: Improve Series support for patchwork links
  patman: Implement the patchwork subcommand
  patman: Support aliases for commands and subcommands
  patman: Update send function to return whether it sent
  patman: Implement the series subcommand
  patman: Implement the upstream subcommand
  patman: Add tests for Cseries
  patman: Add basic documentation for new features

 doc/develop/pics/patman.jpg    |  Bin 0 -> 97131 bytes
 tools/patman/__init__.py       |    8 +-
 tools/patman/__main__.py       |    6 +-
 tools/patman/checkpatch.py     |    7 +-
 tools/patman/cmdline.py        |  311 ++-
 tools/patman/control.py        |  203 +-
 tools/patman/cser_helper.py    | 1524 +++++++++++++
 tools/patman/cseries.py        | 1165 ++++++++++
 tools/patman/database.py       |  823 +++++++
 tools/patman/func_test.py      |  239 +--
 tools/patman/get_maintainer.py |   13 +-
 tools/patman/patchwork.py      |  439 +++-
 tools/patman/patman.rst        |  283 ++-
 tools/patman/project.py        |    3 +-
 tools/patman/send.py           |   11 +-
 tools/patman/series.py         |   70 +
 tools/patman/settings.py       |   53 +-
 tools/patman/status.py         |   71 +-
 tools/patman/test_common.py    |  254 +++
 tools/patman/test_cseries.py   | 3684 ++++++++++++++++++++++++++++++++
 tools/u_boot_pylib/gitutil.py  |  123 +-
 21 files changed, 9006 insertions(+), 284 deletions(-)
 create mode 100644 doc/develop/pics/patman.jpg
 create mode 100644 tools/patman/cser_helper.py
 create mode 100644 tools/patman/cseries.py
 create mode 100644 tools/patman/database.py
 create mode 100644 tools/patman/test_common.py
 create mode 100644 tools/patman/test_cseries.py

-- 
2.43.0

base-commit: dd1b960e8de7c06add7983ce123f808fcf4dd1fc
branch: patd


More information about the U-Boot mailing list