gitaly 14.3.0.pre.rc2 → 14.4.0.pre.rc43

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: 442030049445be9044acb55c850420aa68d4e40d19f16024c2f68f2f13a6343e
4
- data.tar.gz: 36d50ec61c4b7167e74f22f5b6b50c9d3426c31e351844df6b596757da8780c1
3
+ metadata.gz: 86cd7cffc8d2d7ddb92df9c1358c96668bab98f186173413f7b8978e6b42ef32
4
+ data.tar.gz: a1121d049ae738779f1b5a84e4fd6e2c9ac32a9c229b1851a1c899d5d5107690
5
5
  SHA512:
6
- metadata.gz: d452ed6741dd1352fd6746c158d243be02e83c1a9279892fef75a89cffd393ef267196ecea2fb86cae6e679c8ec0de910209b06dd25f181980b05237fa3b282d
7
- data.tar.gz: 021d073ff5db37e6e10e799f3bab8e9dd014fc96c9958db50eb77b1e8dc4280658c6adf141cf8a30b587655595041b69dfbbf5f253051f8384c4223fe3c06c53
6
+ metadata.gz: '092558c8b29bb832bd26ffb6dc95a1724be8cc1d3ebae679163fc0f460e0855cdda29e6c7df2f471f8a3b51c08297e662f8d266853df3a43c8674f5e02429024'
7
+ data.tar.gz: 1c16e54ceffc250bde7716dadb33c15388efdada93e1611896793bcf437057202d0ee035e156c18b9a377690ae40444eac3b63a74a094282dd95e95ec40be6a7
@@ -9,14 +9,6 @@ require 'blob_pb'
9
9
  require 'google/protobuf/timestamp_pb'
10
10
  Google::Protobuf::DescriptorPool.generated_pool.build do
11
11
  add_file("ref.proto", :syntax => :proto3) do
12
- add_message "gitaly.ListNewBlobsRequest" do
13
- optional :repository, :message, 1, "gitaly.Repository"
14
- optional :commit_id, :string, 2
15
- optional :limit, :uint32, 3
16
- end
17
- add_message "gitaly.ListNewBlobsResponse" do
18
- repeated :new_blob_objects, :message, 1, "gitaly.NewBlobObject"
19
- end
20
12
  add_message "gitaly.FindDefaultBranchNameRequest" do
21
13
  optional :repository, :message, 1, "gitaly.Repository"
22
14
  end
@@ -84,6 +76,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
84
76
  add_message "gitaly.FindAllTagsRequest" do
85
77
  optional :repository, :message, 1, "gitaly.Repository"
86
78
  optional :sort_by, :message, 2, "gitaly.FindAllTagsRequest.SortBy"
79
+ optional :pagination_params, :message, 3, "gitaly.PaginationParameter"
87
80
  end
88
81
  add_message "gitaly.FindAllTagsRequest.SortBy" do
89
82
  optional :key, :enum, 1, "gitaly.FindAllTagsRequest.SortBy.Key"
@@ -207,12 +200,20 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
207
200
  optional :name, :bytes, 1
208
201
  optional :target, :string, 2
209
202
  end
203
+ add_message "gitaly.FindRefsByOIDRequest" do
204
+ optional :repository, :message, 1, "gitaly.Repository"
205
+ optional :oid, :string, 2
206
+ repeated :ref_patterns, :string, 3
207
+ optional :sort_field, :string, 4
208
+ optional :limit, :uint32, 5
209
+ end
210
+ add_message "gitaly.FindRefsByOIDResponse" do
211
+ repeated :refs, :string, 1
212
+ end
210
213
  end
211
214
  end
212
215
 
213
216
  module Gitaly
214
- ListNewBlobsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListNewBlobsRequest").msgclass
215
- ListNewBlobsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListNewBlobsResponse").msgclass
216
217
  FindDefaultBranchNameRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindDefaultBranchNameRequest").msgclass
217
218
  FindDefaultBranchNameResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindDefaultBranchNameResponse").msgclass
218
219
  FindAllBranchNamesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindAllBranchNamesRequest").msgclass
@@ -262,4 +263,6 @@ module Gitaly
262
263
  ListRefsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListRefsRequest").msgclass
263
264
  ListRefsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListRefsResponse").msgclass
264
265
  ListRefsResponse::Reference = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListRefsResponse.Reference").msgclass
266
+ FindRefsByOIDRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindRefsByOIDRequest").msgclass
267
+ FindRefsByOIDResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindRefsByOIDResponse").msgclass
265
268
  end
@@ -39,14 +39,15 @@ module Gitaly
39
39
  rpc :GetTagMessages, Gitaly::GetTagMessagesRequest, stream(Gitaly::GetTagMessagesResponse)
40
40
  # Returns commits that are only reachable from the ref passed
