All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v2 0/7] Various patman fixes
@ 2013-03-26 23:09 Simon Glass
  2013-03-26 23:09 ` [U-Boot] [PATCH v2 1/7] patman: Fix up checkpatch parsing to deal with 'CHECK' lines Simon Glass
                   ` (6 more replies)
  0 siblings, 7 replies; 12+ messages in thread
From: Simon Glass @ 2013-03-26 23:09 UTC (permalink / raw)
  To: u-boot

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(-)

-- 
1.8.1.3

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2013-04-02  0:06 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-26 23:09 [U-Boot] [PATCH v2 0/7] Various patman fixes Simon Glass
2013-03-26 23:09 ` [U-Boot] [PATCH v2 1/7] patman: Fix up checkpatch parsing to deal with 'CHECK' lines Simon Glass
2013-04-01 23:16   ` Doug Anderson
2013-03-26 23:09 ` [U-Boot] [PATCH v2 2/7] patman: Don't allow spaces in tags Simon Glass
2013-04-01 23:22   ` Doug Anderson
2013-03-26 23:09 ` [U-Boot] [PATCH v2 3/7] patman: Fix the comment in CheckTags to mention multiple tags Simon Glass
2013-03-26 23:09 ` [U-Boot] [PATCH v2 4/7] patman: Provide option to ignore bad aliases Simon Glass
2013-04-02  0:03   ` Doug Anderson
2013-03-26 23:09 ` [U-Boot] [PATCH v2 5/7] patman: Add -a option to refrain from test-applying the patches Simon Glass
2013-03-26 23:09 ` [U-Boot] [PATCH v2 6/7] patman: Add Series-process-log tag to sort/uniq change logs Simon Glass
2013-04-02  0:06   ` Doug Anderson
2013-03-26 23:09 ` [U-Boot] [PATCH v2 7/7] patman: Minor help message/README fixes Simon Glass

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.