使用现有的Gitolite配置轻松设置GitLab [英] Easy way to setup GitLab with existing Gitolite configuration

查看:471
本文介绍了使用现有的Gitolite配置轻松设置GitLab的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个包含许多用户和存储库的现有Gitolite配置。它按照Gitolite安装指南的建议以默认方式进行安装。
现在我想添加GitLab,以便能够进行代码审查和错误跟踪。



实现此目的的最便捷方法是什么?

解决方案

您可以按照标准安装,并在 gitlab.yml 配置文件 gitolite repo的位置,以及gitolite管理员用户。

然而,GitLab要求用户在GitLab中注册自己并复制其公共ssh密钥。

这意味着您可能需要以适应gitolite存储现有gitolite用户的方式,因为您使用的名称可能与GitLab使用的名称不同(它使用基于 login_email_auuid 的名称) )。


I have an existing Gitolite configuration with many users and repositories. It is setup in the default way as the Gitolite installation guide suggests. Now I would like to add GitLab to be able to do code reviews and bug tracking.

What's the most convenient way to achieve this?

解决方案

You can follow the standard installation, and indicate in your gitlab.yml config file the location of your gitolite repo, as well as the gitolite admin user.

However, GitLab requires from the user to register themselves in GitLab and copy their public ssh key.
That means you might need to adapt the way gitolite has stored existing gitolite users, since the name you have used is likely to be different than the name used by GitLab (it uses a name based on the login_email_auuid).

这篇关于使用现有的Gitolite配置轻松设置GitLab的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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