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

Re: Using subversion for web development

From: John Peacock <john.peacock_at_havurah-software.org>
Date: Tue, 19 Aug 2008 22:12:59 -0400

Robert Dailey wrote:
> Well reading it helped understand what I must do, but I do not have the
> know-how to write such a post-commit hook myself. This is a very common
> thing, it seems, so I'm sure someone else has already done the work. Is
> there a decent post-commit hook available for this already somewhere
> that I can use?

I wrote SVN::Notify::Mirror[1] and SVN::Notify::Config[2] specifically
to handle dynamic website development. Since you are running Linux, it
should be trivial to setup (it is a complete pain on Windows).

Specifically, I used a development model where:

1) All active development occurs on trunk which is synchronized
automatically to a development server (not publicly available);

2) The production site is automatically synchronized to the latest tag
which matches a pre-defined regular expression (e.g. RELEASE-\d+).

The developer only has to create a tag that matches the regex and the
production site switches to that tag (a very fast operation). No
developer access to the webserver itself is required; the post-commit
hook does it all.



1) http://search.cpan.org/search?query=SVN::Notify::Mirror
1) http://search.cpan.org/search?query=SVN::Notify::Config

To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-08-20 04:13:26 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.