You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by db...@apache.org on 2006/01/27 22:37:19 UTC

svn commit: r372992 - in /geronimo/gbuild/stan/jirareports: ./ closed.sh closed.xsl patches.sh patches.xsl

Author: dblevins
Date: Fri Jan 27 13:37:06 2006
New Revision: 372992

URL: http://svn.apache.org/viewcvs?rev=372992&view=rev
Log:
Want to get these in before they are lost forever

Added:
    geronimo/gbuild/stan/jirareports/
    geronimo/gbuild/stan/jirareports/closed.sh   (with props)
    geronimo/gbuild/stan/jirareports/closed.xsl
    geronimo/gbuild/stan/jirareports/patches.sh   (with props)
    geronimo/gbuild/stan/jirareports/patches.xsl

Added: geronimo/gbuild/stan/jirareports/closed.sh
URL: http://svn.apache.org/viewcvs/geronimo/gbuild/stan/jirareports/closed.sh?rev=372992&view=auto
==============================================================================
--- geronimo/gbuild/stan/jirareports/closed.sh (added)
+++ geronimo/gbuild/stan/jirareports/closed.sh Fri Jan 27 13:37:06 2006
@@ -0,0 +1,25 @@
+#!/bin/bash
+
+ITEMS='http://issues.apache.org/jira/secure/IssueNavigator.jspa?view=rss&pid=10220&'
+
+function params {
+tr '\n' '&' <<PARAMS
+updatedPrevious=604800000
+statusIds=5
+statusIds=6
+sorter/field=updated
+sorter/order=DESC
+tempMax=25
+reset=true
+decorator=none
+PARAMS
+}
+
+PARAMS=$(params)
+
+wget -q -O - "$ITEMS$PARAMS" |
+xsltproc \
+-stringparam date "$(date +'%m-%d-%Y')" \
+-stringparam to dev@geronimo.apache.org \
+-stringparam from $USER@stan.gbuild.org \
+closed.xsl -
\ No newline at end of file

Propchange: geronimo/gbuild/stan/jirareports/closed.sh
------------------------------------------------------------------------------
    svn:executable = *

Added: geronimo/gbuild/stan/jirareports/closed.xsl
URL: http://svn.apache.org/viewcvs/geronimo/gbuild/stan/jirareports/closed.xsl?rev=372992&view=auto
==============================================================================
--- geronimo/gbuild/stan/jirareports/closed.xsl (added)
+++ geronimo/gbuild/stan/jirareports/closed.xsl Fri Jan 27 13:37:06 2006
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+
+<xsl:output method="text"/>
+
+<xsl:template match="/">To: <xsl:value-of select="$to"/>
+From: <xsl:value-of select="$from"/>
+Subject: [jira] Closed: week of <xsl:value-of select="$date"/>
+
+Project: Apache Geronimo
+Status: Resolved, Closed (<xsl:value-of select="count(//item)"/> items)
+Updated In Last: Week (7 days)
+<xsl:apply-templates select="//item[type='New Feature']" />
+<xsl:apply-templates select="//item[type='Bug']" />
+<xsl:apply-templates select="//item[type='Improvement']" />
+<xsl:apply-templates select="//item[type='Task']" />
+<xsl:apply-templates select="//item[type='Wish']" />
+
+</xsl:template>	
+
+<xsl:template match="item"><xsl:if test="position() = 1">
+
+** <xsl:value-of select="type"/>
+<xsl:text>
+</xsl:text>
+</xsl:if>
+ * [<xsl:value-of select="key"/>]  <xsl:value-of select="summary"/> 
+
+</xsl:template> 
+</xsl:stylesheet>

Added: geronimo/gbuild/stan/jirareports/patches.sh
URL: http://svn.apache.org/viewcvs/geronimo/gbuild/stan/jirareports/patches.sh?rev=372992&view=auto
==============================================================================
--- geronimo/gbuild/stan/jirareports/patches.sh (added)
+++ geronimo/gbuild/stan/jirareports/patches.sh Fri Jan 27 13:37:06 2006
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+wget -O - 'http://issues.apache.org/jira/secure/IssueNavigator.jspa?view=rss&&customfield_12310041=Patch+Available&pid=10220&resolution=-1&assigneeSelect=unassigned&sorter/field=updated&sorter/order=ASC&tempMax=25&reset=true&decorator=none' |
+perl -pe 's/(<updated>).....?(.[0-9]+) (...) (200.).*(<\/updated>)/$1$3 $2 $4$5/' |
+xsltproc \
+-stringparam date "$(date +'%m-%d-%Y')" \
+-stringparam to dev@geronimo.apache.org \
+-stringparam from $USER@stan.gbuild.org \
+patches.xsl -
\ No newline at end of file

Propchange: geronimo/gbuild/stan/jirareports/patches.sh
------------------------------------------------------------------------------
    svn:executable = *

Added: geronimo/gbuild/stan/jirareports/patches.xsl
URL: http://svn.apache.org/viewcvs/geronimo/gbuild/stan/jirareports/patches.xsl?rev=372992&view=auto
==============================================================================
--- geronimo/gbuild/stan/jirareports/patches.xsl (added)
+++ geronimo/gbuild/stan/jirareports/patches.xsl Fri Jan 27 13:37:06 2006
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+
+<xsl:output method="text"/>
+
+<xsl:template match="/">To: <xsl:value-of select="$to"/>
+From: <xsl:value-of select="$from"/>
+Subject: [jira] Unassigned Patches: week of <xsl:value-of select="$date"/>
+
+Project: Apache Geronimo
+Status: Open
+Assignee: Unassigned
+Geronimo Info: Patch Available
+
+Total: <xsl:value-of select="count(//item)"/> items
+
+<xsl:apply-templates select="//item" />
+
+</xsl:template>	
+
+<xsl:template match="item"><xsl:if test="position() = 1">
+
+
+<xsl:text>  DATE UPDATED   KEY              SUMMARY</xsl:text>
+</xsl:if>
+&#160;<xsl:value-of select="updated"/>  - <xsl:value-of select="key"/>  - <xsl:value-of select="summary"/> 
+
+</xsl:template> 
+</xsl:stylesheet>