我已经使用 git 文档 并添加了一些用户。
我想向用户实施每个存储库权限,有一些 超过 8 个问题 几年前,这表明这是不可能的,并且使用 github、gitlab 等。现在还是这样吗?
或者我是否需要使用其他工具,例如 Gitosis 或 Gitolite?
I have implemented a private git server over http using the git documentation and added a few user.
I would like to implement per repo permissions to the users, there are some questions from over 8 years ago that says it is not possible and to use github,gitlab,etc. Is it still the case?
Or do i need to use other tools like Gitosis or Gitolite?
发布评论
评论(1)
所有问题都回答“是”。一切都没有改变。提示: GitLab-on-premise 是最先进的解决方案,但也非常繁重。有许多更简单、更轻便的工具。
让我从 https://stackoverflow.com/a/44246093/7976758 复制我的旧答案:
你可以执行 ssh + gitolite。没有 Web 界面,只有纯 git。对于 Web 界面,请使用 gitweb 或 cgit。
或者 Klaus — 具有 Web 界面和 git 智能 HTTP 传输的 WSGI 服务器。< /p>
Kallithea。
页面
http://gitprep.yukikimoto.com/
https://gogs.io/
https://gitbucket.github.io/gitbucket-news/about/
"Yes" on all questions. Nothing is changed. Hint: GitLab-on-premise is the most advanced solution but also very heavy. There are many simpler, lighter tools.
Let me copy my old answer from https://stackoverflow.com/a/44246093/7976758 :
You can do ssh + gitolite. No web interface, just pure git. For web interface use gitweb or cgit.
Or Klaus — a WSGI server with both web interface and git smart HTTP transport.
Kallithea.
pagure
http://gitprep.yukikimoto.com/
https://gogs.io/
https://gitbucket.github.io/gitbucket-news/about/
https://rocketgit.com/