Go to file
Dmitriy Zaporozhets 168afa024e Merge branch 'bugfix/153/500_when_create_issue' into 'master'
Fix 500 Error When Creating Issue For Project With No Commits

This merge request fixes issue #153, where trying to create an issue for a project with no commits results in a 500 error. This was done by updating the form to check that the repository wasn't empty before trying to load the contribution guide.
2014-03-27 13:12:31 +00:00
app Fixed 500 error when creating issue for project with no commits. 2014-03-27 08:20:43 -04:00
bin Added executable file permission to binstubs 2014-02-20 12:56:22 +01:00
config Use EventCreateService for notes, merge requests 2014-03-25 15:08:25 +02:00
db Start development Key seed id from 1. 2014-03-23 23:49:22 +01:00
doc Merge pull request #6569 from criteo/api_merge_request_comments 2014-03-26 10:06:51 +02:00
features Fix tests 2014-03-25 12:05:37 +02:00
lib Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce 2014-03-27 08:56:13 +02: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 Add load_ok to background_jobs usage message 2014-03-20 14:47:06 +01:00
spec Additional check in the test. 2014-03-26 12:56:25 +01:00
tmp Add tmp/.gitkeep file to ensure tmp folder exists on clone 2012-09-04 05:28:48 -04:00
vendor Move images from vendor to app so they are compiled by rails 2014-03-12 10:19:24 +02:00
.foreman complete hooks for post receive 2012-01-08 13:20:20 +02:00
.gitignore Add envrc to git-ignore 2014-03-06 15:55:57 +01:00
.rspec Remove --drb from .rspec 2014-03-24 08:55:27 -04:00
.simplecov organize simplecov 2013-01-07 22:23:13 +02:00
.travis.yml Fix travis setup 2014-03-18 22:21:25 -04:00
CHANGELOG Change the user search query to be case insensitive. 2014-03-26 12:45:39 +01:00
CONTRIBUTING.md Nice trick for css class check mentioned by Dmitriy. 2014-03-25 21:35:08 +01:00
Gemfile Remove Spork 2014-03-24 08:55:27 -04:00
Gemfile.lock Remove Spork 2014-03-24 08:55:27 -04:00
Guardfile APi for commits. Better api docs 2012-09-21 13:22:30 +03:00
LICENSE update copyright year to range 2014-02-16 23:06:35 -08:00
MAINTENANCE.md Refer to release docs. 2014-02-19 13:12:55 +01:00
PROCESS.md Merge branch 'master' into define-feature-request 2014-03-25 20:57:21 +01:00
Procfile Use 2 workers in development 2014-03-20 10:16:17 +02:00
README.md Simplify run tests command 2014-03-25 12:10:50 +02:00
Rakefile init commit 2011-10-09 00:36:38 +03:00
VERSION Time for 6.8.0pre 2014-03-26 09:50:18 +02:00
config.ru Check specifically for Unicorn in rack config.ru file 2014-01-23 18:24:31 +01:00

README.md

GitLab: self hosted Git management software

logo

animated-screenshots

Gitlab is open source software to collaborate on code

  • Manage git repositories with fine grained access controls that keep your code secure
  • Perform code reviews and enhance collaboration with merge requests
  • Each project can also have an issue tracker and a wiki
  • Used by more than 50,000 organizations, GitLab is the most popular solution to manage git repositories on-premises
  • Completely free and open source (MIT Expat license)
  • Powered by Ruby on Rails

Code status

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

  • Code Climate

  • Coverage Status

Resources

Requirements

  • Ubuntu/Debian/CentOS/RHEL**
  • 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

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

  • Run all tests

      bundle exec rake 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.

  • Feature request 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.

  • Gitter chat room here you can ask questions when you need help.