gitaly 1.87.0 → 13.1.0.pre.rc3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of gitaly might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1171e67a7a04a8cf81ccc89de8620396684f5457f1fc59f93d9bff9213f051ff
4
- data.tar.gz: eecf1fc68164ca59e384ad5410ac09abba7bc23fc4608eb7f87e52b05221e7a8
3
+ metadata.gz: cf2af2938f08e598899b08ad5ba2ad2939110dea7e70e7e44c054f725882c610
4
+ data.tar.gz: 00d4b75b643a92e97300e0996fb89f5e4a458c9e7bd98589fa1053e6932fa12d
5
5
  SHA512:
6
- metadata.gz: f09400a2290df247283b43207049c83a4497aa722ee2a2409af6df957d8b3c3de648af61e3bfccdbb88fdf4f9631526b78e0f857ae2417833dc3a2188398042d
7
- data.tar.gz: 71eeebeaefcec1892a26f7a63c0b2fb225d21f0daedb05c325017f60de1285c582c1e3ef7fdbd844b7dacd1f5b5137d6a313c907c8e472f6a4cd4844d69b9c78
6
+ metadata.gz: e4a36f16bf3901314251ff973191d11182f11881af3168778b63d522615b746ef21f129887dd6cc9242e9daa2307deec7b6240b3de00388c55b138805ac5eec5
7
+ data.tar.gz: 24fdd9cf2d935e844549fb19f93b3669e96d58547b684ad0a5584882b78fabc073e7968f974873f697509b89ef6f4c3e83a714747345f03974b0b4057a5a677f
@@ -2,4 +2,4 @@
2
2
 
3
3
  We are moving gitaly-proto inside the Gitaly repository. These stubs are not yet in use. Please use the `gitaly-proto` gem from Rubygems instead of this.
4
4
 
5
- https://gitlab.com/gitlab-org/gitaly/issues/1761
5
+ https://gitlab.com/gitlab-org/gitaly/issues/1761
@@ -15,6 +15,8 @@ require 'gitaly/diff_services_pb'
15
15
 
16
16
  require 'gitaly/hook_services_pb'
17
17
 
18
+ require 'gitaly/internal_services_pb'
19
+
18
20
  require 'gitaly/namespace_services_pb'
19
21
 
20
22
  require 'gitaly/objectpool_services_pb'
@@ -35,5 +37,7 @@ require 'gitaly/smarthttp_services_pb'
35
37
 
36
38
  require 'gitaly/ssh_services_pb'
37
39
 
40
+ require 'gitaly/transaction_services_pb'
41
+
38
42
  require 'gitaly/wiki_services_pb'
39
43
 
@@ -3,6 +3,7 @@
3
3
 
4
4
  require 'google/protobuf'
5
5
 
6
+ require 'lint_pb'
6
7
  require 'shared_pb'
7
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
8
9
  add_message "gitaly.GetBlobRequest" do
@@ -3,6 +3,7 @@
3
3
 
4
4
  require 'google/protobuf'
5
5
 
6
+ require 'lint_pb'
6
7
  require 'shared_pb'
7
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
8
9
  add_message "gitaly.ApplyBfgObjectMapStreamRequest" do
@@ -3,6 +3,7 @@
3
3
 
4
4
  require 'google/protobuf'
5
5
 
6
+ require 'lint_pb'
6
7
  require 'shared_pb'
7
8
  require 'google/protobuf/timestamp_pb'
8
9
  Google::Protobuf::DescriptorPool.generated_pool.build do
@@ -123,6 +124,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
123
124
  end
124
125
  add_message "gitaly.ListCommitsByRefNameResponse" do
125
126
  repeated :commits, :message, 1, "gitaly.GitCommit"
127
+ repeated :commit_refs, :message, 2, "gitaly.ListCommitsByRefNameResponse.CommitForRef"
128
+ end
129
+ add_message "gitaly.ListCommitsByRefNameResponse.CommitForRef" do
130
+ optional :commit, :message, 1, "gitaly.GitCommit"
131
+ optional :ref_name, :bytes, 2
126
132
  end
127
133
  add_message "gitaly.FindAllCommitsRequest" do
128
134
  optional :repository, :message, 1, "gitaly.Repository"
@@ -277,6 +283,7 @@ module Gitaly
277
283
  ListCommitsByOidResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListCommitsByOidResponse").msgclass
278
284
  ListCommitsByRefNameRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListCommitsByRefNameRequest").msgclass
279
285
  ListCommitsByRefNameResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListCommitsByRefNameResponse").msgclass
286
+ ListCommitsByRefNameResponse::CommitForRef = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListCommitsByRefNameResponse.CommitForRef").msgclass
280
287
  FindAllCommitsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindAllCommitsRequest").msgclass
281
288
  FindAllCommitsRequest::Order = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindAllCommitsRequest.Order").enummodule
282
289
  FindAllCommitsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindAllCommitsResponse").msgclass
@@ -3,6 +3,7 @@
3
3
 
4
4
  require 'google/protobuf'
5
5
 
6
+ require 'lint_pb'
6
7
  require 'shared_pb'
7
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
8
9
  add_message "gitaly.ListConflictFilesRequest" do
@@ -3,6 +3,7 @@
3
3
 
4
4
  require 'google/protobuf'
5
5
 
6
+ require 'lint_pb'
6
7
  require 'shared_pb'
7
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
8
9
  add_message "gitaly.CommitDiffRequest" do
@@ -3,13 +3,14 @@
3
3
 
4
4
  require 'google/protobuf'
5
5
 
6
+ require 'lint_pb'
6
7
  require 'shared_pb'
7
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
8
9
  add_message "gitaly.PreReceiveHookRequest" do
9
10
  optional :repository, :message, 1, "gitaly.Repository"
10
- optional :key_id, :string, 2
11
- optional :protocol, :string, 3
11
+ repeated :environment_variables, :string, 2
12
12
  optional :stdin, :bytes, 4
13
+ repeated :git_push_options, :string, 5
13
14
  end
14
15
  add_message "gitaly.PreReceiveHookResponse" do
15
16
  optional :stdout, :bytes, 1
@@ -18,7 +19,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
18
19
  end
19
20
  add_message "gitaly.PostReceiveHookRequest" do
20
21
  optional :repository, :message, 1, "gitaly.Repository"
21
- optional :key_id, :string, 2
22
+ repeated :environment_variables, :string, 2
22
23
  optional :stdin, :bytes, 3
23
24
  repeated :git_push_options, :string, 4
24
25
  end
@@ -29,7 +30,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
29
30
  end
30
31
  add_message "gitaly.UpdateHookRequest" do
31
32
  optional :repository, :message, 1, "gitaly.Repository"
32
- optional :key_id, :string, 2
33
+ repeated :environment_variables, :string, 2
33
34
  optional :ref, :bytes, 3
34
35
  optional :old_value, :string, 4
35
36
  optional :new_value, :string, 5
@@ -0,0 +1,19 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: internal.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'lint_pb'
7
+ Google::Protobuf::DescriptorPool.generated_pool.build do
8
+ add_message "gitaly.WalkReposRequest" do
9
+ optional :storage_name, :string, 1
10
+ end
11
+ add_message "gitaly.WalkReposResponse" do
12
+ optional :relative_path, :string, 1
13
+ end
14
+ end
15
+
16
+ module Gitaly
17
+ WalkReposRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.WalkReposRequest").msgclass
18
+ WalkReposResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.WalkReposResponse").msgclass
19
+ end
@@ -0,0 +1,26 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: internal.proto for package 'gitaly'
3
+
4
+ require 'grpc'
5
+ require 'internal_pb'
6
+
7
+ module Gitaly
8
+ module InternalGitaly
9
+ # InternalGitaly is a gRPC service meant to be served by a Gitaly node, but
10
+ # only reachable by Praefect or other Gitalies
11
+ class Service
12
+
13
+ include GRPC::GenericService
14
+
15
+ self.marshal_class_method = :encode
16
+ self.unmarshal_class_method = :decode
17
+ self.service_name = 'gitaly.InternalGitaly'
18
+
19
+ # WalkRepos walks the storage and streams back all known git repos on the
20
+ # requested storage
21
+ rpc :WalkRepos, WalkReposRequest, stream(WalkReposResponse)
22
+ end
23
+
24
+ Stub = Service.rpc_stub_class
25
+ end
26
+ end
@@ -0,0 +1,27 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: lint.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ Google::Protobuf::DescriptorPool.generated_pool.build do
7
+ add_message "gitaly.OperationMsg" do
8
+ optional :op, :enum, 1, "gitaly.OperationMsg.Operation"
9
+ optional :scope_level, :enum, 2, "gitaly.OperationMsg.Scope"
10
+ end
11
+ add_enum "gitaly.OperationMsg.Operation" do
12
+ value :UNKNOWN, 0
13
+ value :MUTATOR, 1
14
+ value :ACCESSOR, 2
15
+ end
16
+ add_enum "gitaly.OperationMsg.Scope" do
17
+ value :REPOSITORY, 0
18
+ value :SERVER, 1
19
+ value :STORAGE, 2
20
+ end
21
+ end
22
+
23
+ module Gitaly
24
+ OperationMsg = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.OperationMsg").msgclass
25
+ OperationMsg::Operation = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.OperationMsg.Operation").enummodule
26
+ OperationMsg::Scope = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.OperationMsg.Scope").enummodule
27
+ end
@@ -3,7 +3,7 @@
3
3
 
4
4
  require 'google/protobuf'
5
5
 
6
- require 'shared_pb'
6
+ require 'lint_pb'
7
7
  Google::Protobuf::DescriptorPool.generated_pool.build do
8
8
  add_message "gitaly.AddNamespaceRequest" do
9
9
  optional :storage_name, :string, 1
@@ -3,6 +3,7 @@
3
3
 
4
4
  require 'google/protobuf'
5
5
 
6
+ require 'lint_pb'
6
7
  require 'shared_pb'
7
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
8
9
  add_message "gitaly.CreateObjectPoolRequest" do
@@ -3,6 +3,7 @@
3
3
 
4
4
  require 'google/protobuf'
5
5
 
6
+ require 'lint_pb'
6
7
  require 'shared_pb'
7
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
8
9
  add_message "gitaly.UserCreateBranchRequest" do
@@ -181,20 +182,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
181
182
  optional :index_error, :string, 2
182
183
  optional :pre_receive_error, :string, 3
183
184
  end
184
- add_message "gitaly.UserRebaseRequest" do
185
- optional :repository, :message, 1, "gitaly.Repository"
186
- optional :user, :message, 2, "gitaly.User"
187
- optional :rebase_id, :string, 3
188
- optional :branch, :bytes, 4
189
- optional :branch_sha, :string, 5
190
- optional :remote_repository, :message, 6, "gitaly.Repository"
191
- optional :remote_branch, :bytes, 7
192
- end
193
- add_message "gitaly.UserRebaseResponse" do
194
- optional :rebase_sha, :string, 1
195
- optional :pre_receive_error, :string, 2
196
- optional :git_error, :string, 3
197
- end
198
185
  add_message "gitaly.UserRebaseConfirmableRequest" do
199
186
  oneof :user_rebase_confirmable_request_payload do
200
187
  optional :header, :message, 1, "gitaly.UserRebaseConfirmableRequest.Header"
@@ -223,7 +210,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
223
210
  optional :repository, :message, 1, "gitaly.Repository"
224
211
  optional :user, :message, 2, "gitaly.User"
225
212
  optional :squash_id, :string, 3
226
- optional :branch, :bytes, 4
227
213
  optional :start_sha, :string, 5
228
214
  optional :end_sha, :string, 6
229
215
  optional :author, :message, 7, "gitaly.User"
@@ -292,8 +278,6 @@ module Gitaly
292
278
  UserCommitFilesRequestHeader = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCommitFilesRequestHeader").msgclass
293
279
  UserCommitFilesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCommitFilesRequest").msgclass
294
280
  UserCommitFilesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCommitFilesResponse").msgclass
295
- UserRebaseRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserRebaseRequest").msgclass
296
- UserRebaseResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserRebaseResponse").msgclass
297
281
  UserRebaseConfirmableRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserRebaseConfirmableRequest").msgclass
298
282
  UserRebaseConfirmableRequest::Header = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserRebaseConfirmableRequest.Header").msgclass
299
283
  UserRebaseConfirmableResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserRebaseConfirmableResponse").msgclass
@@ -24,7 +24,6 @@ module Gitaly
24
24
  rpc :UserFFBranch, UserFFBranchRequest, UserFFBranchResponse
25
25
  rpc :UserCherryPick, UserCherryPickRequest, UserCherryPickResponse
26
26
  rpc :UserCommitFiles, stream(UserCommitFilesRequest), UserCommitFilesResponse
27
- rpc :UserRebase, UserRebaseRequest, UserRebaseResponse
28
27
  rpc :UserRebaseConfirmable, stream(UserRebaseConfirmableRequest), stream(UserRebaseConfirmableResponse)
29
28
  rpc :UserRevert, UserRevertRequest, UserRevertResponse
30
29
  rpc :UserSquash, UserSquashRequest, UserSquashResponse
@@ -3,22 +3,56 @@
3
3
 
4
4
  require 'google/protobuf'
5
5
 
6
+ require 'lint_pb'
6
7
  require 'shared_pb'
8
+ require 'google/protobuf/timestamp_pb'
7
9
  Google::Protobuf::DescriptorPool.generated_pool.build do
8
- add_message "gitaly.ListRepositoriesRequest" do
10
+ add_message "gitaly.EnableWritesRequest" do
11
+ optional :virtual_storage, :string, 1
9
12
  end
10
- add_message "gitaly.ListRepositoriesResponse" do
11
- optional :primary, :message, 1, "gitaly.ListRepositoriesResponse.RepositoryDetails"
12
- repeated :replicas, :message, 2, "gitaly.ListRepositoriesResponse.RepositoryDetails"
13
+ add_message "gitaly.EnableWritesResponse" do
13
14
  end
14
- add_message "gitaly.ListRepositoriesResponse.RepositoryDetails" do
15
+ add_message "gitaly.DatalossCheckRequest" do
16
+ optional :from, :message, 1, "google.protobuf.Timestamp"
17
+ optional :to, :message, 2, "google.protobuf.Timestamp"
18
+ end
19
+ add_message "gitaly.DatalossCheckResponse" do
20
+ map :by_relative_path, :string, :int64, 1
21
+ end
22
+ add_message "gitaly.RepositoryReplicasRequest" do
23
+ optional :repository, :message, 1, "gitaly.Repository"
24
+ end
25
+ add_message "gitaly.RepositoryReplicasResponse" do
26
+ optional :primary, :message, 1, "gitaly.RepositoryReplicasResponse.RepositoryDetails"
27
+ repeated :replicas, :message, 2, "gitaly.RepositoryReplicasResponse.RepositoryDetails"
28
+ end
29
+ add_message "gitaly.RepositoryReplicasResponse.RepositoryDetails" do
15
30
  optional :repository, :message, 1, "gitaly.Repository"
16
31
  optional :checksum, :string, 2
17
32
  end
33
+ add_message "gitaly.ConsistencyCheckRequest" do
34
+ optional :virtual_storage, :string, 1
35
+ optional :target_storage, :string, 2
36
+ optional :reference_storage, :string, 3
37
+ optional :disable_reconcilliation, :bool, 4
38
+ end
39
+ add_message "gitaly.ConsistencyCheckResponse" do
40
+ optional :repo_relative_path, :string, 1
41
+ optional :target_checksum, :string, 2
42
+ optional :reference_checksum, :string, 3
43
+ optional :repl_job_id, :uint64, 4
44
+ optional :reference_storage, :string, 5
45
+ end
18
46
  end
19
47
 
20
48
  module Gitaly
21
- ListRepositoriesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListRepositoriesRequest").msgclass
22
- ListRepositoriesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListRepositoriesResponse").msgclass
23
- ListRepositoriesResponse::RepositoryDetails = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListRepositoriesResponse.RepositoryDetails").msgclass
49
+ EnableWritesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.EnableWritesRequest").msgclass
50
+ EnableWritesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.EnableWritesResponse").msgclass
51
+ DatalossCheckRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DatalossCheckRequest").msgclass
52
+ DatalossCheckResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DatalossCheckResponse").msgclass
53
+ RepositoryReplicasRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RepositoryReplicasRequest").msgclass
54
+ RepositoryReplicasResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RepositoryReplicasResponse").msgclass
55
+ RepositoryReplicasResponse::RepositoryDetails = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RepositoryReplicasResponse.RepositoryDetails").msgclass
56
+ ConsistencyCheckRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ConsistencyCheckRequest").msgclass
57
+ ConsistencyCheckResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ConsistencyCheckResponse").msgclass
24
58
  end
@@ -5,16 +5,28 @@ require 'grpc'
5
5
  require 'praefect_pb'
6
6
 
7
7
  module Gitaly
8
- module InfoService
8
+ module PraefectInfoService
9
9
  class Service
10
10
 
11
11
  include GRPC::GenericService
12
12
 
13
13
  self.marshal_class_method = :encode
14
14
  self.unmarshal_class_method = :decode
15
- self.service_name = 'gitaly.InfoService'
15
+ self.service_name = 'gitaly.PraefectInfoService'
16
16
 
17
- rpc :ListRepositories, ListRepositoriesRequest, stream(ListRepositoriesResponse)
17
+ rpc :RepositoryReplicas, RepositoryReplicasRequest, RepositoryReplicasResponse
18
+ # ConsistencyCheck will perform a consistency check on the requested
19
+ # virtual storage backend. A stream of repository statuses will be sent
20
+ # back indicating which repos are consistent with the primary and which ones
21
+ # need repair.
22
+ rpc :ConsistencyCheck, ConsistencyCheckRequest, stream(ConsistencyCheckResponse)
23
+ # DatalossCheck returns the count of dead replica jobs created within a given
24
+ # timeframe. Dead replica jobs can indicate data loss and can be helpful in debugging
25
+ # impact of a primary node failure.
26
+ rpc :DatalossCheck, DatalossCheckRequest, DatalossCheckResponse
27
+ # EnableWrites enables writes for a storage that was switched to a read-only mode
28
+ # following a failover.
29
+ rpc :EnableWrites, EnableWritesRequest, EnableWritesResponse
18
30
  end
19
31
 
20
32
  Stub = Service.rpc_stub_class
@@ -3,8 +3,9 @@
3
3
 
4
4
  require 'google/protobuf'
5
5
 
6
- require 'blob_pb'
6
+ require 'lint_pb'
7
7
  require 'shared_pb'
8
+ require 'blob_pb'
8
9
  require 'google/protobuf/timestamp_pb'
9
10
  Google::Protobuf::DescriptorPool.generated_pool.build do
10
11
  add_message "gitaly.ListNewBlobsRequest" do
@@ -26,8 +26,6 @@ module Gitaly
26
26
  rpc :FindTag, FindTagRequest, FindTagResponse
27
27
  rpc :FindAllRemoteBranches, FindAllRemoteBranchesRequest, stream(FindAllRemoteBranchesResponse)
28
28
  rpc :RefExists, RefExistsRequest, RefExistsResponse
29
- rpc :CreateBranch, CreateBranchRequest, CreateBranchResponse
30
- rpc :DeleteBranch, DeleteBranchRequest, DeleteBranchResponse
31
29
  rpc :FindBranch, FindBranchRequest, FindBranchResponse
32
30
  rpc :DeleteRefs, DeleteRefsRequest, DeleteRefsResponse
33
31
  rpc :ListBranchNamesContainingCommit, ListBranchNamesContainingCommitRequest, stream(ListBranchNamesContainingCommitResponse)
@@ -3,6 +3,7 @@
3
3
 
4
4
  require 'google/protobuf'
5
5
 
6
+ require 'lint_pb'
6
7
  require 'shared_pb'
7
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
8
9
  add_message "gitaly.AddRemoteRequest" do
@@ -33,11 +34,14 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
33
34
  repeated :only_branches_matching, :bytes, 3
34
35
  optional :ssh_key, :string, 4
35
36
  optional :known_hosts, :string, 5
37
+ optional :keep_divergent_refs, :bool, 6
36
38
  end
37
39
  add_message "gitaly.UpdateRemoteMirrorResponse" do
40
+ repeated :divergent_refs, :bytes, 1
38
41
  end
39
42
  add_message "gitaly.FindRemoteRepositoryRequest" do
40
43
  optional :remote, :string, 1
44
+ optional :storage_name, :string, 2
41
45
  end
42
46
  add_message "gitaly.FindRemoteRepositoryResponse" do
43
47
  optional :exists, :bool, 1
@@ -3,6 +3,7 @@
3
3
 
4
4
  require 'google/protobuf'
5
5
 
6
+ require 'lint_pb'
6
7
  require 'shared_pb'
7
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
8
9
  add_message "gitaly.RepositoryExistsRequest" do
@@ -315,6 +316,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
315
316
  end
316
317
  add_message "gitaly.ReplicateRepositoryResponse" do
317
318
  end
319
+ add_message "gitaly.OptimizeRepositoryRequest" do
320
+ optional :repository, :message, 1, "gitaly.Repository"
321
+ end
322
+ add_message "gitaly.OptimizeRepositoryResponse" do
323
+ end
318
324
  end
319
325
 
320
326
  module Gitaly
@@ -403,4 +409,6 @@ module Gitaly
403
409
  RenameRepositoryResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RenameRepositoryResponse").msgclass
404
410
  ReplicateRepositoryRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ReplicateRepositoryRequest").msgclass
405
411
  ReplicateRepositoryResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ReplicateRepositoryResponse").msgclass
412
+ OptimizeRepositoryRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.OptimizeRepositoryRequest").msgclass
413
+ OptimizeRepositoryResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.OptimizeRepositoryResponse").msgclass
406
414
  end
@@ -54,6 +54,7 @@ module Gitaly
54
54
  rpc :RemoveRepository, RemoveRepositoryRequest, RemoveRepositoryResponse
55
55
  rpc :RenameRepository, RenameRepositoryRequest, RenameRepositoryResponse
56
56
  rpc :ReplicateRepository, ReplicateRepositoryRequest, ReplicateRepositoryResponse
57
+ rpc :OptimizeRepository, OptimizeRepositoryRequest, OptimizeRepositoryResponse
57
58
  end
58
59
 
59
60
  Stub = Service.rpc_stub_class
@@ -3,7 +3,7 @@
3
3
 
4
4
  require 'google/protobuf'
5
5
 
6
- require 'shared_pb'
6
+ require 'lint_pb'
7
7
  Google::Protobuf::DescriptorPool.generated_pool.build do
8
8
  add_message "gitaly.ServerInfoRequest" do
9
9
  end
@@ -18,6 +18,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
18
18
  optional :writeable, :bool, 3
19
19
  optional :fs_type, :string, 4
20
20
  optional :filesystem_id, :string, 5
21
+ optional :replication_factor, :uint32, 6
21
22
  end
22
23
  add_message "gitaly.DiskStatisticsRequest" do
23
24
  end
@@ -4,21 +4,8 @@
4
4
  require 'google/protobuf'
5
5
 
6
6
  require 'google/protobuf/timestamp_pb'
7
+ require 'lint_pb'
7
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
8
- add_message "gitaly.OperationMsg" do
9
- optional :op, :enum, 1, "gitaly.OperationMsg.Operation"
10
- optional :scope_level, :enum, 2, "gitaly.OperationMsg.Scope"
11
- end
12
- add_enum "gitaly.OperationMsg.Operation" do
13
- value :UNKNOWN, 0
14
- value :MUTATOR, 1
15
- value :ACCESSOR, 2
16
- end
17
- add_enum "gitaly.OperationMsg.Scope" do
18
- value :REPOSITORY, 0
19
- value :SERVER, 1
20
- value :STORAGE, 2
21
- end
22
9
  add_message "gitaly.Repository" do
23
10
  optional :storage_name, :string, 2
24
11
  optional :relative_path, :string, 3
@@ -83,9 +70,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
83
70
  end
84
71
 
85
72
  module Gitaly
86
- OperationMsg = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.OperationMsg").msgclass
87
- OperationMsg::Operation = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.OperationMsg.Operation").enummodule
88
- OperationMsg::Scope = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.OperationMsg.Scope").enummodule
89
73
  Repository = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.Repository").msgclass
90
74
  GitCommit = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GitCommit").msgclass
91
75
  CommitAuthor = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitAuthor").msgclass
@@ -3,6 +3,7 @@
3
3
 
4
4
  require 'google/protobuf'
5
5
 
6
+ require 'lint_pb'
6
7
  require 'shared_pb'
7
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
8
9
  add_message "gitaly.InfoRefsRequest" do
@@ -3,6 +3,7 @@
3
3
 
4
4
  require 'google/protobuf'
5
5
 
6
+ require 'lint_pb'
6
7
  require 'shared_pb'
7
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
8
9
  add_message "gitaly.SSHUploadPackRequest" do
@@ -0,0 +1,28 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: transaction.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'lint_pb'
7
+ require 'shared_pb'
8
+ Google::Protobuf::DescriptorPool.generated_pool.build do
9
+ add_message "gitaly.VoteTransactionRequest" do
10
+ optional :repository, :message, 1, "gitaly.Repository"
11
+ optional :transaction_id, :uint64, 2
12
+ optional :node, :string, 3
13
+ optional :reference_updates_hash, :bytes, 4
14
+ end
15
+ add_message "gitaly.VoteTransactionResponse" do
16
+ optional :state, :enum, 1, "gitaly.VoteTransactionResponse.TransactionState"
17
+ end
18
+ add_enum "gitaly.VoteTransactionResponse.TransactionState" do
19
+ value :COMMIT, 0
20
+ value :ABORT, 1
21
+ end
22
+ end
23
+
24
+ module Gitaly
25
+ VoteTransactionRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.VoteTransactionRequest").msgclass
26
+ VoteTransactionResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.VoteTransactionResponse").msgclass
27
+ VoteTransactionResponse::TransactionState = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.VoteTransactionResponse.TransactionState").enummodule
28
+ end
@@ -0,0 +1,22 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: transaction.proto for package 'gitaly'
3
+
4
+ require 'grpc'
5
+ require 'transaction_pb'
6
+
7
+ module Gitaly
8
+ module RefTransaction
9
+ class Service
10
+
11
+ include GRPC::GenericService
12
+
13
+ self.marshal_class_method = :encode
14
+ self.unmarshal_class_method = :decode
15
+ self.service_name = 'gitaly.RefTransaction'
16
+
17
+ rpc :VoteTransaction, VoteTransactionRequest, VoteTransactionResponse
18
+ end
19
+
20
+ Stub = Service.rpc_stub_class
21
+ end
22
+ end
@@ -1,4 +1,5 @@
1
- # This file was auto-generated by _support/release
1
+ # This file was auto-generated by release-tools
2
+ # https://gitlab.com/gitlab-org/release-tools/-/blob/master/lib/release_tools/release/gitaly_release.rb
2
3
  module Gitaly
3
- VERSION = '1.87.0'
4
+ VERSION = '13.1.0-rc3'
4
5
  end
@@ -3,6 +3,7 @@
3
3
 
4
4
  require 'google/protobuf'
5
5
 
6
+ require 'lint_pb'
6
7
  require 'shared_pb'
7
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
8
9
  add_message "gitaly.WikiCommitDetails" do
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: 1.87.0
4
+ version: 13.1.0.pre.rc3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jacob Vosmaer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-02-17 00:00:00.000000000 Z
11
+ date: 2020-06-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: grpc
@@ -45,6 +45,9 @@ files:
45
45
  - ruby/proto/gitaly/diff_services_pb.rb
46
46
  - ruby/proto/gitaly/hook_pb.rb
47
47
  - ruby/proto/gitaly/hook_services_pb.rb
48
+ - ruby/proto/gitaly/internal_pb.rb
49
+ - ruby/proto/gitaly/internal_services_pb.rb
50
+ - ruby/proto/gitaly/lint_pb.rb
48
51
  - ruby/proto/gitaly/namespace_pb.rb
49
52
  - ruby/proto/gitaly/namespace_services_pb.rb
50
53
  - ruby/proto/gitaly/objectpool_pb.rb
@@ -66,6 +69,8 @@ files:
66
69
  - ruby/proto/gitaly/smarthttp_services_pb.rb
67
70
  - ruby/proto/gitaly/ssh_pb.rb
68
71
  - ruby/proto/gitaly/ssh_services_pb.rb
72
+ - ruby/proto/gitaly/transaction_pb.rb
73
+ - ruby/proto/gitaly/transaction_services_pb.rb
69
74
  - ruby/proto/gitaly/version.rb
70
75
  - ruby/proto/gitaly/wiki_pb.rb
71
76
  - ruby/proto/gitaly/wiki_services_pb.rb
@@ -84,11 +89,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
84
89
  version: '0'
85
90
  required_rubygems_version: !ruby/object:Gem::Requirement
86
91
  requirements:
87
- - - ">="
92
+ - - ">"
88
93
  - !ruby/object:Gem::Version
89
- version: '0'
94
+ version: 1.3.1
90
95
  requirements: []
91
- rubygems_version: 3.0.6
96
+ rubygems_version: 3.0.3
92
97
  signing_key:
93
98
  specification_version: 4
94
99
  summary: Auto-generated gRPC client for gitaly