Find a file
Mayra Cabrera dfdfa913ba Includes logic to persist namespace statistics
- Add two new ActiveRecord models:
  - RootNamespaceStoragestatistics will persist root namespace statistics
  - NamespaceAggregationSchedule will save information when a new update
to the namespace statistics needs to be scheduled
- Inject into UpdateProjectStatistics concern a new callback that will
call an async job to insert a new row onto NamespaceAggregationSchedule
table
- When a new row is inserted a new job is scheduled. This job will
update call an specific service to update the statistics and after that
it will delete thee aggregated scheduled row
- The RefresherServices makes heavy use of arel to build composable
queries to update Namespace::RootStorageStatistics attributes.
- Add an extra worker to traverse pending rows on
NAmespace::AggregationSchedule table and schedule a worker for each one
of this rows.
- Add an extra worker to traverse pending rows on
NAmespace::AggregationSchedule table and schedule a worker for each one
of this rows
2019-07-02 14:44:39 +00:00
.github
.gitlab Merge branch '59177-squash-old-migrations' into 'master' 2019-07-02 13:14:24 +00:00
app Includes logic to persist namespace statistics 2019-07-02 14:44:39 +00:00
bin bin/background_jobs: use pgroups 2019-02-28 21:58:31 +00:00
builds
changelogs Registry component now includes error messages 2019-07-02 13:12:45 +00:00
config Includes logic to persist namespace statistics 2019-07-02 14:44:39 +00:00
danger Add a danger rule to suggest docs- prefixes 2019-06-27 12:07:06 +02:00
db Bring the InitSchema migration up to standard 2019-07-02 09:35:03 +01:00
doc Registry component now includes error messages 2019-07-02 13:12:45 +00:00
docker
fixtures/emojis Fix typos in the whole gitlab-ce project 2019-05-20 14:11:44 +00:00
generator_templates
haml_lint Move files from lib/haml_lint to haml_lint 2019-05-21 19:49:14 -07:00
lib Merge branch '59177-squash-old-migrations' into 'master' 2019-07-02 13:14:24 +00:00
locale Registry component now includes error messages 2019-07-02 13:12:45 +00:00
log
plugins/examples
public Build visual_review_toolbar with webpack 2019-05-29 20:24:15 +00:00
qa QA: transfer project spec 2019-07-02 08:05:31 +00:00
rubocop Merge branch 'qa-extend-click-visit-actions' into 'master' 2019-05-28 16:44:22 +00:00
scripts Get memory data after booting app in production 2019-06-28 20:12:50 +03:00
shared
spec Includes logic to persist namespace statistics 2019-07-02 14:44:39 +00:00
symbol
tmp
vendor Use oauth2 in .git-credentials 2019-06-25 13:17:57 +05:30
.codeclimate.yml #60818 Correct linting for project root *.yml files 2019-05-20 13:50:32 +00:00
.csscomb.json
.eslintignore Ignore Jest config from ESLint 2019-03-28 18:14:47 +01:00
.eslintrc.yml Disable unnecessary ESLint i18n offences 2019-06-13 19:15:25 +00:00
.foreman
.gitattributes
.gitignore Ignore tmp/rubocop_cache directories 2019-05-23 12:42:51 -03:00
.gitlab-ci.yml Merge branch '52442-minimal-remove-mysql-support' into 'master' 2019-06-19 15:48:48 +00:00
.haml-lint.yml Move files from lib/haml_lint to haml_lint 2019-05-21 19:49:14 -07:00
.haml-lint_todo.yml Add HamlLint::Linter::NoPlainNodes linter 2019-05-20 20:25:32 +01:00
.mailmap
.nvmrc Update to node@12 2019-06-14 10:11:57 +02:00
.pkgr.yml #60818 Correct linting for project root *.yml files 2019-05-20 13:50:32 +00:00
.prettierignore
.prettierrc Remove node 6 trailing comma support 2019-03-11 14:16:41 -05:00
.rubocop.yml Exclude ee/bin from Naming/FileName cop 2019-04-18 14:25:49 +02:00
.rubocop_todo.yml Make KubernetesService readonly 2019-06-18 00:01:56 +00:00
.ruby-version Upgrade Ruby version to 2.6.3 2019-05-08 06:21:14 -07:00
.scss-lint.yml Backport scss-lint config from EE 2019-03-28 13:21:55 +01:00
.stylelintrc Merge branch 'winh-boards-drag-selection' into 'master' 2019-04-26 17:57:06 +00:00
.yamllint Add yaml lint 2019-06-05 16:31:35 +00:00
babel.config.js Comply with no-implicit-coercion rule (CE) 2019-06-03 22:51:02 +00:00
CHANGELOG.md Update CHANGELOG.md for 11.11.4 2019-06-26 16:38:41 +00:00
config.ru Bump rack gem to 2.0.7 2019-04-04 22:01:01 -07:00
CONTRIBUTING.md Redirect first Contribution link to about.gitlab.com/community/contribute 2019-05-22 17:13:17 +00:00
Dangerfile Add a danger rule to suggest docs- prefixes 2019-06-27 12:07:06 +02:00
docker-compose.yml
Dockerfile.assets
Gemfile Update the 'default_value_for' gem to 3.2.0 2019-07-01 11:50:20 +02:00
Gemfile.lock Update the 'default_value_for' gem to 3.2.0 2019-07-01 11:50:20 +02:00
GITALY_SERVER_VERSION Fix broken worktree test 2019-06-25 14:45:51 +00:00
GITLAB_ELASTICSEARCH_INDEXER_VERSION Update the elasticsearch indexer 2019-06-06 01:45:07 +01:00
GITLAB_PAGES_VERSION Upgrade pages to v1.6.1 2019-06-12 16:47:19 +00:00
GITLAB_SHELL_VERSION Update to GitLab Shell v9.3.0 2019-06-06 17:38:56 +01:00
GITLAB_WORKHORSE_VERSION Update Workhorse to v8.7.0 2019-04-24 17:18:29 +01:00
INSTALLATION_TYPE
jest.config.js Set timezone to GMT in Jest config 2019-05-02 12:54:55 +02:00
LICENSE
MAINTENANCE.md
package.json Update dependency @gitlab/svgs to ^1.66.0 2019-06-28 19:23:59 +00:00
PHILOSOPHY.md
Pipfile Upgrade gitlab-markup to 1.7.0 2019-03-27 16:29:22 +01:00
Pipfile.lock Upgrade gitlab-markup to 1.7.0 2019-03-27 16:29:22 +01:00
PROCESS.md Reorganize feature flag documentation 2019-06-27 17:52:02 +00:00
Procfile
Rakefile
README.md Remove no longer valid password 2019-06-17 13:20:02 +02:00
security.txt Add a security txt https://securitytxt.org/ 2019-05-01 15:17:38 +00:00
VERSION Update VERSION to 12.1.0-pre 2019-06-22 07:13:07 +00:00
yarn.lock Update dependency @gitlab/svgs to ^1.66.0 2019-06-28 19:23:59 +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.

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.