41
41
  rpc :ListNewCommits, Gitaly::ListNewCommitsRequest, stream(Gitaly::ListNewCommitsResponse)
42
- # ListNewBlobs is equivalent to ListBlobs with `["--not", "--all", "--not",
43
- # commit_id]`. This RPC call will be removed in v14.4.
44
- rpc :ListNewBlobs, Gitaly::ListNewBlobsRequest, stream(Gitaly::ListNewBlobsResponse)
45
42
  rpc :PackRefs, Gitaly::PackRefsRequest, Gitaly::PackRefsResponse
46
43
  # ListRefs returns a stream of all references in the repository. By default, pseudo-revisions like HEAD
47
44
  # will not be returned by this RPC. Any symbolic references will be resolved to the object ID it is
48
45
  # pointing at.
49
46
  rpc :ListRefs, Gitaly::ListRefsRequest, stream(Gitaly::ListRefsResponse)
47
+ # FindRefsByOID returns an array of fully qualified reference names that point to an object ID.
48
+ # It returns nothing if the object ID doesn't exist, or doesn't point to
49
+ # any branches or tags. Prefixes can be also be used as the object ID.
50
+ rpc :FindRefsByOID, Gitaly::FindRefsByOIDRequest, Gitaly::FindRefsByOIDResponse
50
51
  end
51
52
 
52
53
  Stub = Service.rpc_stub_class
@@ -7,13 +7,6 @@ require 'lint_pb'
7
7
  require 'shared_pb'
8
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
9
  add_file("remote.proto", :syntax => :proto3) do
10
- add_message "gitaly.FetchInternalRemoteRequest" do
11
- optional :repository, :message, 1, "gitaly.Repository"
12
- optional :remote_repository, :message, 2, "gitaly.Repository"
13
- end
14
- add_message "gitaly.FetchInternalRemoteResponse" do
15
- optional :result, :bool, 1
16
- end
17
10
  add_message "gitaly.UpdateRemoteMirrorRequest" do
18
11
  optional :repository, :message, 1, "gitaly.Repository"
19
12
  optional :remote, :message, 7, "gitaly.UpdateRemoteMirrorRequest.Remote"
@@ -48,8 +41,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
48
41
  end
49
42
 
50
43
  module Gitaly
51
- FetchInternalRemoteRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FetchInternalRemoteRequest").msgclass
52
- FetchInternalRemoteResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FetchInternalRemoteResponse").msgclass
53
44
  UpdateRemoteMirrorRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UpdateRemoteMirrorRequest").msgclass
54
45
  UpdateRemoteMirrorRequest::Remote = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UpdateRemoteMirrorRequest.Remote").msgclass
55
46
  UpdateRemoteMirrorResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UpdateRemoteMirrorResponse").msgclass
@@ -14,10 +14,6 @@ module Gitaly
14
14
  self.unmarshal_class_method = :decode
15
15
  self.service_name = 'gitaly.RemoteService'
16
16
 
17
- # FetchInternalRemote used to fetch changes from a remote repository into
18
- # the target repository. This RPC call is deprecated and shouldn't be used
19
- # at all anymore. It will be removed in release v14.4.
20
- rpc :FetchInternalRemote, Gitaly::FetchInternalRemoteRequest, Gitaly::FetchInternalRemoteResponse
21
17
  # UpdateRemoteMirror compares the references in the target repository and its remote mirror
22
18
  # repository. Any differences in the references are then addressed by pushing the differing
23
19
  # references to the mirror. Created and modified references are updated, removed references are
@@ -62,6 +62,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
62
62
  end
63
63
  add_message "gitaly.ApplyGitattributesResponse" do
64
64
  end
65
+ add_message "gitaly.FetchBundleRequest" do
66
+ optional :repository, :message, 1, "gitaly.Repository"
67
+ optional :data, :bytes, 2
68
+ end
69
+ add_message "gitaly.FetchBundleResponse" do
70
+ end
65
71
  add_message "gitaly.FetchRemoteRequest" do
66
72
  optional :repository, :message, 1, "gitaly.Repository"
67
73
  optional :force, :bool, 3
@@ -143,13 +149,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
143
149
  end
144
150
  add_message "gitaly.CreateForkResponse" do
145
151
  end
146
- add_message "gitaly.IsSquashInProgressRequest" do
147
- optional :repository, :message, 1, "gitaly.Repository"
148
- optional :squash_id, :string, 2
149
- end
150
- add_message "gitaly.IsSquashInProgressResponse" do
151
- optional :in_progress, :bool, 1
152
- end
153
152
  add_message "gitaly.CreateRepositoryFromURLRequest" do
154
153
  optional :repository, :message, 1, "gitaly.Repository"
155
154
  optional :url, :string, 2
@@ -175,26 +174,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
175
174
  add_message "gitaly.GetConfigResponse" do
