Easy way to setup GitLab with existing Gitolite co

2020-05-23 02:36发布

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?

1条回答
我命由我不由天
2楼-- · 2020-05-23 03:01

Original answer (January 2013)

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).


Update (August 2018, 5 years later):

As commented below by Thomas, a few months after this answer, GitLab released GitLab 5.0, without gitolite.

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?

These days (2018, GitLab 11.2.x), code review is supported through merge request (it has been so since a few years already).
See:

查看更多
登录 后发表回答