gitaly 14.9.0.pre.rc4 → 15.0.0.pre.rc2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 138c9df1c573866a146a73e5b98b53181c70110d4ac317a5bebe963a9b2f96af
4
- data.tar.gz: f1ce5229b8e97453337f501584d1b5339a4ad5769e089430eec5002139be78a9
3
+ metadata.gz: c7314e721c1446413c74605d6e1a4d0f71e3cc2c3f298e631675a960f8798b9b
4
+ data.tar.gz: 0d4660c5effa6c7437b946c99f75810edbb8ba7640d09257ca82122aeb2b22e7
5
5
  SHA512:
6
- metadata.gz: a6c88db089a526b758acac9287f2826660339f8cee3cb2bf2d9d856e4059e09390c0c5d95359a405f0748d4f3f39224ddd8bd8d928cbbeb4b7d8637538b10c91
7
- data.tar.gz: f93914f17e11c0bd412991ec6091652424363f4d36eb8dafdfa3f048f61d7078bebe51b820ca232feb8e101b785d61f22df3f02448d678342837ffcd1292c453
6
+ metadata.gz: 70e8307d998ebce708648e3a53d13e7500f56bbf4f6aaf04a3b6b581ad4393f531d59c3e130c069120bfc8cd778128dcfa159f042c83b097347e53b1595c9db2
7
+ data.tar.gz: 63c0d62f5e6585508aeaf406866615ec80891f8a672f670ff081c4d208ea434d2f904e413b817c9bea45e3db151e1445e8b6877dd3e4f3c7879c8fe90b1383e6
@@ -1,9 +1,9 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: commit.proto
3
3
 
4
+ require 'google/protobuf/timestamp_pb'
4
5
  require 'lint_pb'
5
6
  require 'shared_pb'
6
- require 'google/protobuf/timestamp_pb'
7
7
  require 'google/protobuf'
8
8
 
9
9
  Google::Protobuf::DescriptorPool.generated_pool.build do
@@ -218,6 +218,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
218
218
  optional :repository, :message, 1, "gitaly.Repository"
219
219
  optional :revision, :bytes, 2
220
220
  optional :path, :bytes, 3
221
+ optional :range, :bytes, 4
221
222
  end
222
223
  add_message "gitaly.RawBlameResponse" do
223
224
  optional :data, :bytes, 1
@@ -292,6 +293,17 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
292
293
  optional :commit_id, :string, 1
293
294
  optional :message, :bytes, 2
294
295
  end
296
+ add_message "gitaly.CheckObjectsExistRequest" do
297
+ optional :repository, :message, 1, "gitaly.Repository"
298
+ repeated :revisions, :bytes, 2
299
+ end
300
+ add_message "gitaly.CheckObjectsExistResponse" do
301
+ repeated :revisions, :message, 1, "gitaly.CheckObjectsExistResponse.RevisionExistence"
302
+ end
303
+ add_message "gitaly.CheckObjectsExistResponse.RevisionExistence" do
304
+ optional :name, :bytes, 1
305
+ optional :exists, :bool, 2
306
+ end
295
307
  end
296
308
  end
297
309
 
@@ -352,4 +364,7 @@ module Gitaly
352
364
  GetCommitSignaturesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetCommitSignaturesResponse").msgclass
353
365
  GetCommitMessagesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetCommitMessagesRequest").msgclass
354
366
  GetCommitMessagesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetCommitMessagesResponse").msgclass
367
+ CheckObjectsExistRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CheckObjectsExistRequest").msgclass
368
+ CheckObjectsExistResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CheckObjectsExistResponse").msgclass
369
+ CheckObjectsExistResponse::RevisionExistence = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CheckObjectsExistResponse.RevisionExistence").msgclass
355
370
  end
@@ -42,6 +42,11 @@ module Gitaly
42
42
  rpc :FilterShasWithSignatures, stream(::Gitaly::FilterShasWithSignaturesRequest), stream(::Gitaly::FilterShasWithSignaturesResponse)
43
43
  rpc :GetCommitSignatures, ::Gitaly::GetCommitSignaturesRequest, stream(::Gitaly::GetCommitSignaturesResponse)
44
44
  rpc :GetCommitMessages, ::Gitaly::GetCommitMessagesRequest, stream(::Gitaly::GetCommitMessagesResponse)
45
+ # CheckObjectsExist will check for the existence of revisions against a
46
+ # repository. It returns two sets of data. An array containing the revisions
47
+ # fromm the input that it found on the repository, and an array that contains all
48
+ # revisions from the input it did not find on the repository.
49
+ rpc :CheckObjectsExist, stream(::Gitaly::CheckObjectsExistRequest), stream(::Gitaly::CheckObjectsExistResponse)
45
50
  end
