将 Git 与 ClearCase、AccuRev 或 Perforce 结合使用的价值?

发布于 2024-10-20 05:29:13 字数 200 浏览 5 评论 0原文

我对将传统 SCM 产品(ClearCase、AccuRev、Perforce 等)与 Git 一起用于分布式团队的大型项目的价值(或缺乏价值)感兴趣。

提高团队活动的可见性是否会带来显着的增值?控制分支和合并?访问控制和安全?发布工程?其他因素?

还是 Git 本身更好?或者是否有一个开源的SCM可以与上面提到的商业产品等效?

谢谢。

I am interested in the value (or lack thereof) of using a traditional SCM product (ClearCase, AccuRev, Perforce, etc.) along with Git for large projects with distributed teams.

Is there a significant value-add in terms of increased visibility into team activities? Control of branching and merging? Access control and security? Release engineering? Other factors?

Or is it better to Git by itself? Or is there an open source SCM that would be equivalent to the commercial products mentioned above?

Thanks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

平定天下 2024-10-27 05:29:13

使用尽可能少的系统。如果您没有看到单独使用 git 以外的任何东西的优势,那么就单独使用 git 吧。

大多数项目只使用一个 VCS(例如 git 或 Subversion),并且可以完成他们需要做的一切(分支,..),因此除非您有一个不寻常的需求,否则您可以非常确定一个产品可以完成所有工作你需要。

Use as few systems as you can get away with. If you don't see an advantage in using anything other than git alone, then just use git alone.

Most projects use just one VCS (e.g. git or Subversion) and can do everything they need to do (branching, ..) so unless you have a requirement you know of which is unusual, you can be pretty certain that one product will do everything you need.

美人如玉 2024-10-27 05:29:13

我目前不希望将 Git 与 ClearCase 或 SVN 集成,主要是因为 Git 存储库无法保留与传统集中式存储库相同类型的数据(二进制文件)或卷(文件数量/大小)。
请参阅“Git 限制是什么?”。

我现在正尝试在企业 ClearCase-SVN 环境中引入 Git,作为独立的替代方案。

虽然速度、私有提交和合并功能非常受赞赏,但我被要求解决以下方面的实际问题:

  • 集中化:中央存储库仍然是强制性的,作为许多团队同步其数据的参考代码
  • 模块化:没有办法只创建一个 Vob (ClearCase) 或一个 Subversion 存储库并开始将所有内容放入其中:每个 git 存储库都需要非常细粒度,以便添加一个连贯的内容标记或分支时的值(这些操作涉及所有 Git 存储库,而不是所述存储库中的子目录)。
  • 身份验证:每个用户都在 LDAP 中引用,我需要使用 prereceive 挂钩,以便至少使用正确的 user.name 进行一次提交 配置(即user.name 等于我们公司LDAP 中的通用名称cn)。 (有点像 gitolite 脚本 'contrib/update .email-check',但用于 user.name,而不是电子邮件)。
  • 正确访问gitolite 在这里为获得非常精确的 ACL 提供了巨大的帮助那些中央仓库。
    但使用 ssh 私钥/公钥也意味着拥有带有密码短语的私钥(根据我们的安全团队的规定,这是强制性的),这对于与 Hudson 或其他工具集成来说并非易事。

简而言之,我仍然发现 Git 更好,但由于我负责实现其安装/管理,我完全同意我之前在 SO 问题“我们最终能否在企业软件中迁移到 DVCS?是SVN 仍然是开发的“必备”吗?”;)。

Integrating Git with ClearCase or SVN isn't something I am looking for at the moment, mainly because a Git repo cannot keep the same kind of data (binaries) or volume (number/size of files) than traditional centralized repos.
See "What are the Git limits?".

I am trying to introduce Git right now in a corporate ClearCase-SVN environment, as a stand-alone alternative.

While the speed, private commits and merge features are very much appreciated, I am asked to solve real issues in term of:

  • centralization: central repositories are still mandatories, to act as reference for many teams to synchronize their code to
  • modularization: there is no way to create just one Vob (ClearCase) or one Subversion repo and start putting everything in it: each git repo needs to be much fine-grained in order to add a coherent value when tagging or branching (those operations concern the all Git repo, not a subdirectory within said repo).
  • authentication: each user is referenced in a LDAP and I need to come up with prereceive hooks in order to have at least one commit made with the right user.name config (i.e. a user.name equals to the common name cn in the LDAP of our company). (a bit like the gitolite script 'contrib/update.email-check', but for user.name, not for email).
  • right access: gitolite is a huge help here to get very precise ACL for those central repos.
    But using ssh private/public keys also means having private keys with pass-phrase (mandatory according to our security team), and that isn't trivial to integrate with Hudson or other tools.

In short, I still find Git better, but since I am in charge of implementing its installation/administration, I fully agree with my previous analysis made in the SO question "Can we finally move to DVCS in Corporate Software? Is SVN still a 'must have' for development?" ;).

情何以堪。 2024-10-27 05:29:13

有价值。

  1. 使用廉价本地分支的灵活性和便利性来促进本地(计算机)环境中的开发人员工作流程,使用集中式系统轻松控制基于角色的权限和大量文件的聚合。

  2. 开发人员基于任务的分支保留在分布式系统中,并保持集中式历史记录更清晰。

  3. 集中式系统可用于从分布式系统卸载大型二进制资产。

有成本。

  1. 混合环境的支持/培训。

  2. 需要在系统之间定位/维护转换层。

There is value.

  1. Use flexibility and convenience of cheap local branching to facilitate developer work flow in your local (machine) environment, use the centralized system for easy control of role based permissions and conglomeration of large numbers of files.

  2. Developer task-based branching stays in the distributed system and keeps centralized history cleaner.

  3. Centralized systems can be used to off load large binary assets from distributed systems.

There is cost.

  1. Supporting/training for a hybrid environment.

  2. Requires locating/maintaining a translation layer between systems.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文