gitaly 12.9.0.pre.rc4 → 13.1.0.pre.rc4

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: e03673d4dd88b3b2749c5c66b16a95963e2b58a1d9233f580a5ab5e268e908d1
4
- data.tar.gz: 4e5ffae7656997d931f26b3b6a9abda4a450dd4ec187a6b5ffe9b8b0d05ac987
3
+ metadata.gz: 96feaf1a5a7304f5a39cd9e59046d5052360905264ff683af782cd4757b96315
4
+ data.tar.gz: 5d75066b6e74bc20bbc4e5ab410b6e1d26eda1538ca6d564893d83ba9fc24331
5
5
  SHA512:
6
- metadata.gz: 27ad953ce66801330fbb333d5863dae6237aad6292c6b88343cb14e100b65ed716322ebccf595041654aaa44f58f4b055b3ddd3a8b963eaddabf253d90387084
7
- data.tar.gz: 62c5b18ecac6f427cdd9854c2c67d693a4ff7618cec6779567b3df68ec818dcf2d7e0c5edb487325c78180525ead13ea29aaa5dab07c18514fc361342d0d83b7
6
+ metadata.gz: bb764689cd01fbded921d9bcd9ffdc9bb2286ce15f3221a6048ec2dc994ed0e71c89d35db587e0b14f5172c1252cc6fe157527168e881bc99de53fd6bb0a0131
7
+ data.tar.gz: 32f9d5c1233aeecaf2c82d49e8d1662214e747dbd9d9f707208ff3c1361ba177abaa88dd16f3949f5dcd44892ce07999c38d64904e8803c720bc962a2566e348
@@ -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
@@ -37,5 +37,7 @@ require 'gitaly/smarthttp_services_pb'
37
37
 
38
38
  require 'gitaly/ssh_services_pb'
39
39
 
40
+ require 'gitaly/transaction_services_pb'
41
+
40
42
  require 'gitaly/wiki_services_pb'
41
43
 
@@ -124,6 +124,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
124
124
  end
125
125
  add_message "gitaly.ListCommitsByRefNameResponse" do
126
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
127
132
  end
128
133
  add_message "gitaly.FindAllCommitsRequest" do
129
134
  optional :repository, :message, 1, "gitaly.Repository"
@@ -189,6 +194,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
189
194
  optional :repository, :message, 1, "gitaly.Repository"
190
195
  optional :revision, :bytes, 2
191
196
  optional :path, :bytes, 3
197
+ optional :literal_pathspec, :bool, 4
192
198
  end
193
199
  add_message "gitaly.LastCommitForPathResponse" do
194
200
  optional :commit, :message, 1, "gitaly.GitCommit"
@@ -278,6 +284,7 @@ module Gitaly
278
284
  ListCommitsByOidResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListCommitsByOidResponse").msgclass
279
285
  ListCommitsByRefNameRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListCommitsByRefNameRequest").msgclass
280
286
  ListCommitsByRefNameResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListCommitsByRefNameResponse").msgclass
287
+ ListCommitsByRefNameResponse::CommitForRef = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListCommitsByRefNameResponse.CommitForRef").msgclass
281
288
  FindAllCommitsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindAllCommitsRequest").msgclass
282
289
  FindAllCommitsRequest::Order = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindAllCommitsRequest.Order").enummodule
283
290
  FindAllCommitsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindAllCommitsResponse").msgclass
@@ -8,9 +8,9 @@ require 'shared_pb'
8
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
9
  add_message "gitaly.PreReceiveHookRequest" do
10
10
  optional :repository, :message, 1, "gitaly.Repository"
11
- optional :key_id, :string, 2
12
- optional :protocol, :string, 3
11
+ repeated :environment_variables, :string, 2
13
12
  optional :stdin, :bytes, 4
13
+ repeated :git_push_options, :string, 5
14
14
  end
15
15
  add_message "gitaly.PreReceiveHookResponse" do
16
16
  optional :stdout, :bytes, 1
@@ -19,7 +19,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
19
19
  end
20
20
  add_message "gitaly.PostReceiveHookRequest" do
21
21
  optional :repository, :message, 1, "gitaly.Repository"
