From 4d468aa0876a75b4b5055a4b86e9b1fd9a4cef3f Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sun, 28 Mar 2010 08:57:18 -0400 Subject: Documentation improvements and license change. --- repo/hooks/ciabot.py | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'repo') 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 +# 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 # -- cgit v1.2.1