[英]TFVC to TF GIT migration: repo organisation, incl multiple solutions and build
We are considering migrating from TFVC to GIT (probably hosted within TFS).我们正在考虑从 TFVC 迁移到 GIT(可能托管在 TFS 中)。
Main reason is the bad support for file movement, which makes larger refactorings a pain.主要原因是对文件移动的不良支持,这使得更大的重构变得痛苦。 Merging generally is rather poor, often asking for manual resolution even if just one side of the merge has been updated.
合并通常相当糟糕,即使仅更新了合并的一侧,也经常要求手动解决。 Another bad fact is that we currently have several team projects, and would like to include (via source) some shared functionality, this seems hard to do when several team projects are involved.
另一个不好的事实是我们目前有几个团队项目,并且希望包括(通过源代码)一些共享功能,当涉及多个团队项目时,这似乎很难做到。
What would be a good organisation for the GIT repo for TFS considering考虑到 TFS 的 GIT 存储库,什么是一个好的组织
We are using https://github.com/git-tfs/git-tfs for the migration so far, which seems reasonably good.到目前为止,我们正在使用https://github.com/git-tfs/git-tfs进行迁移,这似乎相当不错。 We don't care much for work items or similar.
我们不太关心工作项目或类似的东西。
Please share your insight.请分享您的见解。 After some quick research I am wondering if it would be worth it, since it seems to be some work, amongst others deciding on a repo structure as well as setting up the build projects anew.
经过一些快速研究后,我想知道这是否值得,因为这似乎是一些工作,其中包括决定回购结构以及重新设置构建项目。
The main difference is the centralized aspect of TVFS vs. the decentralized nature of Git, which means:主要区别在于 TVFS 的集中方面与 Git 的分散性质,这意味着:
So make sure to split your Git repo resulting from a git-tfs export, in order to:因此,请确保拆分由 git-tfs 导出产生的 Git 存储库,以便:
Depending on your build environment, that can include challenges, but with solutions .根据您的构建环境,这可能包括挑战,但有解决方案。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.