commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bay...@apache.org
Subject svn commit: r477965 - /jakarta/commons/proper/commons-nightly/trunk/jira-email.vm
Date Tue, 21 Nov 2006 23:42:56 GMT
Author: bayard
Date: Tue Nov 21 15:42:56 2006
New Revision: 477965

URL: http://svn.apache.org/viewvc?view=rev&rev=477965
Log:
Keeping this in a safe place - core of a swizzle script to send us nice pretty emails each
week with jira summaries

Added:
    jakarta/commons/proper/commons-nightly/trunk/jira-email.vm   (with props)

Added: 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=auto&rev=477965
==============================================================================
--- jakarta/commons/proper/commons-nightly/trunk/jira-email.vm (added)
+++ jakarta/commons/proper/commons-nightly/trunk/jira-email.vm Tue Nov 21 15:42:56 2006
@@ -0,0 +1,32 @@
+## 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 )
+##
+#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 )
+##
+#set( $project.attributes.issues = $issues )
+#set( $project.attributes.totalUnscheduled = $issues.size() )
+##
+#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
+ 
+#end

Propchange: jakarta/commons/proper/commons-nightly/trunk/jira-email.vm
------------------------------------------------------------------------------
    svn:eol-style = native



---------------------------------------------------------------------
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