From 1dfb66c537774bdf566b1bbc129fdf0e22d731a9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Johannes=20Dahlstr=C3=B6m?= Date: Fri, 28 Aug 2015 16:03:11 +0300 Subject: [PATCH] Improve build and publish reports - Add link to closed fixed but not released/pending tickets - Ignore empty @since in /result/ paths - Add link to public Maven repository Change-Id: Ib5d967838b47c0f9505219a0304b860a03ef43ee --- scripts/GenerateBuildReport.py | 5 +++-- scripts/GeneratePublishReport.py | 3 +++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/scripts/GenerateBuildReport.py b/scripts/GenerateBuildReport.py index 13438f2233..eafdb39430 100644 --- a/scripts/GenerateBuildReport.py +++ b/scripts/GenerateBuildReport.py @@ -15,6 +15,7 @@ content = """ + @@ -24,8 +25,8 @@ content = """ try: p1 = subprocess.Popen(['find', '.', '-name', '*.java'], stdout=subprocess.PIPE) - p2 = subprocess.Popen(['xargs', 'egrep', '@since ?$'], stdin=p1.stdout, stdout=subprocess.PIPE) - missing = subprocess.check_output(['grep', '-v', 'tests'], stdin=p2.stdout) + p2 = subprocess.Popen(['xargs', 'egrep', '-n', '@since ?$'], stdin=p1.stdout, stdout=subprocess.PIPE) + missing = subprocess.check_output(['egrep', '-v', '/(tests|result)/'], stdin=p2.stdout) content += "\n" % (missing) except subprocess.CalledProcessError as e: if e.returncode == 1: diff --git a/scripts/GeneratePublishReport.py b/scripts/GeneratePublishReport.py index 274203e5cf..6cd0791f24 100644 --- a/scripts/GeneratePublishReport.py +++ b/scripts/GeneratePublishReport.py @@ -30,8 +30,11 @@ content = """ if not prerelease: content += "".format(maj=major, min=minor, ver=args.version) + content += "".format(ver=args.version) else: content += "".format(maj=major, min=minor, main=maintenance, ver=args.version) + content += "".format(ver=args.version) + content += """ -- 2.39.5
Create milestone for next release
Closed fixed tickets without milestone {version}
Closed tickets with milestone {version}
Pending-release tickets with milestone {version}
Pending-release tickets without milestone
Empty @since:
\n
%s
Check {ver} is published to vaadin.com/download
Check {ver} is published to maven.org (might take a while)
Check {ver} is published as prerelease to vaadin.com/download
Check {ver} is published as prerelease to maven.vaadin.com
Verify Latest Vaadin 7: