SVN中的代码冻结-生成管理 [英] Code freeze in SVN - Build management

查看:308
本文介绍了SVN中的代码冻结-生成管理的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有比要求所有开发人员不要签入任何新代码更好的方法来在SVN中实现代码冻结?

我们正在运行CruiseControl,它会自动将最新的构建部署到环境中。因此,如果引入了新代码,先前可用的内部版本将更改为最新版本。我希望已部署的构建是来自特定分支/标记的构建,以便任何新的代码签入都不会影响已部署的构建。仅当我下次标记/分支时,才应再次部署新代码。
如何实现呢?

Is there a better way to implement code freeze in SVN than asking all developers to not check in any new code?
We have CruiseControl running, which automatically deploys the latest build to environment. So if new code comes in, the build that was made available earlier changes to the latest one. I want that the build that is deployed is the one from a particular branch/tag, so that any new code check-ins dont affect the deployed build. Only when i tag/branch next time, the new code should be again deployed. How can we achieve this?

推荐答案

使用分支功能。以下链接向您显示了有关分支的所有详细信息(如果愿意,还可以使用标签): http://svnbook.red-bean.com/en/1.1/ch04.html

Use SVN's built in branching functionality. The following link shows you all the details on how to branch (you can also use tags if you prefer): http://svnbook.red-bean.com/en/1.1/ch04.html

这篇关于SVN中的代码冻结-生成管理的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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