Project management and code hosting application. Follow us on twitter @gitlabhq
 
 
 
 
 
 
Go to file
Dan Knox 330fe4162e Fix Wiki migration task and add more test coverage.
There was an error in the #extract_attributes_from_page method that
caused an exception when checking to see if a page named "Home"
already exists.

The check occurs to handle the renaming of the main index page to
"Home" to match the Gollum standard. If there is already a page
called "Home" then the migrator will leave that page and create
the Index page as usual. Users will need to manually rename their
old "Home" page to something else then rename their "Index" page
to "Home". Fortunately, I would be highly surprised if this case
ever comes up.

I also added more verbosity to the logging so if an error does
occur, it will be easier to track down which Wiki page is causing
the problem.
2013-03-16 18:01:48 -07:00
app Show projet name with namespace on team _projects widget 2013-03-16 14:40:16 +02:00
config Merge branch 'use_gollum_wikis' of https://github.com/DanKnox/gitlabhq into DanKnox-use_gollum_wikis 2013-03-15 16:55:07 +02:00
db add dark solarized theme for code preview 2013-03-15 15:09:34 +02:00
doc Merge pull request #3170 from Asquera/api/system_hooks_adjustments 2013-03-10 23:56:29 -07:00
features Merge branch 'use_gollum_wikis' of https://github.com/DanKnox/gitlabhq into DanKnox-use_gollum_wikis 2013-03-15 16:55:07 +02:00
lib Fix Wiki migration task and add more test coverage. 2013-03-16 18:01:48 -07: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 Fix sidekiq chech and added script/check 2013-01-09 20:31:05 +02:00
spec Fix Wiki migration task and add more test coverage. 2013-03-16 18:01:48 -07:00
tmp Add tmp/.gitkeep file to ensure tmp folder exists on clone 2012-09-04 05:28:48 -04:00
vendor Move graph module from lib or vendor directory to app directory. 2013-02-26 20:31:39 +09:00
.foreman complete hooks for post receive 2012-01-08 13:20:20 +02:00
.gitignore Merge pull request #2990 from raphendyr/gitignore_and_logrotate 2013-02-18 10:01:09 -08:00
.rspec init commit 2011-10-09 00:36:38 +03:00
.simplecov organize simplecov 2013-01-07 22:23:13 +02:00
.travis.yml fixed travis env, added coverage badge 2013-03-10 20:29:34 +02:00
CHANGELOG version up to beta1 2013-03-15 18:01:03 +02:00
CONTRIBUTING.md Update links to GitLab.com after renaming of GitLab cloud. 2013-03-15 17:33:43 +01:00
Capfile.example Capistrano deployment example scripts 2013-02-20 00:13:18 -03:30
Gemfile Update gollum repository location in the Gemfile. 2013-03-15 09:05:02 -07:00
Gemfile.lock Gemfile.lock with gollum 2013-03-15 18:50:45 +02: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
Procfile Fix procfile and attachment in event nore 2013-02-11 19:25:06 +02:00
README.md Update links to GitLab.com after renaming of GitLab cloud. 2013-03-15 17:33:43 +01:00
ROADMAP.md docs improvement 2013-02-28 18:30:07 +01:00
Rakefile init commit 2011-10-09 00:36:38 +03:00
VERSION version up to beta1 2013-03-15 18:01:03 +02:00
config.ru added RAILS_RELATIVE_URL_ROOT support 2012-12-28 18:11:28 +00:00

README.md

GitLab: self hosted Git management software

logo

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

Code status

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

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

  • Code Climate

  • Dependency Status

  • Coverage Status

Resources

Requirements

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

** More details are in the requirements doc

Installation

For production

Follow the installation guide for production server.

For development

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 sandboxed and with all dependencies.

Starting

  1. The Installation guide contains instructions to download an init script and run that on boot. With the init script you can also start GitLab

     sudo service gitlab start
    

or

    sudo /etc/init.d/gitlab restart
  1. Start it with Foreman in development mode

     bundle exec foreman start -p 3000
    

or start it manually

    bundle exec rails s
    bundle exec rake sidekiq:start

Running 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

      bundle exec rake spec
    
  • Spinach integration tests

      bundle exec rake spinach
    

Getting help

New versions and the API

Each month on the 22th a new version is released together with an upgrade guide.

Other documentation

Getting in touch