You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by jt...@apache.org on 2006/11/27 21:02:04 UTC
svn commit: r479744 - in /maven/sandbox/reports: all-plugin-votes.bat
all-plugin-votes.vm war-plugin-resolved.bat war-plugin-resolved.vm
war-plugin-votes.bat war-plugin-votes.vm
Author: jtolentino
Date: Mon Nov 27 12:02:03 2006
New Revision: 479744
URL: http://svn.apache.org/viewvc?view=rev&rev=479744
Log:
Better layout of reports and handling of nested xml tags in issue summary.
Modified:
maven/sandbox/reports/all-plugin-votes.bat
maven/sandbox/reports/all-plugin-votes.vm
maven/sandbox/reports/war-plugin-resolved.bat
maven/sandbox/reports/war-plugin-resolved.vm
maven/sandbox/reports/war-plugin-votes.bat
maven/sandbox/reports/war-plugin-votes.vm
Modified: maven/sandbox/reports/all-plugin-votes.bat
URL: http://svn.apache.org/viewvc/maven/sandbox/reports/all-plugin-votes.bat?view=diff&rev=479744&r1=479743&r2=479744
==============================================================================
--- maven/sandbox/reports/all-plugin-votes.bat (original)
+++ maven/sandbox/reports/all-plugin-votes.bat Mon Nov 27 12:02:03 2006
@@ -1 +1,2 @@
-java -jar swizzle-jirareport-1.2.1-SNAPSHOT-dep.jar all-plugin-votes.vm
\ No newline at end of file
+@echo This will take a few minutes--literally! It takes a bit of time to filter data from jira.
+@java -jar swizzle-jirareport-1.2.1-SNAPSHOT-dep.jar all-plugin-votes.vm > all-plugin-votes.xml
\ No newline at end of file
Modified: maven/sandbox/reports/all-plugin-votes.vm
URL: http://svn.apache.org/viewvc/maven/sandbox/reports/all-plugin-votes.vm?view=diff&rev=479744&r1=479743&r2=479744
==============================================================================
--- maven/sandbox/reports/all-plugin-votes.vm (original)
+++ maven/sandbox/reports/all-plugin-votes.vm Mon Nov 27 12:02:03 2006
@@ -1,7 +1,13 @@
#set( $jira = $xmlrpc.connect("swizzletester:swizzle","http://jira.codehaus.org/rpc/xmlrpc") )
#set( $projects = $jira.getProjects().matches("name", "Maven 2.*Plugin") )
-
-
+<?xml version="1.0"?>
+<document>
+ <properties>
+ <title>Maven War Plugin Votes</title>
+ <author email="jason@maven.org">Jason van Zyl</author>
+ <author email="jtolentino@apache.org">John Tolentino</author>
+ </properties>
+ <body>
#foreach( $project in $projects )
#set( $url = "http://jira.codehaus.org/secure/IssueNavigator.jspa?view=rss&&pid=${project.id}&status=1&sorter/field=issuekey&sorter/order=DESC&tempMax=100&reset=true&decorator=none" )
#set( $jirarss = $rss.fetch( $url ) )
@@ -9,12 +15,21 @@
## keep the issues in case you want them later
#set( $project.attributes.issues = $jirarss.issues )
#end
-
#foreach( $project in $projects.descending("@totalVotes") )
- $project.attributes.totalVotes $project.name
+ <section name="$project.name ($project.attributes.totalVotes Votes)">
+ <table>
+ <tr>
+ <th>Votes</th>
+ <th>Issue Summary</th>
+ </tr>
#foreach( $issue in $project.attributes.issues.descending("votes") )
- ($issue.votes) $issue.key $issue.summary
+ <tr>
+ <td>$issue.votes</td>
+ <td><![CDATA[$issue.summary]]></td>
+ </tr>
#end
-
+ </table>
+ </section>
#end
-
+ </body>
+</document>
Modified: maven/sandbox/reports/war-plugin-resolved.bat
URL: http://svn.apache.org/viewvc/maven/sandbox/reports/war-plugin-resolved.bat?view=diff&rev=479744&r1=479743&r2=479744
==============================================================================
--- maven/sandbox/reports/war-plugin-resolved.bat (original)
+++ maven/sandbox/reports/war-plugin-resolved.bat Mon Nov 27 12:02:03 2006
@@ -1 +1 @@
-java -jar swizzle-jirareport-1.2.1-SNAPSHOT-dep.jar war-plugin-resolved.vm
\ No newline at end of file
+@java -jar swizzle-jirareport-1.2.1-SNAPSHOT-dep.jar war-plugin-resolved.vm > war-plugin-resolved.xml
\ No newline at end of file
Modified: maven/sandbox/reports/war-plugin-resolved.vm
URL: http://svn.apache.org/viewvc/maven/sandbox/reports/war-plugin-resolved.vm?view=diff&rev=479744&r1=479743&r2=479744
==============================================================================
--- maven/sandbox/reports/war-plugin-resolved.vm (original)
+++ maven/sandbox/reports/war-plugin-resolved.vm Mon Nov 27 12:02:03 2006
@@ -5,18 +5,20 @@
#set( $version = $jira.getVersion( $project, $projectVersion) )
#set( $url = "http://jira.codehaus.org/secure/IssueNavigator.jspa?view=rss&&pid=${project.id}&fixfor=${version.id}&tempMax=500&reset=true&decorator=none" )
#set( $issues = $rss.fetch($url).issues )
-
-<?xml version="1.0" encoding="ISO-8859-1"?>
+<?xml version="1.0"?>
<document>
+ <properties>
+ <title>Maven War Plugin Resolved Issues</title>
+ <author email="jason@maven.org">Jason van Zyl</author>
+ <author email="jtolentino@apache.org">John Tolentino</author>
+ </properties>
<body>
<section name="Issues Resolved for $project.name [$projectVersion]">
- <table>
#foreach( $issue in $issues.sort("id").sort("priority") )
- <tr>
- <td>[$issue.key] $issue.summary</td>
- </tr>
+ <ul>
+ <li>[$issue.key] <![CDATA[$issue.summary]]></li>
+ </ul>
#end
- </table>
</section>
</body>
</document>
Modified: maven/sandbox/reports/war-plugin-votes.bat
URL: http://svn.apache.org/viewvc/maven/sandbox/reports/war-plugin-votes.bat?view=diff&rev=479744&r1=479743&r2=479744
==============================================================================
--- maven/sandbox/reports/war-plugin-votes.bat (original)
+++ maven/sandbox/reports/war-plugin-votes.bat Mon Nov 27 12:02:03 2006
@@ -1 +1 @@
-java -jar swizzle-jirareport-1.2.1-SNAPSHOT-dep.jar war-plugin-votes.vm
\ No newline at end of file
+@java -jar swizzle-jirareport-1.2.1-SNAPSHOT-dep.jar war-plugin-votes.vm > war-plugin-votes.xml
\ No newline at end of file
Modified: maven/sandbox/reports/war-plugin-votes.vm
URL: http://svn.apache.org/viewvc/maven/sandbox/reports/war-plugin-votes.vm?view=diff&rev=479744&r1=479743&r2=479744
==============================================================================
--- maven/sandbox/reports/war-plugin-votes.vm (original)
+++ maven/sandbox/reports/war-plugin-votes.vm Mon Nov 27 12:02:03 2006
@@ -1,15 +1,14 @@
#set( $jira = $xmlrpc.connect("swizzletester:swizzle","http://jira.codehaus.org/rpc/xmlrpc") )
#set( $projects = $jira.getProjects().matches("key", "MWAR") )
-
-
+<?xml version="1.0"?>
<document>
<properties>
- <title>Articles on Maven</title>
+ <title>Maven War Plugin Votes</title>
<author email="jason@maven.org">Jason van Zyl</author>
<author email="jtolentino@apache.org">John Tolentino</author>
</properties>
<body>
- <section name="Plugins">
+ <section name="Issue Tracking Votes">
#foreach( $project in $projects )
#set( $url = "http://jira.codehaus.org/secure/IssueNavigator.jspa?view=rss&&pid=${project.id}&status=1&sorter/field=issuekey&sorter/order=DESC&tempMax=100&reset=true&decorator=none" )
#set( $jirarss = $rss.fetch( $url ) )
@@ -17,8 +16,6 @@
## keep the issues in case you want them later
#set( $project.attributes.issues = $jirarss.issues )
#end
-
-
#foreach( $project in $projects.descending("@totalVotes") )
<table>
<tr>
@@ -28,12 +25,11 @@
#foreach( $issue in $project.attributes.issues.descending("votes") )
<tr>
<td>$issue.votes</td>
- <td>$issue.summary</td>
+ <td><![CDATA[$issue.summary]]></td>
</tr>
#end
</table>
#end
-
</section>
</body>
</document>