将历史记录从Clearcase保存到Git? [英] Save history from Clearcase to Git?

查看:132
本文介绍了将历史记录从Clearcase保存到Git?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的公司,我们正在从ClearCase UCM转换(完全)到Git。我们在使用Git一段时间后不会使用Clearcase。



在过渡中,有没有什么好的工具可以将ClearCase的历史记录以某种方式带入Git?

另外,我读了很多,一个组件=一个回购。但是,我们想要重新组织并将当前组件分成更小的部分。 (设置ClearCase的人并没有真正计划未来。)是否也有办法做到这一点?



任何意见将不胜感激 - 包括答案和其他东西在转型期间要注意。

解决方案

至少,使用ClearCase UCM时,您可以使用完整的基线,即在所有文件上设置的标签根据经验,您永远不会将ClearCase的完整历史记录导入基于版本控制工具的版本控制工具参考(请参阅ClearCase之间的区别(请参阅 ClearCase和Git :通过文件ClearCase有一个历史设置文件,而不是通过修订修订版)

我通常会这样做,正如我在答案中提到的 Sync GIT和ClearCase 是:




  • 每个UCM组件的一个Git回购

  • 仅导入集成流的最后3或4个基准
  • 导入只有真正需要的几条基线/ li>
  • 锁定UCM vob并将ClearCase保持为只读模式进行存档


At my company, we are transitioning (fully) from ClearCase UCM to Git. We will not be using Clearcase after some time using Git.

In the transition, are there any good tools that will bring the history from ClearCase into Git somehow?

Also, I have read a lot that one component = one repo. However, we want to reorganize and split the current component into smaller parts. (The person that set up ClearCase didn't really plan ahead.) Is there also a way to do this?

Any comments would be appreciated - including answers and other things to watch out for during the transition.

解决方案

At least, with ClearCase UCM, you have full baselines to work with, that is labels which are set on all the files of a given component.

By experience, you never import the full history from ClearCase to a Version Control Tool which is based on revision across the the referential (see the difference between ClearCase and Git: ClearCase has an history set file by file, not "revision by revision")

What I usually do, as I mention in my answer "Sync GIT and ClearCase" is:

  • one Git repo per UCM component
  • import only the last 3 or 4 baselines for the Integration Stream
  • import a few baselines from sub-Streams only if it is really needed
  • Lock the UCM vob and keep ClearCase in read-only mode for archive

这篇关于将历史记录从Clearcase保存到Git?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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