Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
GitLab is version control for your server
Ruby HTML CoffeeScript Cucumber CSS JavaScript Shell
Pull request Compare This branch is 28 commits ahead, 11763 commits behind master.
Failed to load latest commit information.
app Fix several_namespaces? to work with multiple ownership of groups
config Relative root needs to be changed in three places.
db Update 20130419190306_allow_merges_for_forks.rb
doc Merge pull request #4891 from denics/patch-2
features Minor UI improvements
lib Merge branch '6-0-stable' of github.com:gitlabhq/gitlabhq into 6-0-st…
log v1.0
public Add logo to deploy.html
script use git user in check script
spec Fix several_namespaces? to work with multiple ownership of groups
tmp Add tmp/.gitkeep file to ensure tmp folder exists on clone
vendor bring more usability to issues filtering. Block issues area on loadin…
.foreman complete hooks for post receive
.gitignore Fix confusing situation where install guide told you to install init.…
.rspec Spork support added
.simplecov organize simplecov
.travis.yml rollback travis ruby1.9 version
CHANGELOG Information about teams in changelog and switching to unicorn for all…
CONTRIBUTING.md Add information about the contributing process
Gemfile Select files with diff filter for graph log
Gemfile.lock Select files with diff filter for graph log
Guardfile APi for commits. Better api docs
LICENSE v1.0
MAINTENANCE.md better wording encouraging usage of latest stable release in GitLab M…
PROCESS.md Add information about the contributing process
Procfile Cache MR diffs result. Improve diff output
README.md Mention gitlab recipes correctly, small updates to update section.
Rakefile v1.0
VERSION Version 6.0.2
config.ru added RAILS_RELATIVE_URL_ROOT support

README.md

GitLab: self hosted Git management software

logo

animated-screenshots

GitLab allows you to

  • keep your code secure on your own server
  • manage repositories, users and access permissions
  • communicate through issues, line-comments and wiki pages
  • perform code review with merge requests

GitLab is

  • powered by Ruby on Rails
  • completely free and open source (MIT license)
  • used by more than 10.000 organizations to keep their code secure

Code status

  • build status on ci.gitlab.org (master branch)

  • build status on travis-ci.org (master branch)

  • Code Climate

  • Dependency Status this button can be yellow (small updates are available) but must not be red (a security fix or an important update is available), gems are updated in major releases of GitLab.

  • Coverage Status

Resources

Requirements

  • Ubuntu/Debian**
  • ruby 1.9.3
  • MySQL or PostgreSQL
  • git
  • gitlab-shell
  • redis

** More details are in the requirements doc

Installation

Official production installation

Official development installation

If you want to contribute, please first read our Contributing Guidelines and then we suggest you to use the Vagrant virtual machine project to get an environment working with all dependencies.

Unofficial production installations

New versions and upgrading

Since 2011 GitLab is released on the 22nd of every month. Every new release includes an upgrade guide.

Run in production mode

The Installation guide contains instructions on how to download an init script and run it automatically on boot. You can also start the init script manually:

sudo service gitlab start

or by directly calling the script

 sudo /etc/init.d/gitlab start

Run in development mode

Start it with Foreman

bundle exec foreman start -p 3000

or start each component separately

bundle exec rails s
bundle exec rake sidekiq:start

Run the tests

  • Seed the database

    bundle exec rake db:setup RAILS_ENV=test
    bundle exec rake db:seed_fu RAILS_ENV=test
    
  • Run all tests

    bundle exec rake gitlab:test
    
  • RSpec unit and functional tests

    All RSpec tests: bundle exec rake spec
    
    Single RSpec file: bundle exec rspec spec/controllers/commit_controller_spec.rb
    
  • Spinach integration tests

    All Spinach tests: bundle exec rake spinach
    
    Single Spinach test: bundle exec spinach features/project/issues/milestones.feature
    

GitLab interfaces

Getting help

  • Maintenance policy specifies what versions are supported.

  • Troubleshooting guide contains solutions to common problems.

  • Mailing list and Stack Overflow are the best places to ask questions. For example you can use it if you have questions about: permission denied errors, invisible repos, can't clone/pull/push or with web hooks that don't fire. Please search for similar issues before posting your own, there's a good chance somebody else had the same issue you have now and has resolved it. There are a lot of helpful GitLab users there who may be able to help you quickly. If your particular issue turns out to be a bug, it will find its way from there to a fix.

  • Unofficial #gitlab IRC on Freenode is another way to get in touch with other GitLab users who may be able to help you.

  • Feedback and suggestions forum is the place to propose and discuss new features for GitLab.

  • Contributing guide describes how to submit pull requests and issues. Pull requests and issues not in line with the guidelines in this document will be closed.

  • Support subscription connects you to the knowledge of GitLab experts that will resolve your issues and answer your questions.

  • Consultancy allows you hire GitLab experts for installations, upgrades and customizations.

Getting in touch

Something went wrong with that request. Please try again.