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:
authorJacob Vosmaer <jacob@gitlab.com>2022-01-12 16:12:37 +0300
committerJacob Vosmaer <jacob@gitlab.com>2022-01-17 16:18:19 +0300
commit3d2b6d2676bea4db5dca42f16217e72bfdcdc289 (patch)
treef0b079b617d71138412860ca761b956ef76a204f /proto/ssh.proto
parent722a28fc281f4043174f37b12b64f4fdd0267ef7 (diff)
proto: add SSHUploadPackWithSidechannel
This adds the proto definition for SSHUploadPackWithSidechannel along with the accompanying auto-generated code.
Diffstat (limited to 'proto/ssh.proto')
-rw-r--r--proto/ssh.proto19
1 files changed, 19 insertions, 0 deletions
diff --git a/proto/ssh.proto b/proto/ssh.proto
index 4545effbf..732d26a2c 100644
--- a/proto/ssh.proto
+++ b/proto/ssh.proto
@@ -15,6 +15,13 @@ service SSHService {
};
}
+ // To forward 'git upload-pack' to Gitaly for SSH sessions, via sidechannels
+ rpc SSHUploadPackWithSidechannel(SSHUploadPackWithSidechannelRequest) returns (SSHUploadPackWithSidechannelResponse) {
+ option (op_type) = {
+ op: ACCESSOR
+ };
+ }
+
// To forward 'git receive-pack' to Gitaly for SSH sessions
rpc SSHReceivePack(stream SSHReceivePackRequest) returns (stream SSHReceivePackResponse) {
option (op_type) = {
@@ -55,6 +62,18 @@ message SSHUploadPackResponse {
ExitStatus exit_status = 3;
}
+message SSHUploadPackWithSidechannelRequest {
+ // 'repository' must be present in the first message.
+ Repository repository = 1 [(target_repository)=true];
+ // Parameters to use with git -c (key=value pairs)
+ repeated string git_config_options = 2;
+
+ // Git protocol version
+ string git_protocol = 3;
+}
+
+message SSHUploadPackWithSidechannelResponse {}
+
message SSHReceivePackRequest {
// 'repository' must be present in the first message.
Repository repository = 1 [(target_repository)=true];