summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Rename print_broadbast method to be genericdisplay-post-receive-warningsLuke Duncalfe2019-04-012-4/+4
| | | | | | print_warnings is now using that method in order to print a large formatted warning message, so renaming the method to be less tied to the broadcast message functionality.
* Fixing whitespace issues in specLuke Duncalfe2019-03-291-8/+8
|
* Allow GitlabPostReceive to print warningsLuke Duncalfe2019-03-282-0/+20
| | | | | | Warnings are printed using the same method that prints broadcast messages. This ensures that whatever warnings are returned will be displayed correctly.
* Merge branch 'doc-update-about-hooks' into 'master'Douwe Maan2019-02-281-4/+17
|\ | | | | | | | | Update readme notes about git hooks See merge request gitlab-org/gitlab-shell!278
| * Update readme notes about git hooksJacob Vosmaer2019-02-281-4/+17
|/
* Merge branch 'sh-release-gitlab-8-6-0' into 'master'v8.6.0Nick Thomas2019-02-192-1/+5
|\ | | | | | | | | Release v8.6.0 See merge request gitlab-org/gitlab-shell!276
| * Release v8.6.0sh-release-gitlab-8-6-0Stan Hu2019-02-182-1/+5
|/
* Merge branch 'sh-use-gl-project-path' into 'master'Nick Thomas2019-02-187-5/+21
|\ | | | | | | | | Add support for using gl_project_path See merge request gitlab-org/gitlab-shell!275
| * Add support for using gl_project_pathsh-use-gl-project-pathStan Hu2019-02-167-5/+21
|/ | | | | | This will enable us to track the human-readable project path with SSH access in gitlab-shell. Currently the Gitaly logs will only show the hashed storage and gl_repository path (e.g. project-1234).
* Merge branch ↵Robert Speicher2019-02-142-24/+57
|\ | | | | | | | | | | | | '57353-git-push-fails-on-large-lfs-files-where-the-push-take-a-long-time' into 'master' Provide expires_in for LFS if available See merge request gitlab-org/gitlab-shell!273
| * Provide expires_in for LFS if available57353-git-push-fails-on-large-lfs-files-where-the-push-take-a-long-timeAsh McKenzie2019-02-142-24/+57
| |
* | Merge branch 'sh-bump-gitaly-proto' into 'master'Nick Thomas2019-02-149-539/+1012
|\ \ | |/ |/| | | | | Bump gitaly-proto to v1.10.0 See merge request gitlab-org/gitlab-shell!274
| * 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