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/GenerateBuildReport.py | |
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/GenerateBuildReport.py')
-rw-r--r-- | scripts/GenerateBuildReport.py | 5 |
1 files changed, 3 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: |