diff options
author | John Cai <jcai@gitlab.com> | 2022-06-03 17:32:32 +0300 |
---|---|---|
committer | John Cai <jcai@gitlab.com> | 2022-06-14 21:24:02 +0300 |
commit | 3db8440314039da24ee9af910e2115f3d1d57fdd (patch) | |
tree | bbbc7ebfa6cfd6c8789bf5f8da69f850b1d81cbd /ruby/proto | |
parent | a31bd1be25d0ff03efaa7f756321ea9440122b24 (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.rb | 3 |
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 |