From de89b297ee8a231fe4071d3503e39a78645b7bbf Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 26 Mar 2010 09:09:41 -0400 Subject: Last commit broke something, do partial revert. --- repo/hooks/ciabot.sh | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) (limited to 'repo') diff --git a/repo/hooks/ciabot.sh b/repo/hooks/ciabot.sh index 703be448..ac57cf24 100755 --- a/repo/hooks/ciabot.sh +++ b/repo/hooks/ciabot.sh @@ -2,11 +2,9 @@ # Distributed under the terms of the GNU General Public License v2 # Copyright (c) 2006 Fernando J. Pereda # Copyright (c) 2008 Natanael Copa -# Copyright (c) 2010 Eric S. Raymond # # Git CIA bot in bash. (no, not the POSIX shell, bash). # It is *heavily* based on Git ciabot.pl by Petr Baudis. -# This script contains porcelain and porcelain byproducts. # # It is meant to be run either on a post-commit hook or in an update # hook: @@ -27,26 +25,20 @@ # The project as known to CIA project="GPSD" repo="${REPO:-gpsd}" -echo "REPO=$REPO" # Addresses for the e-mail from="esr@thyrsus.com" to="cia@cia.vc" -# Changeset URL prefix for your repo: when the commit ID is appended -# to this, it should point at a CGI that will display the commit -# through gitweb or something similar. -urlprefix="http://git.berlios.de/cgi-bin/gitweb.cgi?p=$repo;a=commit;h=" - # SMTP client to use - may need to edit the absolute pathname for your system sendmail="/usr/sbin/sendmail -t -f ${from}" -# -# No user-serviceable parts below this line -# - -PATH="$PATH:`git --exec-path` +# Changeset URL prefix for your repo: when the commit ID is appended +# to this, it should point at a CGI that will display the commit +# through gitweb or something similar. +urlprefix="http://git.alpinelinux.org/cgit/$repo/commit/?id=" +# You shouldn't be touching anything else. if [ $# -eq 0 ] ; then refname=$(git symbolic-ref HEAD 2>/dev/null) merged=$(git rev-parse HEAD) -- cgit v1.2.1