commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bay...@apache.org
Subject svn commit: r489549 - /jakarta/commons/proper/commons-nightly/trunk/jira-email.vm
Date Fri, 22 Dec 2006 02:14:05 GMT
Author: bayard
Date: Thu Dec 21 18:14:04 2006
New Revision: 489549

URL: http://svn.apache.org/viewvc?view=rev&rev=489549
Log:
Updated lots to provide more info - but only supports Lang currently (it's hardcoded in an
array of 1)]

Modified:
    jakarta/commons/proper/commons-nightly/trunk/jira-email.vm

Modified: jakarta/commons/proper/commons-nightly/trunk/jira-email.vm
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/commons-nightly/trunk/jira-email.vm?view=diff&rev=489549&r1=489548&r2=489549
==============================================================================
--- jakarta/commons/proper/commons-nightly/trunk/jira-email.vm (original)
+++ jakarta/commons/proper/commons-nightly/trunk/jira-email.vm Thu Dec 21 18:14:04 2006
@@ -1,5 +1,5 @@
 ## Aim: Report on JIRA issues that need attention, and provides a status of the components
-
+##
 ## Details:
 ##   Need to loop over a list of Commons component (not Sandbox or Dormant; and not any dormant/retired
ones that have their own jira)
 ##   Report on:
@@ -7,37 +7,44 @@
 ##     for each version: 
 ##       # of issues open and closed per version
 ##     List each unversioned issue
-
-
+##
+##
 ## A Jira Swizzle script from dblevins for pulling out information from the Commons JIRAs
on the 
 ## issues we've not made a decision on yet
-
+##
 #set( $void = $params.required( "username" , "[a-zA-Z0-9]+", "the username to be used for
XML-RPC authentication" ) )
 #set( $void = $params.required( "password" , "[a-zA-Z0-9]+", "the password to be used for
XML-RPC authentication" ) )
 #set( $void = $params.validate() )
 ##
 #set( $jira = $xmlrpc.connect("${username}:${password}","http://issues.apache.org/jira/rpc/xmlrpc")
)
-#set( $projects = $jira.getProjects().matches("name", "Commons.*") )
-#set( $projects = $projects.subtract($projects.equals("name", "Commons Sandbox")) )
 ##
-#foreach( $project in $projects )
+Commons JIRA Report
+
 ##
-#set( $url = "http://issues.apache.org/jira/secure/IssueNavigator.jspa?view=rss&&fixfor=-1&pid=${project.id}&resolution=-1&tempMax=500&reset=true&decorator=none"
)
-#set( $issues = $rss.fetch($url).issues )
+#foreach( $project in ["LANG"] )
+#set( $versions = $jira.getVersions($project) )
+#set( $versions = $versions.subtract($versions.equals("id", "-1")) )
+Commons $project
 ##
-#set( $project.attributes.issues = $issues )
-#set( $project.attributes.totalUnscheduled = $issues.size() )
+#foreach( $version in $versions )
 ##
+#if( ! $version.released )
+#set( $url = "http://issues.apache.org/jira/secure/IssueNavigator.jspa?view=rss&decorator=none&reset=true&pid=12310481&fixfor=${version.id}"
)
+#set( $issues = $rss.fetch($url).issues )
+#set( $unresolvedIssues = $issues.equals("resolution", "Unresolved") )
+#set( $resolvedIssues = $issues.subtract($unresolvedIssues) )
+#if( $issues.size() != 0 )
+  ${version} - ${resolvedIssues.size()} / ${issues.size()}
+#end
 #end
- 
- 
-Unscheduled
- 
-#foreach( $project in $projects.descending("@totalUnscheduled") )
-  $project.name: $project.attributes.totalUnscheduled unscheduled
- 
-#foreach( $issue in $project.attributes.issues )
-   - [$issue.key]  $issue.summary
 #end
- 
+##
+#set( $url = "http://issues.apache.org/jira/secure/IssueNavigator.jspa?view=rss&decorator=none&reset=true&pid=12310481&fixfor=-1"
)
+#set( $issues = $rss.fetch($url).issues )
+#set( $issues = $issues.equals("resolution", "Unresolved") )
+  Unversioned - ${issues.size()}
+#foreach( $issue in $issues )
+    [$issue.key]  $issue.summary
+#end
+
 #end



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message