mbox series

[v3,0/5] patman: Small fixes plus remove --no-tree from checkpatch for linux

Message ID 20220707152353.1854462-1-dianders@chromium.org
Headers show
Series patman: Small fixes plus remove --no-tree from checkpatch for linux | expand

Message

Douglas Anderson July 7, 2022, 3:23 p.m. UTC
The whole point of this series is really to make it so that when we're
using patman for sending Linux patches that we don't pass "--no-tree"
to checkpatch. While doing that, though, I found a number of bugs
including an explanation about why recent version of patman have been
yelling about "tags" when used with Linux even though Linux is
supposed to have "process_tags" defaulted to False.

Changes in v3:
- Rebased atop ("patman: Fix defaults not propagating to subparsers")

Changes in v2:
- Fix doc string for --ignore-bad-tags
- Make comment about parsing three times less nonsensical.

Douglas Anderson (5):
  patman: Fix implicit command inserting
  patman: Don't look at sys.argv when parsing settings
  patman: Make most bool arguments BooleanOptionalAction
  patman: By default don't pass "--no-tree" to checkpatch for linux
  patman: Take project defaults into account for --help

 tools/patman/checkpatch.py | 11 ++++--
 tools/patman/control.py    |  7 ++--
 tools/patman/main.py       | 77 ++++++++++++++++++++++----------------
 tools/patman/settings.py   |  5 ++-
 4 files changed, 58 insertions(+), 42 deletions(-)