gitaly 14.8.0 → 14.9.0.pre.rc1
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/repository-service_pb.rb +1 -0
- data/ruby/proto/gitaly/repository-service_services_pb.rb +13 -1
- 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: 8849bf7e6cf3aa84e34e76ae5a2206be954f362bd7256ce3dda4c95e84578974
|
4
|
+
data.tar.gz: 840f373c36368b6c396b28ebc351bca5092d0df3f59ebe0f5761c2686b8e3560
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f77e6b08169a56e2ee39246b35855a8c3150f5047893cb8b53b613c71206f1a7d2d66d35f31dbe113570cfd84e974d2eb949194c68157fde1d5b1e31b1eaf42b
|
7
|
+
data.tar.gz: 9be76a3e1763d86a878ad78483cb2d9388819cf3bafb0e325cfa4ad26549e8899318fa2f91a959f5337ccd0f77414c5fa9ae20261b7075699ab3cce71c48dabf
|
@@ -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
|
@@ -154,6 +154,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
154
154
|
optional :repository, :message, 1, "gitaly.Repository"
|
155
155
|
optional :url, :string, 2
|
156
156
|
optional :http_host, :string, 3
|
157
|
+
optional :http_authorization_header, :string, 4
|
157
158
|
end
|
158
159
|
add_message "gitaly.CreateRepositoryFromURLResponse" do
|
159
160
|
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,8 +73,14 @@ 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
|
71
|
-
#
|
83
|
+
# PruneUnreachableObjects will prune all objects which aren't reachable from
|
72
84
|
# the repository's current set of references. Because pruning can only
|
73
85
|
# happen for objects which aren't packed, you are required to first run
|
74
86
|
# OptimizeRepository to explode any unreachable objects into loose objects.
|
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.rc1
|
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-01 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: 1.3.1
|
96
96
|
requirements: []
|
97
|
-
rubygems_version: 3.
|
98
|
-
signing_key:
|
97
|
+
rubygems_version: 3.3.5
|
98
|
+
signing_key:
|
99
99
|
specification_version: 4
|
100
100
|
summary: Auto-generated gRPC client for gitaly
|
101
101
|
test_files: []
|