source: genesis/tools/svn-hook/post-commit@ 14221

Last change on this file since 14221 was 10690, checked in by rick, 13 years ago

Fix issues of not checking duplicates IPs.

While here, add feature that commits which mention no-genesis-check force-fully
overrides the config validators errors.

Related-To: beheer#211

  • Property svn:executable set to *
File size: 557 bytes
RevLine 
[10690]1#!/bin/sh
2#
3REPOS="$1"
4REV="$2"
5BASEDIR=`dirname $0`
6
7export PATH=$PATH:/usr/local/bin
8export PYTHON_EGG_CACHE="/tmp/eggs"
9
10/usr/local/share/subversion/hook-scripts/mailer/mailer.py commit "$REPOS" "$REV" 2>&1 | logger -t 'post-commit' 1>&2 2>/dev/null &
11/usr/local/bin/trac-admin /usr/local/www/trac/projects/beheer changeset added "$REPOS" "$REV" 2>&1 | logger -t 'post-commit' 1>&2 2>/dev/null &
12/usr/local/bin/trac-admin /usr/local/www/trac/projects/nodefactory changeset added "$REPOS" "$REV" 2>&1 | logger -t 'post-commit' 1>&2 2>/dev/null &
13
14exit $?
Note: See TracBrowser for help on using the repository browser.