diff options
Diffstat (limited to 'BitKeeper')
| -rw-r--r-- | BitKeeper/etc/config | 99 | ||||
| -rw-r--r-- | BitKeeper/etc/gone | 52 | ||||
| -rw-r--r-- | BitKeeper/etc/ignore | 7 | ||||
| -rw-r--r-- | BitKeeper/etc/logging_ok | 55 | ||||
| -rw-r--r-- | BitKeeper/triggers/ciabot.config | 0 | ||||
| -rw-r--r-- | BitKeeper/triggers/ciabot_bk.sh | 66 | ||||
| -rw-r--r-- | BitKeeper/triggers/post-incoming | 65 | ||||
| -rw-r--r-- | BitKeeper/triggers/post-outgoing | 64 | ||||
| -rw-r--r-- | BitKeeper/triggers/post-outgoing.ciabot | 71 |
9 files changed, 0 insertions, 479 deletions
diff --git a/BitKeeper/etc/config b/BitKeeper/etc/config deleted file mode 100644 index 302e04a544..0000000000 --- a/BitKeeper/etc/config +++ /dev/null @@ -1,99 +0,0 @@ -# This is the BitKeeper configuration for this package. -# -# Please take a minute to fill it out carefully, it needs to be accurate. -# -# NOTICE: you really do want to fill this out, if something goes wrong -# with your repository, or if someone changes the logging policy, we -# send mail to the contact listed here for confirmation. -# -# BitKeeper can maintain a log of your change comments (not your source, -# just the comments) on a centralized server. This is useful as your -# project grows, it gives people a place to go see what is happening on -# a per project basis. This is especially useful for distributed developers. -# - -# -# Name of the project, such as "BitKeeper" or "The GNU C compiler". -# -description: OpenEmbedded Package Metadata Repository -# -# What (RedHat package) category this project fits into, if any. -# -category: -# -# Open Logging server. This site is where users go to see the -# ChangeSet comments for all instances of this repository. This must -# be logging@openlogging.org for usage under the terms of the BKL, -# "bk help bkl" will show you the default licensing terms. If this -# repository is commercial it can be an internal email address or "none" -# to disable logging. -# -logging: logging@openlogging.org -# You do not have a license for BitKeeper and the logging field in the -# BitKeeper/etc/config file is not set to "logging@openlogging.org". -# You either need a commercial license (to run without open logging), -# or you need to convert your package to single user, or you need to -# configure your package to use openlogging. Until you have done one of -# those, you may not create any changesets. -# -# You can get a temporary license by sending a mail request -# to sales@bitmover.com. -# -# BitMover can be reached in the United States at 415-401-8808 -# during business hours (PST) or via email at sales@bitmover.com. -# Thanks! -license: -# -# If this field is set, all checkins will appear to be made by this user, -# in effect making this a single user package. Single user packages are -# free from the logging constraint up to a maximum of 1000 files. In order -# for the package to really be free, both the single_user and the single_host -# field need to be set. -# -single_user: -# -# If this field is set, all checkins will appear to be made on this host. -# -single_host: -# -# Default compression algorithm for stored s.files is gzip. -# If you want no compression, set this to "none". -# -compression: gzip -# -# Default is to autofix problems found by check. -# If you want to manually fix them, set this to "no". -# -autofix: yes -# -# Contact person for this project. This is whoever is the person that -# should be contacted with update information or contacted if BitKeeper -# discovers a problem which requires local intervention. Please make the -# contact information accurate so we can support you. -# -contact: Chris Larson -# -# It is very important that this email address is filled out and accurate. -# If someone converts your repository to open logging (which you may not -# want), we will contact this email address for confirmation that you really -# did want open logging. If the email address is inaccurate and we get no -# response from anyone else at your location after 90 days, then open logging -# will be implicitly approved. -# -email: kergoth@handhelds.org -# -# Add your street address if you like, it is optional. -# -street: -city: -state: -postal: -country: -phone: -cell: -pager: -# -# Business Hours when we can contact you if you left a phone number. -# -hours: -checkout: get diff --git a/BitKeeper/etc/gone b/BitKeeper/etc/gone deleted file mode 100644 index 679364f710..0000000000 --- a/BitKeeper/etc/gone +++ /dev/null @@ -1,52 +0,0 @@ -kergoth@direwolf.ppp.ti.com|tmp/base/apache-2.0.47-r0/httpd-2.0.47/.patches/configure.patch|20031017000313|22103|55fb394e85ed9a27 -kergoth@direwolf.ppp.ti.com|tmp/base/avr-libc-1.0-r0/avr-libc-1.0/.patches/configure.patch|20031017000314|20947|86c76bf82d67da92 -kergoth@direwolf.ppp.ti.com|tmp/base/base-passwd-3.5.4-r0/base-passwd-3.5.4/.patches/configure.patch|20031017000313|25095|6eff6e911a09618d -kergoth@direwolf.ppp.ti.com|tmp/base/binutils-2.14.90.0.6-r0/binutils-2.14.90.0.6/.patches/configure.patch|20031017000313|27445|9df4cc10d077d9d2 -kergoth@direwolf.ppp.ti.com|tmp/base/bison-1.875-r0/bison-1.875/.patches/configure.patch|20031017000313|28770|3476df18d00643df -kergoth@direwolf.ppp.ti.com|tmp/base/bvi-1.3.1-r0/bvi-1.3.1/.patches/configure.patch|20031017000313|29990|52d5b79930245009 -kergoth@direwolf.ppp.ti.com|tmp/base/console-tools-0.3.2-r0/console-tools-0.3.2/.patches/configure.patch|20031017000313|32727|573e3f4b341b4ab7 -kergoth@direwolf.ppp.ti.com|tmp/base/coreutils-5.0-r0/coreutils-5.0/.patches/configure.patch|20031017000313|33929|c633fb1fc2509164 -kergoth@direwolf.ppp.ti.com|tmp/base/corkscrew-2.0-r0/corkscrew-2.0/.patches/configure.patch|20031017000313|35115|1564ebab8eccece0 -kergoth@direwolf.ppp.ti.com|tmp/base/cscope-15.4-r0/cscope-15.4/.patches/configure.patch|20031017000313|36304|d1e0bb07777d6f7b -kergoth@direwolf.ppp.ti.com|tmp/base/fbi-1.22-r0/fbi-1.22/.patches/configure.patch|20031017000313|37520|4bd8ce54b18095ae -kergoth@direwolf.ppp.ti.com|tmp/base/findutils-4.1.20-r0/findutils-4.1.20/.patches/configure.patch|20031017000313|38715|c377cf95481a830a -kergoth@direwolf.ppp.ti.com|tmp/base/gawk-3.0.4-r0/gawk-3.0.4/.patches/configure.patch|20031017000313|39951|45d8f6a6b5302d64 -kergoth@direwolf.ppp.ti.com|tmp/base/gpm-1.20.1-r0/gpm-1.20.1/.patches/configure.patch|20031017000313|41161|86de3521b668d621 -kergoth@direwolf.ppp.ti.com|tmp/base/gzip-1.3.5-r0/gzip-1.3.5/.patches/configure.patch|20031017000313|42363|f614caa16da2bcbb -kergoth@direwolf.ppp.ti.com|tmp/base/ipkg-0.99.95-r0/ipkg/.patches/configure.patch|20031017000313|43541|7654a4298f65de85 -kergoth@direwolf.ppp.ti.com|tmp/base/irda-utils-0.9.15-r0/irda-utils-0.9.15/.patches/configure.patch|20031017000313|44717|f0b15777fd4a954b -kergoth@direwolf.ppp.ti.com|tmp/base/less-381-r0/less-381/.patches/configure.patch|20031017000313|45923|d232dca69e525e4d -kergoth@direwolf.ppp.ti.com|tmp/base/libid3tag-0.15.0b-r0/libid3tag-0.15.0b/.patches/configure.patch|20031017000313|47185|41fc2d72a62cabf9 -kergoth@direwolf.ppp.ti.com|tmp/base/liblockfile-1.05-r0/liblockfile-1.05/.patches/configure.patch|20031017000313|48381|430d9b7359d8ab6b -kergoth@direwolf.ppp.ti.com|tmp/base/libmad-0.15.0b-r0/libmad-0.15.0b/.patches/configure.patch|20031017000313|49586|984001c5f2b57681 -kergoth@direwolf.ppp.ti.com|tmp/base/libnet-1.0.2a-r0/Libnet-1.0.2a/.patches/configure.patch|20031017000313|50854|c89408a6f00fb25b -kergoth@direwolf.ppp.ti.com|tmp/base/libnet-1.1.0-r0/Libnet-latest/.patches/configure.patch|20031017000313|54306|3feb4601a1123eea -kergoth@direwolf.ppp.ti.com|tmp/base/libogg-1.0.0-r0/libogg-1.0.0/.patches/configure.patch|20031017000313|55952|f648dbc8ddb3e6ce -kergoth@direwolf.ppp.ti.com|tmp/base/libpcap-0.7.2-r0/libpcap-0.7.2/.patches/configure.patch|20031017000313|57191|23994653174049d0 -kergoth@direwolf.ppp.ti.com|tmp/base/links-2.1pre12-r0/links-2.1pre12/.patches/configure.patch|20031017000313|58632|2e4454542c2a571 -kergoth@direwolf.ppp.ti.com|tmp/base/mailutils-0.3.1-r0/mailutils-0.3.1/.patches/configure.patch|20031017000313|64970|bdce432bdccd1c79 -kergoth@direwolf.ppp.ti.com|tmp/base/make-3.80-r0/make-3.80/s.conftest|20030930212318|63110|da37c84ab4cbd31 -kergoth@direwolf.ppp.ti.com|tmp/base/make-3.80-r0/make-3.80/s.conftest|20031223192004|25012|264605837342a3ef -kergoth@direwolf.ppp.ti.com|tmp/base/modutils-2.4.25-r0/modutils-2.4.25/.patches/configure.patch|20031017000313|00714|f378c3a7f0788548 -kergoth@direwolf.ppp.ti.com|tmp/base/mp3blaster-3.1.3-r0/mp3blaster-3.1.3/.patches/configure.patch|20031017000313|01960|693a1a85687857b9 -kergoth@direwolf.ppp.ti.com|tmp/base/mutt-1.5.4i-r0/mutt-1.5.4/.patches/configure.patch|20031017000313|03256|760ff87da881b5c -kergoth@direwolf.ppp.ti.com|tmp/base/nano-1.2.1-r0/nano-1.2.1/.patches/configure.patch|20031017000313|04604|335ba3dab38b5eb9 -kergoth@direwolf.ppp.ti.com|tmp/base/ncftp-3.1.6-r0/ncftp-3.1.6/.patches/configure.patch|20031017000313|06135|25a353538d7d3dbe -kergoth@direwolf.ppp.ti.com|tmp/base/ncurses-5.3.20030906-r0/ncurses-5.3/.patches/configure.patch|20031017000313|07427|f91a3569809476c -kergoth@direwolf.ppp.ti.com|tmp/base/ntp-4.1.2-r0/ntp-4.1.2/.patches/configure.patch|20031017000313|08763|815326e557b4a0b6 -kergoth@direwolf.ppp.ti.com|tmp/base/openobex-apps-1.0.0-r0/openobex-apps-1.0.0/.patches/configure.patch|20031017000313|25215|e210017ecae701df -kergoth@direwolf.ppp.ti.com|tmp/base/openssh-3.7.1p1-r0/openssh-3.7.1p1/.patches/configure.patch|20031017000314|06365|f6d1a7fb173a55ba -kergoth@direwolf.ppp.ti.com|tmp/base/openssh-3.7.1p1-r0/openssh-3.7.1p1/configure.patch|20031017000314|14876|f484270640f7202a -kergoth@direwolf.ppp.ti.com|tmp/base/openssh-3.7.1p2-r0/openssh-3.7.1p2/.patches/configure.patch|20031017000313|26870|e13fab89b5562bc8 -kergoth@direwolf.ppp.ti.com|tmp/base/openssh-3.7.1p2-r0/openssh-3.7.1p2/configure.patch|20031017000313|33924|ebc16d521120c3f8 -kergoth@direwolf.ppp.ti.com|tmp/base/psmisc-20.2-r0/psmisc-20.2/.patches/configure.patch|20031017000313|23867|3314da401436c0b2 -kergoth@direwolf.ppp.ti.com|tmp/base/readline-4.3-r0/readline-4.3/.patches/configure.patch|20031017000313|22543|1c9e9c075fab007b -kergoth@direwolf.ppp.ti.com|tmp/base/regex-markup-0.9.0-r0/regex-markup-0.9.0/.patches/configure.patch|20031017000313|21214|90f9a859eb52cac9 -kergoth@direwolf.ppp.ti.com|tmp/base/screen-4.0.1-r0/screen-4.0.1/.patches/configure.patch|20031017000313|18676|28ce53b38ab58ce7 -kergoth@direwolf.ppp.ti.com|tmp/base/ssmtp-2.60.4-r0/ssmtp-2.60/.patches/configure.patch|20031017000313|15313|7fada7d495416713 -kergoth@direwolf.ppp.ti.com|tmp/base/strace-4.4.98-r0/strace-4.4.98/.patches/configure.patch|20031017000313|14022|3cdea4ec46cdfb46 -kergoth@direwolf.ppp.ti.com|tmp/base/tmdns-20030116-r0/tmdns/.patches/configure.patch|20031017000313|12722|4ea358f61d029898 -kergoth@direwolf.ppp.ti.com|tmp/base/tremor-20030325-r0/Tremor/.patches/configure.patch|20031017000313|11433|5d97ad5efbd728ad -kergoth@direwolf.ppp.ti.com|tmp/base/tslib-1.0-r0/tslib/.patches/configure.patch|20031017000313|10146|424e0abc38251984 -kergoth@direwolf|tmp/base/make-3.80-r0/make-3.80/s.conftest|20031121052259|39582|c6bf26cbc42ce43 -linux-c860-20040124.patch diff --git a/BitKeeper/etc/ignore b/BitKeeper/etc/ignore deleted file mode 100644 index c0d79b827b..0000000000 --- a/BitKeeper/etc/ignore +++ /dev/null @@ -1,7 +0,0 @@ -BitKeeper/*/* -PENDING/* -conf/local.conf -conf/auto.conf -tmp -qtopia/qtopia_1_7_0.oe.~1~ -opie-opiealarm/.opie-opiealarm_cvs.oe.swp diff --git a/BitKeeper/etc/logging_ok b/BitKeeper/etc/logging_ok deleted file mode 100644 index b6c7d46253..0000000000 --- a/BitKeeper/etc/logging_ok +++ /dev/null @@ -1,55 +0,0 @@ -a0868066@lta0868066.ent.ti.com -buildroot@mithis.com -chris@chrislaptop.(none) -erich@erichl.mine.nu -erich@erichv.mine.nu -gbritton@doomcom.org -ggilbert@dreamland.(none) -ggilbert@fastframe.brooks.edu -ggilbert@olddog.(none) -ggilbert@olddog.treke.net -ggilbert@tinman.treke.net -ggilbert@treke.ath.cx -hrw@home.hrw.one.pl -ich@debian.(none) -kebert@geralt.doma -kergoth@beast.local -kergoth@direwolf.(none) -kergoth@direwolf.itg.ti.com -kergoth@direwolf.ppp.ti.com -kergoth@hyperion.(none) -kergoth@linux.local -kergoth@nexus.(none) -kergoth@odin.(none) -kergoth@zelda.tuxnami.org -lpotter@spiritship.(none) -mallum@shuttle.(none) -mickey@allanon.vanille.de -mickey@gandalf.tm.informatik.uni-frankfurt.de -mickey@merlin.vanille.de -mickey@r2d2.tm.informatik.uni-frankfurt.de -mickeyl@allanon.vanille.de -mickeyl@gandalf.tm.informatik.uni-frankfurt.de -mickeyl@r2d2.tm.informatik.uni-frankfurt.de -mithro@mithis.com -p.osiczko@tetrapyloctomy.org -pablo@kosmos.(none) -pb@dixie.nexus.co.uk -pb@stealth.(none) -pb@workhouse.(none) -pb@workhouse.nexus.co.uk -pb_@gandalf.tm.informatik.uni-frankfurt.de -ral@alwin.at.home -red@quarm.(none) -schurig@mnz66.mn-logistik.de -schurig@schurig.homelinux.net -szczepan@home.hrw.one.pl -szczepan@hrw.local -tgall@www.rochcivictheatre.org -themel@sophokles.home.themel.com -timh@host10.kano.org.uk -timh@smallshiny.kano.org.uk -wind@spiritship.(none) -xf005570@cn014xf005570l1.(none) -xf005570@cn014xf005570w1. -zecke@handhelds.org diff --git a/BitKeeper/triggers/ciabot.config b/BitKeeper/triggers/ciabot.config deleted file mode 100644 index e69de29bb2..0000000000 --- a/BitKeeper/triggers/ciabot.config +++ /dev/null diff --git a/BitKeeper/triggers/ciabot_bk.sh b/BitKeeper/triggers/ciabot_bk.sh deleted file mode 100644 index cd2892a5d1..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 -project_name="openembedded" -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=`echo $BK_USER | sed 's/\&/\&/g;s/</\</g;s/>/\>/g'` -module=`basename $BKD_ROOT | sed 's/\&/\&/g;s/</\</g;s/>/\>/g'` -tag=`bk changes -r"$REV" -d":TAG:" | sed 's/\&/\&/g;s/</\</g;s/>/\>/g'` -for file in `bk changes -n -v -r"$REV" -d"\\\$unless(:GFILE:=ChangeSet){:GFILE:}" | sort -u | sed 's/\&/\&/g;s/</\</g;s/>/\>/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/\&/\&\;/g;s/</\<\;/g;s/>/\>\;/g;' -echo " </log>" -cat <<EOF - </commit> - </body> -</message> -EOF -) | $sendmail_command diff --git a/BitKeeper/triggers/post-incoming b/BitKeeper/triggers/post-incoming deleted file mode 100644 index abbd52e81a..0000000000 --- a/BitKeeper/triggers/post-incoming +++ /dev/null @@ -1,65 +0,0 @@ -#!/bin/sh - -exit 0 - -if [ X"$BK_STATUS" = XDRYRUN -o X"$BK_STATUS" = XNOTHING ] -then exit 0 -fi - -if [ "$BK_SIDE" = server ] -then U=$BKD_USER - H=$BKD_HOST - R=$BKD_ROOT -else U=$BK_USER - H=$BK_HOST - R=$BK_ROOT -fi - -exit 0 - -( -# if [ X"$BKD_ROOT" != X ] -# then printf '%-10s%-20s%-20s\n' VAR CLIENT SERVER -# printf '%-10s%-20s%-20s\n' === ====== ====== -# printf '%-10s%-20s%-20s\n' USER $BK_USER $BKD_USER -# printf '%-10s%-20s%-20s\n' HOST $BK_HOST $BKD_HOST -# printf '%-10s%-20s%-20s\n' ROOT $BK_ROOT $BKD_ROOT -# printf '%-10s%-20s%-20s\n' LEVEL $BK_LEVEL $BKD_LEVEL -# printf '%-10s%-20s%-20s\n' TIME_T $BK_TIME_T $BKD_TIME_T -# printf '%-10s%-20s%-20s\n' UTC $BK_UTC $BKD_UTC -# printf '%-10s%-20s%-20s\n' VERSION $BK_VERSION $BKD_VERSION -# echo -# fi - echo ${U}@${H} fired the $BK_TRIGGER trigger in $R - case "$BK_TRIGGER" in - pre-outgoing) VERB=Sending;; - post-outgoing) VERB=Sent;; - pre-incoming) VERB=Receiving;; - post-incoming) VERB=Received;; - pre-resolve) VERB=Resolving;; - pre-commit) VERB=Committing;; - post-commit) VERB=Committed;; - pre-apply) VERB=Applying;; - esac - if [ X"$BK_PENDING" != X ] - then ( - echo $VERB the following deltas - echo - bk prs - < $BK_PENDING - ) | sed 's/^/ /' - fi - if [ X"$BK_CSETLIST" != X ] - then ( - echo $VERB the following changesets - echo - bk changes -v - < $BK_CSETLIST - ) | sed 's/^/ /' - fi - if [ X"$BK_CSETS" != X ] - then ( - echo $VERB the following changesets - echo - bk changes -v -r$BK_CSETS - ) | sed 's/^/ /' - fi -) | mail -s "${U}@${H}:${R} - $BK_EVENT" openembedded-bklogs@lists.sourceforge.net diff --git a/BitKeeper/triggers/post-outgoing b/BitKeeper/triggers/post-outgoing deleted file mode 100644 index b9c00d6b86..0000000000 --- a/BitKeeper/triggers/post-outgoing +++ /dev/null @@ -1,64 +0,0 @@ -#!/bin/sh - -LIST=openzaurus-cvslogs@lists.sf.net - -exit 0 - -if [ X"$BK_STATUS" = XDRYRUN -o X"$BK_STATUS" = XNOTHING ] -then exit 0 -fi - -if [ "$BK_SIDE" = server ] -then U=$BKD_USER - H=$BKD_HOST - R=$BKD_ROOT -else U=$BK_USER - H=$BK_HOST - R=$BK_ROOT -fi -R_OUT=`echo $BKD_ROOT | sed "s,.*/,,"` - -if !(echo $BKD_HOST|grep -q bitkeeper.com) -then exit 0 -fi - -if [ $BK_SIDE != client ] -then exit 0 -fi - -echo "Sending notification mail to $LIST..." - -( - echo ${U}@${H} fired the $BK_TRIGGER trigger in $R_OUT - case "$BK_TRIGGER" in - pre-outgoing) VERB=Sending;; - post-outgoing) VERB=Sent;; - pre-incoming) VERB=Receiving;; - post-incoming) VERB=Received;; - pre-resolve) VERB=Resolving;; - pre-commit) VERB=Committing;; - post-commit) VERB=Committed;; - pre-apply) VERB=Applying;; - esac - if [ X"$BK_PENDING" != X ] - then ( - echo $VERB the following deltas - echo - bk prs - < $BK_PENDING - ) | sed 's/^/ /' - fi - if [ X"$BK_CSETLIST" != X ] - then ( - echo $VERB the following changesets - echo - bk changes -v - < $BK_CSETLIST - ) | sed 's/^/ /' - fi - if [ X"$BK_CSETS" != X ] - then ( - echo $VERB the following changesets - echo - bk changes -v -r$BK_CSETS - ) | sed 's/^/ /' - fi -) | mail -s "${U}@${H}:${R} - $BK_EVENT" $LIST diff --git a/BitKeeper/triggers/post-outgoing.ciabot b/BitKeeper/triggers/post-outgoing.ciabot deleted file mode 100644 index 25c2284832..0000000000 --- a/BitKeeper/triggers/post-outgoing.ciabot +++ /dev/null @@ -1,71 +0,0 @@ -#!/bin/sh - -# Copyright (C) 2004 Chris Larson <kergoth@handhelds.org> -# -# Sanity checks taken from the scripts on commits.bkbits.net -# Copyright (C) 2003 Leonard Norrgard <leonard.norrgard@refactor.fi> -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, -# Boston, MA 02111-1307, USA. - -check_sanity () { - if [ X$BK_STATUS = XDRYRUN -o X$BK_STATUS = XNOTHING ]; then - return 1 - fi - - # In order to make sure only pushes to public BitKeeper repositories - # are broadcasted to #commits, we check that a) the parent repository - # is on bkbits.net and b) we are the client. - - # Is parent a public BitKeeper repository at bkbits.net? - if !(echo $BKD_HOST|grep -q bitkeeper.com); then - return 1 - fi - - if [ $BK_SIDE != client ]; then - return 1 - fi -} - -# Check sanity - do we need to send anything? -check_sanity || exit 0 - -if (grep -q 'ChangeSet' $BK_CSETLIST); then - # new, correct csets-out format - nums=`bk changes -d":REV: " - < $BK_CSETLIST` -else - - # Convert numbers from the cset list into something useful - nums= - for s in `cat $BK_CSETLIST`; do - # translate cset serial to cset # - n=`bk prs -h -d"\\$if(:DS: -eq $s){:REV:}" ChangeSet` - # dont send notifications about empty ChangeSets - if test -z `bk prs -h -r"$n" -d'$if(:LI: -eq 0){$if(:LD: -eq 0){:REV:}}' ChangeSet`; then - nums="$n $nums" - fi - done -fi - -# Send notifications to CIA -if test -n "$nums"; then - echo "Sending notification to CIA irc bot (cia.navi.cx)." - ( - for n in $nums; do - $BK_ROOT/BitKeeper/triggers/ciabot_bk.sh $n - done - ) & -fi -exit 0 |
