Find a file
Yorick Peterse a5c8a52782
Better caching and indexing of broadcast messages
Caching of BroadcastMessage instances has been changed so a cache stays
valid as long as the default cache expiration time permits, instead of
the cache being expired after 1 minute. When modifying broadcast
messages the cache is flushed automatically.

To remove the need for performing sequence scans on the
"broadcast_messages" table we also add an index on (starts_at, ends_at,
id), permitting PostgreSQL to use an index scan to get all necessary
data.

Finally this commit adds a few NOT NULL constraints to the table to
match the Rails validations.

Fixes gitlab-org/gitlab-ce#31706
2017-08-11 16:43:30 +02:00
.github
.gitlab Added a template for database changes 2017-08-10 13:04:08 +02:00
app Better caching and indexing of broadcast messages 2017-08-11 16:43:30 +02:00
bin Merge branch '21949-add-type-to-changelog' into 'master' 2017-08-10 21:56:57 +00:00
builds
changelogs Better caching and indexing of broadcast messages 2017-08-11 16:43:30 +02:00
config alternative route for download archive 2017-08-10 08:49:11 +00:00
db Better caching and indexing of broadcast messages 2017-08-11 16:43:30 +02:00
doc Merge branch 'split-events-into-push-events' into 'master' 2017-08-11 14:40:03 +00:00
docker
features Migrate events into a new format 2017-08-10 17:45:44 +02:00
fixtures/emojis
generator_templates
lib Merge branch 'split-events-into-push-events' into 'master' 2017-08-11 14:40:03 +00:00
locale Update gitlab.po: Missing 'r' in "Fouché" that comes from "Fourcher" verb. 2017-08-11 09:11:29 +00:00
log
public Remove public/ci/favicon.ico 2017-07-12 10:13:47 +09:00
qa Fix new project selectors in GitLab QA 2017-07-21 12:13:27 +02:00
rubocop ini 2017-08-01 14:16:10 +09:00
scripts Remove test gitaly when older than version file 2017-08-03 10:15:08 +00:00
shared
spec Better caching and indexing of broadcast messages 2017-08-11 16:43:30 +02:00
tmp
vendor Merge branch '15664-remove-jquery-nicescroll' into 'master' 2017-08-07 19:35:45 +00:00
.babelrc
.codeclimate.yml Exclude more path from codeclimate job 2017-06-14 19:26:35 +03:00
.csscomb.json
.eslintignore
.eslintrc Correct eslintrc comma dangle 2017-08-04 13:14:54 +01: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 run the ee_compat_check job for stableish branches 2017-08-11 12:29:20 +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 Enable the RSpec/HookArgument cop and auto-correct offenses 2017-08-10 19:29:42 -04:00
.rubocop_todo.yml Enable the RSpec/HookArgument cop and auto-correct offenses 2017-08-10 19:29:42 -04: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 9.2.10 2017-08-09 15:15:43 -07: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 Remove outdated ~Frontend label in CONTRIBUTING.md 2017-07-25 19:00:49 +02:00
doc_styleguide.md
docker-compose.yml
Gemfile Bumps omniauth-ldap gem version to 2.0.4 2017-08-11 11:52:23 +01:00
Gemfile.lock Bumps omniauth-ldap gem version to 2.0.4 2017-08-11 11:52:23 +01:00
GITALY_SERVER_VERSION Migrate Gitlab::Git::Repository#size to Gitaly 2017-08-07 18:53:32 +02:00
GITLAB_PAGES_VERSION Upgrade GitLab Pages to v0.5.0 2017-07-04 12:40:48 +01:00
GITLAB_SHELL_VERSION Bump gitlab-shell version to 5.8.0 to fix Git for Windows 2.14 2017-08-07 08:04:45 -07:00
GITLAB_WORKHORSE_VERSION Migrate Workhorse SendBlob to Gitaly 2017-07-11 16:55:00 +02:00
LICENSE
MAINTENANCE.md
package.json Merge branch 'master' into ide 2017-08-07 22:44:47 -05:00
PROCESS.md Translations can be picked without asking for exceptions 2017-08-09 10:27:03 +01:00
Procfile
Rakefile
README.md fix javascript test coverage badge in README.md 2017-07-14 15:25:29 +00:00
VERSION Update VERSION to 9.5.0-pre 2017-07-22 06:55:36 +01:00
yarn.lock Merge branch 'master' into ide 2017-08-07 22:44:47 -05:00

GitLab

Build status Overall test coverage 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.