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

Re: Looking into using Subversion

From: Ben Reser <ben_at_reser.org>
Date: Mon, 18 Nov 2013 20:18:38 -0800

On 11/18/13 7:54 AM, Chris Shelton wrote:
> I would suggest looking at the SVN::Notify::Mirror perl module:
> http://search.cpan.org/~jpeacock/SVN-Notify-Mirror-0.040/lib/SVN/Notify/Mirror.pm
> It includes a Perl script that is intended for using within a
> post-commit hook script to perform updates of a working copy after
> each commit. I have been using it for automated deployment of code
> changes to a test web server for a few years now with generally
> reliable results.

If you want to do this type of thing I'd recommend looking at svnwcsub and the
svn pubsub setup. It has the advantage of allowing this without requiring the
repository server have access to the machines you are updating. Since the
server simply provides a mechanism for the client machines to subscribe and
watch for updates. This was introduced along with 1.8.0.

Many ASF websites including Subversion's are stored in SVN and automatically
updated using this technique.

There is a very basic install instructions here:

Note that this same directory is tools/server-side/svnpubsub in the tarball.
Received on 2013-11-19 05:19:22 CET

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.