19

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?

mattmilten
  • 6,242
  • 3
  • 35
  • 65
  • 1
    I just found about BitNami (http://bitnami.com/stack/gitlab). They provide a one-click-installer (sort of) to setup GitLab. Does anyone have experience with this or did already migrate to BitNami/GitLab from a plain Gitolite environment? – mattmilten Mar 19 '13 at 14:34
  • Gitolite is no longer a part of GitLab (since version 5.0). They replaced it with GitLab shell. – mattmilten Mar 22 '13 at 14:11

1 Answers1

3

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:

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • 1
    Seems gitlab does not use gitolite anymore. It has its own manager: gitlab-shell – Frizlab Dec 24 '13 at 20:13
  • This answer is not valid anymore. Gitlab does not use gitolite anymore. – Thomas Aug 31 '18 at 09:20
  • @Thomas Thank you. I have updated the answer accordingly. – VonC Aug 31 '18 at 11:21
  • I think the question was asking how to migrate from gitolite to GitLab – Thomas Aug 31 '18 at 12:10
  • @Thomas No: the question was: "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?". That is what my update addresses. – VonC Aug 31 '18 at 12:17