You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by jv...@apache.org on 2006/09/07 04:03:33 UTC
svn commit: r440942 - in /maven/sandbox/reports: ./ plugin-votes.vm run.sh
swizzle-jirareport-1.0.1-SNAPSHOT-nodep.jar
Author: jvanzyl
Date: Wed Sep 6 19:03:32 2006
New Revision: 440942
URL: http://svn.apache.org/viewvc?view=rev&rev=440942
Log: (empty)
Added:
maven/sandbox/reports/
maven/sandbox/reports/plugin-votes.vm
maven/sandbox/reports/run.sh (with props)
maven/sandbox/reports/swizzle-jirareport-1.0.1-SNAPSHOT-nodep.jar (with props)
Added: maven/sandbox/reports/plugin-votes.vm
URL: http://svn.apache.org/viewvc/maven/sandbox/reports/plugin-votes.vm?view=auto&rev=440942
==============================================================================
--- maven/sandbox/reports/plugin-votes.vm (added)
+++ maven/sandbox/reports/plugin-votes.vm Wed Sep 6 19:03:32 2006
@@ -0,0 +1,38 @@
+#set( $jira = $xmlrpc.connect("swizzletester:swizzle","http://jira.codehaus.org/rpc/xmlrpc") )
+#set( $projects = $jira.getProjects().matches("name", "Maven 2.*Plugin") )
+
+
+<document>
+ <properties>
+ <title>Articles on Maven</title>
+ <author email="jason@maven.org">Jason van Zyl</author>
+ </properties>
+ <body>
+ <section name="Plugins">
+#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 ) )
+#set( $project.attributes.totalVotes = $jirarss.issues.sum("votes") )
+## keep the issues in case you want them later
+#set( $project.attributes.issues = $jirarss.issues )
+#end
+
+
+#foreach( $project in $projects.descending("@totalVotes") )
+ <table>
+ <tr>
+ <td>$project.attributes.totalVotes</td>
+ <td>$project.name</td>
+ </tr>
+#foreach( $issue in $project.attributes.issues.descending("votes") )
+ <tr>
+ <td>$issue.votes</td>
+ <td>$issue.summary</td>
+ </tr>
+#end
+ </table>
+#end
+
+ </section>
+ </body>
+</document>
Added: maven/sandbox/reports/run.sh
URL: http://svn.apache.org/viewvc/maven/sandbox/reports/run.sh?view=auto&rev=440942
==============================================================================
--- maven/sandbox/reports/run.sh (added)
+++ maven/sandbox/reports/run.sh Wed Sep 6 19:03:32 2006
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+java -jar swizzle-jirareport-1.0.1-SNAPSHOT-nodep.jar plugin-votes.vm > plugin-votes.xml
Propchange: maven/sandbox/reports/run.sh
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/sandbox/reports/run.sh
------------------------------------------------------------------------------
svn:executable = *
Propchange: maven/sandbox/reports/run.sh
------------------------------------------------------------------------------
svn:keywords = "Author Date Id Revision"
Added: maven/sandbox/reports/swizzle-jirareport-1.0.1-SNAPSHOT-nodep.jar
URL: http://svn.apache.org/viewvc/maven/sandbox/reports/swizzle-jirareport-1.0.1-SNAPSHOT-nodep.jar?view=auto&rev=440942
==============================================================================
Binary file - no diff available.
Propchange: maven/sandbox/reports/swizzle-jirareport-1.0.1-SNAPSHOT-nodep.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream