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

RE: Build project in pre-commit

From: Thomas Loy <Thomas.Loy_at_cbeyond.net>
Date: Tue, 5 Apr 2011 18:50:09 -0400

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-2011a_at_ryandesign.com]
Sent: Tuesday, April 05, 2011 6:37 PM
To: San Martino
Cc: users_at_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.
Received on 2011-04-06 00:50:48 CEST

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.