'release.py write-changelog --include-unlabeled-summaries' generates
CHANGES text from 'svn mergeinfo' output on the stable branch. For
merge revisions (such as those committed by svn-role), it currently
picks the first line of the log message, e.g., "Merge r1842260 from
trunk:".
It should instead do two things: one, fetch the log message of the
mentioned revision(s) (r1842260) and pass it through the existing
"Extract CHANGES summary" logic; two, parse the STATUS entry embedded in
the log message, as in the attached example. The script could do either
or these, or even do both and let the RM combine the two versions.
Any volunteers to implement this?
Cheers,
Daniel
[[[
% cd tools/dist
% cat ./foo
------------------------------------------------------------------------
r1842626 | danielsh | 2018-10-02 14:42:00 +0000 (Tue, 02 Oct 2018) | 9 lines
Merge r1842260 from trunk:
* r1842260
Use the current python executable for launching tests from run_tests.py.
Justification:
Attempt to fix 1.10.x tests on the macOS build slave.
Votes:
+1: brane, rhuijben, danielsh
------------------------------------------------------------------------
% python3
>>> import backport.status
>>> log = open('./foo').read()
>>> backport.status.StatusEntry(log.split('\n\n')[2]).logsummarysummary()
'Use the current python executable for launching tests from run_tests.py.'
>>>
]]]
Received on 2018-10-05 16:29:46 CEST