Find a file
2014-02-06 20:31:27 +05:30
app sync with upstream for ease to merge 2014-02-06 19:47:21 +05:30
config merge with upstream master 2014-02-06 16:56:20 +05:30
db Squash migrations for years 2011 and 2012 2014-02-04 17:11:30 +02:00
doc Merge branch 'link-to-recipies' into 'master' 2014-02-06 07:47:29 +00:00
features Extract projects and mr into methods in features. 2014-02-03 13:59:20 +01:00
lib Merge pull request #5294 from dalehamel/master 2014-02-04 07:21:35 -08:00
log init commit 2011-10-09 00:36:38 +03:00
public Truthful wording. Fixes #934 2014-02-04 11:39:07 +01:00
script Minor version upgrader 2013-12-13 15:18:57 +02:00
spec sync with upstream for ease to merge 2014-02-06 19:47:21 +05:30
tmp Add tmp/.gitkeep file to ensure tmp folder exists on clone 2012-09-04 05:28:48 -04:00
vendor Merge branch 'highlight-js' into 'master' 2014-01-28 07:58:59 +00:00
.foreman complete hooks for post receive 2012-01-08 13:20:20 +02:00
.gitignore Add public assets to gitignore 2014-01-22 11:18:34 +02:00
.rspec Color in .rspec 2013-09-01 22:07:02 +03:00
.simplecov organize simplecov 2013-01-07 22:23:13 +02:00
.travis.yml Remove rails4 branch in travis configuration since this branch is already merged 2013-12-12 10:46:49 +01:00
CHANGELOG update manual error in changelog while merging 2014-02-06 20:31:27 +05:30
config.ru Check specifically for Unicorn in rack config.ru file 2014-01-23 18:24:31 +01:00
CONTRIBUTING.md Detail the merge window. 2014-01-27 14:16:13 +01:00
Gemfile Update Gemfile 2014-02-06 19:51:31 +05:30
Gemfile.lock Update Gemfile.lock 2014-02-06 19:53:29 +05:30
Guardfile APi for commits. Better api docs 2012-09-21 13:22:30 +03:00
LICENSE init commit 2011-10-09 00:36:38 +03:00
MAINTENANCE.md better wording encouraging usage of latest stable release in GitLab Maintenance Policy 2013-05-16 00:42:09 -07:00
PROCESS.md Remove GitHub mention because we also have a GitLab issue tracker now. 2014-01-22 16:54:53 +01:00
Procfile Cache MR diffs result. Improve diff output 2013-07-08 20:12:35 +03:00
Rakefile init commit 2011-10-09 00:36:38 +03:00
README.md Remove duplication with readme. Remove unneeded spaces. Prevent people writing ~git in the documentation. Descriptive headers. 2014-02-04 14:49:06 +01:00
VERSION Version to 6.6.0.pre 2014-01-25 11:48:36 +02:00

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 25.000 organizations to keep their code secure

Code status

  • build status on ci.gitlab.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+
  • git 1.7.10+
  • redis 2.0+
  • MySQL or PostgreSQL

** More details are in the requirements doc

Installation

Official installation methods

Third party one-click installers

  • Digital Ocean 1-Click Application Install Have a new server up in 55 seconds. Digital Ocean uses SSD disks which is great for an IO intensive app such as GitLab.

  • BitNami one-click installers This package contains both GitLab and GitLab CI. It is available as installer, virtual machine or for cloud hosting providers (Amazon Web Services/Azure/etc.).

Unofficial installation methods

  • GitLab recipes repository with unofficial guides for using GitLab with different software (operating systems, webservers, etc.) than the official version.

  • Installation guides public wiki with unofficial guides to install GitLab on different operating systems.

New versions and upgrading

Since 2011 GitLab is released on the 22nd of every month. Every new release includes an upgrade guide and new features are detailed in the Changelog.

It is recommended to follow a monthly upgrade schedule. Security releases come out when needed. For more information about the release process see the documentation for monthly and security releases.

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
script/background_jobs 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 RAILS_ENV=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.

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

  • Contributing guide describes how to submit merge 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 from the GitLab experts for installations, upgrades and customizations.

  • #gitlab IRC channel on Freenode to get in touch with other GitLab users and get help, it's managed by James Newton (newton), Drew Blessing (dblessing), and Sam Gleske (sag47).

  • Book written by GitLab enthusiast Jonathan M. Hethey is unofficial but it offers a good overview.

Getting in touch