Easy way to setup GitLab with existing Gitolite configuration

喜你入骨 提交于 2020-01-12 01:37:28

问题


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:


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:

  • "Demo: Mastering code review with GitLab" from Emily von Hoffmann,
  • "Code Review Via GitLab Merge Requests" from Maxim Letushov.


来源:https://stackoverflow.com/questions/14523876/easy-way-to-setup-gitlab-with-existing-gitolite-configuration

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!