SVN pre-commit hooks with perl tests

jesse jesse at fsck.com
Thu Jan 12 13:30:44 GMT 2006


> One option might be a "two phased commit". This would need multiple SVN repositories, probably controlled by SVK.
> 
> The commit request goes on to the "staging repository", where it is checked out to the testing sandbox, built, completes the test suite and is pushed to the "live repository" if all is OK. If the tests fail, the "staging commit" is undone.

Or even allowing commits on a development branch without this sanity
check, but forcing it on merges to "safe" branches.



-- 


More information about the london.pm mailing list