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

RE: Re: Automatic build of source on every check-in

From: Harshad <harshad.rj_at_gmail.com>
Date: Sat, 06 Sep 2008 23:15:11 +0530

Gleason, Todd wrote:

> I'd still have to ask how their pre-tested commit works. They say it
> works in conjunction with your IDE, which suggests that the way it works
> is something like this:
>
> 1. Your client sends the commit data to TeamCity instead of to the
> Subversion server.
>
> 2. TeamCity runs a build.
>
> 3. TeamCity tells your client that it's good to commit.
>
> 4. Your client commits to Subversion.

TeamCity does the commit directly, if it's a good commit. This page makes it
clear:
http://www.jetbrains.com/teamcity/delayed_commit.html

That should reduce the round-trip time for the client and the problems you
listed probably vanish.

However, if it is known that the build times are going to be small, a simple
pre-commit hook could replace mediators like TeamCity. I will probably cook
a script myself, since it doesn't look like its attempted before.

As a side note, Bazaar seems to have a good pre-commit infrastructure in
place:
https://bugs.launchpad.net/bzr/+bug/102747

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-09-06 19:45:24 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.