
Since checkpatch has changed in U-Boot, patman no longer detects errors properly. It seems like a good oppotunity to fix some of the bugs and annoying habits of patman that people have mentioned on the list.
If I have missed any bugs / problems in this sweep, please let me know.
Changes in v2: - Add comment about meaning of raise_on_error=False - Adjust to not allow any spaces in tags, change commit title - Remove 'ignore_errors' and just use 'raise_on_error' everywhere - Require sort, uniq tags to be comma-separated - Update code to remove match_count - Update commit message to add detail on what is changing - Update tests to check the 'checks' value, and add a new test - Use keyword args for raise_on_error - Use namedtuple to hold the return value from CheckPatch() function
Simon Glass (7): patman: Fix up checkpatch parsing to deal with 'CHECK' lines patman: Don't allow spaces in tags patman: Fix the comment in CheckTags to mention multiple tags patman: Provide option to ignore bad aliases patman: Add -a option to refrain from test-applying the patches patman: Add Series-process-log tag to sort/uniq change logs patman: Minor help message/README fixes
tools/patman/README | 11 ++++- tools/patman/checkpatch.py | 110 +++++++++++++++++++++++++++----------------- tools/patman/commit.py | 7 +-- tools/patman/gitutil.py | 65 ++++++++++++++++++-------- tools/patman/patchstream.py | 2 +- tools/patman/patman.py | 24 ++++++---- tools/patman/series.py | 19 ++++++-- tools/patman/test.py | 64 ++++++++++++++++++-------- 8 files changed, 203 insertions(+), 99 deletions(-)