[PATCH 0/6] add support for repository-local .patman config file

Maxim Cournoyer maxim.cournoyer at gmail.com
Mon Dec 19 16:50:03 CET 2022


This series is based on top of series #333345.  It adds support for a
.patman config file local to the git repository.  A new test
'test_settings.py' test module is added; it is automatically
discovered and run via pytest, e.g.: 'cd tools/patman && pytest'.


Maxim Cournoyer (6):
  patman: fix pep8 warnings in settings module
  patman: replace deprecated SafeConfigParser with ConfigParser
  patman: import gitutil module where it is needed
  patman: set the default config_fname argument value to None
  patman: fail early in Setup when provided config file does not exist
  patman: additionally honor a local .patman config file

 tools/patman/__main__.py      |   3 +-
 tools/patman/patman.rst       |   8 ++-
 tools/patman/settings.py      | 101 +++++++++++++++++++++-------------
 tools/patman/test_settings.py |  43 +++++++++++++++
 4 files changed, 115 insertions(+), 40 deletions(-)
 create mode 100644 tools/patman/test_settings.py


base-commit: 9bd3d354a1a0712ac27c717df9ad60566b0406ee
prerequisite-patch-id: 10ced6811f0468ea30ab793f3d33a43416dc148c
prerequisite-patch-id: d841542388f09c77a7b22bc7b94d72628408fd7f
prerequisite-patch-id: 414fe8a358404113a0926217fcd75150d1aabaf6
prerequisite-patch-id: 59f0b30f075c78657a17cbbb75af471e37580bdb
prerequisite-patch-id: c7a9c4f2bd34df9da0f173c61fa40bf2f89b6929
prerequisite-patch-id: bd190cf8b6da6e8b20125f957c44cc7f7ea5dd5b
prerequisite-patch-id: 26558d3671f2a854303a959f738dfb67b25f7109
prerequisite-patch-id: 19f2332545f2c338004b1728e5cb15cce32656c0
-- 
2.38.1



More information about the U-Boot mailing list