You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by db...@apache.org on 2011/07/17 22:30:20 UTC
svn commit: r1147710 - in /openejb/trunk/sandbox/jirareports: cron.txt
jira_report.sh swizzle-jirareport-1.2.2-SNAPSHOT-dep.jar
Author: dblevins
Date: Sun Jul 17 20:30:19 2011
New Revision: 1147710
URL: http://svn.apache.org/viewvc?rev=1147710&view=rev
Log:
basic setup for jira reports
Added:
openejb/trunk/sandbox/jirareports/cron.txt
openejb/trunk/sandbox/jirareports/jira_report.sh (with props)
openejb/trunk/sandbox/jirareports/swizzle-jirareport-1.2.2-SNAPSHOT-dep.jar (with props)
Added: openejb/trunk/sandbox/jirareports/cron.txt
URL: http://svn.apache.org/viewvc/openejb/trunk/sandbox/jirareports/cron.txt?rev=1147710&view=auto
==============================================================================
--- openejb/trunk/sandbox/jirareports/cron.txt (added)
+++ openejb/trunk/sandbox/jirareports/cron.txt Sun Jul 17 20:30:19 2011
@@ -0,0 +1,13 @@
+# examples of how it was setup in cron
+02 8 * * 1 $HOME/bin/jira_report.sh attachments.vm 12310530 OpenEJB commits@openejb.apache.org
+14 8 * * 1 $HOME/bin/jira_report.sh attachments.vm 12310511 CXF issues@cxf.apache.org
+04 8 * * 1 $HOME/bin/jira_report.sh opened.vm 12310530 OpenEJB commits@openejb.apache.org
+06 8 * * 5 $HOME/bin/jira_report.sh closed.vm 12310530 OpenEJB commits@openejb.apache.org
+05 8 * * 1 $HOME/bin/jira_report.sh opened.vm 10000 Cayenne commits@cayenne.apache.org cayenne
+07 8 * * 1 $HOME/bin/jira_report.sh closed.vm 10000 Cayenne commits@cayenne.apache.org cayenne
+04 8 1,15 * * $HOME/bin/jira_report.sh votes.vm 10000 Cayenne commits@cayenne.apache.org cayenne
+08 8 * * 1 $HOME/bin/jira_report.sh opened.vm 10030 Struts2 commits@struts.apache.org struts
+12 8 * * 5 $HOME/bin/jira_report.sh closed.vm 10030 Struts2 commits@struts.apache.org struts
+10 8 * * 1 $HOME/bin/jira_report.sh opened.vm 10130 Shale commits@shale.apache.org struts
+14 8 * * 5 $HOME/bin/jira_report.sh closed.vm 10130 Shale commits@shale.apache.org struts
+
Added: openejb/trunk/sandbox/jirareports/jira_report.sh
URL: http://svn.apache.org/viewvc/openejb/trunk/sandbox/jirareports/jira_report.sh?rev=1147710&view=auto
==============================================================================
--- openejb/trunk/sandbox/jirareports/jira_report.sh (added)
+++ openejb/trunk/sandbox/jirareports/jira_report.sh Sun Jul 17 20:30:19 2011
@@ -0,0 +1,19 @@
+#!/usr/local/bin/bash
+
+java=/usr/local/bin/java
+swizzle=$HOME/swizzle-jirareport-1.2.2-SNAPSHOT-dep.jar
+
+template=${1?Specify a template name}
+id=${2?Specify the numeric id of the project}
+name=${3?Specify the name of the project}
+to=${4?Specify the address to where the report should be sent}
+url=${5:-jira}
+
+$java -jar $swizzle $1 \
+ -DserverUrl=https://issues.apache.org/$url/ \
+ -DprojectId=$id -DprojectName=$name \
+ -Demail=true \
+ -Dfrom=dblevins@apache.org \
+ -Dto=$to \
+ -Dusername=jirareport \
+ -Dpassword=ampad | /usr/sbin/sendmail -it
Propchange: openejb/trunk/sandbox/jirareports/jira_report.sh
------------------------------------------------------------------------------
svn:executable = *
Added: openejb/trunk/sandbox/jirareports/swizzle-jirareport-1.2.2-SNAPSHOT-dep.jar
URL: http://svn.apache.org/viewvc/openejb/trunk/sandbox/jirareports/swizzle-jirareport-1.2.2-SNAPSHOT-dep.jar?rev=1147710&view=auto
==============================================================================
Binary file - no diff available.
Propchange: openejb/trunk/sandbox/jirareports/swizzle-jirareport-1.2.2-SNAPSHOT-dep.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream