gitaly 15.11.0.pre.rc1 → 16.1.0.pre.rc1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,46 +1,39 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: service_config.proto
3
4
 
5
+ require 'google/protobuf'
6
+
4
7
  require 'google/protobuf/duration_pb'
5
8
  require 'google/protobuf/wrappers_pb'
6
- require 'google/protobuf'
7
9
 
8
- Google::Protobuf::DescriptorPool.generated_pool.build do
9
- add_file("service_config.proto", :syntax => :proto3) do
10
- add_message "gitaly.ServiceConfig" do
11
- repeated :load_balancing_config, :message, 1, "gitaly.LoadBalancingConfig"
12
- repeated :method_config, :message, 2, "gitaly.MethodConfig"
13
- end
14
- add_message "gitaly.LoadBalancingConfig" do
15
- oneof :policy do
16
- optional :pick_first, :message, 1, "gitaly.PickFirstConfig", json_name: "pick_first"
17
- optional :round_robin, :message, 2, "gitaly.RoundRobinConfig", json_name: "round_robin"
18
- end
19
- end
20
- add_message "gitaly.PickFirstConfig" do
21
- end
22
- add_message "gitaly.RoundRobinConfig" do
23
- end
24
- add_message "gitaly.MethodConfig" do
25
- repeated :name, :message, 1, "gitaly.MethodConfig.Name"
26
- optional :wait_for_ready, :message, 2, "google.protobuf.BoolValue"
27
- optional :timeout, :message, 3, "google.protobuf.Duration"
28
- optional :max_request_message_bytes, :message, 4, "google.protobuf.UInt32Value"
29
- optional :max_response_message_bytes, :message, 5, "google.protobuf.UInt32Value"
30
- optional :retry_policy, :message, 6, "gitaly.MethodConfig.RetryPolicy"
31
- end
32
- add_message "gitaly.MethodConfig.Name" do
33
- optional :service, :string, 1
34
- optional :method, :string, 2
35
- end
36
- add_message "gitaly.MethodConfig.RetryPolicy" do
37
- optional :max_attempts, :uint32, 1
38
- optional :initial_backoff, :message, 2, "google.protobuf.Duration"
39
- optional :max_backoff, :message, 3, "google.protobuf.Duration"
40
- optional :backoff_multiplier, :float, 4
41
- repeated :retryable_status_codes, :string, 5
10
+
11
+ descriptor_data = "\n\x14service_config.proto\x12\x06gitaly\x1a\x1egoogle/protobuf/duration.proto\x1a\x1egoogle/protobuf/wrappers.proto\"x\n\rServiceConfig\x12:\n\x15load_balancing_config\x18\x01 \x03(\x0b\x32\x1b.gitaly.LoadBalancingConfig\x12+\n\rmethod_config\x18\x02 \x03(\x0b\x32\x14.gitaly.MethodConfig\"\x98\x01\n\x13LoadBalancingConfig\x12\x39\n\npick_first\x18\x01 \x01(\x0b\x32\x17.gitaly.PickFirstConfigH\x00R\npick_first\x12<\n\x0bround_robin\x18\x02 \x01(\x0b\x32\x18.gitaly.RoundRobinConfigH\x00R\x0bround_robinB\x08\n\x06policy\"\x11\n\x0fPickFirstConfig\"\x12\n\x10RoundRobinConfig\"\xc1\x04\n\x0cMethodConfig\x12\'\n\x04name\x18\x01 \x03(\x0b\x32\x19.gitaly.MethodConfig.Name\x12\x32\n\x0ewait_for_ready\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12*\n\x07timeout\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12?\n\x19max_request_message_bytes\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.UInt32Value\x12@\n\x1amax_response_message_bytes\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.UInt32Value\x12\x36\n\x0cretry_policy\x18\x06 \x01(\x0b\x32 .gitaly.MethodConfig.RetryPolicy\x1a\'\n\x04Name\x12\x0f\n\x07service\x18\x01 \x01(\t\x12\x0e\n\x06method\x18\x02 \x01(\t\x1a\xc3\x01\n\x0bRetryPolicy\x12\x14\n\x0cmax_attempts\x18\x01 \x01(\r\x12\x32\n\x0finitial_backoff\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12.\n\x0bmax_backoff\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1a\n\x12\x62\x61\x63koff_multiplier\x18\x04 \x01(\x02\x12\x1e\n\x16retryable_status_codes\x18\x05 \x03(\tB4Z2gitlab.com/gitlab-org/gitaly/v16/proto/go/gitalypbb\x06proto3"
12
+
13
+ pool = Google::Protobuf::DescriptorPool.generated_pool
14
+
15
+ begin
16
+ pool.add_serialized_file(descriptor_data)
17
+ rescue TypeError => e
18
+ # Compatibility code: will be removed in the next major version.
19
+ require 'google/protobuf/descriptor_pb'
20
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
21
+ parsed.clear_dependency
22
+ serialized = parsed.class.encode(parsed)
23
+ file = pool.add_serialized_file(serialized)
24
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
25
+ imports = [
26
+ ["google.protobuf.BoolValue", "google/protobuf/wrappers.proto"],
27
+ ["google.protobuf.Duration", "google/protobuf/duration.proto"],
28
+ ]
29
+ imports.each do |type_name, expected_filename|
30
+ import_file = pool.lookup(type_name).file_descriptor
31
+ if import_file.name != expected_filename
32
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
42
33
  end
