A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2009-March/087721.html below:

[Python-Dev] Python svn post-commit hook?

[Python-Dev] Python svn post-commit hook? [Python-Dev] Python svn post-commit hook?Benjamin Peterson benjamin at python.org
Thu Mar 26 22:17:37 CET 2009
2009/3/26  <skip at pobox.com>:
> I'm trying to get the powers that be at work to enable post-commit hooks for
> our Subversion repositories.  Here's the default, sans comments:
>
>    REPOS="$1"
>    REV="$2"
>
>    commit-email.pl "$REPOS" "$REV" commit-watchers at example.org
>    log-commit.py --repository "$REPOS" --revision "$REV"
>
> Does Python's post-commit.tmpl do more (or less) than this?  If it's
> substantially different, can someone mail me a copy of what's installed?

It's not that different:

#!/bin/sh
/data/repos/projects/hooks/mailer.py commit "$@"
/data/repos/projects/hooks/svn_buildbot.py --repository "$1"
--revision "$2" --bbport 9020 > /dev/null
/data/repos/projects/hooks/svn_buildbot.py --repository "$1"
--revision "$2" --bbport 9070 > /dev/null

if (svnlook changed -r $2 $1|grep peps)
then
    touch /data/website-build/build/status/pepqueued
fi


-- 
Regards,
Benjamin
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4