Convert setting the full path via SetFullPath RPC
When writing a repo's path (e.g. "gitlab-org/gitlab") into the gitconfig, we currently use the `SetConfig()` RPC. This RPC has been deprecated by Gitaly in favor of a new `SetFullPath()`, which can only be used to explicitly write the repo's path into the gitconfig. Convert the code to use the new RPC.
显示
- GITALY_SERVER_VERSION 1 个添加, 1 个删除GITALY_SERVER_VERSION
- Gemfile 1 个添加, 1 个删除Gemfile
- Gemfile.lock 2 个添加, 2 个删除Gemfile.lock
- config/feature_flags/development/set_full_path.yml 8 个添加, 0 个删除config/feature_flags/development/set_full_path.yml
- lib/gitlab/git/repository.rb 5 个添加, 1 个删除lib/gitlab/git/repository.rb
- lib/gitlab/gitaly_client/repository_service.rb 15 个添加, 0 个删除lib/gitlab/gitaly_client/repository_service.rb
- spec/lib/gitlab/git/repository_spec.rb 41 个添加, 23 个删除spec/lib/gitlab/git/repository_spec.rb
- spec/lib/gitlab/gitaly_client/repository_service_spec.rb 13 个添加, 0 个删除spec/lib/gitlab/gitaly_client/repository_service_spec.rb
加载中
想要评论请 注册 或 登录