Go to file
Douwe Maan cfd5870b62 Merge branch 'allow-disabling-of-git-access-protocol' into 'master'
Add setting that allows admins to choose which Git access protocols are enabled.

## What does this MR do?

It allows admins to disable one of the two protocols for Git access. They can choose to enable just SSH, HTTP or allow both. If one of them is disabled, the clone URL in the project will show only the allowed protocol, and no dropdown to change protocols will be presented.

## What are the relevant issue numbers?

Full implementation on GitLab's side for #18601 

GitLab Shell implementation: gitlab-org/gitlab-shell!62

GitLab Workhorse implementation: gitlab-org/gitlab-workhorse!51

## Screenshots (if relevant)

![Screen_Shot_2016-06-16_at_12.26.19_PM](/uploads/bad845142e9704a7385b2eaca51fd4eb/Screen_Shot_2016-06-16_at_12.26.19_PM.png)
![Screen_Shot_2016-06-20_at_4.24.54_PM](/uploads/6e452dd269e06f0be23841ce93866ed6/Screen_Shot_2016-06-20_at_4.24.54_PM.png)



/cc @jschatz1  this MR touches the UI. Please review.

See merge request !4696
2016-07-05 22:57:19 +00:00
.github Address feedback about wording. 2016-06-09 11:25:47 -06:00
app Use keyword arguments for boolean values and use `span` instead of `a` for clone "button" 2016-07-05 16:54:22 -05:00
bin Use ENABLE_SPRING to use it by default 2016-06-17 16:54:55 +02:00
builds
config Instrument Rinku usage 2016-07-04 12:20:57 +02:00
db Rebasing caused `enabled_git_access_protocol` to become plural. Fixed here. 2016-07-05 16:54:22 -05:00
doc Rebasing caused `enabled_git_access_protocol` to become plural. Fixed here. 2016-07-05 16:54:22 -05:00
docker
features Fix profile test to click on header user profile link 2016-07-05 16:17:05 +03:00
fixtures/emojis Add emoji.rb in lib/gitlab instead of using the gitlab_emoji gem. 2016-06-29 14:53:09 -06:00
generator_templates/active_record/migration
lib Revert back to not defining a default Git access protocol. 2016-07-05 16:54:22 -05:00
log
public optimize png images losslessly using zopflipng 2016-06-29 19:22:15 +08:00
rubocop Added RuboCop cops for checking DB migrations 2016-06-29 14:14:02 +02:00
scripts Cache only apt and ruby from vendor 2016-06-12 23:05:19 +02:00
shared
spec Revert back to not defining a default Git access protocol. 2016-07-05 16:54:22 -05:00
tmp
vendor Run rake gitlab:update_templates 2016-06-20 14:48:28 -05:00
.csscomb.json
.flayignore
.foreman
.gitattributes
.gitignore Use absolute paths wherever is possible for .gitignore entries. 2016-05-29 16:55:25 -05:00
.gitlab-ci.yml Merge branch 'use-git-depth' into 'master' 2016-06-28 13:46:16 +00:00
.hound.yml
.pkgr.yml
.rspec
.rubocop.yml Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02:00
.ruby-version
.scss-lint.yml
.simplecov
.teatro.yml
.vagrant_enabled Cache project build count. Closes #18032 2016-06-02 11:10:57 -04:00
CHANGELOG Clone button should not be clickable when there is a disabled protocol 2016-07-05 16:54:22 -05:00
CONTRIBUTING.md Add License Finder information to contribution acceptance criteria. 2016-06-07 11:23:26 -06:00
GITLAB_SHELL_VERSION Refactor repository paths handling to allow multiple git mount points 2016-06-29 22:30:31 -04:00
GITLAB_WORKHORSE_VERSION Bump workhorse version 2016-06-28 22:10:53 +02:00
Gemfile Merge branch 'update-gemoji' into 'master' 2016-07-05 17:08:35 +00:00
Gemfile.lock Merge branch '18593-update-rinku' into 'master' 2016-07-05 21:51:41 +00:00
LICENSE
MAINTENANCE.md
PROCESS.md
Procfile
README.md Remove Coveralls and Semaphore badges. [ci skip] 2016-05-31 09:16:04 -06:00
Rakefile Load knapsack in Rakefile only when is bundled 2016-06-07 20:02:03 +02:00
VERSION Time for 8.10.0-pre 2016-06-22 18:14:53 +03:00
config.ru
doc_styleguide.md
docker-compose.yml

README.md

GitLab

build status Code Climate

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

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.

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.