[U-Boot] [PATCH v2 0/5] tools: patman: Fixes to improve handling of various wrong usage

Bin Meng bmeng.cn at gmail.com
Mon Jun 27 08:24:27 CEST 2016


This fixes several issues when abnormal tags are given to patman.
For example, when we forget to put an 'END' after 'Cover-letter',
patman does not handle such cases very well. This adds several
additional checking to let patman be a little more tolerant on
handling such exceptional paths.

This series is available at u-boot-x86/patman-working for testing.

Changes in v2:
- New patch to use cover_match for 'Cover-letter'
- Update commit message to explain when such scenario is hit
- Add cover_match to the test logic
- Generate warning for missing 'END' case
- Update commit message to explain when such case is hit
- Reset in_section, skip_blank and section variables too
- Geneate warning when blank line is not found in 'Series-changes'
- New patch to handle missing 'END' in non-last commit of a series

Bin Meng (5):
  tools: patman: Use cover_match for 'Cover-letter'
  tools: patman: Handle tag sections without an 'END'
  tools: patman: Generate cover letter correctly when 'END' is missing
  tools: patman: Handle missing blank line for 'Series-changes'
  tools: patman: Handle missing 'END' in non-last commit of a series

 tools/patman/patchstream.py | 38 +++++++++++++++++++++++++++++++++++++-
 1 file changed, 37 insertions(+), 1 deletion(-)

-- 
2.7.4



More information about the U-Boot mailing list