【问题标题】:How to manage ACL for Git repos?如何管理 Git 存储库的 ACL?
【发布时间】:2014-02-04 04:19:52
【问题描述】:

我决定从 ClearCase 迁移到 git。但是普通的 Git 在很多方面都没有用。

计划将 gitolite/stash/gerrit 作为管理工具。有比较的吗?
我们正在从上述工具中寻找ACL、分支控制和基本的cm流程。

注意:代码审查不太重要。

如何在 Git 存储库上获得细粒度的 ACL?

【问题讨论】:

  • Gerrit 有一个相当广泛的 ACL 系统来控制访问并强制执行某些流程方面;见gerrit-documentation.storage.googleapis.com/Documentation/2.8/…。我相信 Gitolite 至少提供了其中一些功能。当您说“分支控制和基本 cm 流程”时,您可能会很清楚您在寻找什么,但如果您更具体一些,您可能会得到更好的答案。

标签: git gerrit gitolite bitbucket-server


【解决方案1】:

ClearCase 和 Git 的区别是illustrated here
而且由于 Git 是分布式的,它不提供细粒度的 ACL。
没有身份验证或授权:这是 DVCS 带来的挑战的一部分。
(见“Distributed Version Control Systems and the Enterprise - a Good mix?”)

添加它的唯一方法是在身份验证服务后面安装 authorization layer,在专用于托管的“祝福”Git 存储库的服务器上。

您需要的工具是 gitolite:参见“How Gitolite works”。

不要忽视migration process from ClearCase to Git:Git 中的存储库比巨大的 ClearCase Vob 小得多。

【讨论】:

  • @nowox 恭喜! Git 本身不拥有 ACS,但 repos 托管服务器拥有(GitHub Enterprise、GitLab、...)
猜你喜欢
  • 1970-01-01
  • 2010-10-23
  • 2020-02-01
  • 1970-01-01
  • 2013-12-06
  • 2012-12-31
  • 2011-12-20
  • 2017-08-14
  • 1970-01-01
相关资源
最近更新 更多