22
- optional :key_id, :string, 2
22
+ repeated :environment_variables, :string, 2
23
23
  optional :stdin, :bytes, 3
24
24
  repeated :git_push_options, :string, 4
25
25
  end
@@ -30,7 +30,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
30
30
  end
31
31
  add_message "gitaly.UpdateHookRequest" do
32
32
  optional :repository, :message, 1, "gitaly.Repository"
33
- optional :key_id, :string, 2
33
+ repeated :environment_variables, :string, 2
34
34
  optional :ref, :bytes, 3
35
35
  optional :old_value, :string, 4
36
36
  optional :new_value, :string, 5
@@ -4,7 +4,6 @@
4
4
  require 'google/protobuf'
5
5
 
6
6
  require 'lint_pb'
7
- require 'shared_pb'
8
7
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
8
  add_message "gitaly.WalkReposRequest" do
10
9
  optional :storage_name, :string, 1
@@ -4,7 +4,6 @@
4
4
  require 'google/protobuf'
5
5
 
6
6
  require 'lint_pb'
7
- require 'shared_pb'
8
7
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
8
  add_message "gitaly.AddNamespaceRequest" do
10
9
  optional :storage_name, :string, 1
@@ -5,7 +5,27 @@ require 'google/protobuf'
5
5
 
6
6
  require 'lint_pb'
7
7
  require 'shared_pb'
8
+ require 'google/protobuf/timestamp_pb'
8
9
  Google::Protobuf::DescriptorPool.generated_pool.build do
10
+ add_message "gitaly.EnableWritesRequest" do
11
+ optional :virtual_storage, :string, 1
12
+ end
13
+ add_message "gitaly.EnableWritesResponse" do
14
+ end
15
+ add_message "gitaly.DatalossCheckRequest" do
16
+ optional :virtual_storage, :string, 1
17
+ end
18
+ add_message "gitaly.DatalossCheckResponse" do
19
+ optional :virtual_storage, :string, 1
20
+ optional :previous_writable_primary, :string, 2
21
+ optional :current_primary, :string, 3
22
+ optional :is_read_only, :bool, 4
23
+ repeated :outdated_nodes, :message, 5, "gitaly.DatalossCheckResponse.Nodes"
24
+ end
25
+ add_message "gitaly.DatalossCheckResponse.Nodes" do
26
+ optional :relative_path, :string, 1
27
+ repeated :nodes, :string, 2
28
+ end
9
29
  add_message "gitaly.RepositoryReplicasRequest" do
10
30
  optional :repository, :message, 1, "gitaly.Repository"
11
31
  end
@@ -17,10 +37,30 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
17
37
  optional :repository, :message, 1, "gitaly.Repository"
18
38
  optional :checksum, :string, 2
19
39
  end
40
+ add_message "gitaly.ConsistencyCheckRequest" do
41
+ optional :virtual_storage, :string, 1
42
+ optional :target_storage, :string, 2
43
+ optional :reference_storage, :string, 3
44
+ optional :disable_reconcilliation, :bool, 4
45
+ end
46
+ add_message "gitaly.ConsistencyCheckResponse" do
47
+ optional :repo_relative_path, :string, 1
48
+ optional :target_checksum, :string, 2
49
+ optional :reference_checksum, :string, 3
50
+ optional :repl_job_id, :uint64, 4
51
+ optional :reference_storage, :string, 5
52
+ end
20
53
  end
21
54
 
22
55
  module Gitaly
56
+ EnableWritesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.EnableWritesRequest").msgclass
57
+ EnableWritesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.EnableWritesResponse").msgclass
58
+ DatalossCheckRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DatalossCheckRequest").msgclass
59
+ DatalossCheckResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DatalossCheckResponse").msgclass
60
+ DatalossCheckResponse::Nodes = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DatalossCheckResponse.Nodes").msgclass
23
61
  RepositoryReplicasRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RepositoryReplicasRequest").msgclass
24
62
  RepositoryReplicasResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RepositoryReplicasResponse").msgclass
25
63
  RepositoryReplicasResponse::RepositoryDetails = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RepositoryReplicasResponse.RepositoryDetails").msgclass
64
+ ConsistencyCheckRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ConsistencyCheckRequest").msgclass
65
+ ConsistencyCheckResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ConsistencyCheckResponse").msgclass
26
66
  end
