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.
Granted, I may have made some poor assumptions here; TeamCity's web site
isn't all that explanatory. But if this is close to how TeamCity works,
then I see several possible problems:
1. Some build environments take several hours to run. You could be
waiting a long time to know if your commit was good. Worse, with lots
of other people committing, testing each and every commit could take
quite a bit of hardware.
2. What if your client goes down (possibly because you shut it down for
the evening or take your laptop home)? Does this prevent the commit?
3. What if you're busy making additional changes in the meantime? Can
they interfere with the commit (and possibly sneak in)? Or if you blow
away your working copy (or more likely switch/update it)?
4. What if you need others on your team to get your changes in shorter
order? I guess you can argue this is what private branches are for, but
not every team wants to use them all the time. And I doubt people want
to work around this manually either.
So I have a hard time imagining the corner cases not being more pain
than they're worth. It might be fine in a small environment, but this
level of overhead seems like something larger teams look for.
All that said, I wish I knew of a real silver bullet for continuous
integration.
-----Original Message-----
From: news [mailto:news_at_ger.gmane.org] On Behalf Of Harshad
Sent: Saturday, September 06, 2008 9:47 AM
To: users_at_subversion.tigris.org
Subject: Re: Automatic build of source on every check-in
Harshad wrote:
> Andy Levy wrote:
>
>> You're looking for a continuous integration tool.
>
> Nope. I am aware of them (Continuous integration by Martin Fowler and
the
> Cruise Control software). I am specifically interested in building the
> system _before_ the commit is accepted.
>
A lot of searching and I still haven't found any such script for SVN.
There
are some third-party solutions like TeamCity:
http://www.jetbrains.com/teamcity/features/continuous_integration.html
(See their pre-tested commit section)
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
---------------------------------------------------------------------
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:26:03 CEST