Team Foundation Server的:克隆一个集合的项目进入一个新的集合 [英] Team Foundation Server: Cloning a Collection's Project into a new Collection

查看:544
本文介绍了Team Foundation Server的:克隆一个集合的项目进入一个新的集合的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在寻求建立一个新的Team Foundation Server系列为我们的应用程序开发的下一个版本。除了少数的DLL应当或多或少保持不变,从我们的当前版本的源将在很大程度上不适。我们希望做一个新的集合,但想知道如果我们能够从我们现有的收集克隆DLL项目,以保留历史记录。

We are looking to create a new Team Foundation Server Collection for the next version of our application development. The source from our current version will largely not apply, except for a few DLLs which should more or less remain unchanged. We wanted to make a new collection but were wondering if we would be able to clone the DLL projects from our existing collection to retain history.

这可能吗?我们意识到这可能会带来一些双维护的问题,如果有需要的DLL的任何bug修正,但我们不会太在意这种情况。

Is this possible? We realize this could bring up some "Dual Maintenance" issues if there are any bugfixes needed for the DLLs, but we are not too concerned about that scenario.

到目前为止,我已经提出了一些资源。一些MSDN职位指向人民对拆分团队项目集合。这个问题存在,但问题在于,你只能有每一组中的一个项目。它指出:

So far, I have come up with a few resources. Some MSDN posts were pointing people towards Splitting a Team Project Collection. The issue there, however, is that you can only have one project in each collection. IT states:

一个项目不能在多个集合存在。直到删除拆分集之间的所有重复的项目,你将无法启动重命名的集合。

A project cannot exist in more than one collection. Until you delete all duplicated projects between the split collections, you will not be able to start the renamed collection.

这是不是真的是我们想要的。我们想保持每个集合在这两个项目的历史。

That is not really what we want. We would like to maintain both projects with history in each collection.

另外,我看到了TFSConfig命令。它包含了/克隆的选择,但我不能肯定它的用法(额外的例子也很难得的),它提到,它主要是用于的分裂的为好。

Otherwise, I saw the TFSConfig command. It contains a /clone option, but I am not quite sure of its usage (additional examples are also hard to come by) and it mentions that it is primarily used for splitting as well.

难道我们希望做到这一点心不是可能的事情?难道我们需要复制的源并将其添加为一个新的项目,在新的收集和引用旧的集合,如果我们真的需要历史?谢谢你。

Are we looking to do something that isnt possible? Would we need to copy the source and add it as a new project in the new collection and refer to the old collection if we really need history? Thanks.

推荐答案

随着其他评论者所建议的,你可能不希望开始一个新的团队项目集合用于这一目的。

As other commenters have suggested, you probably don't want to start a new Team Project Collection for this purpose.

针对创建一个新的TPC正常的原因有:

The normal reasons against creating a new TPC are:

  1. 共享code或工作在两个团队项目集合的项目是非常困难的。这几乎就像如果你连接到新的服务器。
  2. 除非你的项目是如此之大,你可能需要到集合移动到它自己的SQL服务器的未来,有没有很多价值在新的TPC

但是,如果你真的决定要在同一台服务器上创建现有TPC的副本,这些都是一般步骤如下:

However, if you did decide that you want to create a copy of an existing TPC on the same server, these are the general steps to follow:

  1. 打开TFS管理控制台,进入团队项目集合
  2. 选择您现有的收集与选择分离收集
  3. 等待分离完成。此过程复制的共享数据输出的配置数据库(等基团/身份),并将其存储在收集数据库。
  4. 一旦分离完成,备份SQL中的DATABSE
  5. 在管理控制台中,选择安装集,然后选择您刚刚脱离与放大器的数据库;备份

这些步骤就可以在同一台服务器上执行(或另一台服务器,如果你要移动它有)

These steps can then be performed on the same server (or another server, if you want to move it there)

  1. 还原数据库备份,用一个新的数据库名称
  2. 在TFS管理控制台中,选择安装集,然后选择您刚刚恢复的数据库。
  3. 在TFS将着眼于这个数据库(作为扩展属性存储),它会看到,这是一样的服务器上当前正在运行的集合的GUID,并自动给它一个新的GUID。
  4. 在这一点上,你应该有两个集合运行。

这篇关于Team Foundation Server的:克隆一个集合的项目进入一个新的集合的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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