gpt4 book ai didi

gitlab - gitlab团队和gitlab组有什么区别?

转载 作者:行者123 更新时间:2023-12-01 21:49:33 30 4
gpt4 key购买 nike

我使用 Gitlab 5.0 来管理我的 git 存储库,在使用 Gitlab 之前我从未使用过 github。

当我创建一个组时,我在/home/git/repositories 中看到一个具有该组名称的新目录。但对于团队来说,这样的事情是不会发生的。此外,通过组,我可以为该组创建一个项目,并且(针对该组的用户)分配会自动完成。

我看不出团体团队之间有任何其他区别,我想了解这一点。

预先感谢您,对于英语不好(我是法国人)表示歉意,

最佳答案

GitLab 6.0(2013 年 8 月,22 天)

参见commit 3bc4845 :

功能:用群组成员身份替换团队

We introduce group membership in 6.0 as a replacement for teams.
The old combination of groups and teams was confusing for a lot of people.
And when the members of a team where changed, this wasn't reflected in the project permissions.

In GitLab 6.0 you will be able to add members to a group with a permission level for each member.
These group members will have access to the projects in that group.
Any changes to group members will immediately be reflected in the project permissions.
You can even have multiple owners for a group, greatly simplifying administration.

<小时/>

Why do references to Teams still exist in GitLab 7 then? e.g. "Filter by Team"

作为用户,您首先是群组的成员,并且拥有与项目关联的角色(“报告者”、“开发者”...)(这使您成为群组的成员)该项目的成员,该项目“团队”的一部分)。
无角色,意味着“不是项目团队的成员”。
请参阅db/migrate/20140914145549_migrate_to_new_members_model.rb .

<小时/>

GitLab 5.x 的答案(2013 年 8 月 22 日之前)

  • Group用于对项目进行分组,类似于文件夹(git仓库)
  • 团队用于对资源(人)进行分组

这些概念已在 GitLab 4.2 中得到细化。 .

这使您能够以更方便的方式管理授权,在一次操作中授予对一组项目的权限,和/或向团队引用的一组人员授予权限。

GitLab 5.x 不再使用 Gitolite,但在 5.0 之前,团队和群组来自 Gitolite ,及其 gitolite.conf configuration file .
这就是team and groups已声明并关联,以便授予访问权限。
即使没有 gitolite,这个想法仍然存在:通过团队(人)和组(项目)之间的关联来管理授权。

关于gitlab - gitlab团队和gitlab组有什么区别?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15894624/

30 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com