43
34
  end
35
+ warn "Each proto file must use a consistent fully-qualified name."
36
+ warn "This will become an error in the next major version."
44
37
  end
45
38
 
46
39
  module Gitaly
@@ -1,109 +1,38 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: shared.proto
3
4
 
5
+ require 'google/protobuf'
6
+
4
7
  require 'google/protobuf/timestamp_pb'
5
8
  require 'lint_pb'
6
- require 'google/protobuf'
7
9
 
8
- Google::Protobuf::DescriptorPool.generated_pool.build do
9
- add_file("shared.proto", :syntax => :proto3) do
10
- add_message "gitaly.Repository" do
11
- optional :storage_name, :string, 2
12
- optional :relative_path, :string, 3
13
- optional :git_object_directory, :string, 4
14
- repeated :git_alternate_object_directories, :string, 5
15
- optional :gl_repository, :string, 6
16
- optional :gl_project_path, :string, 8
17
- end
18
- add_message "gitaly.CommitTrailer" do
19
- optional :key, :bytes, 1
20
- optional :value, :bytes, 2
21
- end
22
- add_message "gitaly.CommitStatInfo" do
23
- optional :additions, :int32, 1
24
- optional :deletions, :int32, 2
25
- optional :changed_files, :int32, 3
26
- end
27
- add_message "gitaly.GitCommit" do
28
- optional :id, :string, 1
29
- optional :subject, :bytes, 2
30
- optional :body, :bytes, 3
31
- optional :author, :message, 4, "gitaly.CommitAuthor"
32
- optional :committer, :message, 5, "gitaly.CommitAuthor"
33
- repeated :parent_ids, :string, 6
34
- optional :body_size, :int64, 7
35
- optional :signature_type, :enum, 8, "gitaly.SignatureType"
36
- optional :tree_id, :string, 9
37
- repeated :trailers, :message, 10, "gitaly.CommitTrailer"
38
- optional :short_stats, :message, 11, "gitaly.CommitStatInfo"
39
- repeated :referenced_by, :bytes, 12
40
- optional :encoding, :string, 13
41
- end
42
- add_message "gitaly.CommitAuthor" do
43
- optional :name, :bytes, 1
44
- optional :email, :bytes, 2
45
- optional :date, :message, 3, "google.protobuf.Timestamp"
46
- optional :timezone, :bytes, 4
47
- end
48
- add_message "gitaly.ExitStatus" do
49
- optional :value, :int32, 1
50
- end
51
- add_message "gitaly.Branch" do
52
- optional :name, :bytes, 1
53
- optional :target_commit, :message, 2, "gitaly.GitCommit"
54
- end
55
- add_message "gitaly.Tag" do
56
- optional :name, :bytes, 1
57
- optional :id, :string, 2
58
- optional :target_commit, :message, 3, "gitaly.GitCommit"
59
- optional :message, :bytes, 4
60
- optional :message_size, :int64, 5
61
- optional :tagger, :message, 6, "gitaly.CommitAuthor"
62
- optional :signature_type, :enum, 7, "gitaly.SignatureType"
63
- end
64
- add_message "gitaly.User" do
65
- optional :gl_id, :string, 1
66
- optional :name, :bytes, 2
67
- optional :email, :bytes, 3
68
- optional :gl_username, :string, 4
69
- optional :timezone, :string, 5
70
- end
71
- add_message "gitaly.ObjectPool" do
72
- optional :repository, :message, 1, "gitaly.Repository"
73
- end
74
- add_message "gitaly.PaginationParameter" do
75
- optional :page_token, :string, 1
76
- optional :limit, :int32, 2
77
- end
78
- add_message "gitaly.PaginationCursor" do
79
- optional :next_cursor, :string, 1
80
- end
81
- add_message "gitaly.GlobalOptions" do
82
- optional :literal_pathspecs, :bool, 1
83
- end
84
- add_enum "gitaly.ObjectType" do
85
- value :UNKNOWN, 0
86
- value :COMMIT, 1
87
- value :BLOB, 2
88
- value :TREE, 3
89
- value :TAG, 4
90
- end
91
- add_enum "gitaly.ObjectFormat" do
92
- value :OBJECT_FORMAT_UNSPECIFIED, 0
93
- value :OBJECT_FORMAT_SHA1, 1
94
- value :OBJECT_FORMAT_SHA256, 2
95
- end
96
- add_enum "gitaly.SignatureType" do
97
- value :NONE, 0
98
- value :PGP, 1
99
- value :X509, 2
100
- value :SSH, 3
101
- end
102
- add_enum "gitaly.SortDirection" do
103
- value :ASCENDING, 0
104
- value :DESCENDING, 1
10
+
11
+ descriptor_data = "\n\x0cshared.proto\x12\x06gitaly\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\nlint.proto\"\xc3\x01\n\nRepository\x12\x14\n\x0cstorage_name\x18\x02 \x01(\t\x12\x15\n\rrelative_path\x18\x03 \x01(\t\x12\x1c\n\x14git_object_directory\x18\x04 \x01(\t\x12(\n git_alternate_object_directories\x18\x05 \x03(\t\x12\x15\n\rgl_repository\x18\x06 \x01(\t\x12\x17\n\x0fgl_project_path\x18\x08 \x01(\tJ\x04\x08\x01\x10\x02J\x04\x08\x07\x10\x08R\x04path\"+\n\rCommitTrailer\x12\x0b\n\x03key\x18\x01 \x01(\x0c\x12\r\n\x05value\x18\x02 \x01(\x0c\"M\n\x0e\x43ommitStatInfo\x12\x11\n\tadditions\x18\x01 \x01(\x05\x12\x11\n\tdeletions\x18\x02 \x01(\x05\x12\x15\n\rchanged_files\x18\x03 \x01(\x05\"\xeb\x02\n\tGitCommit\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0f\n\x07subject\x18\x02 \x01(\x0c\x12\x0c\n\x04\x62ody\x18\x03 \x01(\x0c\x12$\n\x06\x61uthor\x18\x04 \x01(\x0b\x32\x14.gitaly.CommitAuthor\x12\'\n\tcommitter\x18\x05 \x01(\x0b\x32\x14.gitaly.CommitAuthor\x12\x12\n\nparent_ids\x18\x06 \x03(\t\x12\x11\n\tbody_size\x18\x07 \x01(\x03\x12-\n\x0esignature_type\x18\x08 \x01(\x0e\x32\x15.gitaly.SignatureType\x12\x0f\n\x07tree_id\x18\t \x01(\t\x12\'\n\x08trailers\x18\n \x03(\x0b\x32\x15.gitaly.CommitTrailer\x12+\n\x0bshort_stats\x18\x0b \x01(\x0b\x32\x16.gitaly.CommitStatInfo\x12\x15\n\rreferenced_by\x18\x0c \x03(\x0c\x12\x10\n\x08\x65ncoding\x18\r \x01(\t\"g\n\x0c\x43ommitAuthor\x12\x0c\n\x04name\x18\x01 \x01(\x0c\x12\r\n\x05\x65mail\x18\x02 \x01(\x0c\x12(\n\x04\x64\x61te\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x10\n\x08timezone\x18\x04 \x01(\x0c\"\x1b\n\nExitStatus\x12\r\n\x05value\x18\x01 \x01(\x05\"@\n\x06\x42ranch\x12\x0c\n\x04name\x18\x01 \x01(\x0c\x12(\n\rtarget_commit\x18\x02 \x01(\x0b\x32\x11.gitaly.GitCommit\"\xc5\x01\n\x03Tag\x12\x0c\n\x04name\x18\x01 \x01(\x0c\x12\n\n\x02id\x18\x02 \x01(\t\x12(\n\rtarget_commit\x18\x03 \x01(\x0b\x32\x11.gitaly.GitCommit\x12\x0f\n\x07message\x18\x04 \x01(\x0c\x12\x14\n\x0cmessage_size\x18\x05 \x01(\x03\x12$\n\x06tagger\x18\x06 \x01(\x0b\x32\x14.gitaly.CommitAuthor\x12-\n\x0esignature_type\x18\x07 \x01(\x0e\x32\x15.gitaly.SignatureType\"Y\n\x04User\x12\r\n\x05gl_id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\x0c\x12\r\n\x05\x65mail\x18\x03 \x01(\x0c\x12\x13\n\x0bgl_username\x18\x04 \x01(\t\x12\x10\n\x08timezone\x18\x05 \x01(\t\":\n\nObjectPool\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x90\xc6,\x01\"8\n\x13PaginationParameter\x12\x12\n\npage_token\x18\x01 \x01(\t\x12\r\n\x05limit\x18\x02 \x01(\x05\"\'\n\x10PaginationCursor\x12\x13\n\x0bnext_cursor\x18\x01 \x01(\t\"*\n\rGlobalOptions\x12\x19\n\x11literal_pathspecs\x18\x01 \x01(\x08*B\n\nObjectType\x12\x0b\n\x07UNKNOWN\x10\x00\x12\n\n\x06\x43OMMIT\x10\x01\x12\x08\n\x04\x42LOB\x10\x02\x12\x08\n\x04TREE\x10\x03\x12\x07\n\x03TAG\x10\x04*_\n\x0cObjectFormat\x12\x1d\n\x19OBJECT_FORMAT_UNSPECIFIED\x10\x00\x12\x16\n\x12OBJECT_FORMAT_SHA1\x10\x01\x12\x18\n\x14OBJECT_FORMAT_SHA256\x10\x02*5\n\rSignatureType\x12\x08\n\x04NONE\x10\x00\x12\x07\n\x03PGP\x10\x01\x12\x08\n\x04X509\x10\x02\x12\x07\n\x03SSH\x10\x03*.\n\rSortDirection\x12\r\n\tASCENDING\x10\x00\x12\x0e\n\nDESCENDING\x10\x01\x42\x34Z2gitlab.com/gitlab-org/gitaly/v16/proto/go/gitalypbb\x06proto3"
12
+
13
+ pool = Google::Protobuf::DescriptorPool.generated_pool
14
+
15
+ begin
16
+ pool.add_serialized_file(descriptor_data)
17
+ rescue TypeError => e
18
+ # Compatibility code: will be removed in the next major version.
19
+ require 'google/protobuf/descriptor_pb'
20
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
21
+ parsed.clear_dependency
22
+ serialized = parsed.class.encode(parsed)
23
+ file = pool.add_serialized_file(serialized)
24
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
25
+ imports = [
26
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
27
+ ]
28
+ imports.each do |type_name, expected_filename|
29
+ import_file = pool.lookup(type_name).file_descriptor
30
+ if import_file.name != expected_filename
31
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
105
32
  end
106
33
  end
34
+ warn "Each proto file must use a consistent fully-qualified name."
35
+ warn "This will become an error in the next major version."
107
36
  end
108
37
 
109
38
  module Gitaly
@@ -1,40 +1,38 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: smarthttp.proto
3
4
 
5
+ require 'google/protobuf'
6
+
4
7
  require 'lint_pb'
5
8
  require 'shared_pb'
6
- require 'google/protobuf'
7
9
 
8
- Google::Protobuf::DescriptorPool.generated_pool.build do
9
- add_file("smarthttp.proto", :syntax => :proto3) do
10
- add_message "gitaly.InfoRefsRequest" do
11
- optional :repository, :message, 1, "gitaly.Repository"
12
- repeated :git_config_options, :string, 2
13
- optional :git_protocol, :string, 3
14
- end
15
- add_message "gitaly.InfoRefsResponse" do
16
- optional :data, :bytes, 1
17
- end
18
- add_message "gitaly.PostUploadPackWithSidechannelRequest" do
19
- optional :repository, :message, 1, "gitaly.Repository"
20
- repeated :git_config_options, :string, 2
21
- optional :git_protocol, :string, 3
22
- end
23
- add_message "gitaly.PostUploadPackWithSidechannelResponse" do
24
- end
25
- add_message "gitaly.PostReceivePackRequest" do
26
- optional :repository, :message, 1, "gitaly.Repository"
27
- optional :data, :bytes, 2
28
- optional :gl_id, :string, 3
29
- optional :gl_repository, :string, 4
30
- optional :gl_username, :string, 5
31
- optional :git_protocol, :string, 6
32
- repeated :git_config_options, :string, 7
33
- end
34
- add_message "gitaly.PostReceivePackResponse" do
35
- optional :data, :bytes, 1
10
+
11
+ descriptor_data = "\n\x0fsmarthttp.proto\x12\x06gitaly\x1a\nlint.proto\x1a\x0cshared.proto\"q\n\x0fInfoRefsRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x1a\n\x12git_config_options\x18\x02 \x03(\t\x12\x14\n\x0cgit_protocol\x18\x03 \x01(\t\" \n\x10InfoRefsResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"\x86\x01\n$PostUploadPackWithSidechannelRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x1a\n\x12git_config_options\x18\x02 \x03(\t\x12\x14\n\x0cgit_protocol\x18\x03 \x01(\t\"\'\n%PostUploadPackWithSidechannelResponse\"\xc1\x01\n\x16PostReceivePackRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12\r\n\x05gl_id\x18\x03 \x01(\t\x12\x15\n\rgl_repository\x18\x04 \x01(\t\x12\x13\n\x0bgl_username\x18\x05 \x01(\t\x12\x14\n\x0cgit_protocol\x18\x06 \x01(\t\x12\x1a\n\x12git_config_options\x18\x07 \x03(\t\"\'\n\x17PostReceivePackResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x32\xa0\x03\n\x10SmartHTTPService\x12Q\n\x12InfoRefsUploadPack\x12\x17.gitaly.InfoRefsRequest\x1a\x18.gitaly.InfoRefsResponse\"\x06\xfa\x97(\x02\x08\x02\x30\x01\x12R\n\x13InfoRefsReceivePack\x12\x17.gitaly.InfoRefsRequest\x1a\x18.gitaly.InfoRefsResponse\"\x06\xfa\x97(\x02\x08\x02\x30\x01\x12\x84\x01\n\x1dPostUploadPackWithSidechannel\x12,.gitaly.PostUploadPackWithSidechannelRequest\x1a-.gitaly.PostUploadPackWithSidechannelResponse\"\x06\xfa\x97(\x02\x08\x02\x12^\n\x0fPostReceivePack\x12\x1e.gitaly.PostReceivePackRequest\x1a\x1f.gitaly.PostReceivePackResponse\"\x06\xfa\x97(\x02\x08\x01(\x01\x30\x01\x42\x34Z2gitlab.com/gitlab-org/gitaly/v16/proto/go/gitalypbb\x06proto3"
12
+
13
+ pool = Google::Protobuf::DescriptorPool.generated_pool
14
+
15
+ begin
16
+ pool.add_serialized_file(descriptor_data)
17
+ rescue TypeError => e
18
+ # Compatibility code: will be removed in the next major version.
19
+ require 'google/protobuf/descriptor_pb'
20
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
21
+ parsed.clear_dependency
22
+ serialized = parsed.class.encode(parsed)
23
+ file = pool.add_serialized_file(serialized)
24
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
25
+ imports = [
26
+ ["gitaly.Repository", "shared.proto"],
27
+ ]
28
+ imports.each do |type_name, expected_filename|
29
+ import_file = pool.lookup(type_name).file_descriptor
30
+ if import_file.name != expected_filename
31
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
36
32
  end
37
33
  end
34
+ warn "Each proto file must use a consistent fully-qualified name."
35
+ warn "This will become an error in the next major version."
38
36
  end
39
37
 
40
38
  module Gitaly
@@ -1,54 +1,38 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: ssh.proto
3
4
 
5
+ require 'google/protobuf'
6
+
4
7
  require 'lint_pb'
5
8
  require 'shared_pb'
6
- require 'google/protobuf'
7
9
 
8
- Google::Protobuf::DescriptorPool.generated_pool.build do
9
- add_file("ssh.proto", :syntax => :proto3) do
10
- add_message "gitaly.SSHUploadPackRequest" do
11
- optional :repository, :message, 1, "gitaly.Repository"
12
- optional :stdin, :bytes, 2
13
- repeated :git_config_options, :string, 4
14
- optional :git_protocol, :string, 5
15
- end
16
- add_message "gitaly.SSHUploadPackResponse" do
17
- optional :stdout, :bytes, 1
18
- optional :stderr, :bytes, 2
19
- optional :exit_status, :message, 3, "gitaly.ExitStatus"
20
- end
21
- add_message "gitaly.SSHUploadPackWithSidechannelRequest" do
22
- optional :repository, :message, 1, "gitaly.Repository"
23
- repeated :git_config_options, :string, 2
24
- optional :git_protocol, :string, 3
25
- end
26
- add_message "gitaly.SSHUploadPackWithSidechannelResponse" do
27
- end
28
- add_message "gitaly.SSHReceivePackRequest" do
29
- optional :repository, :message, 1, "gitaly.Repository"
30
- optional :stdin, :bytes, 2
31
- optional :gl_id, :string, 3
32
- optional :gl_repository, :string, 4
33
- optional :gl_username, :string, 5
34
- optional :git_protocol, :string, 6
35
- repeated :git_config_options, :string, 7
36
- end
37
- add_message "gitaly.SSHReceivePackResponse" do
38
- optional :stdout, :bytes, 1
39
- optional :stderr, :bytes, 2
40
- optional :exit_status, :message, 3, "gitaly.ExitStatus"
41
- end
42
- add_message "gitaly.SSHUploadArchiveRequest" do
43
- optional :repository, :message, 1, "gitaly.Repository"
44
- optional :stdin, :bytes, 2
45
- end
46
- add_message "gitaly.SSHUploadArchiveResponse" do
47
- optional :stdout, :bytes, 1
48
- optional :stderr, :bytes, 2
49
- optional :exit_status, :message, 3, "gitaly.ExitStatus"
10
+
11
+ descriptor_data = "\n\tssh.proto\x12\x06gitaly\x1a\nlint.proto\x1a\x0cshared.proto\"\xa2\x01\n\x14SSHUploadPackRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\r\n\x05stdin\x18\x02 \x01(\x0c\x12\x1a\n\x12git_config_options\x18\x04 \x03(\t\x12\x14\n\x0cgit_protocol\x18\x05 \x01(\tJ\x04\x08\x03\x10\x04R\x15git_config_parameters\"`\n\x15SSHUploadPackResponse\x12\x0e\n\x06stdout\x18\x01 \x01(\x0c\x12\x0e\n\x06stderr\x18\x02 \x01(\x0c\x12\'\n\x0b\x65xit_status\x18\x03 \x01(\x0b\x32\x12.gitaly.ExitStatus\"\x85\x01\n#SSHUploadPackWithSidechannelRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x1a\n\x12git_config_options\x18\x02 \x03(\t\x12\x14\n\x0cgit_protocol\x18\x03 \x01(\t\"&\n$SSHUploadPackWithSidechannelResponse\"\xc1\x01\n\x15SSHReceivePackRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\r\n\x05stdin\x18\x02 \x01(\x0c\x12\r\n\x05gl_id\x18\x03 \x01(\t\x12\x15\n\rgl_repository\x18\x04 \x01(\t\x12\x13\n\x0bgl_username\x18\x05 \x01(\t\x12\x14\n\x0cgit_protocol\x18\x06 \x01(\t\x12\x1a\n\x12git_config_options\x18\x07 \x03(\t\"a\n\x16SSHReceivePackResponse\x12\x0e\n\x06stdout\x18\x01 \x01(\x0c\x12\x0e\n\x06stderr\x18\x02 \x01(\x0c\x12\'\n\x0b\x65xit_status\x18\x03 \x01(\x0b\x32\x12.gitaly.ExitStatus\"V\n\x17SSHUploadArchiveRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\r\n\x05stdin\x18\x02 \x01(\x0c\"c\n\x18SSHUploadArchiveResponse\x12\x0e\n\x06stdout\x18\x01 \x01(\x0c\x12\x0e\n\x06stderr\x18\x02 \x01(\x0c\x12\'\n\x0b\x65xit_status\x18\x03 \x01(\x0b\x32\x12.gitaly.ExitStatus2\xaa\x03\n\nSSHService\x12X\n\rSSHUploadPack\x12\x1c.gitaly.SSHUploadPackRequest\x1a\x1d.gitaly.SSHUploadPackResponse\"\x06\xfa\x97(\x02\x08\x02(\x01\x30\x01\x12\x81\x01\n\x1cSSHUploadPackWithSidechannel\x12+.gitaly.SSHUploadPackWithSidechannelRequest\x1a,.gitaly.SSHUploadPackWithSidechannelResponse\"\x06\xfa\x97(\x02\x08\x02\x12[\n\x0eSSHReceivePack\x12\x1d.gitaly.SSHReceivePackRequest\x1a\x1e.gitaly.SSHReceivePackResponse\"\x06\xfa\x97(\x02\x08\x01(\x01\x30\x01\x12\x61\n\x10SSHUploadArchive\x12\x1f.gitaly.SSHUploadArchiveRequest\x1a .gitaly.SSHUploadArchiveResponse\"\x06\xfa\x97(\x02\x08\x02(\x01\x30\x01\x42\x34Z2gitlab.com/gitlab-org/gitaly/v16/proto/go/gitalypbb\x06proto3"
12
+
13
+ pool = Google::Protobuf::DescriptorPool.generated_pool
14
+
15
+ begin
16
+ pool.add_serialized_file(descriptor_data)
17
+ rescue TypeError => e
18
+ # Compatibility code: will be removed in the next major version.
19
+ require 'google/protobuf/descriptor_pb'
20
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
21
+ parsed.clear_dependency
22
+ serialized = parsed.class.encode(parsed)
23
+ file = pool.add_serialized_file(serialized)
24
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
25
+ imports = [
26
+ ["gitaly.Repository", "shared.proto"],
27
+ ]
28
+ imports.each do |type_name, expected_filename|
29
+ import_file = pool.lookup(type_name).file_descriptor
30
+ if import_file.name != expected_filename
31
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
50
32
  end
51
33
  end
34
+ warn "Each proto file must use a consistent fully-qualified name."
35
+ warn "This will become an error in the next major version."
52
36
  end
53
37
 
54
38
  module Gitaly
@@ -1,39 +1,38 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: transaction.proto
3
4
 
5
+ require 'google/protobuf'
6
+
4
7
  require 'lint_pb'
5
8
  require 'shared_pb'
6
- require 'google/protobuf'
7
9
 
8
- Google::Protobuf::DescriptorPool.generated_pool.build do
9
- add_file("transaction.proto", :syntax => :proto3) do
10
- add_message "gitaly.VoteTransactionRequest" do
11
- optional :repository, :message, 1, "gitaly.Repository"
12
- optional :transaction_id, :uint64, 2
13
- optional :node, :string, 3
14
- optional :reference_updates_hash, :bytes, 4
15
- optional :phase, :enum, 5, "gitaly.VoteTransactionRequest.Phase"
16
- end
17
- add_enum "gitaly.VoteTransactionRequest.Phase" do
18
- value :UNKNOWN_PHASE, 0
19
- value :PREPARED_PHASE, 1
20
- value :COMMITTED_PHASE, 2
21
- end
22
- add_message "gitaly.VoteTransactionResponse" do
23
- optional :state, :enum, 1, "gitaly.VoteTransactionResponse.TransactionState"
24
- end
25
- add_enum "gitaly.VoteTransactionResponse.TransactionState" do
26
- value :COMMIT, 0
27
- value :ABORT, 1
28
- value :STOP, 2
29
- end
30
- add_message "gitaly.StopTransactionRequest" do
31
- optional :repository, :message, 1, "gitaly.Repository"
32
- optional :transaction_id, :uint64, 2
33
- end
34
- add_message "gitaly.StopTransactionResponse" do
10
+
11
+ descriptor_data = "\n\x11transaction.proto\x12\x06gitaly\x1a\nlint.proto\x1a\x0cshared.proto\"\x86\x02\n\x16VoteTransactionRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x16\n\x0etransaction_id\x18\x02 \x01(\x04\x12\x0c\n\x04node\x18\x03 \x01(\t\x12\x1e\n\x16reference_updates_hash\x18\x04 \x01(\x0c\x12\x33\n\x05phase\x18\x05 \x01(\x0e\x32$.gitaly.VoteTransactionRequest.Phase\"C\n\x05Phase\x12\x11\n\rUNKNOWN_PHASE\x10\x00\x12\x12\n\x0ePREPARED_PHASE\x10\x01\x12\x13\n\x0f\x43OMMITTED_PHASE\x10\x02\"\x8f\x01\n\x17VoteTransactionResponse\x12?\n\x05state\x18\x01 \x01(\x0e\x32\x30.gitaly.VoteTransactionResponse.TransactionState\"3\n\x10TransactionState\x12\n\n\x06\x43OMMIT\x10\x00\x12\t\n\x05\x41\x42ORT\x10\x01\x12\x08\n\x04STOP\x10\x02\"^\n\x16StopTransactionRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x16\n\x0etransaction_id\x18\x02 \x01(\x04\"\x19\n\x17StopTransactionResponse2\xbe\x01\n\x0eRefTransaction\x12R\n\x0fVoteTransaction\x12\x1e.gitaly.VoteTransactionRequest\x1a\x1f.gitaly.VoteTransactionResponse\x12R\n\x0fStopTransaction\x12\x1e.gitaly.StopTransactionRequest\x1a\x1f.gitaly.StopTransactionResponse\x1a\x04\xf0\x97(\x01\x42\x34Z2gitlab.com/gitlab-org/gitaly/v16/proto/go/gitalypbb\x06proto3"
12
+
13
+ pool = Google::Protobuf::DescriptorPool.generated_pool
14
+
15
+ begin
16
+ pool.add_serialized_file(descriptor_data)
17
+ rescue TypeError => e
18
+ # Compatibility code: will be removed in the next major version.
19
+ require 'google/protobuf/descriptor_pb'
20
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
21
+ parsed.clear_dependency
22
+ serialized = parsed.class.encode(parsed)
23
+ file = pool.add_serialized_file(serialized)
24
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
25
+ imports = [
26
+ ["gitaly.Repository", "shared.proto"],
27
+ ]
28
+ imports.each do |type_name, expected_filename|
29
+ import_file = pool.lookup(type_name).file_descriptor
30
+ if import_file.name != expected_filename
31
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
35
32
  end
36
33
  end
34
+ warn "Each proto file must use a consistent fully-qualified name."
35
+ warn "This will become an error in the next major version."
37
36
  end
38
37
 
39
38
  module Gitaly
@@ -1,4 +1,4 @@
1
1
  # This file is generated by build-proto-gem. Do not edit.
2
2
  module Gitaly
3
- VERSION = '15.11.0-rc1'
3
+ VERSION = '16.1.0-rc1'
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitaly
3
3
  version: !ruby/object:Gem::Version
4
- version: 15.11.0.pre.rc1
4
+ version: 16.1.0.pre.rc1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jacob Vosmaer
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-14 00:00:00.000000000 Z
11
+ date: 2023-05-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: grpc
@@ -78,7 +78,7 @@ homepage: https://gitlab.com/gitlab-org/gitaly
78
78
  licenses:
79
79
  - MIT
80
80
  metadata: {}
81
- post_install_message:
81
+ post_install_message:
82
82
  rdoc_options: []
83
83
  require_paths:
84
84
  - ruby/proto
@@ -93,8 +93,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
93
93
  - !ruby/object:Gem::Version
94
94
  version: 1.3.1
95
95
  requirements: []
96
- rubygems_version: 3.4.10
97
- signing_key:
96
+ rubygems_version: 3.3.26
97
+ signing_key:
98
98
  specification_version: 4
99
99
  summary: Auto-generated gRPC client for gitaly
100
100
  test_files: []