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/06 20:16:39 UTC
svn commit: r440816 - /maven/reports/plugin-votes.vm
Author: jvanzyl
Date: Wed Sep 6 11:16:39 2006
New Revision: 440816
URL: http://svn.apache.org/viewvc?view=rev&rev=440816
Log:
o use new swizzle stuff to tally votes and rank
Modified:
maven/reports/plugin-votes.vm
Modified: maven/reports/plugin-votes.vm
URL: http://svn.apache.org/viewvc/maven/reports/plugin-votes.vm?view=diff&rev=440816&r1=440815&r2=440816
==============================================================================
--- maven/reports/plugin-votes.vm (original)
+++ maven/reports/plugin-votes.vm Wed Sep 6 11:16:39 2006
@@ -1,11 +1,19 @@
#set( $jira = $xmlrpc.connect("swizzletester:swizzle","http://jira.codehaus.org/rpc/xmlrpc") )
+#set( $projects = $jira.getProjects().matches("name", "Maven 2.*Plugin") )
-#foreach( $project in $jira.getProjects().matches("name", "Maven 2.*Plugin") )
-$project.name
+
+#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 ))
-#foreach ( $issue in $jirarss.issues.greater("votes", "0").descending("votes") )
- - $issue.votes $issue.key $issue.summary
+#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") )
+ $project.attributes.totalVotes $project.name
+#foreach( $issue in $project.attributes.issues.descending("votes") )
+ ($issue.votes) $issue.summary
#end
#end
Re: svn commit: r440816 - /maven/reports/plugin-votes.vm
Posted by Jason van Zyl <ja...@maven.org>.
On 6 Sep 06, at 3:21 PM 6 Sep 06, Wendy Smoak wrote:
> On 9/6/06, jvanzyl@apache.org <jv...@apache.org> wrote:
>> Author: jvanzyl
>> Date: Wed Sep 6 11:16:39 2006
>> New Revision: 440816
>>
>> URL: http://svn.apache.org/viewvc?view=rev&rev=440816
>> Log:
>> o use new swizzle stuff to tally votes and rank
>>
>> Modified:
>> maven/reports/plugin-votes.vm
>
> Can you please drop a README into this directory with information on
> what Swizzle is, where to find more details, and how to use this file
> to produce a report?
>
Sure. Right now it's really for me to produce some reports to post.
But David made some changes in Swizzle so I can make a little Maven
plugin.
> Like many things in Maven, if you weren't around for the initial
> discussion, it can be hard to pick up something that looks interesting
> and figure out what to do with it.
>
This may culminate into a general issue tracking system reporting
tool. There are a few people working in this space right now but the
goal in the short term is to be able to see what plugins and what
particular issues users want to see fixed.
> Okay, it didn't take *that* long to find
> http://docs.codehaus.org/display/SWIZZLE/Home and put two and two
> together, but some hints would be nice. :)
>
> Thanks,
> --
> Wendy
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>
Jason van Zyl
jason@maven.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: svn commit: r440816 - /maven/reports/plugin-votes.vm
Posted by Wendy Smoak <ws...@gmail.com>.
On 9/6/06, jvanzyl@apache.org <jv...@apache.org> wrote:
> Author: jvanzyl
> Date: Wed Sep 6 11:16:39 2006
> New Revision: 440816
>
> URL: http://svn.apache.org/viewvc?view=rev&rev=440816
> Log:
> o use new swizzle stuff to tally votes and rank
>
> Modified:
> maven/reports/plugin-votes.vm
Can you please drop a README into this directory with information on
what Swizzle is, where to find more details, and how to use this file
to produce a report?
Like many things in Maven, if you weren't around for the initial
discussion, it can be hard to pick up something that looks interesting
and figure out what to do with it.
Okay, it didn't take *that* long to find
http://docs.codehaus.org/display/SWIZZLE/Home and put two and two
together, but some hints would be nice. :)
Thanks,
--
Wendy
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org