diff options
author | Patrick Steinhardt <psteinhardt@gitlab.com> | 2021-05-19 18:27:28 +0300 |
---|---|---|
committer | Patrick Steinhardt <psteinhardt@gitlab.com> | 2021-05-19 18:40:29 +0300 |
commit | f597557e404f60f70b86498f6c4f4ad9416b6522 (patch) | |
tree | 07ca62c00ebeae3b9386cb3246f4c6393fb85f31 /ruby/proto/gitaly/repository-service_pb.rb | |
parent | 1094a54dd669f6b3039428027b6e760fbc9428db (diff) |
repository: Implement new `GetConfig()` RPC
We're about to introduce replication of the gitconfig, and for this
we need an RPC to read a remote repo's gitconfig. This commit thus
introduces a new `GetConfig()` RPC which streams back the complete
contents of the remote config.
Diffstat (limited to 'ruby/proto/gitaly/repository-service_pb.rb')
-rw-r--r-- | ruby/proto/gitaly/repository-service_pb.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ruby/proto/gitaly/repository-service_pb.rb b/ruby/proto/gitaly/repository-service_pb.rb index 053b8ca82..09e3de5c6 100644 --- a/ruby/proto/gitaly/repository-service_pb.rb +++ b/ruby/proto/gitaly/repository-service_pb.rb @@ -170,6 +170,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do add_message "gitaly.CreateBundleResponse" do optional :data, :bytes, 1 end + add_message "gitaly.GetConfigRequest" do + optional :repository, :message, 1, "gitaly.Repository" + end + add_message "gitaly.GetConfigResponse" do + optional :data, :bytes, 1 + end add_message "gitaly.SetConfigRequest" do optional :repository, :message, 1, "gitaly.Repository" repeated :entries, :message, 2, "gitaly.SetConfigRequest.Entry" @@ -385,6 +391,8 @@ module Gitaly CreateRepositoryFromURLResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CreateRepositoryFromURLResponse").msgclass CreateBundleRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CreateBundleRequest").msgclass CreateBundleResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CreateBundleResponse").msgclass + GetConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetConfigRequest").msgclass + GetConfigResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetConfigResponse").msgclass SetConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SetConfigRequest").msgclass SetConfigRequest::Entry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SetConfigRequest.Entry").msgclass SetConfigResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SetConfigResponse").msgclass |