You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by John Peacock <jp...@rowman.com> on 2005/11/17 15:24:41 UTC

[mildly OT]SVN-Notify-Mirror-0.01_05.tar.gz

I'd love to get some feedback on this module prior to making it the 0.02 
release:

	<http://tinyurl.com/98fz7>

I'm especially interested in suggestions for improving the documentation 
of the new SSH feature.

The important part of the description is this:

> Keep a directory in sync with a portion of a Subversion repository.
> Typically used to keep a development web server in sync with the
> changes made to the repository. This directory can either be on the
> same box as the repository itself, or it can be remote (via SSH
> connection).

Here is an example post_commit file:

> #!/usr/bin/perl -MSVN::Notify::Config=$0
> --- #YAML:1.0
> '':
>   PATH: "/usr/bin:/usr/local/bin"
> 'path/in/repository':
>   handler: Mirror
>   to: "/path/to/www/htdocs"
> 'some/other/path/in/repository':
>   handler: Mirror
>   to: "/path/to/remote/www/htdocs"
>   ssh_host: "remote_host"
>   ssh_user: "remote_user"
>   ssh_tunnel: "10.0.0.2"
>   ssh_identity: "/home/user/.ssh/id_rsa"

which will update the local WC "/path/to/www/htdocs" when any change it 
committed to "path/in/repository" and will update the WC in 
"/path/to/remote/www/htdocs" on the box remote_host when something 
changes in the "some/other/path/in/repository" path.

What I can do with this is to have the test web server (local to the 
repository) kept in sync with project1/trunk and have the production web 
server (in a DMZ) kept in sync with project1/branches/production.  I'm 
trying to think of a clever way to have the production server switch to 
the latest tag automatically (since that would be cleaner than having to 
merge to the branches/production all the time).

TIA

John

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4501 Forbes Boulevard
Suite H
Lanham, MD  20706
301-459-3366 x.5010
fax 301-429-5748

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org