46
51
 
47
52
  Stub = Service.rpc_stub_class
@@ -1,9 +1,9 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: conflicts.proto
3
3
 
4
+ require 'google/protobuf/timestamp_pb'
4
5
  require 'lint_pb'
5
6
  require 'shared_pb'
6
- require 'google/protobuf/timestamp_pb'
7
7
  require 'google/protobuf'
8
8
 
9
9
  Google::Protobuf::DescriptorPool.generated_pool.build do
@@ -1,6 +1,7 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: errors.proto
3
3
 
4
+ require 'google/protobuf/duration_pb'
4
5
  require 'google/protobuf'
5
6
 
6
7
  Google::Protobuf::DescriptorPool.generated_pool.build do
@@ -11,6 +12,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
11
12
  optional :user_id, :string, 3
12
13
  optional :changes, :bytes, 4
13
14
  end
15
+ add_message "gitaly.NotAncestorError" do
16
+ optional :parent_revision, :bytes, 1
17
+ optional :child_revision, :bytes, 2
18
+ end
19
+ add_message "gitaly.ChangesAlreadyAppliedError" do
20
+ end
14
21
  add_message "gitaly.MergeConflictError" do
15
22
  repeated :conflicting_files, :bytes, 1
16
23
  end
@@ -22,12 +29,19 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
22
29
  add_message "gitaly.ResolveRevisionError" do
23
30
  optional :revision, :bytes, 1
24
31
  end
32
+ add_message "gitaly.LimitError" do
33
+ optional :error_message, :string, 1
34
+ optional :retry_after, :message, 2, "google.protobuf.Duration"
35
+ end
25
36
  end
26
37
  end
27
38
 
28
39
  module Gitaly
29
40
  AccessCheckError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.AccessCheckError").msgclass
41
+ NotAncestorError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.NotAncestorError").msgclass
42
+ ChangesAlreadyAppliedError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ChangesAlreadyAppliedError").msgclass
30
43
  MergeConflictError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.MergeConflictError").msgclass
31
44
  ReferenceUpdateError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ReferenceUpdateError").msgclass
32
45
  ResolveRevisionError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ResolveRevisionError").msgclass
46
+ LimitError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.LimitError").msgclass
33
47
  end
@@ -57,15 +57,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
57
57
  optional :stderr, :bytes, 2
58
58
  optional :exit_status, :message, 3, "gitaly.ExitStatus"
59
59
  end
60
- add_message "gitaly.PackObjectsHookRequest" do
61
- optional :repository, :message, 1, "gitaly.Repository"
62
- repeated :args, :string, 2
63
- optional :stdin, :bytes, 3
64
- end
65
- add_message "gitaly.PackObjectsHookResponse" do
66
- optional :stdout, :bytes, 1
67
- optional :stderr, :bytes, 2
68
- end
69
60
  add_message "gitaly.PackObjectsHookWithSidechannelRequest" do
70
61
  optional :repository, :message, 1, "gitaly.Repository"
71
62
  repeated :args, :string, 2
@@ -85,8 +76,6 @@ module Gitaly
85
76
  ReferenceTransactionHookRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ReferenceTransactionHookRequest").msgclass
86
77
  ReferenceTransactionHookRequest::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ReferenceTransactionHookRequest.State").enummodule
87
78
  ReferenceTransactionHookResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ReferenceTransactionHookResponse").msgclass
88
- PackObjectsHookRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PackObjectsHookRequest").msgclass
89
- PackObjectsHookResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PackObjectsHookResponse").msgclass
90
79
  PackObjectsHookWithSidechannelRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PackObjectsHookWithSidechannelRequest").msgclass
91
80
  PackObjectsHookWithSidechannelResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PackObjectsHookWithSidechannelResponse").msgclass
92
81
  end
@@ -18,8 +18,6 @@ module Gitaly
18
18
  rpc :PostReceiveHook, stream(::Gitaly::PostReceiveHookRequest), stream(::Gitaly::PostReceiveHookResponse)
19
19
  rpc :UpdateHook, ::Gitaly::UpdateHookRequest, stream(::Gitaly::UpdateHookResponse)
20
20
  rpc :ReferenceTransactionHook, stream(::Gitaly::ReferenceTransactionHookRequest), stream(::Gitaly::ReferenceTransactionHookResponse)
21
- # PackObjectsHook has been replaced by PackObjectsHookWithSidechannel. Remove in 15.0.
22
- rpc :PackObjectsHook, stream(::Gitaly::PackObjectsHookRequest), stream(::Gitaly::PackObjectsHookResponse)
23
21
  # PackObjectsHookWithSidechannel is an optimized version of PackObjectsHook that uses
24
22
  # a unix socket side channel.
