working version of the trac hooks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -71,16 +71,9 @@ fi
|
||||
#$REPOS/hooks/ciabot_svn.py "$REPOS" $REV &
|
||||
|
||||
|
||||
# Trigger Trac syncronization
|
||||
TRACBASE=/home/wxsite/domains/trac.wxwidgets.org
|
||||
source $TRACBASE/.setenv
|
||||
$TRACBASE/python/bin/trac-admin $TRAC_ENV changeset added "$1" "$2" &
|
||||
# Trigger Trac syncronization, must run as Trac's user
|
||||
sudo -u wxsite $REPOS/hooks/trac-post-commit.sh "$REPOS" "$REV"
|
||||
|
||||
|
||||
## Check for keywords that Trac can use
|
||||
#export PYTHONPATH=/home/wxsite/domains/trac.wxwidgets.org/htdocs/lib/python
|
||||
#export PYTHON_EGG_CACHE=/tmp/.python-eggs
|
||||
#/usr/bin/python2.5 $REPOS/hooks/trac-post-commit-hook \
|
||||
# -p /home/wxsite/domains/trac.wxwidgets.org/htdocs/wxtrac -r $REV &
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user