@@ -15,6 +15,17 @@ module Gitaly
15
15
  self.service_name = 'gitaly.PraefectInfoService'
16
16
 
17
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 checks for nodes which are not up to date with the previous writable primary.
24
+ # This indicates possible data loss after a failover event.
25
+ rpc :DatalossCheck, DatalossCheckRequest, DatalossCheckResponse
26
+ # EnableWrites enables writes for a storage that was switched to a read-only mode
27
+ # following a failover.
28
+ rpc :EnableWrites, EnableWritesRequest, EnableWritesResponse
18
29
  end
19
30
 
20
31
  Stub = Service.rpc_stub_class
@@ -37,9 +37,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
37
37
  optional :keep_divergent_refs, :bool, 6
38
38
  end
39
39
  add_message "gitaly.UpdateRemoteMirrorResponse" do
40
+ repeated :divergent_refs, :bytes, 1
40
41
  end
41
42
  add_message "gitaly.FindRemoteRepositoryRequest" do
42
43
  optional :remote, :string, 1
44
+ optional :storage_name, :string, 2
43
45
  end
44
46
  add_message "gitaly.FindRemoteRepositoryResponse" do
45
47
  optional :exists, :bool, 1
@@ -316,6 +316,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
316
316
  end
317
317
  add_message "gitaly.ReplicateRepositoryResponse" do
318
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
319
324
  end
320
325
 
321
326
  module Gitaly
@@ -404,4 +409,6 @@ module Gitaly
404
409
  RenameRepositoryResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RenameRepositoryResponse").msgclass
405
410
  ReplicateRepositoryRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ReplicateRepositoryRequest").msgclass
406
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
407
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
@@ -4,7 +4,6 @@
4
4
  require 'google/protobuf'
5
5
 
6
6
  require 'lint_pb'
7
- require 'shared_pb'
8
7
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
8
  add_message "gitaly.ServerInfoRequest" do
10
9
  end
@@ -19,6 +18,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
19
18
  optional :writeable, :bool, 3
20
19
  optional :fs_type, :string, 4
21
20
  optional :filesystem_id, :string, 5
21
+ optional :replication_factor, :uint32, 6
22
22
  end
23
23
  add_message "gitaly.DiskStatisticsRequest" do
24
24
  end
@@ -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,5 +1,5 @@
1
1
  # This file was auto-generated by release-tools
2
2
  # https://gitlab.com/gitlab-org/release-tools/-/blob/master/lib/release_tools/release/gitaly_release.rb
3
3
  module Gitaly
4
- VERSION = '12.9.0-rc4'
4
+ VERSION = '13.1.0-rc4'
5
5
  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: 12.9.0.pre.rc4
4
+ version: 13.1.0.pre.rc4
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: 2020-03-13 00:00:00.000000000 Z
11
+ date: 2020-06-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: grpc
@@ -69,6 +69,8 @@ files:
69
69
  - ruby/proto/gitaly/smarthttp_services_pb.rb
70
70
  - ruby/proto/gitaly/ssh_pb.rb
71
71
  - ruby/proto/gitaly/ssh_services_pb.rb
72
+ - ruby/proto/gitaly/transaction_pb.rb
73
+ - ruby/proto/gitaly/transaction_services_pb.rb
72
74
  - ruby/proto/gitaly/version.rb
73
75
  - ruby/proto/gitaly/wiki_pb.rb
74
76
  - ruby/proto/gitaly/wiki_services_pb.rb
@@ -76,7 +78,7 @@ homepage: https://gitlab.com/gitlab-org/gitaly
76
78
  licenses:
77
79
  - MIT
78
80
  metadata: {}
79
- post_install_message:
81
+ post_install_message:
80
82
  rdoc_options: []
81
83
  require_paths:
82
84
  - ruby/proto
@@ -91,8 +93,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
91
93
  - !ruby/object:Gem::Version
92
94
  version: 1.3.1
93
95
  requirements: []
94
- rubygems_version: 3.0.3
95
- signing_key:
96
+ rubygems_version: 3.0.8
97
+ signing_key:
96
98
  specification_version: 4
97
99
  summary: Auto-generated gRPC client for gitaly
98
100
  test_files: []