RE: Hook scripts for win32
From: McKenna, Simon (RGH) <Simon.McKenna_at_rgh.sa.gov.au>
Date: 2005-05-06 04:06:05 CEST
-> > Does anyone have any good hook scripts for win32?
Cool, I needed to do something similar, and went with NAnt
http://svn.berlios.de/viewcvs/*checkout*/subnant/trunk/README.txt
An example post-commit hook looks this:
start /b subnant commit-email -D:repos="%1" -D:rev="%2"
commit-email uses subversion properties in combination with
The nice thing about NAnt is it makes chaining processes
start /b subnant commit-email dump -D:repos="%1" -D:rev="%2"
Our nightly backup regime is a hotcopy (immediate recovery)
subnant hotcopy dump -D:sendmail=true
This also keeps a log of when and what was backed up, sends
Have tried to keep things flexible - options are parameterised
Also recently added a commit-message target for use with
subnant commit-message commit-access -D:repos="%1" -D:txn="%2"
Still working on commit-access target (access-control):
disclaimer: Subnant is a work in progress and unstable,
peace
---------------------------------------------------------------------
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.