Re: Use SVN to Publish to FTP?
From: Gavin Andresen <gavinandresen_at_gmail.com>
Date: 2007-07-02 04:20:52 CEST
>
Is nightly important? Is the machine hosting the svn repository Unix-like?
I wrote a php-based pre- or post- commit hook that will use ftp or sftp to
It's on SourceForge:
... here's the README:
Subversion hook script to automatically copy committed files to a
HOW TO USE:
Install as a pre-commit hook. The hooks directory is
Then, add a "svn2web" property to the branch or directory that should
If a branch/directory should get copied multiple places, use svn
Also, note that if a subdirectory has the svn2web property set, then
The put_ftp/put_sftp/remove_ftp/remove_sftp files must be executable,
EXAMPLE pre-commit HOOK:
-- -- Gavin AndresenReceived on Mon Jul 2 04:21:01 2007 |
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.