Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-01-15 12:08:50 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-01-15 12:08:50 +0300
commit778772c8d97adc025c126a941a1bd37bf72419ac (patch)
treef6818108cb058d9f0e9056a34e91d88dc63593b9 /doc/development
parenta552864a355f31c496e476ad4e57585aeab95a12 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/development')
-rw-r--r--doc/development/gitaly.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/development/gitaly.md b/doc/development/gitaly.md
index 1fa555de994..20bba134ef1 100644
--- a/doc/development/gitaly.md
+++ b/doc/development/gitaly.md
@@ -207,6 +207,21 @@ To use a custom Gitaly repository in CI, for instance if you want your
GitLab fork to always use your own Gitaly fork, set `GITALY_REPO_URL`
as a [CI environment variable](../ci/variables/README.md#gitlab-cicd-environment-variables).
+### Use a locally modified version of Gitaly RPC client
+
+If you are making changes to the RPC client, such as adding a new endpoint or adding a new
+parameter to an existing endpoint, follow the guide for
+[Gitaly proto](https://gitlab.com/gitlab-org/gitaly/blob/master/proto/README.md). After pushing
+the branch with the changes (`new-feature-branch`, for example):
+
+1. Change the `gitaly` line in the Rails' `Gemfile` to:
+
+ ```ruby
+ gem 'gitaly', git: 'https://gitlab.com/gitlab-org/gitaly.git', branch: 'new-feature-branch'
+ ```
+
+1. Run `bundle install` to use the modified RPC client.
+
---
[Return to Development documentation](README.md)