Find a file
2013-07-16 22:25:59 +03:00
app Fix tests and tab highlight 2013-07-16 22:25:59 +03:00
config Move branches list to own controller with pagination. Ability to remove branches from UI 2013-07-16 22:19:07 +03:00
db Update schema with snippet content size 2013-07-12 16:18:43 +03:00
doc Update docs 2013-07-16 11:50:00 +03:00
features Fix tests and tab highlight 2013-07-16 22:25:59 +03:00
lib Add create_branch, rm_branch methods to Gitlab::Shell class 2013-07-16 22:18:14 +03:00
log init commit 2011-10-09 00:36:38 +03:00
public Add logo to deploy.html 2013-02-16 21:35:11 +02:00
script use git user in check script 2013-06-06 16:25:07 -05:00
spec Fix tests and tab highlight 2013-07-16 22:25:59 +03:00
tmp Add tmp/.gitkeep file to ensure tmp folder exists on clone 2012-09-04 05:28:48 -04:00
vendor bring more usability to issues filtering. Block issues area on loading filtered results 2013-05-08 13:43:21 +03:00
.foreman complete hooks for post receive 2012-01-08 13:20:20 +02:00
.gitignore Generate the Rails secret token on first run. 2013-05-22 23:55:48 +00:00
.rspec Spork support added 2013-03-26 13:38:42 +04:00
.simplecov organize simplecov 2013-01-07 22:23:13 +02:00
.travis.yml rollback travis ruby1.9 version 2013-06-06 20:18:47 +03:00
CHANGELOG Update docs 2013-07-16 11:50:00 +03:00
config.ru added RAILS_RELATIVE_URL_ROOT support 2012-12-28 18:11:28 +00:00
CONTRIBUTING.md Merge branch 'rename-support-forum-to-mailing-list' of /home/git/repositories/gitlab/gitlabhq 2013-07-08 06:29:14 +00:00
Gemfile Sanitize user attrs on model level 2013-07-10 13:48:50 +03:00
Gemfile.lock Sanitize user attrs on model level 2013-07-10 13:48:50 +03:00
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
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 Rename support forum to mailing list to prevent duplication on community page of GitLab.org. 2013-07-07 11:30:31 +02:00
VERSION Added new entries to changelog. Version up to 5.4.0.pre 2013-07-08 13:59:56 +03: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 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.

Unsupported production installation

New versions and upgrading

Each month on the 22nd a new version is released together with 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.

  • 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