summaryrefslogtreecommitdiff
path: root/repo
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2010-03-28 08:57:18 -0400
committerEric S. Raymond <esr@thyrsus.com>2010-03-28 08:57:18 -0400
commit4d468aa0876a75b4b5055a4b86e9b1fd9a4cef3f (patch)
treef501c3b531a816575aa3c3394f58b0333b7d332b /repo
parentd893a0737a7f169583d2809d01a1cd631e309ec5 (diff)
downloadgpsd-4d468aa0876a75b4b5055a4b86e9b1fd9a4cef3f.tar.gz
Documentation improvements and license change.
Diffstat (limited to 'repo')
-rwxr-xr-xrepo/hooks/ciabot.py15
1 files changed, 6 insertions, 9 deletions
diff --git a/repo/hooks/ciabot.py b/repo/hooks/ciabot.py
index 1c5d6c69..73336fd3 100755
--- a/repo/hooks/ciabot.py
+++ b/repo/hooks/ciabot.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
-# Distributed under the terms of the GNU General Public License v2
# Copyright (c) 2010 Eric S. Raymond <esr@thyrsus.com>
+# Distributed under BSD terms.
#
# This script contains porcelain and porcelain byproducts.
# It's Python because the Python standard libraries avoid portability/security
@@ -8,23 +8,20 @@
# be compatible back to Python 2.1.5
#
# It is meant to be run either in a post-commit hook or in an update
-# hook:
+# hook.
#
-# post-commit: Run it without arguments. It will query for current HEAD and
+# In post-commit, run it without arguments. It will query for current HEAD and
# the latest commit ID to get the information it needs.
#
-# update: Call it with a refname followed by a list of commits.
+# In update, call it with a refname followed by a list of commits.
#
-# refname=$1
-# oldhead=$2
-# newhead=$3
# ciabot.py ${refname} $(git rev-list ${oldhead}..${newhead} | tac)
#
# Note: this script uses mail, not XML-RPC, in order to avoid stalling
-# until timeout when the XML-RPC server is down.
+# until timeout when the CIA XML-RPC server is down.
#
# Call with -n to see the notification mail dumped to stdout rather
-# than shipped to CIA.
+# than shipped to CIA. This may be useful for debugging purposes.
#
import os, sys, commands, socket, urllib
#