gitaly 14.8.0 → 14.9.0.pre.rc3
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 +2 -0
- data/ruby/proto/gitaly/repository-service_services_pb.rb +13 -1
- data/ruby/proto/gitaly/version.rb +1 -1
- data/ruby/proto/gitaly/wiki_pb.rb +1 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fc1cef4aa11ae58532423a633aeedb6b6637bcebb564ce94a73bd4fbda1ee9d4
|
4
|
+
data.tar.gz: 5dba9ccc9680856018093bbfab334fd7001ab7bb33324b978446623e661ee48f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2d77bb48de22f01f09d7e7b7ba81a1a79bd0987a603b3c80e26a449ec1b6b3e801d25fcd0e445c340c3840266d0c0244ed8e631e7048f1ffaed7722f85ce1482
|
7
|
+
data.tar.gz: e8496922c6501b90149720a07b0753c5eaf000206efcae6d755bffa415b1da6a8ed0063a87727348d877790410efdc8ed94be1f22850c5c6a3c02ecc80ebdb87
|
@@ -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
|
@@ -85,6 +85,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
85
85
|
end
|
86
86
|
add_message "gitaly.CreateRepositoryRequest" do
|
87
87
|
optional :repository, :message, 1, "gitaly.Repository"
|
88
|
+
optional :default_branch, :bytes, 2
|
88
89
|
end
|
89
90
|
add_message "gitaly.CreateRepositoryResponse" do
|
90
91
|
end
|
@@ -154,6 +155,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
154
155
|
optional :repository, :message, 1, "gitaly.Repository"
|
155
156
|
optional :url, :string, 2
|
156
157
|
optional :http_host, :string, 3
|
158
|
+
optional :http_authorization_header, :string, 4
|
157
159
|
end
|
158
160
|
add_message "gitaly.CreateRepositoryFromURLResponse" do
|
159
161
|
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.
|
@@ -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.rc3
|
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-
|
11
|
+
date: 2022-03-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: grpc
|
@@ -90,9 +90,9 @@ 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
97
|
rubygems_version: 3.1.6
|
98
98
|
signing_key:
|