]> source.dussan.org Git - vaadin-framework.git/commitdiff
Improve build and publish reports
authorJohannes Dahlström <johannesd@vaadin.com>
Fri, 28 Aug 2015 13:03:11 +0000 (16:03 +0300)
committerHenri Sara <hesara@vaadin.com>
Mon, 31 Aug 2015 13:51:49 +0000 (16:51 +0300)
- 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

scripts/GenerateBuildReport.py
scripts/GeneratePublishReport.py

index 13438f2233bce81abf47bf63a9722e276a228f97..eafdb39430cc1b784e01679e14dd8d29d11bd8e0 100644 (file)
@@ -15,6 +15,7 @@ content = """<html>
 <body>
 <table>
 <tr><td><a href="https://dev.vaadin.com/milestone?action=new">Create milestone for next release</a></td></tr>
+<tr><td><a href="https://dev.vaadin.com/query?status=closed&component=Core+Framework&resolution=fixed&milestone=!Vaadin {version}&col=id&col=summary&col=component&col=status&col=type&col=priority&col=milestone&order=priority">Closed fixed tickets without milestone {version}</a></td></tr>
 <tr><td><a href="https://dev.vaadin.com/query?status=closed&component=Core+Framework&resolution=fixed&milestone=Vaadin {version}&col=id&col=summary&col=component&col=milestone&col=status&col=type">Closed tickets with milestone {version}</a></td></tr>
 <tr><td><a href="https://dev.vaadin.com/query?status=pending-release&component=Core+Framework&resolution=fixed&milestone=Vaadin {version}&col=id&col=summary&col=component&col=milestone&col=status&col=type">Pending-release tickets with milestone {version}</a></td></tr>
 <tr><td><a href="https://dev.vaadin.com/query?status=pending-release&milestone=">Pending-release tickets without milestone</a></td></tr>
@@ -24,8 +25,8 @@ content = """<html>
 
 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 += "<tr><td>Empty @since:<br>\n<pre>%s</pre></td></tr>\n" % (missing)
 except subprocess.CalledProcessError as e:
        if e.returncode == 1:
index 274203e5cf786b33a789e6e3c9f66d338a85bec7..6cd0791f24405e0d261741eef9720b08d02d776a 100644 (file)
@@ -30,8 +30,11 @@ content = """<html>
 
 if not prerelease:
        content += "<tr><td><a href='http://vaadin.com/download/release/{maj}.{min}/{ver}/'>Check {ver} is published to vaadin.com/download</td></tr>".format(maj=major, min=minor, ver=args.version)
+       content += "<tr><td><a href='http://repo1.maven.org/maven2/com/vaadin/vaadin-server/{ver}'>Check {ver} is published to maven.org (might take a while)</td></tr>".format(ver=args.version)
 else:
        content += "<tr><td><a href='http://vaadin.com/download/prerelease/{maj}.{min}/{maj}.{min}.{main}/{ver}'>Check {ver} is published as prerelease to vaadin.com/download</td></tr>".format(maj=major, min=minor, main=maintenance, ver=args.version)
+       content += "<tr><td><a href='http://maven.vaadin.com/vaadin-prereleases/com/vaadin/vaadin-server/{ver}'>Check {ver} is published as prerelease to maven.vaadin.com</td></tr>".format(ver=args.version)
+
 
 content += """
 <tr><td>Verify Latest Vaadin 7: <iframe src="http://vaadin.com/download/LATEST7"></iframe></td></tr>