简体   繁体   English

SVN或TFS的部署解决方案

[英]Deployment solution for SVN or TFS

ASP.NET development. ASP.NET开发。
workstation OS: Win XP 工作站操作系统:Win XP
web hosting OS: Win server 2003 虚拟主机操作系统:Win Server 2003

I am looking for a source control + deployment solution. 我正在寻找源代码管理+部署解决方案。 Some people use Mercurial ( TortoiseHG + Visual Studio plugin ) & GO . 有些人使用Mercurial( TortoiseHG + Visual Studio插件 )和GO I was wondering if there's a good bundle for SVN or TFS. 我想知道是否有适合SVN或TFS的捆绑包。 Since TFS is already integrated in Visual Studio, I just need a deployment tool. 由于TFS已经集成在Visual Studio中,因此我只需要一个部署工具。 While for SVN, I need both VS plugin and deployment tool. 对于SVN,我需要VS插件和部署工具。 For deployment tool, hope it's like GO, has one button click to deploy capability. 对于部署工具,希望它像GO,只需单击一下按钮即可部署功能。 Can the community recommend some popular or industrial standard setup? 社区可以推荐一些流行的或工业标准的设置吗? Thanks. 谢谢。

if you're just using ASP.NET scripts, then you can simply install them to the right place by doing a checkout of your SVN files onto the web server, and then can update all the files by just running 'svn update' on the server. 如果您仅使用ASP.NET脚本,则可以通过将SVN文件签出到Web服务器上来简单地将它们安装到正确的位置,然后可以通过仅在服务器上运行“ svn update”来更新所有文件。服务器。 Simple and easy. 简单容易。 An alternative is to overwrite the server files by exporting the files from the repo onto the server to keep them up to date. 一种替代方法是通过将文件从存储库中导出到服务器上以使其保持最新状态来覆盖服务器文件。 The first way has the benefit of only transferring changed files so its quick. 第一种方法的好处是仅传输更改的文件,因此非常快捷。

If you want to go the full-deployment route, GO is an option and there are plenty of other ALM products to choose from. 如果您想采用全面部署的路线,则可以选择“ GO”,并且还有很多其他ALM产品可供选择。

An alternative to all that is to use a continuous-integration build server, like Hudson . 所有这些的替代方案是使用持续集成的构建服务器,例如Hudson Hudson can build after checkins and keep 'artifacts' (ie packages of releases) that can then be deployed using something like deployment plugin . Hudson可以在签入后进行构建并保留“工件”(即发行包),然后可以使用诸如Deployment Plugin之类的东西进行部署

BTW, there is nothing that has a 'one-click to deploy capability' you will spend weeks, if not months, getting it all set up just right, and then don't do anything to your code or you'll have to go back and do some more setting up and configuration. 顺便说一句,没有什么可以一键部署功能,您将花费数周(如果不是数月) 就可以正确设置所有内容,然后对您的代码不做任何事情,否则您将不得不去做返回并进行更多设置和配置。 These things can be really useful, but they are not easy options to solve whatever problems you have with release management. 这些事情可能确实有用,但是对于解决发布管理中存在的任何问题,它们都不是简单的选择。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM