summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Bump gitaly-proto to v1.10.0sh-bump-gitaly-protoStan Hu2019-02-129-539/+1012
| | | | | This is done to ensure we don't run into unknown fields as we saw in https://gitlab.com/gitlab-org/gitlab-workhorse/merge_requests/364.
* Merge branch 'bvl-feature-flag-commands' into 'master'Nick Thomas2019-01-1559-73/+11626
|\ | | | | | | | | Parse commands to enable feature flags See merge request gitlab-org/gitlab-shell!270
| * Don't fall back to ruby for non SSH connectionsbvl-feature-flag-commandsBob Van Landuyt2019-01-153-27/+30
| | | | | | | | | | When SSH_CONNECTION is not set, we don't fall back to ruby, but instead fail directly in go writing the error to stderr.
| * Allow enabling gitlab-shell "discover"-featureBob Van Landuyt2019-01-1511-69/+507
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds the possibility to enable features for GitLab shell. The first feature being recognized is "Discover": It's the command that is executed when running `ssh git@gitlab.example.com` and is called without a command. The gitlab key id or username is already parsed from the command line arguments. Currently we only support communicating with GitLab-rails using unix sockets. So features will not be enabled if the GitLab-url is using a different protocol. The url for this read from the config yaml. Pending ruby-specs have been added for the gitlab-shell command. Refactor to have separate command packages
| * Vendor testifyBob Van Landuyt2019-01-1448-0/+11112
|/ | | | Add testify as test helpers
* Merge branch 'bvl-force-install-bundler' into 'master'Nick Thomas2019-01-091-2/+2
|\ | | | | | | | | Force install bunder See merge request gitlab-org/gitlab-shell!272
| * Force install bunderbvl-force-install-bundlerBob Van Landuyt2019-01-091-2/+2
|/ | | | | | | | This avoids errors like: $ gem install --bindir /usr/local/bin bundler -v "$INSTALL_BUNDLER_VERSION" ERROR: Error installing bundler: "bundle" from bundler conflicts with /usr/local/bin/bundle
* Merge branch 'remove-gitaly-proto-helper' into 'master'Nick Thomas2019-01-073-84/+0
|\ | | | | | | | | Remove unused vendored code See merge request gitlab-org/gitlab-shell!265
| * Remove unused vendored coderemove-gitaly-proto-helperJacob Vosmaer2018-12-173-84/+0
| |
* | Merge branch 'bvl-specify-bundler-version' into 'master'Douwe Maan2019-01-041-1/+8
|\ \ | | | | | | | | | | | | Specify bundler 1.17 for ruby 2.1 and 2.2 See merge request gitlab-org/gitlab-shell!271
| * | Specify bundler 1.17 for ruby 2.1 and 2.2Bob Van Landuyt2019-01-041-1/+8
|/ /
* | Merge branch 'better-use-of-constants' into 'master'Douwe Maan2018-12-211-5/+5
|\ \ | | | | | | | | | | | | Make better use of constants in lib/gitlab_shell.rb See merge request gitlab-org/gitlab-shell!269
| * | Make better use of constants in lib/gitlab_shell.rbJacob Vosmaer2018-12-211-5/+5
|/ /
* | Merge branch 'gitaly-transistion-helpers' into 'master'Douwe Maan2018-12-203-3/+8
|\ \ | | | | | | | | | | | | Gitaly hook transistion changes See merge request gitlab-org/gitlab-shell!268
| * | Gitaly hook transistion changesJacob Vosmaer2018-12-203-3/+8
|/ /
* | Merge branch 'fix-rspec-warnings' into 'master'Douwe Maan2018-12-201-9/+15
|\ \ | | | | | | | | | | | | Fix rspec deprecation warning See merge request gitlab-org/gitlab-shell!267
| * | Fix rspec deprecation warningsfix-rspec-warningsJacob Vosmaer2018-12-201-9/+15
| |/
* | Merge branch 'fix-ruby2.5-spec-failure' into 'master'Douwe Maan2018-12-201-1/+1
|\ \ | |/ |/| | | | | Fix spec failure with Ruby 2.5 See merge request gitlab-org/gitlab-shell!266
| * Fix spec failure with Ruby 2.5Jacob Vosmaer2018-12-201-1/+1
|/
* Bump version to 8.4.4v8.4.4Douwe Maan2018-12-142-1/+4
|
* Merge branch 'handle-push-options' into 'master'Douwe Maan2018-12-147-8/+52
|\ | | | | | | | | Handle push options See merge request gitlab-org/gitlab-shell!166
| * Disable rubocop for old (<2.2) hash syntaxJonathon Reinhart2018-12-131-1/+1
| | | | | | | | See the discussion on gitlab-org/gitlab-shell!166
| * Use `module_fuction` instead of `extend self`Jonathon Reinhart2018-12-131-1/+1
| | | | | | | | https://github.com/rubocop-hq/ruby-style-guide#module-function
| * Use 'push_options' everywhere instead of 'push_opts'Jonathon Reinhart2018-12-135-12/+12
| |
| * Pass push options to GitLab /internal/post_receive APIJonathon Reinhart2018-12-135-8/+15
| | | | | | | | | | | | | | | | | | | | push_opts[] is named as such so that it becomes an array in the GitLab internal Grape::API params hash. If it were named push_opts, only the final (scalar) push_opts parameter would be present. Also update specs to include push_opts parameter: - gitlab_post_receive_spec - gitlab_net_spec for the internal API change
| * Add lib/hooks_utils.rbJonathon Reinhart2018-12-132-0/+37
|/ | | | | | | This module is responsible for converting the GIT_PUSH_OPTION_* environment variables into an array. See https://gitlab.com/gitlab-org/gitlab-ce/issues/18667
* Merge branch 'remove-unused-names-helper' into 'master'Robert Speicher2018-12-134-22/+0
|\ | | | | | | | | Remove unused lib/names_helper.rb See merge request gitlab-org/gitlab-shell!173
| * Remove unused lib/names_helper.rbJonathon Reinhart2018-12-134-22/+0
| | | | | | | | As of 7eb45672b7, NamesHelper is no longer used.
* | Revert "Merge branch 'sh-bump-ruby-version' into 'master'"Douwe Maan2018-12-1320-132/+87
| | | | | | This reverts merge request !257
* | Merge branch 'sh-bump-ruby-version' into 'master'Douwe Maan2018-12-1320-87/+132
|\ \ | |/ |/| | | | | Upgrade to Ruby 2.5.3 See merge request gitlab-org/gitlab-shell!257
| * Upgrade to Ruby 2.5.3Stan Hu2018-12-1320-87/+132
|/
* Merge branch 'vendor-update' into 'master'Douwe Maan2018-12-11373-33426/+81807
|\ | | | | | | | | Vendor updates See merge request gitlab-org/gitlab-shell!264
| * Vendor updatesAndrew Newdigate2018-12-11373-33426/+81807
|/
* Merge branch 'revert-0662bdd1' into 'master'Nick Thomas2018-12-0741-2530/+2243
|\ | | | | | | | | Revert "Merge branch 'zj-rename-gitalypb' into 'master'" See merge request gitlab-org/gitlab-shell!263
| * Revert "Merge branch 'zj-rename-gitalypb' into 'master'"revert-0662bdd1Zeger-Jan van de Weg2018-12-0741-2530/+2243
|/ | | This reverts merge request !262
* Merge branch 'zj-rename-gitalypb' into 'master'Nick Thomas2018-12-0641-2243/+2530
|\ | | | | | | | | Upgrade gitaly Client dependency See merge request gitlab-org/gitlab-shell!262
| * Upgrade gitaly Client dependencyZeger-Jan van de Weg2018-12-0641-2243/+2530
|/ | | | | The client now has TLS support. So this gets pulled into this component. To make it work, we have to upgrade the proto too.
* Merge branch 'sh-release-8-4-3' into 'master'v8.4.3Robert Speicher2018-11-282-1/+4
|\ | | | | | | | | Release v8.4.3 See merge request gitlab-org/gitlab-shell!259
| * Release v8.4.3sh-release-8-4-3Stan Hu2018-11-282-1/+4
|/
* Merge branch 'sh-fix-circular-dependency-errors' into 'master'Robert Speicher2018-11-283-3/+5
|\ | | | | | | | | | | | | Remove circular dependency between HTTPHelper and GitlabNet Closes #169 See merge request gitlab-org/gitlab-shell!258
| * Remove circular dependency between HTTPHelper and GitlabNetsh-fix-circular-dependency-errorsStan Hu2018-11-273-3/+5
|/ | | | | | | | | HttpHelper depended on exceptions defined in GitLabNet, but GitLabNet included HttpHelper. Specs in Ruby 2.5 were breaking as a result of Action::Custom not able to reference constants in GitLabNet: https://gitlab.com/gitlab-org/gitlab-shell/-/jobs/126362702. Closes https://gitlab.com/gitlab-org/gitlab-shell/issues/169
* Merge branch 'release-8-4-2' into 'master'v8.4.2Nick Thomas2018-11-082-1/+4
|\ | | | | | | | | Release v8.4.2 See merge request gitlab-org/gitlab-shell!255
| * Release v8.4.2Nick Thomas2018-11-082-1/+4
|/
* Merge branch 'ashmckenzie/8114-geo-push-ssh-lfs-http-auth-bug' into 'master'Nick Thomas2018-11-085-26/+82
|\ | | | | | | | | Include LFS operation when requesting auth See merge request gitlab-org/gitlab-shell!254
| * Include LFS operation when making auth requestashmckenzie/8114-geo-push-ssh-lfs-http-auth-bugAsh McKenzie2018-11-085-26/+82
|/ | | | Operation is either upload or download
* Release v8.4.1v8.4.1Douwe Maan2018-10-252-1/+4
|
* Merge branch 'add-http-gateway-time-out-handling' into 'master'Douwe Maan2018-10-251-1/+1
|\ | | | | | | | | Adds handling of Net::HTTPGatewayTimeOut exception to GitlabNet See merge request gitlab-org/gitlab-shell!251
| * Changes the HTTP error code from Gateway timeout to Service Unavailableadd-http-gateway-time-out-handlingTiago Botelho2018-10-241-1/+1
| |
| * Adds handling of Net::HTTPGatewayTimeOut exception to GitlabNetTiago Botelho2018-10-241-1/+1
|/
* Release v8.4.0v8.4.0Sean McGivern2018-10-101-1/+1
|