176
175
  optional :data, :bytes, 1
177
176
  end
178
- add_message "gitaly.SetConfigRequest" do
179
- optional :repository, :message, 1, "gitaly.Repository"
180
- repeated :entries, :message, 2, "gitaly.SetConfigRequest.Entry"
181
- end
182
- add_message "gitaly.SetConfigRequest.Entry" do
183
- optional :key, :string, 1
184
- oneof :value do
185
- optional :value_str, :string, 2
186
- optional :value_int32, :int32, 3
187
- optional :value_bool, :bool, 4
188
- end
189
- end
190
- add_message "gitaly.SetConfigResponse" do
191
- end
192
- add_message "gitaly.DeleteConfigRequest" do
193
- optional :repository, :message, 1, "gitaly.Repository"
194
- repeated :keys, :string, 2
195
- end
196
- add_message "gitaly.DeleteConfigResponse" do
197
- end
198
177
  add_message "gitaly.RestoreCustomHooksRequest" do
199
178
  optional :repository, :message, 1, "gitaly.Repository"
200
179
  optional :data, :bytes, 2
@@ -369,6 +348,8 @@ module Gitaly
369
348
  RepositorySizeResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RepositorySizeResponse").msgclass
370
349
  ApplyGitattributesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ApplyGitattributesRequest").msgclass
371
350
  ApplyGitattributesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ApplyGitattributesResponse").msgclass
351
+ FetchBundleRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FetchBundleRequest").msgclass
352
+ FetchBundleResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FetchBundleResponse").msgclass
372
353
  FetchRemoteRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FetchRemoteRequest").msgclass
373
354
  FetchRemoteResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FetchRemoteResponse").msgclass
374
355
  CreateRepositoryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CreateRepositoryRequest").msgclass
@@ -388,8 +369,6 @@ module Gitaly
388
369
  FindMergeBaseResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindMergeBaseResponse").msgclass
389
370
  CreateForkRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CreateForkRequest").msgclass
390
371
  CreateForkResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CreateForkResponse").msgclass
391
- IsSquashInProgressRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.IsSquashInProgressRequest").msgclass
392
- IsSquashInProgressResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.IsSquashInProgressResponse").msgclass
393
372
  CreateRepositoryFromURLRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CreateRepositoryFromURLRequest").msgclass
394
373
  CreateRepositoryFromURLResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CreateRepositoryFromURLResponse").msgclass
395
374
  CreateBundleRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CreateBundleRequest").msgclass
@@ -398,11 +377,6 @@ module Gitaly
398
377
  CreateBundleFromRefListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CreateBundleFromRefListResponse").msgclass
399
378
  GetConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetConfigRequest").msgclass
400
379
  GetConfigResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetConfigResponse").msgclass
401
- SetConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SetConfigRequest").msgclass
402
- SetConfigRequest::Entry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SetConfigRequest.Entry").msgclass
403
- SetConfigResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SetConfigResponse").msgclass
404
- DeleteConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DeleteConfigRequest").msgclass
405
- DeleteConfigResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DeleteConfigResponse").msgclass
406
380
  RestoreCustomHooksRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RestoreCustomHooksRequest").msgclass
407
381
  RestoreCustomHooksResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RestoreCustomHooksResponse").msgclass
408
382
  BackupCustomHooksRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.BackupCustomHooksRequest").msgclass
@@ -35,27 +35,20 @@ module Gitaly
35
35
  rpc :WriteRef, Gitaly::WriteRefRequest, Gitaly::WriteRefResponse
36
36
  rpc :FindMergeBase, Gitaly::FindMergeBaseRequest, Gitaly::FindMergeBaseResponse
37
37
  rpc :CreateFork, Gitaly::CreateForkRequest, Gitaly::CreateForkResponse
38
- # IsSquashInProgress is deprecated and will always return false.
39
- rpc :IsSquashInProgress, Gitaly::IsSquashInProgressRequest, Gitaly::IsSquashInProgressResponse
40
38
  rpc :CreateRepositoryFromURL, Gitaly::CreateRepositoryFromURLRequest, Gitaly::CreateRepositoryFromURLResponse
41
39
  # CreateBundle creates a bundle from all refs
42
40
  rpc :CreateBundle, Gitaly::CreateBundleRequest, stream(Gitaly::CreateBundleResponse)
43
- # CreateBundleFromRefList creates a bundle from a stream of ref patterns
41
+ # CreateBundleFromRefList creates a bundle from a stream of ref patterns.
42
+ # When the bundle would be empty the FailedPrecondition error code is returned.
44
43
  rpc :CreateBundleFromRefList, stream(Gitaly::CreateBundleFromRefListRequest), stream(Gitaly::CreateBundleFromRefListResponse)
