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.
HTH
John
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