summaryrefslogtreecommitdiff
path: root/repo
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2010-03-28 10:08:50 -0400
committerEric S. Raymond <esr@thyrsus.com>2010-03-28 10:08:50 -0400
commit847f95e7e7594f0c62146b6d08a2c461e9610335 (patch)
tree57ba945563e2f62d6c37e7634e3d467df40668f3 /repo
parent7c9fcfbf4341c64049fd0e00970ee625477a633a (diff)
downloadgpsd-847f95e7e7594f0c62146b6d08a2c461e9610335.tar.gz
Version-stamp both ciabot scripts.
Diffstat (limited to 'repo')
-rwxr-xr-xrepo/hooks/ciabot.py2
-rwxr-xr-xrepo/hooks/ciabot.sh9
2 files changed, 10 insertions, 1 deletions
diff --git a/repo/hooks/ciabot.py b/repo/hooks/ciabot.py
index 09c0a53f..b875886b 100755
--- a/repo/hooks/ciabot.py
+++ b/repo/hooks/ciabot.py
@@ -2,6 +2,8 @@
# Copyright (c) 2010 Eric S. Raymond <esr@thyrsus.com>
# Distributed under BSD terms.
#
+# Thiu is version 1.1 of ciabot.py
+#
# This script contains porcelain and porcelain byproducts.
# It's Python because the Python standard libraries avoid portability/security
# issues raised by callouts in the ancestral Perl and sh scripts. It should
diff --git a/repo/hooks/ciabot.sh b/repo/hooks/ciabot.sh
index c7866e75..b3c36316 100755
--- a/repo/hooks/ciabot.sh
+++ b/repo/hooks/ciabot.sh
@@ -4,6 +4,13 @@
# Copyright (c) 2008 Natanael Copa <natanael.copa@gmail.com>
# Copyright (c) 2010 Eric S. Raymond <esr@thyrsus.com>
#
+# This is version 3.1 of ciabot.sh. Versions 1 and 2 were shipped
+# in 2006 and 2008 and are not version-stamped.
+#
+# Note: This script should be considered obsolete.
+# There is a faster, better-documented rewrite in Python: find it as ciabot.py
+# Use this only if your hosting site forbids Python hooks.
+#
# Originally based on Git ciabot.pl by Petr Baudis.
# This script contains porcelain and porcelain byproducts.
#
@@ -52,7 +59,7 @@ urlprefix="http://${host}/cgi-bin/cgit.cgi/${repo}/commit/?id="
#
# Identify the script. Should change only wghen the script itself
-generator="http://www.catb.org/~esr/ciabot.py"
+generator="http://www.catb.org/~esr/ciabot.sh"
# Addresses for the e-mail
from="${LOGNAME}@${host}"