Author: jstrachan
Date: Tue Jun 6 12:20:43 2006
New Revision: 412197
URL: http://svn.apache.org/viewvc?rev=412197&view=rev
Log:
Added gbuild cron jobs
Added:
incubator/activemq/scripts/activemq-patches.sh (with props)
incubator/activemq/scripts/patches.xsl (with props)
Added: incubator/activemq/scripts/activemq-patches.sh
URL:
http://svn.apache.org/viewvc/incubator/activemq/scripts/activemq-patches.sh?rev=412197&view=auto
==============================================================================
--- incubator/activemq/scripts/activemq-patches.sh (added)
+++ incubator/activemq/scripts/activemq-patches.sh Tue Jun 6 12:20:43 2006
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+cd $(dirname $0)
+
+wget -q -O -
'http://issues.apache.org/activemq/secure/IssueNavigator.jspa?view=rss&&pid=10520&customfield_10121=Patch+Available&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 [email protected] \
+-stringparam from [EMAIL PROTECTED] \
+patches.xsl -
Propchange: incubator/activemq/scripts/activemq-patches.sh
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/activemq/scripts/activemq-patches.sh
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/activemq/scripts/activemq-patches.sh
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: incubator/activemq/scripts/patches.xsl
URL:
http://svn.apache.org/viewvc/incubator/activemq/scripts/patches.xsl?rev=412197&view=auto
==============================================================================
--- incubator/activemq/scripts/patches.xsl (added)
+++ incubator/activemq/scripts/patches.xsl Tue Jun 6 12:20:43 2006
@@ -0,0 +1,31 @@
+<?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: 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>
+<xsl:text>
+ </xsl:text><xsl:value-of select="updated"/> - <xsl:value-of select="key"/>
- <xsl:value-of select="summary"/><xsl:text>
+</xsl:text>
+
+</xsl:template>
+</xsl:stylesheet>
Propchange: incubator/activemq/scripts/patches.xsl
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/activemq/scripts/patches.xsl
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Propchange: incubator/activemq/scripts/patches.xsl
------------------------------------------------------------------------------
svn:mime-type = text/xml