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

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Cai <jcai@gitlab.com>2022-06-03 17:32:32 +0300
committerJohn Cai <jcai@gitlab.com>2022-06-14 21:24:02 +0300
commit3db8440314039da24ee9af910e2115f3d1d57fdd (patch)
treebbbc7ebfa6cfd6c8789bf5f8da69f850b1d81cbd /ruby/proto
parenta31bd1be25d0ff03efaa7f756321ea9440122b24 (diff)
proto: Add glId, glUser, gitProtocol to PackObjectsRequest
In order to get visibility into how pack object processes are spawned concurrently, we plan to pass in information of the initiator of the request into the pack objects hook's RPC method. This commit adds the fields to the proto message definition.
Diffstat (limited to 'ruby/proto')
-rw-r--r--ruby/proto/gitaly/hook_pb.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/ruby/proto/gitaly/hook_pb.rb b/ruby/proto/gitaly/hook_pb.rb
index beb096ee8..811749589 100644
--- a/ruby/proto/gitaly/hook_pb.rb
+++ b/ruby/proto/gitaly/hook_pb.rb
@@ -60,6 +60,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
add_message "gitaly.PackObjectsHookWithSidechannelRequest" do
optional :repository, :message, 1, "gitaly.Repository"
repeated :args, :string, 2
+ optional :gl_id, :string, 3
+ optional :gl_username, :string, 5
+ optional :git_protocol, :string, 6
end
add_message "gitaly.PackObjectsHookWithSidechannelResponse" do
end