From edf0c3ffb59d75c11e05bc722432dc554e275c72 Mon Sep 17 00:00:00 2001 From: Tobias Burnus Date: Mon, 21 Jun 2021 15:17:22 +0200 Subject: contrib/mklog.py: Improve PR handling Co-authored-by: Martin Sebor contrib/ChangeLog: * mklog.py (bugzilla_url): Fetch also component. (pr_filename_regex): New. (get_pr_titles): Update PR string with correct format and component. (generate_changelog): Take additional PRs; extract PR from the filename. (__main__): Add -b/--pr-numbers argument. * test_mklog.py (EXPECTED4): Update to expect a PR for the new file. --- contrib/test_mklog.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'contrib/test_mklog.py') diff --git a/contrib/test_mklog.py b/contrib/test_mklog.py index a0670dac119..f5e9ecd577c 100755 --- a/contrib/test_mklog.py +++ b/contrib/test_mklog.py @@ -240,6 +240,9 @@ index 4ad78c1f77b..6687b368038 100644 ''' EXPECTED4 = '''\ + + PR 50209 + gcc/ChangeLog: * ipa-icf.c: -- cgit v1.2.1