NAME SVN::Notify::Mirror - Keep a mirrored working copy of a repository path SYNOPSIS Use svnnotify in post-commit: svnnotify --repos-path "$1" --revision "$2" \ --to "/path/to/www/htdocs" --handler Mirror \ [--svn-binary /full/path/to/svn] or better yet, use SVN::Notify::Config for a more sophisticated setup: #!/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" DESCRIPTION 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). INSTALLATION Install Module::Build and then run: $ perl Build.PL $ ./Build $ su # ./Build install TESTING If you have the optional Net::SSH module installed, you can test it if you have the following configured: 1) a personal ssh key (located in the default ~.ssh location); 2) your key does not have a password; 3) you have already used that key to connect successfully to localhost. Normally, once you have a personal ssh key, you can simply do $ ssh localhost and respond to the prompt to add locahost to the list of known_hosts. If this is not true, answer 'N' to the prompt during ./Build. AUTHOR John Peacock jpeacock@cpan.org