summaryrefslogtreecommitdiff
path: root/BitKeeper/triggers/ciabot_bk.sh
diff options
context:
space:
mode:
authornslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net>2005-01-06 20:40:07 +0000
committernslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net>2005-01-06 20:40:07 +0000
commit857f7f2f6466a0db36a663cd542779bbacd892ed (patch)
tree189ef874fd9bf4594b4c07e02ec9151a99a510ae /BitKeeper/triggers/ciabot_bk.sh
parent5e49eb31580e6b9374f9a0ad00df69f31a727077 (diff)
Merge bk://oe-devel.bkbits.net/openembedded
into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/01/06 15:38:50-05:00 handhelds.org!kergoth Trigger cleanup. 2005/01/06 15:34:46-05:00 handhelds.org!kergoth test trigger. 2005/01/06 15:27:00-05:00 handhelds.org!kergoth Another trigger test. 2005/01/06 15:25:37-05:00 handhelds.org!kergoth Correct the permissions on the cia post outgoing trigger. 2005/01/06 15:22:37-05:00 handhelds.org!kergoth Bugfix in the outgoing trigger 2005/01/06 15:20:56-05:00 handhelds.org!kergoth Bugfix in the outgoing trigger 2005/01/06 15:19:21-05:00 handhelds.org!kergoth Bugfix in the outgoing trigger 2005/01/06 15:16:01-05:00 handhelds.org!kergoth Trigger updates. 2005/01/06 14:33:52-05:00 handhelds.org!kergoth Test cset for bk triggers. BKrev: 41dda227eA_vQY_qU1rMB9abvxBNSw
Diffstat (limited to 'BitKeeper/triggers/ciabot_bk.sh')
-rw-r--r--BitKeeper/triggers/ciabot_bk.sh66
1 files changed, 0 insertions, 66 deletions
diff --git a/BitKeeper/triggers/ciabot_bk.sh b/BitKeeper/triggers/ciabot_bk.sh
deleted file mode 100644
index b12890574b..0000000000
--- a/BitKeeper/triggers/ciabot_bk.sh
+++ /dev/null
@@ -1,66 +0,0 @@
-#!/bin/sh
-#
-# CIA bot client script for BitKeeper repositories, delivering via email
-# -- Chris Larson <kergoth@handhelds.org>
-#
-# Based on ciabot_svn.sh by Micah Dowty <micah@picogui.org>
-#
-# See http://cia.navi.cx
-# for more information on what the CIA bot is and how it works.
-#
-############# There are some parameters for this script that you can customize:
-
-# Project information
-[ -z "$project_name" ] && project_name="openembedded"
-[ -z "$return_address" ] && return_address="oe@handhelds.org"
-
-# System
-sendmail_command="/usr/sbin/sendmail -t"
-
-############# Below this line you shouldn't have to change anything
-
-# Script arguments
-REV="$1"
-
-# The email address CIA lives at
-cia_address="cia@navi.cx"
-
-author=`bk changes -r"$REV" -d":P:" | sed 's/\&/\&amp;/g;s/</\&lt;/g;s/>/\&gt;/g'`
-module=`basename $BKD_ROOT | sed 's/\&/\&amp;/g;s/</\&lt;/g;s/>/\&gt;/g'`
-tag=`bk changes -r"$REV" -d":TAG:" | sed 's/\&/\&amp;/g;s/</\&lt;/g;s/>/\&gt;/g'`
-for file in `bk changes -n -v -r"$REV" -d"\\\$unless(:GFILE:=ChangeSet){:GFILE:}" | sort -u | sed 's/\&/\&amp;/g;s/</\&lt;/g;s/>/\&gt;/g'`; do
- files="$files<file>$file</file>"
-done
-
-# Send an email with the final XML message
-(cat <<EOF
-From: $return_address
-To: $cia_address
-Content-type: text/xml
-Subject: DeliverXML
-
-<message>
- <generator>
- <name>BitKeeper CIA Bot client shell script</name>
- <version>1.1</version>
- </generator>
- <source>
- <project>$project_name</project>
- <module>$module</module>
- <branch>$tag</branch>
- </source>
- <body>
- <commit>
- <revision>$REV</revision>
- <author>$author</author>
- <files>$files</files>
-EOF
-echo " <log>"
-bk changes -r"$REV" -d'$if(:C:){$each(:C:){:C: \\n}}' | sed -e 's/\&/\&amp\;/g;s/</\&lt\;/g;s/>/\&gt\;/g;'
-echo " </log>"
-cat <<EOF
- </commit>
- </body>
-</message>
-EOF
-) | $sendmail_command