Combined SVN FTP system?

给你一囗甜甜゛ 提交于 2019-12-05 01:13:40

I would look into using a post-commit hook to update the site when changes are made. This could be something as simple as using "svn export" to export the current state of the repository to the live website location. Of course, this has performance considerations if your site has lots of content, so you may want to do something more sophisticated and only push updates for content that was changed in the commit.

You might want to use a combination of CruiseControl (or CruiseControl.NET) and Ant (or NAnt). That does the job extremely well for us.

Beanstalk is a solution that integrates ftp with subversion.

http://beanstalkapp.com/

Yes, post_commit hook is what you want.

What to hook to? I'd recommend rsync (if your site instance isn't a svn working copy) or ssh with key auth calling a script which does 'cd WEBDIR && svn up' (if it is).

Assembla got it, with their FTP and Subversion tools.

SVN's post_commit hook is ideal for things like this.

ADS (automatic deployment script looks like a solution to this, but I've never tried it - just found it with a few seconds of Googling.

Effectively what needs to happen is that changes I have marked as live or stable needs to be merged with the Live website. This effectively means I don't have to worry about accidently copying over files and if something goes wrong it could be reverted to the previous version again.

I'll investigate post_commit hook but I'll have to find a way to do a backup first so that a problem with subversiondoesn't kill the site.

You may want to take a look at Unison. I was fairly happy with it as a publishing mechanism for a site where I wanted, effectively, a smart two-way rsync. You could probably tie it to SVN without much difficulty.

svn2web, installed as a post-commit hook, will ftp or scp files from a subversion repository to one or more web servers on every commit. See the SourceForge project for details.

http://svn2ftp.com > SVN2FTP allows users to Push SVN / Subversion Commits Directly to an FTP or SFTP Server

I think this will help you

https://github.com/midhundevasia/deploy

its works well in Windows.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!