mbox series

[v4,0/4] patman: Add changelog customization options

Message ID 20200504202836.392240-1-seanga2@gmail.com
Headers show
Series patman: Add changelog customization options | expand

Message

Sean Anderson May 4, 2020, 8:28 p.m. UTC
This series adds a few changes I have been using locally as new tags for
patman. This series has itself been developed using these patches, and the
unprocessed commits can be viewed at [1].

[1] https://github.com/Forty-Bot/u-boot/tree/patman

Changes in v4:
- Document ParseVersion
- Fix need_blank not always reflecting the need for a blank
- Refactor newest_version logic
- Reorder commits so tests get added last

Changes in v3:
- Document empty changelog suppression in README
- Fix KeyError when running tests
- Fix some corner cases for no changes messages
- Modify tests for new behavior
- Update commit subjects

Changes in v2:
- Add a note when there are no changes in the current revision
- Add documentation for new tags
- Add patch for multi-line changes in changelogs
- Switch to using commit tags for changelog control, instead of
  command-line options

Sean Anderson (4):
  patman: Suppress empty changelog entries
  patman: Add new tags for finer-grained changelog control
  patman: Support multi-line changes in changelogs
  patman: Modify functional tests for new behavior

 tools/patman/README                           |  48 +++++++-
 tools/patman/func_test.py                     |  58 ++++++++--
 tools/patman/main.py                          |   2 +-
 tools/patman/patchstream.py                   | 104 ++++++++++++------
 tools/patman/series.py                        |  54 +++++++--
 .../0001-pci-Correct-cast-for-sandbox.patch   |   3 +
 ...-for-sandbox-in-fdtdec_setup_mem_siz.patch |  12 +-
 tools/patman/test/test01.txt                  |  15 ++-
 8 files changed, 241 insertions(+), 55 deletions(-)