Find a file
Luke Duncalfe f82380b9df Allow custom hooks errors to appear in GitLab UI
Error messages from custom pre-receive hooks now appear in the GitLab
UI.

This is re-enabling a feature that had been disabled in merge request
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/18646

The feature had been disabled due to security concerns that information
which was not intended to be public (like stack traces) would leak into
public view.

PreReceiveErrors (from pre-receive, post-receive and update custom
hooks) are now filtered for messages that have been prefixed in a
particular way.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/48132
2019-03-26 13:05:40 +13:00
.github
.gitlab Fix test-plan label in the template 2019-03-18 21:22:01 +05:00
app Allow custom hooks errors to appear in GitLab UI 2019-03-26 13:05:40 +13:00
bin bin/background_jobs: use pgroups 2019-02-28 21:58:31 +00:00
builds
changelogs Resolve "Spinners are active prematurely in Bitbucket Cloud import" 2019-03-18 14:49:31 +00:00
config Resolve differences in Karma config between CE and EE 2019-03-14 14:55:46 +01:00
danger Reduce dangerbot message to the essentials 2019-03-13 09:49:24 +00:00
db Run rubocop -a 2019-03-13 13:42:43 +00:00
doc Allow custom hooks errors to appear in GitLab UI 2019-03-26 13:05:40 +13:00
docker
fixtures/emojis
generator_templates Update generator templates 2018-11-22 13:17:55 +01:00
lib Allow custom hooks errors to appear in GitLab UI 2019-03-26 13:05:40 +13:00
locale Externalize strings from /app/views/projects/pipelines 2019-03-15 14:52:08 +00:00
log
plugins/examples
public Moved all emojis to the public folder 2019-03-07 09:33:03 +00:00
qa Use the same standard for method names on project activity and menu 2019-03-18 15:18:06 +00:00
rubocop Merge branch 'fix-rubocop-ee-module-injection-detection' into 'master' 2019-01-16 18:10:38 +00:00
scripts Use gitlab-ce as default project name in asset image building 2019-03-15 19:15:54 +05:30
shared
spec Allow custom hooks errors to appear in GitLab UI 2019-03-26 13:05:40 +13:00
symbol
tmp
vendor Revert "Merge branch '58927-jupyterhub-fails-to-install' into 'master'" 2019-03-14 15:45:54 +00:00
.codeclimate.yml
.csscomb.json
.eslintignore Setup Jest test environment 2018-12-05 09:24:42 +01:00
.eslintrc.yml Disable vue/use-v-on-exact due to confusing rule violations 2018-12-11 17:08:30 -06:00
.foreman
.gitattributes Use merge_db_schema for db/schema.rb conflicts 2018-11-01 14:15:55 +01:00
.gitignore Generate searchable JSDoc documentation 2019-01-14 21:46:21 +00:00
.gitlab-ci.yml Allow gitlab:ui:visual to fail 2019-03-12 16:29:44 +01:00
.haml-lint.yml Enable Lint/UselessAssignment for haml-lint 2018-08-31 18:24:18 -07:00
.mailmap
.nvmrc Upgrade to node v10.x 2018-11-12 10:48:17 +01:00
.pkgr.yml
.prettierignore Fix/update prettier script 2018-10-22 17:47:03 +00:00
.prettierrc Remove node 6 trailing comma support 2019-03-11 14:16:41 -05:00
.rubocop.yml Update rubocop target ruby version 2019-03-13 13:24:08 +00:00
.rubocop_todo.yml Remove HipChat integration from GitLab 2019-02-08 18:20:38 +00:00
.ruby-version Upgrade to Ruby 2.5.3 2018-11-13 06:17:46 -08:00
.scss-lint.yml
.stylelintrc Fixed sticky bar styling in Safari 2019-03-08 10:30:42 +00:00
babel.config.js Re-add babel plugins for dynamic imports 2019-03-05 15:15:06 +01:00
CHANGELOG.md Update CHANGELOG.md for 11.8.2 2019-03-13 16:31:41 +00:00
config.ru Enable the Layout/ExtraSpacing cop 2019-01-24 13:05:45 +01:00
CONTRIBUTING.md Remove unnecessary TOC from file 2019-01-07 09:12:20 +10:00
Dangerfile Set specific reviewers for single codebase effort 2019-03-11 10:42:19 +01:00
docker-compose.yml
Dockerfile.assets Build a docker container storing only the frontent assets 2018-10-31 11:21:14 -05:00
Gemfile Update acts-as-taggable-on 5.0 -> 6.0 2019-03-18 12:08:48 +01:00
Gemfile.lock Update acts-as-taggable-on 5.0 -> 6.0 2019-03-18 12:08:48 +01:00
GITALY_SERVER_VERSION Revert "Merge branch 'gitaly-version-v1.28.0' into 'master'" 2019-03-12 14:20:33 +00:00
GITLAB_PAGES_VERSION Add support for extensionless pages URLs 2019-02-04 13:06:08 +00:00
GITLAB_SHELL_VERSION Update GitLab Shell to v8.7.1 2019-03-06 14:28:27 +00:00
GITLAB_WORKHORSE_VERSION Update Workhorse to v8.3.1 2019-02-13 09:51:49 +00:00
INSTALLATION_TYPE
jest.config.js Revert "Merge branch 'winh-dequarantine-labels-autocomplete' into 'master'" 2019-03-05 11:02:00 +00:00
LICENSE properly wrap LICENSE file 2018-09-08 13:19:35 +02:00
MAINTENANCE.md
package.json Prefer node_modules At.js and jquery.carat versions 2019-03-13 14:02:19 +00:00
PHILOSOPHY.md Adds a PHILOSOPHY.md 2018-11-21 09:11:42 +00:00
PROCESS.md Merge branch 'master' into 'template-improvements-for-documentation' 2019-02-18 21:38:24 +00:00
Procfile
Rakefile Updates from rubocop -a 2018-07-09 21:13:08 +08:00
README.md Update README ruby version 2.3->2.4 2018-10-18 10:34:00 -04:00
VERSION Update VERSION to 11.9.0-pre 2019-02-22 06:36:57 +00:00
yarn.lock Prefer node_modules At.js and jquery.carat versions 2019-03-13 14:02:19 +00:00

GitLab

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 to GitLab page for more details.

Licensing

GitLab Community Edition (CE) is available freely under the MIT Expat license.

All third party components incorporated into the GitLab Software are licensed under the original license provided by the owner of the applicable component.

All Documentation content that resides under the doc/ directory of this repository is licensed under Creative Commons: CC BY-SA 4.0.

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.4
  • 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.

Why?

Read here

Is it any good?

Yes

Is it awesome?

These people seem to like it.