From: Johannes Dahlström Date: Fri, 28 Aug 2015 13:03:11 +0000 (+0300) Subject: Improve build and publish reports X-Git-Tag: 7.5.5~8 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=07af94934e89f17260f6be97bc7536e9246fd5fd;p=vaadin-framework.git 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: I885a5764901bfa063fd3332121d54077049ddd35 --- 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 += """
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: