[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: post-commit hook

From: si <sshnug.si_at_gmail.com>
Date: 2006-01-04 13:54:19 CET

Hi Victor,

> any other ideas?

Using "start /b ..." is a neat way to spawn another process in post-commit
(especially good for emails), but for building/testing, have you considered
an approach like those taken in CruiseControl(.Net)?

You setup projects which look for changes in Subversion repositories by
checking the log (filtered by url and datetime), and when a change is found,
a build is triggered. That build could do your test, and pretty much anything
else that takes your fancy. CruiseControl.Net also has an application
(CCTray) that sits in the taskbar tray and can let you know when a build
is in progress and whether it succeeds or fails. Of course you can use other
methods as well (email, etc).

That maybe overkill for a single project, and if your tests are quick, then
perhaps a pre-commit hook will suffice?


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jan 4 13:57:48 2006

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.