[PATCH v2] patman: add '--get-maintainer-script' argument

Simon Glass sjg at chromium.org
Wed Dec 21 01:28:36 CET 2022


This makes it possible to configure a project to use some other
location or script than the default scripts/get_maintainer.pl one used
in the U-Boot and Linux projects. It can be configured via a .patman
configuration file and accepts arguments, as documented.

Reviewed-by: Simon Glass <sjg at chromium.org>
Signed-off-by: Maxim Cournoyer <maxim.cournoyer at savoirfairelinux.com>
---

Changes in v2:
- Add functional test
- Fix 'os.path.exist' typo in 'find_get_maintainer'

 tools/patman/__main__.py       |  7 +++++
 tools/patman/control.py        | 12 ++++---
 tools/patman/func_test.py      | 49 +++++++++++++++++++++++++++--
 tools/patman/get_maintainer.py | 57 +++++++++++++++++++++-------------
 tools/patman/gitutil.py        |  3 +-
 tools/patman/patman.rst        | 30 +++++++++++++-----
 tools/patman/series.py         |  9 ++++--
 7 files changed, 127 insertions(+), 40 deletions(-)

Applied to u-boot-dm/next, thanks!


More information about the U-Boot mailing list