Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch '35385-allow-git-pull-push-on-project-redirects' into 'master' | Douwe Maan | 2017-12-07 | 1 | -1/+1 |
|\ | | | | | | | | | Prints a message if project was renamed See merge request gitlab-org/gitlab-shell!175 | ||||
| * | Prints a message if project was redirected35385-allow-git-pull-push-on-project-redirects | Mayra Cabrera | 2017-12-07 | 1 | -1/+1 |
| | | |||||
* | | Use 'git clone --no-local' when creating a fork | Jacob Vosmaer (GitLab) | 2017-12-06 | 1 | -2/+2 |
| | | |||||
* | | Add a 'fork-repository' command that works with hashed storage | Nick Thomas | 2017-12-01 | 1 | -0/+31 |
|/ | | | | | | | The existing 'fork-project' command cannot work with hashed storage as the source project basename differs from the destination repository basename. It is deprecated by the addition of 'fork-repository' and should be removed in the next major version. | ||||
* | Add relative git object dir envvars to check access requestfeature/add-pwd-envvar-to-check-access-request | Ahmad Sherif | 2017-10-10 | 2 | -6/+41 |
| | |||||
* | pass gl_username through to hooks | David Turner | 2017-09-28 | 3 | -10/+21 |
| | |||||
* | Adds --force option to push branches.add-force-push-option-to-push-branches | Tiago Botelho | 2017-09-19 | 1 | -1/+6 |
| | |||||
* | Support new /internal/pre-receive API endpoint for post-receivegitaly-redis-refactor | Alejandro Rodríguez | 2017-09-05 | 1 | -0/+8 |
| | |||||
* | Support new /internal/post-receive API endpoint | Alejandro Rodríguez | 2017-08-30 | 2 | -20/+53 |
| | |||||
* | Support old versions of ruby without monotonic clock | Gabriel Mazetto | 2017-08-09 | 1 | -1/+5 |
| | |||||
* | Fix SSH support for Git for Windows v2.14sh-fix-git-upload-pack | Stan Hu | 2017-08-06 | 1 | -3/+12 |
| | | | | | | | Git For Windows 2.14 has a patch that changes `git-upload-pack` to `git upload-pack`. To make this work for gitlab-shell, just map this to `git-upload-pack`. Closes gitlab-org/gitlab-ce#36028 | ||||
* | Use git_config_options instead of git_config_parameters for Gitaly requestssh-support-gitaly-upload-pack-unhide-refs | Stan Hu | 2017-08-03 | 1 | -7/+10 |
| | |||||
* | Merge branch 'update-redis-rb-3.3.3' into 'master' | Douwe Maan | 2017-08-03 | 5 | -15/+73 |
|\ | | | | | | | | | Bump redis-rb library to 3.3.3 See merge request !151 | ||||
| * | Bump redis-rb library to 3.3.3update-redis-rb-3.3.3 | Stan Hu | 2017-07-22 | 5 | -15/+73 |
| | | |||||
* | | Fix setting permissions of SSH key tempfiles | Nick Thomas | 2017-08-02 | 1 | -5/+8 |
| | | |||||
* | | Require tempfile to avoid a missing constant error | Nick Thomas | 2017-08-02 | 1 | -0/+1 |
| | | |||||
* | | Implement SSH authentication support in Ruby | Nick Thomas | 2017-07-31 | 1 | -11/+67 |
| | | |||||
* | | Merge branch 'sh-defer-reference-counter-load' into 'master' | Robert Speicher | 2017-07-26 | 1 | -2/+6 |
|\ \ | | | | | | | | | | | | | Optimize gitlab-projects by deferring the loading of gitlab_reference_counter See merge request !149 | ||||
| * | | Optimize gitlab-projects by deferring the loading of gitlab_reference_countersh-defer-reference-counter-load | Stan Hu | 2017-07-21 | 1 | -2/+6 |
| | | | | | | | | | | | | | | | | | | Loading gitlab_reference_counter loads gitlab_net, which adds an additional 100-200 ms of time. That file pulls in a vendored Redis library among other things. | ||||
* | | | Make geo_node a default parametersh-show-all-refs | Stan Hu | 2017-07-24 | 2 | -2/+2 |
| | | | |||||
* | | | Support unhiding of all refs for Geo Nodes | Stan Hu | 2017-07-21 | 3 | -5/+16 |
| |/ |/| | | | | | | | | | By default, we hide certain refs (e.g. keep-around/XXX) to save user download time. We need to preserve these references on secondary Geo nodes to have a true copy. | ||||
* | | Handle internal API errors when getting merge request URLsonly-parse-mr-urls-on-success | Sean McGivern | 2017-07-12 | 1 | -1/+8 |
|/ | |||||
* | Merge branch 'gitaly-124-gitaly-ssh' into 'master' | Robert Speicher | 2017-07-07 | 2 | -6/+12 |
|\ | | | | | | | | | Gitaly SSH Client See merge request !139 | ||||
| * | no more single-value merge | Kim "BKC" Carlbäcker | 2017-07-07 | 1 | -3/+1 |
| | | |||||
| * | metrics makes no sense because 'exec' | Kim "BKC" Carlbäcker | 2017-07-07 | 1 | -4/+2 |
| | | |||||
| * | hashes have .include? not .has? | Kim "BKC" Carlbäcker | 2017-07-07 | 1 | -1/+1 |
| | | |||||
| * | type-o | Kim "BKC" Carlbäcker | 2017-07-06 | 1 | -1/+1 |
| | | |||||
| * | We need metrics logging | Kim "BKC" Carlbäcker | 2017-07-06 | 1 | -2/+4 |
| | | |||||
| * | no more attrs | Kim "BKC" Carlbäcker | 2017-07-06 | 1 | -1/+1 |
| | | |||||
| * | - Update gitaly vendoring | Kim "BKC" Carlbäcker | 2017-07-03 | 2 | -7/+15 |
| | | | | | | | | | | - Wire up gitaly-*-pack to Gitaly. Don't pass git-*-pack to go - Disable tests for go1.5 & 1.6 | ||||
* | | Revert "Merge branch ↵revert-gl-repository | Alejandro Rodríguez | 2017-07-03 | 2 | -10/+12 |
|/ | | | | | | | '86-follow-up-from-use-gl_repository-if-present-when-enqueing-sidekiq-postreceive-jobs' into 'master'" This reverts commit fa6343515ba65423e9de4c98c6005facc6059938, reversing changes made to 62af7f6af72728cecb98c5275d8b7aeb3953e564. | ||||
* | Add list-key-ids command | Michael Kozono | 2017-06-28 | 1 | -0/+13 |
| | |||||
* | Remove empty file | Dmitriy Zaporozhets | 2017-06-21 | 1 | -0/+0 |
| | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | ||||
* | Merge branch 'master' into remove-references-to-v3-internal-api | Dmitriy Zaporozhets | 2017-06-21 | 2 | -12/+10 |
|\ | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | ||||
| * | Remove old `project` parameter, use `gl_repository` instead86-follow-up-from-use-gl_repository-if-present-when-enqueing-sidekiq-postreceive-jobs | Alejandro Rodríguez | 2017-06-20 | 2 | -12/+10 |
| | | |||||
* | | Remove references to V3 internal APIremove-references-to-v3-internal-api | Adam Niedzielski | 2017-06-16 | 1 | -12/+8 |
|/ | | | | | | | In the main Rails app we use exactly the same code for /api/v3/internal and /api/v4/internal This means that we can move gitlab-shell to V4 in preparation for sunsetting V3 | ||||
* | Use gl_repository if present when enqueing Sidekiq PostReceive jobs83-follow-up-from-handle-gl_repository-env-variable-and-use-it-in-api-calls | Alejandro Rodríguez | 2017-05-30 | 1 | -2/+2 |
| | |||||
* | Make gitaly executable mapping clearergo-wrappers | Jacob Vosmaer | 2017-05-23 | 1 | -8/+12 |
| | |||||
* | Explain chdir | Jacob Vosmaer | 2017-05-23 | 1 | -0/+1 |
| | |||||
* | Use gitaly-upload-pack and gitaly-receive-pack | Jacob Vosmaer | 2017-05-23 | 1 | -4/+24 |
| | |||||
* | Setup use of gl-repository to enqueue PostReceive sidekiq jobs | Alejandro Rodríguez | 2017-05-11 | 2 | -2/+4 |
| | |||||
* | Handle GL_REPOSITORY env variable and use it in api calls | Alejandro Rodríguez | 2017-05-11 | 5 | -19/+29 |
| | |||||
* | adds timeout option to push branches and respective test suite | Tiago Botelho | 2017-03-29 | 1 | -7/+10 |
| | |||||
* | Fetch repositories with --quiet option by default | Douglas Barbosa Alexandre | 2017-03-27 | 1 | -0/+1 |
| | | | | | | | This will allow us to prevent deadlocks when dealing with extremely long outputs from `git fetch`. All the pipes (stdin, stdout, and stderr) have limited buffers, and when one fills up, everything is going to stop. | ||||
* | Remove git annex support | Pawel Chojnacki | 2017-02-24 | 2 | -45/+2 |
| | |||||
* | Use api/v4 for gitaly notification and add testsgitaly-post-receive-2 | Alejandro Rodríguez | 2017-02-10 | 1 | -9/+13 |
| | |||||
* | Add gitaly notification on post-receive hook | Alejandro Rodríguez | 2017-02-07 | 2 | -0/+10 |
| | |||||
* | Set a 'Host' header on unix sockets | Jacob Vosmaer | 2017-01-03 | 1 | -0/+6 |
| | | | | Workaround for a bug in the HTTPUNIX client. | ||||
* | Pass relevant git environment variables while calling `/allowed` | Timothy Andrew | 2016-12-16 | 2 | -3/+9 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Starting version 2.11, git changed the way the pre-receive flow works. - Previously, the new potential objects would be added to the main repo. If the pre-receive passes, the new objects stay in the repo but are linked up. If the pre-receive fails, the new objects stay orphaned in the repo, and are cleaned up during the next `git gc`. - In 2.11, the new potential objects are added to a temporary "alternate object directory", that git creates for this purpose. If the pre-receive passes, the objects from the alternate object directory are migrated to the main repo. If the pre-receive fails the alternate object directory is simply deleted. 2. In our workflow, the pre-recieve script calls the `/allowed` endpoint on the rails server. This `/allowed` endpoint calls out directly to git to perform various checks. These direct calls to git do _not_ have the necessary environment variables set which allow access to the "alternate object directory" (explained above). Therefore these calls to git are not able to access any of the new potential objects to be added during this push. 3. We fix this by passing the relevant environment variables (GIT_ALTERNATE_OBJECT_DIRECTORIES, GIT_OBJECT_DIRECTORY, and GIT_QUARANTINE_PATH) to the `/allowed` endpoint, which will then include these environment variables while calling out to git. | ||||
* | Make custom hooks dir configurable | Sean McGivern | 2016-12-12 | 2 | -8/+17 |
| | | | | | | | | Add a new configuration option, custom_hooks_dir. When this is set, we will look for global custom hooks in: <custom_hooks_dir>/{pre-receive,update,post-receive}.d/* When this is not set, default to <REPO_PATH>/hooks. |