[RFC PATCH 02/16] patman: Move main code out to a control module
Simon Glass
sjg at chromium.org
Sun Jul 19 22:49:51 CEST 2020
To make testing easier, move the code out from main into a separate
'control' module and split it into four parts: setup, preparing patches,
checking patches and emailing patches.
Add comments and fix a few code-style issues while we are here.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
tools/patman/checkpatch.py | 6 ++
tools/patman/control.py | 170 +++++++++++++++++++++++++++++++++++++
tools/patman/gitutil.py | 4 +-
tools/patman/main.py | 57 +------------
tools/patman/series.py | 2 +-
5 files changed, 182 insertions(+), 57 deletions(-)
create mode 100644 tools/patman/control.py
Applied to u-boot-dm
More information about the U-Boot
mailing list