Find a file
Yorick Peterse abcfdd5c17
Add index for merge_requests.merge_commit_sha
This is a composite index on (target_project_id, merge_commit_sha, id)
that allows queries such as the following to use a full backwards index
scan:

    SELECT "merge_requests".*
    FROM "merge_requests"
    WHERE "merge_requests"."deleted_at" IS NULL
    AND "merge_requests"."target_project_id" = 13083
    AND "merge_requests"."merge_commit_sha" = 'e80a893ff0ea8466099f6478183631af55933db2'
    ORDER BY "merge_requests"."id" DESC
    LIMIT 1;

Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/38507
2017-09-28 13:31:28 +02:00
.github
.gitlab Added a template for database changes 2017-08-10 13:04:08 +02:00
app Merge branch 'zj-repo-gitaly' into 'master' 2017-09-28 08:56:02 +00:00
bin Merge branch '21949-add-type-to-changelog' into 'master' 2017-08-10 21:56:57 +00:00
builds
changelogs Add index for merge_requests.merge_commit_sha 2017-09-28 13:31:28 +02:00
config Move new nav into main CSS folder 2017-09-25 10:11:42 -07:00
db Add index for merge_requests.merge_commit_sha 2017-09-28 13:31:28 +02:00
doc Merge branch 'docs-38152-bump-recommended-mysql-version' into 'master' 2017-09-28 06:33:15 +00:00
docker Common Docker Documentation Location in gitlab-ce 2017-08-25 19:23:49 +00:00
features Improve list of sorting options 2017-09-23 11:46:53 +11:00
fixtures/emojis Added emoji description title to award emoji buttons 2017-04-24 14:24:48 +01:00
generator_templates Add remove_concurrent_index to database helper 2017-04-06 09:53:57 +11:00
lib Merge branch 'zj-repo-gitaly' into 'master' 2017-09-28 08:56:02 +00:00
locale Generates locale/gitlab.pot 2017-09-27 11:13:17 +01:00
log
public Changed title on 404 page 2017-09-01 11:42:31 +02:00
qa Fix admin area selector in GitLab QA 2017-09-19 10:51:19 +02:00
rubocop Add SaferBooleanColumn cop 2017-08-14 07:57:57 -07:00
scripts Check for exec permissions also in app/ 2017-09-25 10:59:25 +02:00
shared Add GitLab Pages 2017-01-31 22:50:39 +00:00
spec Merge branch 'refactor-services' into 'master' 2017-09-28 08:52:00 +00:00
symbol Resolve "Better SVG Usage in the Frontend" 2017-09-22 08:39:47 +00:00
tmp Move Prometheus presentation logic to PrometheusText 2017-06-02 19:45:58 +02:00
vendor Support new auto-deploy helm chart 2017-09-20 11:37:13 +02:00
.babelrc Update droplab 2017-04-07 13:57:03 +00:00
.codeclimate.yml Exclude more path from codeclimate job 2017-06-14 19:26:35 +03:00
.csscomb.json
.eslintignore Fix linting errors in locale/index.js 2017-09-27 13:55:41 +02:00
.eslintrc add global __webpack_public_path__ to eslint config 2017-08-18 16:05:53 -05:00
.flayignore Store MergeWorker JID on merge request, and clean up stuck merges 2017-08-07 15:23:37 -03:00
.foreman
.gitignore Support multiple Redis instances based on queue type 2017-07-11 03:35:47 +00:00
.gitlab-ci.yml Do not clone the repo when running the review-docs jobs 2017-09-21 16:19:24 +02:00
.haml-lint.yml Add custom linter for inline JavaScript to haml_lint (!9742) 2017-08-07 11:37:16 +02:00
.mailmap
.nvmrc Update .nvmrc to 7.5 2017-06-22 13:43:59 +01:00
.pkgr.yml
.rubocop.yml Decrease Perceived Complexity threshold to 15 2017-09-12 17:27:29 +00:00
.rubocop_todo.yml exclude spec/ and features/ from Style/PredicateName cop 2017-08-29 11:51:15 +03:00
.ruby-version
.scss-lint.yml Merge branch 'enable-scss-lint-declaration-order' into 'master' 2017-07-12 20:40:26 +00:00
CHANGELOG.md Update CHANGELOG.md for 10.0.2 2017-09-27 14:33:30 +02:00
config.ru set ENV['prometheus_multiproc_dir'] in config/boot.rb instead of config.ru 2017-06-15 23:41:47 +02:00
CONTRIBUTING.md add info about UX label to feature proposal to CONTRIBUTING.md 2017-09-14 20:07:17 +00:00
doc_styleguide.md
docker-compose.yml
Gemfile Update omniauth-azure-oauth2 to 0.0.9 (Support Office 365 Germany) 2017-09-26 12:30:48 +02:00
Gemfile.lock Update omniauth-azure-oauth2 to 0.0.9 (Support Office 365 Germany) 2017-09-26 12:30:48 +02:00
GITALY_SERVER_VERSION Migrate Gitlab::Git::Repository#diff to Gitaly 2017-09-21 11:05:06 +02:00
GITLAB_PAGES_VERSION Merge branch 'update-pages-9-5' into 'security-9-5' 2017-09-07 20:24:41 -04:00
GITLAB_SHELL_VERSION Update gitlab-shell to 5.9.2 2017-09-22 13:15:17 +00:00
GITLAB_WORKHORSE_VERSION Use gitlab-workhorse 3.1.0 2017-09-20 13:58:54 +02:00
LICENSE Update LICENSE to carve out third party licenses. 2017-09-19 17:38:48 +00:00
MAINTENANCE.md
package.json Resolve "Better SVG Usage in the Frontend" 2017-09-22 08:39:47 +00:00
PROCESS.md Update PROCESS.md 2017-09-05 18:58:53 +00:00
Procfile
Rakefile
README.md Add badge for dependency status 2017-08-16 12:35:42 +02:00
VERSION Bump VERSION to 10.1.0-pre 2017-09-21 20:28:58 +00:00
yarn.lock Resolve "Better SVG Usage in the Frontend" 2017-09-22 08:39:47 +00:00