44
+ # FetchBundle fetches references from a bundle into the local repository.
45
+ # Refs will be mirrored to the target repository with the refspec
46
+ # "+refs/*:refs/*" and refs that do not exist in the bundle will be removed.
47
+ rpc :FetchBundle, stream(Gitaly::FetchBundleRequest), Gitaly::FetchBundleResponse
45
48
  rpc :CreateRepositoryFromBundle, stream(Gitaly::CreateRepositoryFromBundleRequest), Gitaly::CreateRepositoryFromBundleResponse
46
49
  # GetConfig reads the target repository's gitconfig and streams its contents
47
50
  # back. Returns a NotFound error in case no gitconfig was found.
48
51
  rpc :GetConfig, Gitaly::GetConfigRequest, stream(Gitaly::GetConfigResponse)
49
- # SetConfig writes a set of config entries into the target repository's
50
- # gitconfig. This RPC is deprecated with no general replacement: modifying
51
- # the on-disk gitconfig is not supported anymore. The only usecase that is
52
- # still supported is writing "gitlab.fullpath" via the new `SetFullPath()`
53
- # RPC.
54
- rpc :SetConfig, Gitaly::SetConfigRequest, Gitaly::SetConfigResponse
55
- # DeleteConfig deletes a set of config entries from the target repository's
56
- # gitconfig. This RPC is deprecated with no replacement: modifying the
57
- # on-disk gitconfig is not supported anymore.
58
- rpc :DeleteConfig, Gitaly::DeleteConfigRequest, Gitaly::DeleteConfigResponse
59
52
  rpc :FindLicense, Gitaly::FindLicenseRequest, Gitaly::FindLicenseResponse
60
53
  rpc :GetInfoAttributes, Gitaly::GetInfoAttributesRequest, stream(Gitaly::GetInfoAttributesResponse)
61
54
  rpc :CalculateChecksum, Gitaly::CalculateChecksumRequest, Gitaly::CalculateChecksumResponse
@@ -24,6 +24,13 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
24
24
  add_message "gitaly.PostUploadPackResponse" do
25
25
  optional :data, :bytes, 1
26
26
  end
27
+ add_message "gitaly.PostUploadPackWithSidechannelRequest" do
28
+ optional :repository, :message, 1, "gitaly.Repository"
29
+ repeated :git_config_options, :string, 2
30
+ optional :git_protocol, :string, 3
31
+ end
32
+ add_message "gitaly.PostUploadPackWithSidechannelResponse" do
33
+ end
27
34
  add_message "gitaly.PostReceivePackRequest" do
28
35
  optional :repository, :message, 1, "gitaly.Repository"
29
36
  optional :data, :bytes, 2
@@ -44,6 +51,8 @@ module Gitaly
44
51
  InfoRefsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.InfoRefsResponse").msgclass
45
52
  PostUploadPackRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PostUploadPackRequest").msgclass
46
53
  PostUploadPackResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PostUploadPackResponse").msgclass
54
+ PostUploadPackWithSidechannelRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PostUploadPackWithSidechannelRequest").msgclass
55
+ PostUploadPackWithSidechannelResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PostUploadPackWithSidechannelResponse").msgclass
47
56
  PostReceivePackRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PostReceivePackRequest").msgclass
48
57
  PostReceivePackResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PostReceivePackResponse").msgclass
49
58
  end
@@ -24,6 +24,8 @@ module Gitaly
24
24
  rpc :InfoRefsReceivePack, Gitaly::InfoRefsRequest, stream(Gitaly::InfoRefsResponse)
25
25
  # Request and response body for POST /upload-pack
26
26
  rpc :PostUploadPack, stream(Gitaly::PostUploadPackRequest), stream(Gitaly::PostUploadPackResponse)
27
+ # Request and response body for POST /upload-pack using sidechannel protocol
28
+ rpc :PostUploadPackWithSidechannel, Gitaly::PostUploadPackWithSidechannelRequest, Gitaly::PostUploadPackWithSidechannelResponse
27
29
  # Request and response body for POST /receive-pack
28
30
  rpc :PostReceivePack, stream(Gitaly::PostReceivePackRequest), stream(Gitaly::PostReceivePackResponse)
29
31
  end
@@ -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.3.0-rc2'
5
+ VERSION = '14.4.0-rc43'
6
6
  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: 14.3.0.pre.rc2
4
+ version: 14.4.0.pre.rc43
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jacob Vosmaer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-09-17 00:00:00.000000000 Z
11
+ date: 2021-10-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: grpc
@@ -94,7 +94,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
94
94
  - !ruby/object:Gem::Version
95
95
  version: 1.3.1
96
96
  requirements: []
97
- rubygems_version: 3.2.21
97
+ rubygems_version: 3.2.28
98
98
  signing_key:
99
99
  specification_version: 4
100
100
  summary: Auto-generated gRPC client for gitaly