25
23
  rpc :PackObjectsHookWithSidechannel, ::Gitaly::PackObjectsHookWithSidechannelRequest, ::Gitaly::PackObjectsHookWithSidechannelResponse
@@ -1,6 +1,7 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: internal.proto
3
3
 
4
+ require 'google/protobuf/timestamp_pb'
4
5
  require 'lint_pb'
5
6
  require 'google/protobuf'
6
7
 
@@ -11,6 +12,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
11
12
  end
12
13
  add_message "gitaly.WalkReposResponse" do
13
14
  optional :relative_path, :string, 1
15
+ optional :modification_time, :message, 2, "google.protobuf.Timestamp"
14
16
  end
15
17
  end
16
18
  end
@@ -14,6 +14,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
14
14
  value :UNKNOWN, 0
15
15
  value :MUTATOR, 1
16
16
  value :ACCESSOR, 2
17
+ value :MAINTENANCE, 3
17
18
  end
18
19
  add_enum "gitaly.OperationMsg.Scope" do
19
20
  value :REPOSITORY, 0
@@ -1,10 +1,10 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: operations.proto
3
3
 
4
- require 'lint_pb'
5
- require 'shared_pb'
6
4
  require 'errors_pb'
7
5
  require 'google/protobuf/timestamp_pb'
6
+ require 'lint_pb'
7
+ require 'shared_pb'
8
8
  require 'google/protobuf'
9
9
 
10
10
  Google::Protobuf::DescriptorPool.generated_pool.build do
@@ -131,6 +131,14 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
131
131
  value :EMPTY, 1
132
132
  value :CONFLICT, 2
133
133
  end
134
+ add_message "gitaly.UserCherryPickError" do
135
+ oneof :error do
136
+ optional :cherry_pick_conflict, :message, 1, "gitaly.MergeConflictError"
137
+ optional :target_branch_diverged, :message, 2, "gitaly.NotAncestorError"
138
+ optional :changes_already_applied, :message, 3, "gitaly.ChangesAlreadyAppliedError"
139
+ optional :access_check, :message, 4, "gitaly.AccessCheckError"
140
+ end
141
+ end
134
142
  add_message "gitaly.UserRevertRequest" do
135
143
  optional :repository, :message, 1, "gitaly.Repository"
136
144
  optional :user, :message, 2, "gitaly.User"
@@ -304,6 +312,7 @@ module Gitaly
304
312
  UserCherryPickRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCherryPickRequest").msgclass
305
313
  UserCherryPickResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCherryPickResponse").msgclass
306
314
  UserCherryPickResponse::CreateTreeError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCherryPickResponse.CreateTreeError").enummodule
315
+ UserCherryPickError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCherryPickError").msgclass
307
316
  UserRevertRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserRevertRequest").msgclass
308
317
  UserRevertResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserRevertResponse").msgclass
309
318
  UserRevertResponse::CreateTreeError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserRevertResponse.CreateTreeError").enummodule
@@ -1,12 +1,27 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: praefect.proto
3
3
 
4
+ require 'google/protobuf/timestamp_pb'
4
5
  require 'lint_pb'
5
6
  require 'shared_pb'
6
7
  require 'google/protobuf'
7
8
 
8
9
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
10
  add_file("praefect.proto", :syntax => :proto3) do
11
+ add_message "gitaly.MarkUnverifiedRequest" do
12
+ oneof :selector do
13
+ optional :repository_id, :int64, 1
14
+ optional :virtual_storage, :string, 2
15
+ optional :storage, :message, 3, "gitaly.MarkUnverifiedRequest.Storage"
16
+ end
17
+ end
18
+ add_message "gitaly.MarkUnverifiedRequest.Storage" do
19
+ optional :virtual_storage, :string, 1
20
+ optional :storage, :string, 2
21
+ end
22
+ add_message "gitaly.MarkUnverifiedResponse" do
23
+ optional :replicas_marked, :int64, 1
24
+ end
10
25
  add_message "gitaly.GetRepositoryMetadataRequest" do
11
26
  oneof :query do
12
27
  optional :repository_id, :int64, 1
@@ -32,6 +47,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
32
47
  optional :generation, :int64, 4
33
48
  optional :healthy, :bool, 5
34
49
  optional :valid_primary, :bool, 6
50
+ optional :verified_at, :message, 7, "google.protobuf.Timestamp"
35
51
  end
36
52
  add_message "gitaly.SetReplicationFactorRequest" do
37
53
  optional :virtual_storage, :string, 1
@@ -83,6 +99,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
83
99
  end
84
100
 
85
101
  module Gitaly
