结合SVN FTP系统?

发布于 2024-07-04 01:34:31 字数 75 浏览 11 评论 0原文

是否有任何系统可以检查网站的更改并自动更新网站。

该网站始终有效地运行最新的稳定版本,无需将文件 ftp 到服务器。

Are there any systems out there where one can check in changes for a website and have that automatically update the website.

The website effetively runs off the latest stable build the whole time without the need to ftp the files to the server.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(11

旧情别恋 2024-07-11 01:34:31

我认为这会对您有所帮助

https://github.com/midhundevasia/deploy

它在 Windows 中运行良好。

I think this will help you

https://github.com/midhundevasia/deploy

its works well in Windows.

青丝拂面 2024-07-11 01:34:31

http://svn2ftp.com > SVN2FTP 允许用户将 SVN / Subversion 提交直接推送到 FTP 或 SFTP 服务器

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

与君绝 2024-07-11 01:34:31

svn2web 作为提交后挂钩安装,每次提交时都会将文件从 subversion 存储库 ftp 或 scp 到一个或多个 Web 服务器。 有关详细信息,请参阅 SourceForge 项目。

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.

给我一枪 2024-07-11 01:34:31

您可能想看看 Unison。 我对它作为一个网站的发布机制相当满意,我想要一个有效的智能双向 rsync。 您可能可以毫不费力地将它与 SVN 联系起来。

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.

夜血缘 2024-07-11 01:34:31

我会考虑使用 提交后挂钩 在发生更改时更新网站。 这可能就像使用“svn export”将存储库的当前状态导出到实时网站位置一样简单。 当然,如果您的网站有大量内容,那么这会考虑到性能,因此您可能想要做一些更复杂的事情,并且只推送提交中更改的内容的更新。

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.

╰つ倒转 2024-07-11 01:34:31

实际上,需要发生的是,我标记为实时或稳定的更改需要与实时网站合并。 这实际上意味着我不必担心意外复制文件,并且如果出现问题,可以再次恢复到以前的版本。

我将调查 post_commit 钩子,但我必须找到一种方法来首先进行备份,这样 subversion 的问题就不会杀死该网站。

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.

〆凄凉。 2024-07-11 01:34:31

SVN 的 post_commit 挂钩非常适合此类事情。

ADS(自动部署脚本)看起来是一个解决方案,但是我从来没有尝试过——只是用几秒钟的谷歌搜索找到了它。

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.

吹梦到西洲 2024-07-11 01:34:31

Assembla 通过他们的 FTP 和 Subversion 工具得到了它。

Assembla got it, with their FTP and Subversion tools.

哽咽笑 2024-07-11 01:34:31

Beanstalk 是一个将 ftp 与 subversion 集成的解决方案。

http://beanstalkapp.com/

Beanstalk is a solution that integrates ftp with subversion.

http://beanstalkapp.com/

邮友 2024-07-11 01:34:31

是的,post_commit 钩子就是你想要的。

挂钩什么?? 我建议使用 rsync (如果您的站点实例不是 svn 工作副本)或使用密钥身份验证的 ssh 调用执行“cd WEBDIR &&”的脚本。 svn up'(如果是的话)。

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).

纸短情长 2024-07-11 01:34:31

您可能想要使用 CruiseControl(或 CruiseControl.NET)和 Ant(或 NAnt)的组合。 这对我们来说非常有效。

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文