gitaly 14.8.0.pre.rc1 → 14.8.0
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.
- checksums.yaml +4 -4
- data/ruby/proto/gitaly/remote_pb.rb +2 -0
- data/ruby/proto/gitaly/repository-service_pb.rb +10 -0
- data/ruby/proto/gitaly/repository-service_services_pb.rb +12 -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
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2181a44837b132e1c264399f94dfc14b176ba728d02d03a6efcae88a1499e3ac
|
4
|
+
data.tar.gz: e2dd080416cb5e21aaa3b8b5c6c30d2eb9adf4b5aa52256ee988dd7ceda7f9bf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dcffecc004bac1cec63b968bdfd6d238b1638d93d3ff3996f006e14319df92bb0e43b2e9ba6ec397301d4d1f11bc86a3b36e5463656548d7d3c96900ec67ec57
|
7
|
+
data.tar.gz: bbe7d0bee3afc44a49694be21b46984d3c6e57b9452f9e217e0537e83fb331b5fcc984c30879163beffaf8abcf467a67a83bf652b803c08343bd1d61d0179a4e
|
@@ -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,7 @@ 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
|
156
157
|
end
|
157
158
|
add_message "gitaly.CreateRepositoryFromURLResponse" do
|
158
159
|
end
|
@@ -221,6 +222,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
221
222
|
optional :repository, :message, 1, "gitaly.Repository"
|
222
223
|
optional :http_url, :string, 2
|
223
224
|
optional :http_auth, :string, 3
|
225
|
+
optional :http_host, :string, 4
|
224
226
|
end
|
225
227
|
add_message "gitaly.CreateRepositoryFromSnapshotResponse" do
|
226
228
|
end
|
@@ -275,6 +277,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
275
277
|
optional :url, :string, 1
|
276
278
|
optional :http_authorization_header, :string, 3
|
277
279
|
repeated :mirror_refmaps, :string, 4
|
280
|
+
optional :http_host, :string, 5
|
278
281
|
end
|
279
282
|
add_message "gitaly.GetObjectDirectorySizeRequest" do
|
280
283
|
optional :repository, :message, 1, "gitaly.Repository"
|
@@ -304,6 +307,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
304
307
|
end
|
305
308
|
add_message "gitaly.OptimizeRepositoryResponse" do
|
306
309
|
end
|
310
|
+
add_message "gitaly.PruneUnreachableObjectsRequest" do
|
311
|
+
optional :repository, :message, 1, "gitaly.Repository"
|
312
|
+
end
|
313
|
+
add_message "gitaly.PruneUnreachableObjectsResponse" do
|
314
|
+
end
|
307
315
|
add_message "gitaly.SetFullPathRequest" do
|
308
316
|
optional :repository, :message, 1, "gitaly.Repository"
|
309
317
|
optional :path, :string, 2
|
@@ -397,6 +405,8 @@ module Gitaly
|
|
397
405
|
ReplicateRepositoryResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ReplicateRepositoryResponse").msgclass
|
398
406
|
OptimizeRepositoryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.OptimizeRepositoryRequest").msgclass
|
399
407
|
OptimizeRepositoryResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.OptimizeRepositoryResponse").msgclass
|
408
|
+
PruneUnreachableObjectsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PruneUnreachableObjectsRequest").msgclass
|
409
|
+
PruneUnreachableObjectsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PruneUnreachableObjectsResponse").msgclass
|
400
410
|
SetFullPathRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SetFullPathRequest").msgclass
|
401
411
|
SetFullPathResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SetFullPathResponse").msgclass
|
402
412
|
end
|
@@ -68,6 +68,18 @@ module Gitaly
|
|
68
68
|
rpc :RenameRepository, ::Gitaly::RenameRepositoryRequest, ::Gitaly::RenameRepositoryResponse
|
69
69
|
rpc :ReplicateRepository, ::Gitaly::ReplicateRepositoryRequest, ::Gitaly::ReplicateRepositoryResponse
|
70
70
|
rpc :OptimizeRepository, ::Gitaly::OptimizeRepositoryRequest, ::Gitaly::OptimizeRepositoryResponse
|
71
|
+
# PruneUnreachableObjetcs will prune all objects which aren't reachable from
|
72
|
+
# the repository's current set of references. Because pruning can only
|
73
|
+
# happen for objects which aren't packed, you are required to first run
|
74
|
+
# OptimizeRepository to explode any unreachable objects into loose objects.
|
75
|
+
#
|
76
|
+
# Furthermore, this RPC call has a grace period of 30 minutes: any
|
77
|
+
# unreachable loose objects must not have been accessed or modified in the
|
78
|
+
# last 30 minutes. This is a hard requirement to avoid repository corruption.
|
79
|
+
#
|
80
|
+
# To make proper use of this RPC you thus need to call OptimizeRepository,
|
81
|
+
# wait 30 minutes, and then call PruneUnreachableObjects.
|
82
|
+
rpc :PruneUnreachableObjects, ::Gitaly::PruneUnreachableObjectsRequest, ::Gitaly::PruneUnreachableObjectsResponse
|
71
83
|
# SetFullPath writes the "gitlab.fullpath" configuration into the
|
72
84
|
# repository's gitconfig. This is mainly to help debugging purposes in case
|
73
85
|
# 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
|
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.8.0
|
4
|
+
version: 14.8.0
|
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-02-23 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
|
@@ -90,12 +90,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
90
90
|
version: '0'
|
91
91
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
92
92
|
requirements:
|
93
|
-
- - "
|
93
|
+
- - ">="
|
94
94
|
- !ruby/object:Gem::Version
|
95
|
-
version:
|
95
|
+
version: '0'
|
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: []
|