[PATCH 0/9] Remove patman from the U-Boot tree
Simon Glass
sjg at chromium.org
Tue Jun 16 16:28:40 CEST 2026
patman is now maintained as a standalone 'patch-manager' package, so
remove it from the tree. The command becomes a stub that tells people to
run 'pip install patch-manager'.
buildman still imports the shared modules commit and patchstream (along
with their dependencies), so this series leaves those in place. It drops
the tool's code, tests, CI hooks and packaging, and cuts the in-tree
documentation down to a stub that points at the package. It also moves
setuptools to u_boot_pylib, since pylibfdt needs it to build and
patman's requirements currently supply it.
More could be done here: commit and patchstream (and their dependencies
series, get_maintainer and settings) only remain because buildman still
imports them. A follow-up could move those into u_boot_pylib (or
buildman itself) and drop the rest, leaving tools/patman as just the
stub.
Simon Glass (9):
patman: Replace the tool with a stub for patch-manager
patman: Remove the test suite
patman: Remove the patch-management code
u_boot_pylib: Require setuptools for building pylibfdt
patman: Replace the documentation with a stub
CI: Stop building and testing patman
tools: docker: Drop patman from the CI image
tools: Stop packaging patman as a pip module
test: Stop running the patman tests
.azure-pipelines.yml | 5 +-
.gitlab-ci.yml | 7 +-
Makefile | 1 -
doc/develop/driver-model/spi-howto.rst | 5 +-
doc/develop/patman.rst | 15 +-
doc/develop/sending_patches.rst | 4 +-
doc/develop/testing.rst | 2 +-
scripts/make_pip.sh | 10 +-
test/run | 1 -
tools/binman/pyproject.toml | 2 +-
tools/docker/Dockerfile | 2 -
tools/patman/README.rst | 1 -
tools/patman/__init__.py | 5 +-
tools/patman/__main__.py | 68 +-
tools/patman/checkpatch.py | 287 --
tools/patman/cmdline.py | 516 ---
tools/patman/control.py | 333 --
tools/patman/cser_helper.py | 1524 -------
tools/patman/cseries.py | 1165 ------
tools/patman/database.py | 823 ----
tools/patman/func_test.py | 1342 ------
tools/patman/patchwork.py | 852 ----
tools/patman/patman.rst | 1023 -----
tools/patman/project.py | 27 -
tools/patman/pyproject.toml | 29 -
tools/patman/pytest.ini | 2 -
tools/patman/requirements.txt | 6 -
tools/patman/send.py | 197 -
tools/patman/setup.py | 11 -
tools/patman/status.py | 405 --
tools/patman/test/0000-cover-letter.patch | 23 -
.../0001-pci-Correct-cast-for-sandbox.patch | 51 -
...-for-sandbox-in-fdtdec_setup_mem_siz.patch | 85 -
tools/patman/test/test01.txt | 72 -
tools/patman/test_checkpatch.py | 526 ---
tools/patman/test_common.py | 254 --
tools/patman/test_cseries.py | 3684 -----------------
tools/patman/test_settings.py | 67 -
tools/u_boot_pylib/requirements.txt | 2 +
39 files changed, 55 insertions(+), 13379 deletions(-)
mode change 120000 => 100644 doc/develop/patman.rst
delete mode 120000 tools/patman/README.rst
delete mode 100644 tools/patman/checkpatch.py
delete mode 100644 tools/patman/cmdline.py
delete mode 100644 tools/patman/control.py
delete mode 100644 tools/patman/cser_helper.py
delete mode 100644 tools/patman/cseries.py
delete mode 100644 tools/patman/database.py
delete mode 100644 tools/patman/func_test.py
delete mode 100644 tools/patman/patchwork.py
delete mode 100644 tools/patman/patman.rst
delete mode 100644 tools/patman/project.py
delete mode 100644 tools/patman/pyproject.toml
delete mode 100644 tools/patman/pytest.ini
delete mode 100644 tools/patman/requirements.txt
delete mode 100644 tools/patman/send.py
delete mode 100644 tools/patman/setup.py
delete mode 100644 tools/patman/status.py
delete mode 100644 tools/patman/test/0000-cover-letter.patch
delete mode 100644 tools/patman/test/0001-pci-Correct-cast-for-sandbox.patch
delete mode 100644 tools/patman/test/0002-fdt-Correct-cast-for-sandbox-in-fdtdec_setup_mem_siz.patch
delete mode 100644 tools/patman/test/test01.txt
delete mode 100644 tools/patman/test_checkpatch.py
delete mode 100644 tools/patman/test_common.py
delete mode 100644 tools/patman/test_cseries.py
delete mode 100644 tools/patman/test_settings.py
---
base-commit: 7c290d20cd8a9f3ae1700a0707c774e9b83f7f27
branch: patm
--
2.43.0
More information about the U-Boot
mailing list