GitLab

Build status Overall test coverage Dependency Status Code Climate Core Infrastructure Initiative Best Practices Gitter

Test coverage

  • Ruby coverage Ruby
  • JavaScript coverage JavaScript

Canonical source

The canonical source of GitLab Community Edition is hosted on GitLab.com.

Open source software to collaborate on code

To see how GitLab looks please see the features page on our website.

  • Manage Git repositories with fine grained access controls that keep your code secure
  • Perform code reviews and enhance collaboration with merge requests
  • Complete continuous integration (CI) and CD pipelines to builds, test, and deploy your applications
  • Each project can also have an issue tracker, issue board, and a wiki
  • Used by more than 100,000 organizations, GitLab is the most popular solution to manage Git repositories on-premises
  • Completely free and open source (MIT Expat license)

Hiring

We're hiring developers, support people, and production engineers all the time, please see our jobs page.

Editions

There are two editions of GitLab:

  • GitLab Community Edition (CE) is available freely under the MIT Expat license.
  • GitLab Enterprise Edition (EE) includes extra features that are more useful for organizations with more than 100 users. To use EE and get official support please become a subscriber.

Website

On about.gitlab.com you can find more information about:

Requirements

Please see the requirements documentation for system requirements and more information about the supported operating systems.

Installation

The recommended way to install GitLab is with the Omnibus packages on our package server. Compared to an installation from source, this is faster and less error prone. Just select your operating system, download the respective package (Debian or RPM) and install it using the system's package manager.

There are various other options to install GitLab, please refer to the installation page on the GitLab website for more information.

You can access a new installation with the login root and password 5iveL!fe, after login you are required to set a unique password.

Contributing

GitLab is an open source project and we are very happy to accept community contributions. Please refer to CONTRIBUTING.md for details.

Install a development environment

To work on GitLab itself, we recommend setting up your development environment with the GitLab Development Kit. If you do not use the GitLab Development Kit you need to install and setup all the dependencies yourself, this is a lot of work and error prone. One small thing you also have to do when installing it yourself is to copy the example development unicorn configuration file:

cp config/unicorn.rb.example.development config/unicorn.rb

Instructions on how to start GitLab and how to run the tests can be found in the getting started section of the GitLab Development Kit.

Software stack

GitLab is a Ruby on Rails application that runs on the following software:

  • Ubuntu/Debian/CentOS/RHEL/OpenSUSE
  • Ruby (MRI) 2.3
  • Git 2.8.4+
  • Redis 2.8+
  • PostgreSQL (preferred) or MySQL

For more information please see the architecture documentation.

UX design

Please adhere to the UX Guide when creating designs and implementing code.

Third-party applications

There are a lot of third-party applications integrating with GitLab. These include GUI Git clients, mobile applications and API wrappers for various languages.

GitLab release cycle

For more information about the release process see the release documentation.

Upgrading

For upgrading information please see our update page.

Documentation

All documentation can be found on docs.gitlab.com/ce/.

Getting help

Please see Getting help for GitLab on our website for the many options to get help.

Is it any good?

Yes

Is it awesome?

Thanks for asking this question Joshua. These people seem to like it.