102
+ MarkUnverifiedRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.MarkUnverifiedRequest").msgclass
103
+ MarkUnverifiedRequest::Storage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.MarkUnverifiedRequest.Storage").msgclass
104
+ MarkUnverifiedResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.MarkUnverifiedResponse").msgclass
86
105
  GetRepositoryMetadataRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetRepositoryMetadataRequest").msgclass
87
106
  GetRepositoryMetadataRequest::Path = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetRepositoryMetadataRequest.Path").msgclass
88
107
  GetRepositoryMetadataResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetRepositoryMetadataResponse").msgclass
@@ -21,6 +21,9 @@ module Gitaly
21
21
  # This causes the current version of the repository on the authoritative storage to be considered the
22
22
  # latest and overwrite any other version on the virtual storage.
23
23
  rpc :SetAuthoritativeStorage, ::Gitaly::SetAuthoritativeStorageRequest, ::Gitaly::SetAuthoritativeStorageResponse
24
+ # MarkUnverified marks replicas as unverified. This will trigger verification as Praefect's metadata
25
+ # verifier prioritizes unverified replicas.
26
+ rpc :MarkUnverified, ::Gitaly::MarkUnverifiedRequest, ::Gitaly::MarkUnverifiedResponse
24
27
  # SetReplicationFactor assigns or unassigns host nodes from the repository to meet the desired replication factor.
25
28
  # SetReplicationFactor returns an error when trying to set a replication factor that exceeds the storage node count
26
29
  # in the virtual storage. An error is also returned when trying to set a replication factor below one. The primary node
@@ -1,9 +1,9 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: ref.proto
3
3
 
4
+ require 'google/protobuf/timestamp_pb'
4
5
  require 'lint_pb'
5
6
  require 'shared_pb'
6
- require 'google/protobuf/timestamp_pb'
7
7
  require 'google/protobuf'
8
8
 
9
9
  Google::Protobuf::DescriptorPool.generated_pool.build do
@@ -1,12 +1,12 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # source: repository-service.proto
2
+ # source: repository.proto
3
3
 
4
4
  require 'lint_pb'
5
5
  require 'shared_pb'
6
6
  require 'google/protobuf'
7
7
 
8
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
- add_file("repository-service.proto", :syntax => :proto3) do
9
+ add_file("repository.proto", :syntax => :proto3) do
10
10
  add_message "gitaly.RepositoryExistsRequest" do
11
11
  optional :repository, :message, 1, "gitaly.Repository"
12
12
  end
@@ -156,6 +156,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
156
156
  optional :url, :string, 2
157
157
  optional :http_host, :string, 3
158
158
  optional :http_authorization_header, :string, 4
159
+ optional :mirror, :bool, 5
159
160
  end
160
161
  add_message "gitaly.CreateRepositoryFromURLResponse" do
161
162
  end
@@ -1,8 +1,8 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # Source: repository-service.proto for package 'gitaly'
2
+ # Source: repository.proto for package 'gitaly'
3
3
 
4
4
  require 'grpc'
5
- require 'repository-service_pb'
5
+ require 'repository_pb'
6
6
 
7
7
  module Gitaly
8
8
  module RepositoryService
@@ -2,5 +2,5 @@
2
2
  # (https://gitlab.com/gitlab-org/release-tools/), and should not be
3
3
  # modified.
4
4
  module Gitaly
5
- VERSION = '14.9.0-rc4'
5
+ VERSION = '15.0.0-rc2'
6
6
  end
data/ruby/proto/gitaly.rb CHANGED
@@ -29,7 +29,7 @@ require 'gitaly/ref_services_pb'
29
29
 
30
30
  require 'gitaly/remote_services_pb'
31
31
 
32
- require 'gitaly/repository-service_services_pb'
32
+ require 'gitaly/repository_services_pb'
33
33
 
34
34
  require 'gitaly/server_services_pb'
35
35
 
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: 14.9.0.pre.rc4
4
+ version: 15.0.0.pre.rc2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jacob Vosmaer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-03-10 00:00:00.000000000 Z
11
+ date: 2022-05-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: grpc
@@ -61,8 +61,8 @@ files:
61
61
  - ruby/proto/gitaly/ref_services_pb.rb
62
62
  - ruby/proto/gitaly/remote_pb.rb
63
63
  - ruby/proto/gitaly/remote_services_pb.rb
64
- - ruby/proto/gitaly/repository-service_pb.rb
65
- - ruby/proto/gitaly/repository-service_services_pb.rb
64
+ - ruby/proto/gitaly/repository_pb.rb
65
+ - ruby/proto/gitaly/repository_services_pb.rb
66
66
  - ruby/proto/gitaly/server_pb.rb
67
67
  - ruby/proto/gitaly/server_services_pb.rb
68
68
  - ruby/proto/gitaly/shared_pb.rb