Skip to content
mailstorm0 edited this page Jan 3, 2012 · 1 revision

Update gitlab to gitolite

  1. get latest code from master
  2. Backup /home/git/repositories
  3. Setup gitolite with repository $REPO_UMASK = 0007 by editing the .gitolite.rc file for the Gitolite user
  4. Restore repositories dir
  • Run chmod -R 770 repositories/ for imported repositories
  • Run chown -R git:git repositories/ for imported repositories
  1. Edit gitlab.yml with right config
  2. run bundle exec rake gitolite_rebuild RAILS_ENV=production. this will recreate all users & projects at gitolite config
Clone this wiki locally