No, if your project takes more than a few seconds to compile, it WILL annoy 
committers.  I have a pre-commit that validates a Change Request Number in 
their comment against a database.  It is a quick query, but it takes about 15 
seconds to do the connect, query, and then disconnect.  My committers are 
annoyed by that short a time.

Cheers,

Tom


-----Original Message-----
From: Ryan Schmidt [mailto:subversion-20...@ryandesign.com] 
Sent: Tuesday, April 05, 2011 6:37 PM
To: San Martino
Cc: users@subversion.apache.org
Subject: Re: Build project in pre-commit

On Apr 5, 2011, at 17:08, San Martino wrote:

> we absolutely need to validate a project in the pre-commit trigger 
> with a build of the whole project being committed.
> 
> Is this possible? Are there any tools allowing this?

Yes, you could write a script to do this. There might be existing scripts to do 
this.

However, if your project takes more than a few seconds to compile, this will 
likely annoy committers.


Reply via email to