Login | Register
My pages Projects Community openCollabNet

repoguard
Wiki: Installation

Edit this page | Links to this page | Page information | Attachments | Refresh page

 

How to install RepoGuard

Requirements

Repoguard requires at least Python 2.5 and Subversion 1.2. It runs on both, Windows and *nix. The following python modules have to be installed:

Downloads

Repoguard is available from the project side at tigris.

Installation

Extract the Repoguard package to an arbitrary directory.

Hooks

You have to create two files in your Subversion hooks directory (if they don't exist yet, otherwise just add the lines to the existing ones). On *nix systems those files are named pre-commit and post-commit and must be set executable. On Windows systems those files are named pre-commit.bat and post-commit.bat. They contain the following content, where %pathtorepoguard% is replaced by the directory to which you unpacked the Repoguard and %hook% is either precommit or postcommit (case-sensitive):

%pathtopython% %pathtorepoguard%/main.py %hook% $1 $2 || exit 1

Installation (last edited 2012-03-11 11:15:57 -0800 by ?schlauch)