gitaly 14.8.0.pre.rc1 → 14.9.0.pre.rc2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ruby/proto/gitaly/errors_pb.rb +8 -0
- data/ruby/proto/gitaly/operations_pb.rb +7 -1
- data/ruby/proto/gitaly/operations_services_pb.rb +5 -1
- data/ruby/proto/gitaly/ref_services_pb.rb +1 -0
- data/ruby/proto/gitaly/remote_pb.rb +2 -0
- data/ruby/proto/gitaly/repository-service_pb.rb +11 -0
- data/ruby/proto/gitaly/repository-service_services_pb.rb +24 -0
- data/ruby/proto/gitaly/server_pb.rb +9 -0
- data/ruby/proto/gitaly/server_services_pb.rb +3 -0
- data/ruby/proto/gitaly/shared_pb.rb +1 -0
- data/ruby/proto/gitaly/version.rb +1 -1
- data/ruby/proto/gitaly/wiki_pb.rb +1 -0
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a2e1da94377b2c33d6f99be0a78a10fbd2e5a3cb2894576ce09aa0102b2c3165
|
4
|
+
data.tar.gz: 2dedc2a8bb68479f33f3295edc6318226b47f88f71e177f65ef74f81b377f513
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c2ebf738557fdf3bd23413a9e6b8c15ffc955dbf04d425c2323a08399182bbb19e984ef887c35e44b26f06aff327d3e1641ab294ad0f9ccb022e29d1cd22f9e6
|
7
|
+
data.tar.gz: afd4ee348194c017786f6657a2dba98fe38696254cc862940388bb081bd9c21b0e57de4dee2a5273d3b339ef5b85a3cee1510310a8b256755d674fcb1116d7cf
|
@@ -11,15 +11,23 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
11
11
|
optional :user_id, :string, 3
|
12
12
|
optional :changes, :bytes, 4
|
13
13
|
end
|
14
|
+
add_message "gitaly.MergeConflictError" do
|
15
|
+
repeated :conflicting_files, :bytes, 1
|
16
|
+
end
|
14
17
|
add_message "gitaly.ReferenceUpdateError" do
|
15
18
|
optional :reference_name, :bytes, 1
|
16
19
|
optional :old_oid, :string, 2
|
17
20
|
optional :new_oid, :string, 3
|
18
21
|
end
|
22
|
+
add_message "gitaly.ResolveRevisionError" do
|
23
|
+
optional :revision, :bytes, 1
|
24
|
+
end
|
19
25
|
end
|
20
26
|
end
|
21
27
|
|
22
28
|
module Gitaly
|
23
29
|
AccessCheckError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.AccessCheckError").msgclass
|
30
|
+
MergeConflictError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.MergeConflictError").msgclass
|
24
31
|
ReferenceUpdateError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ReferenceUpdateError").msgclass
|
32
|
+
ResolveRevisionError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ResolveRevisionError").msgclass
|
25
33
|
end
|
@@ -228,7 +228,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
228
228
|
add_message "gitaly.UserSquashRequest" do
|
229
229
|
optional :repository, :message, 1, "gitaly.Repository"
|
230
230
|
optional :user, :message, 2, "gitaly.User"
|
231
|
-
optional :squash_id, :string, 3
|
232
231
|
optional :start_sha, :string, 5
|
233
232
|
optional :end_sha, :string, 6
|
234
233
|
optional :author, :message, 7, "gitaly.User"
|
@@ -239,6 +238,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
239
238
|
optional :squash_sha, :string, 1
|
240
239
|
optional :git_error, :string, 3
|
241
240
|
end
|
241
|
+
add_message "gitaly.UserSquashError" do
|
242
|
+
oneof :error do
|
243
|
+
optional :resolve_revision, :message, 1, "gitaly.ResolveRevisionError"
|
244
|
+
optional :rebase_conflict, :message, 2, "gitaly.MergeConflictError"
|
245
|
+
end
|
246
|
+
end
|
242
247
|
add_message "gitaly.UserApplyPatchRequest" do
|
243
248
|
oneof :user_apply_patch_request_payload do
|
244
249
|
optional :header, :message, 1, "gitaly.UserApplyPatchRequest.Header"
|
@@ -307,6 +312,7 @@ module Gitaly
|
|
307
312
|
UserRebaseConfirmableResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserRebaseConfirmableResponse").msgclass
|
308
313
|
UserSquashRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserSquashRequest").msgclass
|
309
314
|
UserSquashResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserSquashResponse").msgclass
|
315
|
+
UserSquashError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserSquashError").msgclass
|
310
316
|
UserApplyPatchRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserApplyPatchRequest").msgclass
|
311
317
|
UserApplyPatchRequest::Header = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserApplyPatchRequest.Header").msgclass
|
312
318
|
UserApplyPatchResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserApplyPatchResponse").msgclass
|
@@ -63,7 +63,11 @@ module Gitaly
|
|
63
63
|
rpc :UserRebaseConfirmable, stream(::Gitaly::UserRebaseConfirmableRequest), stream(::Gitaly::UserRebaseConfirmableResponse)
|
64
64
|
# UserRevert tries to perform a revert of a given commit onto a branch.
|
65
65
|
rpc :UserRevert, ::Gitaly::UserRevertRequest, ::Gitaly::UserRevertResponse
|
66
|
-
# UserSquash squashes a range of commits into a single commit.
|
66
|
+
# UserSquash squashes a range of commits into a single commit. If
|
67
|
+
# successful, it returns the object ID of the newly created squash commit.
|
68
|
+
# On error, it returns a gRPC error. Some specific errors will have an
|
69
|
+
# embedded UserSquashError such that clients can deduce what exactly has
|
70
|
+
# failed.
|
67
71
|
rpc :UserSquash, ::Gitaly::UserSquashRequest, ::Gitaly::UserSquashResponse
|
68
72
|
# UserApplyPatch applies patches to a given branch.
|
69
73
|
rpc :UserApplyPatch, stream(::Gitaly::UserApplyPatchRequest), ::Gitaly::UserApplyPatchResponse
|
@@ -37,6 +37,7 @@ module Gitaly
|
|
37
37
|
# which has no signature, but its unsigned contents will still be returned.
|
38
38
|
rpc :GetTagSignatures, ::Gitaly::GetTagSignaturesRequest, stream(::Gitaly::GetTagSignaturesResponse)
|
39
39
|
rpc :GetTagMessages, ::Gitaly::GetTagMessagesRequest, stream(::Gitaly::GetTagMessagesResponse)
|
40
|
+
# PackRefs is deprecated in favor of OptimizeRepository.
|
40
41
|
rpc :PackRefs, ::Gitaly::PackRefsRequest, ::Gitaly::PackRefsResponse
|
41
42
|
# ListRefs returns a stream of all references in the repository. By default, pseudo-revisions like HEAD
|
42
43
|
# will not be returned by this RPC. Any symbolic references will be resolved to the object ID it is
|
@@ -18,6 +18,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
18
18
|
add_message "gitaly.UpdateRemoteMirrorRequest.Remote" do
|
19
19
|
optional :url, :string, 1
|
20
20
|
optional :http_authorization_header, :string, 2
|
21
|
+
optional :http_host, :string, 3
|
21
22
|
end
|
22
23
|
add_message "gitaly.UpdateRemoteMirrorResponse" do
|
23
24
|
repeated :divergent_refs, :bytes, 1
|
@@ -33,6 +34,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
33
34
|
optional :repository, :message, 1, "gitaly.Repository"
|
34
35
|
optional :remote_url, :string, 3
|
35
36
|
optional :http_authorization_header, :string, 4
|
37
|
+
optional :http_host, :string, 5
|
36
38
|
end
|
37
39
|
add_message "gitaly.FindRemoteRootRefResponse" do
|
38
40
|
optional :ref, :string, 1
|
@@ -153,6 +153,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
153
153
|
add_message "gitaly.CreateRepositoryFromURLRequest" do
|
154
154
|
optional :repository, :message, 1, "gitaly.Repository"
|
155
155
|
optional :url, :string, 2
|
156
|
+
optional :http_host, :string, 3
|
157
|
+
optional :http_authorization_header, :string, 4
|
156
158
|
end
|
157
159
|
add_message "gitaly.CreateRepositoryFromURLResponse" do
|
158
160
|
end
|
@@ -221,6 +223,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
221
223
|
optional :repository, :message, 1, "gitaly.Repository"
|
222
224
|
optional :http_url, :string, 2
|
223
225
|
optional :http_auth, :string, 3
|
226
|
+
optional :http_host, :string, 4
|
224
227
|
end
|
225
228
|
add_message "gitaly.CreateRepositoryFromSnapshotResponse" do
|
226
229
|
end
|
@@ -275,6 +278,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
275
278
|
optional :url, :string, 1
|
276
279
|
optional :http_authorization_header, :string, 3
|
277
280
|
repeated :mirror_refmaps, :string, 4
|
281
|
+
optional :http_host, :string, 5
|
278
282
|
end
|
279
283
|
add_message "gitaly.GetObjectDirectorySizeRequest" do
|
280
284
|
optional :repository, :message, 1, "gitaly.Repository"
|
@@ -304,6 +308,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
304
308
|
end
|
305
309
|
add_message "gitaly.OptimizeRepositoryResponse" do
|
306
310
|
end
|
311
|
+
add_message "gitaly.PruneUnreachableObjectsRequest" do
|
312
|
+
optional :repository, :message, 1, "gitaly.Repository"
|
313
|
+
end
|
314
|
+
add_message "gitaly.PruneUnreachableObjectsResponse" do
|
315
|
+
end
|
307
316
|
add_message "gitaly.SetFullPathRequest" do
|
308
317
|
optional :repository, :message, 1, "gitaly.Repository"
|
309
318
|
optional :path, :string, 2
|
@@ -397,6 +406,8 @@ module Gitaly
|
|
397
406
|
ReplicateRepositoryResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ReplicateRepositoryResponse").msgclass
|
398
407
|
OptimizeRepositoryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.OptimizeRepositoryRequest").msgclass
|
399
408
|
OptimizeRepositoryResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.OptimizeRepositoryResponse").msgclass
|
409
|
+
PruneUnreachableObjectsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PruneUnreachableObjectsRequest").msgclass
|
410
|
+
PruneUnreachableObjectsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PruneUnreachableObjectsResponse").msgclass
|
400
411
|
SetFullPathRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SetFullPathRequest").msgclass
|
401
412
|
SetFullPathResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SetFullPathResponse").msgclass
|
402
413
|
end
|
@@ -15,10 +15,15 @@ module Gitaly
|
|
15
15
|
self.service_name = 'gitaly.RepositoryService'
|
16
16
|
|
17
17
|
rpc :RepositoryExists, ::Gitaly::RepositoryExistsRequest, ::Gitaly::RepositoryExistsResponse
|
18
|
+
# RepackIncremental is deprecated in favor of OptimizeRepository.
|
18
19
|
rpc :RepackIncremental, ::Gitaly::RepackIncrementalRequest, ::Gitaly::RepackIncrementalResponse
|
20
|
+
# RepackFull is deprecated in favor of OptimizeRepository.
|
19
21
|
rpc :RepackFull, ::Gitaly::RepackFullRequest, ::Gitaly::RepackFullResponse
|
22
|
+
# MidxRepack is deprecated in favor of OptimizeRepository.
|
20
23
|
rpc :MidxRepack, ::Gitaly::MidxRepackRequest, ::Gitaly::MidxRepackResponse
|
24
|
+
# GarbageCollect is deprecated in favor of OptimizeRepository.
|
21
25
|
rpc :GarbageCollect, ::Gitaly::GarbageCollectRequest, ::Gitaly::GarbageCollectResponse
|
26
|
+
# WriteCommitGraph is deprecated in favor of OptimizeRepository.
|
22
27
|
rpc :WriteCommitGraph, ::Gitaly::WriteCommitGraphRequest, ::Gitaly::WriteCommitGraphResponse
|
23
28
|
rpc :RepositorySize, ::Gitaly::RepositorySizeRequest, ::Gitaly::RepositorySizeResponse
|
24
29
|
rpc :ApplyGitattributes, ::Gitaly::ApplyGitattributesRequest, ::Gitaly::ApplyGitattributesResponse
|
@@ -52,6 +57,7 @@ module Gitaly
|
|
52
57
|
rpc :FindLicense, ::Gitaly::FindLicenseRequest, ::Gitaly::FindLicenseResponse
|
53
58
|
rpc :GetInfoAttributes, ::Gitaly::GetInfoAttributesRequest, stream(::Gitaly::GetInfoAttributesResponse)
|
54
59
|
rpc :CalculateChecksum, ::Gitaly::CalculateChecksumRequest, ::Gitaly::CalculateChecksumResponse
|
60
|
+
# Cleanup is deprecated in favor of OptimizeRepository.
|
55
61
|
rpc :Cleanup, ::Gitaly::CleanupRequest, ::Gitaly::CleanupResponse
|
56
62
|
rpc :GetSnapshot, ::Gitaly::GetSnapshotRequest, stream(::Gitaly::GetSnapshotResponse)
|
57
63
|
rpc :CreateRepositoryFromSnapshot, ::Gitaly::CreateRepositoryFromSnapshotRequest, ::Gitaly::CreateRepositoryFromSnapshotResponse
|
@@ -67,7 +73,25 @@ module Gitaly
|
|
67
73
|
rpc :RemoveRepository, ::Gitaly::RemoveRepositoryRequest, ::Gitaly::RemoveRepositoryResponse
|
68
74
|
rpc :RenameRepository, ::Gitaly::RenameRepositoryRequest, ::Gitaly::RenameRepositoryResponse
|
69
75
|
rpc :ReplicateRepository, ::Gitaly::ReplicateRepositoryRequest, ::Gitaly::ReplicateRepositoryResponse
|
76
|
+
# OptimizeRepository performs all maintenance tasks in a repository to keep
|
77
|
+
# it in an efficient state. It cleans up stale data, repacks objects,
|
78
|
+
# updates auxiliary caches like commit-graphs and packs references. The
|
79
|
+
# optimizations performed are based on heuristics and will adapt to the
|
80
|
+
# repository's size. This RPC call is designed as a black-box such that
|
81
|
+
# Gitaly has complete control of the on-disk state of repositories.
|
70
82
|
rpc :OptimizeRepository, ::Gitaly::OptimizeRepositoryRequest, ::Gitaly::OptimizeRepositoryResponse
|
83
|
+
# PruneUnreachableObjects will prune all objects which aren't reachable from
|
84
|
+
# the repository's current set of references. Because pruning can only
|
85
|
+
# happen for objects which aren't packed, you are required to first run
|
86
|
+
# OptimizeRepository to explode any unreachable objects into loose objects.
|
87
|
+
#
|
88
|
+
# Furthermore, this RPC call has a grace period of 30 minutes: any
|
89
|
+
# unreachable loose objects must not have been accessed or modified in the
|
90
|
+
# last 30 minutes. This is a hard requirement to avoid repository corruption.
|
91
|
+
#
|
92
|
+
# To make proper use of this RPC you thus need to call OptimizeRepository,
|
93
|
+
# wait 30 minutes, and then call PruneUnreachableObjects.
|
94
|
+
rpc :PruneUnreachableObjects, ::Gitaly::PruneUnreachableObjectsRequest, ::Gitaly::PruneUnreachableObjectsResponse
|
71
95
|
# SetFullPath writes the "gitlab.fullpath" configuration into the
|
72
96
|
# repository's gitconfig. This is mainly to help debugging purposes in case
|
73
97
|
# an admin inspects the repository's gitconfig such that he can easily see
|
@@ -31,6 +31,13 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
31
31
|
optional :available, :int64, 2
|
32
32
|
optional :used, :int64, 3
|
33
33
|
end
|
34
|
+
add_message "gitaly.ClockSyncedRequest" do
|
35
|
+
optional :ntp_host, :string, 1
|
36
|
+
optional :drift_threshold_millis, :int64, 2
|
37
|
+
end
|
38
|
+
add_message "gitaly.ClockSyncedResponse" do
|
39
|
+
optional :synced, :bool, 1
|
40
|
+
end
|
34
41
|
end
|
35
42
|
end
|
36
43
|
|
@@ -41,4 +48,6 @@ module Gitaly
|
|
41
48
|
DiskStatisticsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DiskStatisticsRequest").msgclass
|
42
49
|
DiskStatisticsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DiskStatisticsResponse").msgclass
|
43
50
|
DiskStatisticsResponse::StorageStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DiskStatisticsResponse.StorageStatus").msgclass
|
51
|
+
ClockSyncedRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ClockSyncedRequest").msgclass
|
52
|
+
ClockSyncedResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ClockSyncedResponse").msgclass
|
44
53
|
end
|
@@ -16,6 +16,9 @@ module Gitaly
|
|
16
16
|
|
17
17
|
rpc :ServerInfo, ::Gitaly::ServerInfoRequest, ::Gitaly::ServerInfoResponse
|
18
18
|
rpc :DiskStatistics, ::Gitaly::DiskStatisticsRequest, ::Gitaly::DiskStatisticsResponse
|
19
|
+
# ClockSynced checks if machine clock is synced
|
20
|
+
# (the offset is less that the one passed in the request).
|
21
|
+
rpc :ClockSynced, ::Gitaly::ClockSyncedRequest, ::Gitaly::ClockSyncedResponse
|
19
22
|
end
|
20
23
|
|
21
24
|
Stub = Service.rpc_stub_class
|
@@ -54,6 +54,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
54
54
|
optional :title, :bytes, 2
|
55
55
|
optional :revision, :bytes, 3
|
56
56
|
optional :directory, :bytes, 4
|
57
|
+
optional :skip_content, :bool, 5
|
57
58
|
end
|
58
59
|
add_message "gitaly.WikiFindPageResponse" do
|
59
60
|
optional :page, :message, 1, "gitaly.WikiPage"
|
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.
|
4
|
+
version: 14.9.0.pre.rc2
|
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: 2022-
|
11
|
+
date: 2022-03-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: grpc
|
@@ -79,7 +79,7 @@ homepage: https://gitlab.com/gitlab-org/gitaly
|
|
79
79
|
licenses:
|
80
80
|
- MIT
|
81
81
|
metadata: {}
|
82
|
-
post_install_message:
|
82
|
+
post_install_message:
|
83
83
|
rdoc_options: []
|
84
84
|
require_paths:
|
85
85
|
- ruby/proto
|
@@ -94,8 +94,8 @@ 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.
|
98
|
-
signing_key:
|
97
|
+
rubygems_version: 3.1.6
|
98
|
+
signing_key:
|
99
99
|
specification_version: 4
|
100
100
|
summary: Auto-generated gRPC client for gitaly
|
101
101
|
test_files: []
|