Find a file
Yorick Peterse 5830d80b8d Pre-calculate Emoji digests
By pre-calculating the digests we can manually construct the emoji URLs,
removing the need for using Rails' asset URL helpers. The reason we
don't want to use these helpers for Emojis is two-fold:

1. Rails' image_url() method is slow, really slow. For one it _might_
   have to calculate digests but it also performs a lot of other
   intensive operations (judging by the source code and based on
   measuring timings).

2. We have a lot of Emoji which coupled with the above can result in it
   taking minutes to load Emoji autocomplete data.

Using this pre-calculation setup generating the digests takes around 7
seconds (including the time it takes to start Rails/Rake), and only
around 600 milliseconds to load _all_ the autocomplete data of a project
(measured locally).

This commit _does_ change the Emoji URLs from absolute to relative URLs
as these are much easier to generate.

To update the Emoji data simply run:

    rake gemojione:digests

Then commit any changes.

Fixes gitlab-org/gitlab-ce#14009
2016-03-30 19:29:17 +02:00
app Pre-calculate Emoji digests 2016-03-30 19:29:17 +02:00
bin Direct sidekiq boot output to log file 2016-01-15 11:12:49 +01:00
builds Add missing builds/ folder to fix backup tests 2015-09-15 22:19:31 +02:00
config Fix minor code style issues 2016-03-25 09:54:05 -04:00
db Use raw SQL instead of Rails models in migrations where appropriate 2016-03-28 18:03:29 -04:00
doc Merge branch 'mariusz_jachimowicz/gitlab-ce-i_14415_expose_label_description' into 'master' 2016-03-29 16:21:16 -04:00
docker Fix typo 2015-09-30 19:54:56 +02:00
features rescue Rugged::ReferenceError in Repository#gitlab_ci_yml method 2016-03-25 17:54:57 +01:00
fixtures/emojis Pre-calculate Emoji digests 2016-03-30 19:29:17 +02:00
lib Pre-calculate Emoji digests 2016-03-30 19:29:17 +02:00
log init commit 2011-10-09 00:36:38 +03:00
public Lets have CSS and logo inline 2016-03-11 15:04:58 +01:00
scripts Retry bundler and apt-get 2016-03-09 21:22:25 +01:00
shared Make sure everyone has shared/lfs-objects 2015-12-09 16:19:59 +01:00
spec Pre-calculate Emoji digests 2016-03-30 19:29:17 +02:00
tmp Remove tmp/.gitkeep 2015-10-04 13:49:48 +00:00
vendor/assets Fix broken functionality in sidebar after merge. 2016-03-25 09:48:12 -04:00
.csscomb.json Fixes last remaining lints and enables scss-lint test for GitLab CI. 2016-03-22 15:01:31 -06:00
.flayignore Add flay: tool to find duplicate code 2015-11-11 16:29:00 +01:00
.foreman complete hooks for post receive 2012-01-08 13:20:20 +02:00
.gitattributes Use gitattribute merge=union to reduce CHANGELOG merge conflicts. 2015-02-12 20:50:09 +01:00
.gitignore Ignore .byebug_history 2016-03-09 20:43:54 +01:00
.gitlab-ci.yml Fixes last remaining lints and enables scss-lint test for GitLab CI. 2016-03-22 15:01:31 -06:00
.hound.yml Make houndci prefer single quotes. 2014-07-16 09:38:42 +03:00
.pkgr.yml Use new way of defining services on packager.io 2015-01-18 17:55:48 +00:00
.rspec Make Fuubar the default rspec formatter 2015-06-26 01:01:13 -04:00
.rubocop.yml Update Rubocop from 0.35.1 to 0.38.0. 2016-03-20 20:49:12 -06:00
.ruby-version revert back to ruby 2.1 - use 2.1.8 2016-02-19 17:19:57 +01:00
.scss-lint.yml Disabled SelectorFormat rule for SCSS Lint in order to get the Rake task passing sooner. 2016-03-18 14:13:29 -06:00
.simplecov organize simplecov 2013-01-07 22:23:13 +02:00
.teatro.yml teatro setup 2014-06-17 11:21:49 +03:00
CHANGELOG Add 8.6.2 CHANGELOG items 2016-03-30 16:57:15 +02:00
config.ru Increase Unicorn memory limits to 300-350 2016-01-20 11:52:01 +01:00
CONTRIBUTING.md Change capitalization 2016-03-18 12:11:41 +00:00
doc_styleguide.md Move doc_styleguide in the development directory 2016-01-12 11:57:42 +01:00
docker-compose.yml Update docker guide and add docker-compose.yml 2015-09-30 14:24:39 +02:00
Gemfile Merge branch 'upgrade-brakeman' into 'master' 2016-03-27 20:39:59 +00:00
Gemfile.lock Merge branch 'upgrade-web-console' into 'master' 2016-03-27 22:23:42 +00:00
GITLAB_SHELL_VERSION Updated gitlab-shell to 2.7 2016-03-29 15:46:47 +02:00
GITLAB_WORKHORSE_VERSION Use gitlab-workhorse 0.7.1 2016-03-21 13:09:23 +01:00
LICENSE Update copyright notice to 2016 [ci skip] 2016-01-03 18:28:52 +05:30
MAINTENANCE.md Add note about semantic versioning not being absolute. 2015-01-10 21:48:35 -08:00
PROCESS.md Fix wrong anchor in PROCESS.md 2016-03-02 11:00:32 +01:00
Procfile Remove duplication in Procfile 2016-01-14 15:08:22 +01:00
Rakefile Include relative url configuration in rake tasks 2016-02-29 21:17:48 +01:00
README.md Bump Git version requirement to 2.7.4 2016-03-17 22:21:10 +01:00
VERSION Bump VERSION 2016-03-26 11:16:25 +01:00

GitLab

build status Build Status Code Climate Coverage Status

Canonical source

The source of GitLab Community Edition is hosted on GitLab.com and there are mirrors to make contributing as easy as possible.

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
  • Each project can also have an issue tracker 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)
  • Powered by Ruby on Rails

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.

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 development 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
  • Ruby (MRI) 2.1
  • Git 2.7.4+
  • Redis 2.8+
  • MySQL or PostgreSQL

For more information please see the architecture documentation.

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 doc.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.