Subversion 存储库应该在哪里? [英] Where should a Subversion repository be?

查看:40
本文介绍了Subversion 存储库应该在哪里?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

应该在开发服务器上还是在 Subversion 服务器上?

Should it be on the development servers or a Subversion server?

我想这可以扩展到任何客户端-服务器版本控制系统.

I suppose this could be expanded to any client-server version control system.

推荐答案

物理存储库应该位于获得定期备份的稳定系统上.

The physical repository should be on a stable system that gets regular backups.

通常,开发服务器不符合这种描述……将 apache 服务器放在开发服务器上并将文件远程托管在稳定的备份文件服务器上可能是可以接受的(尽管有许多这种方法的陷阱)如果您无法获得额外的服务器资源.如果您有一个积极的备份系统来保护您的代码,那么将它托管在开发服务器上可能没问题...

Generally, a development server does not fit this description... it may be acceptable to put the apache server on the dev server and host the files remotely on a stable, backed-up file server (though there are a number of pitfalls with this approach) if you are unable to get additional server resources. Hosting it on the dev server may be fine if you have an aggressive backup system to protect your code...

请记住,开发服务器容易发生配置更改、被吹走或以其他方式搞砸,这可能会在关键时刻关闭您的存储库.

Just keep in mind that dev servers are prone to configuration changes, being blown-away, or otherwise mucked with that could take down your repo at a critical moment.

这篇关于Subversion 存储库应该在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