I spent some time looking for an efficient way to update my website from a svn repository, but all I can find is to "svn update" directly from the web server, or use a pre/post-commit hook.
Since I don't have ssh access to my web server, I can't really use "svn update", so I tested a pre/post-commit hook (svn2web) which was practical, but not reliable enough. So I look over the internet and found Springloops, which is very satisfying because it has a FTP deploy feature that allows me to update my website directly from the svn repository.
Unfortunately, it isn't free, and I like to have full control of my repository. So my question is:
Is there any tool or script that allows me to update my website over FTP from my Subversion repository ?
Just like they do at Springloops (or Beanstalk).
Thank you very much for your help, I'm out of ideas...
Right-click on docs/developerInfo. txt and select "SVN Update". See if the new changes were added to the file. Commit your changes.
The SVN update Command. The svn update command lets you refresh your locally checked out repository with any changes in the repository HEAD on the server. It also tells you what has been changed, added, deleted. If a change has been made to a file you have also changed locally, svn will try to merge those changes.
Examples. Use the svn upgrade command to upgrade the working copy to the most recent metadata format supported by your version of Subversion.
svn update brings changes from the repository into your working copy. If no revision is given, it brings your working copy up to date with the HEAD revision. Otherwise, it synchronizes the working copy to the revision given by the --revision ( -r ) option.
Take a look at Capistrano. It's extremely powerful and can do a full checkout, zip it up, and push it to the server over ftp using the new "copy" deployment strategy:
set :deploy_via, :copy
See http://www.capify.org/upgrade/whats-new for more info.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With