diff options
author | Johannes Dahlström <johannesd@vaadin.com> | 2015-08-28 16:03:11 +0300 |
---|---|---|
committer | Johannes Dahlström <johannesd@vaadin.com> | 2015-08-28 16:05:18 +0300 |
commit | 1dfb66c537774bdf566b1bbc129fdf0e22d731a9 (patch) | |
tree | fdae2c69c5d2fd26213764c49c44cf423e001906 /scripts | |
parent | f256bdab90a7ee729ef6b3cc8cd82dac533df805 (diff) | |
download | vaadin-framework-1dfb66c537774bdf566b1bbc129fdf0e22d731a9.tar.gz vaadin-framework-1dfb66c537774bdf566b1bbc129fdf0e22d731a9.zip |
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
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/GenerateBuildReport.py | 5 | ||||
-rw-r--r-- | 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 = """<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: 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 = """<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> |