gitaly 14.1.0.pre.rc3 → 14.3.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/blob_pb.rb +18 -0
- data/ruby/proto/gitaly/blob_services_pb.rb +10 -7
- data/ruby/proto/gitaly/cleanup_services_pb.rb +2 -2
- data/ruby/proto/gitaly/commit_pb.rb +9 -0
- data/ruby/proto/gitaly/commit_services_pb.rb +24 -24
- data/ruby/proto/gitaly/conflicts_pb.rb +1 -0
- data/ruby/proto/gitaly/conflicts_services_pb.rb +3 -3
- data/ruby/proto/gitaly/diff_services_pb.rb +7 -7
- data/ruby/proto/gitaly/hook_pb.rb +8 -0
- data/ruby/proto/gitaly/hook_services_pb.rb +9 -6
- data/ruby/proto/gitaly/internal_services_pb.rb +2 -2
- data/ruby/proto/gitaly/namespace_services_pb.rb +5 -5
- data/ruby/proto/gitaly/objectpool_services_pb.rb +9 -9
- data/ruby/proto/gitaly/operations_services_pb.rb +16 -16
- data/ruby/proto/gitaly/praefect_pb.rb +3 -17
- data/ruby/proto/gitaly/praefect_services_pb.rb +6 -11
- data/ruby/proto/gitaly/ref_pb.rb +41 -10
- data/ruby/proto/gitaly/ref_services_pb.rb +28 -20
- data/ruby/proto/gitaly/remote_pb.rb +0 -35
- data/ruby/proto/gitaly/remote_services_pb.rb +5 -7
- data/ruby/proto/gitaly/repository-service_pb.rb +17 -10
- data/ruby/proto/gitaly/repository-service_services_pb.rb +60 -44
- data/ruby/proto/gitaly/server_services_pb.rb +3 -3
- data/ruby/proto/gitaly/shared_pb.rb +9 -0
- data/ruby/proto/gitaly/smarthttp_services_pb.rb +5 -5
- data/ruby/proto/gitaly/ssh_services_pb.rb +4 -4
- data/ruby/proto/gitaly/transaction_services_pb.rb +3 -3
- data/ruby/proto/gitaly/version.rb +1 -1
- data/ruby/proto/gitaly/wiki_services_pb.rb +6 -6
- metadata +2 -2
@@ -32,13 +32,15 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
32
32
|
add_message "gitaly.DatalossCheckResponse.Repository" do
|
33
33
|
optional :relative_path, :string, 1
|
34
34
|
repeated :storages, :message, 2, "gitaly.DatalossCheckResponse.Repository.Storage"
|
35
|
-
optional :
|
35
|
+
optional :unavailable, :bool, 3
|
36
36
|
optional :primary, :string, 4
|
37
37
|
end
|
38
38
|
add_message "gitaly.DatalossCheckResponse.Repository.Storage" do
|
39
39
|
optional :name, :string, 1
|
40
40
|
optional :behind_by, :int64, 2
|
41
41
|
optional :assigned, :bool, 3
|
42
|
+
optional :healthy, :bool, 4
|
43
|
+
optional :valid_primary, :bool, 5
|
42
44
|
end
|
43
45
|
add_message "gitaly.RepositoryReplicasRequest" do
|
44
46
|
optional :repository, :message, 1, "gitaly.Repository"
|
@@ -51,20 +53,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
51
53
|
optional :repository, :message, 1, "gitaly.Repository"
|
52
54
|
optional :checksum, :string, 2
|
53
55
|
end
|
54
|
-
add_message "gitaly.ConsistencyCheckRequest" do
|
55
|
-
optional :virtual_storage, :string, 1
|
56
|
-
optional :target_storage, :string, 2
|
57
|
-
optional :reference_storage, :string, 3
|
58
|
-
optional :disable_reconcilliation, :bool, 4
|
59
|
-
end
|
60
|
-
add_message "gitaly.ConsistencyCheckResponse" do
|
61
|
-
optional :repo_relative_path, :string, 1
|
62
|
-
optional :target_checksum, :string, 2
|
63
|
-
optional :reference_checksum, :string, 3
|
64
|
-
optional :repl_job_id, :uint64, 4
|
65
|
-
optional :reference_storage, :string, 5
|
66
|
-
repeated :errors, :string, 6
|
67
|
-
end
|
68
56
|
end
|
69
57
|
end
|
70
58
|
|
@@ -80,6 +68,4 @@ module Gitaly
|
|
80
68
|
RepositoryReplicasRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RepositoryReplicasRequest").msgclass
|
81
69
|
RepositoryReplicasResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RepositoryReplicasResponse").msgclass
|
82
70
|
RepositoryReplicasResponse::RepositoryDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RepositoryReplicasResponse.RepositoryDetails").msgclass
|
83
|
-
ConsistencyCheckRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ConsistencyCheckRequest").msgclass
|
84
|
-
ConsistencyCheckResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ConsistencyCheckResponse").msgclass
|
85
71
|
end
|
@@ -8,24 +8,19 @@ module Gitaly
|
|
8
8
|
module PraefectInfoService
|
9
9
|
class Service
|
10
10
|
|
11
|
-
include GRPC::GenericService
|
11
|
+
include ::GRPC::GenericService
|
12
12
|
|
13
13
|
self.marshal_class_method = :encode
|
14
14
|
self.unmarshal_class_method = :decode
|
15
15
|
self.service_name = 'gitaly.PraefectInfoService'
|
16
16
|
|
17
|
-
rpc :RepositoryReplicas, Gitaly::RepositoryReplicasRequest, Gitaly::RepositoryReplicasResponse
|
18
|
-
#
|
19
|
-
|
20
|
-
# back indicating which repos are consistent with the primary and which ones
|
21
|
-
# need repair.
|
22
|
-
rpc :ConsistencyCheck, Gitaly::ConsistencyCheckRequest, stream(Gitaly::ConsistencyCheckResponse)
|
23
|
-
# DatalossCheck checks for outdated repository replicas.
|
24
|
-
rpc :DatalossCheck, Gitaly::DatalossCheckRequest, Gitaly::DatalossCheckResponse
|
17
|
+
rpc :RepositoryReplicas, ::Gitaly::RepositoryReplicasRequest, ::Gitaly::RepositoryReplicasResponse
|
18
|
+
# DatalossCheck checks for unavailable repositories.
|
19
|
+
rpc :DatalossCheck, ::Gitaly::DatalossCheckRequest, ::Gitaly::DatalossCheckResponse
|
25
20
|
# SetAuthoritativeStorage sets the authoritative storage for a repository on a given virtual storage.
|
26
21
|
# This causes the current version of the repository on the authoritative storage to be considered the
|
27
22
|
# latest and overwrite any other version on the virtual storage.
|
28
|
-
rpc :SetAuthoritativeStorage, Gitaly::SetAuthoritativeStorageRequest, Gitaly::SetAuthoritativeStorageResponse
|
23
|
+
rpc :SetAuthoritativeStorage, ::Gitaly::SetAuthoritativeStorageRequest, ::Gitaly::SetAuthoritativeStorageResponse
|
29
24
|
# SetReplicationFactor assigns or unassigns host nodes from the repository to meet the desired replication factor.
|
30
25
|
# SetReplicationFactor returns an error when trying to set a replication factor that exceeds the storage node count
|
31
26
|
# in the virtual storage. An error is also returned when trying to set a replication factor below one. The primary node
|
@@ -34,7 +29,7 @@ module Gitaly
|
|
34
29
|
# This might cause the actual replication factor to be higher than desired if the replication factor is set during an upgrade
|
35
30
|
# from a Praefect node that does not yet know about a new node. As assignments of unconfigured storages are ignored, replication
|
36
31
|
# factor of repositories assigned to a storage node removed from the cluster is effectively decreased.
|
37
|
-
rpc :SetReplicationFactor, Gitaly::SetReplicationFactorRequest, Gitaly::SetReplicationFactorResponse
|
32
|
+
rpc :SetReplicationFactor, ::Gitaly::SetReplicationFactorRequest, ::Gitaly::SetReplicationFactorResponse
|
38
33
|
end
|
39
34
|
|
40
35
|
Stub = Service.rpc_stub_class
|
data/ruby/proto/gitaly/ref_pb.rb
CHANGED
@@ -35,14 +35,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
35
35
|
add_message "gitaly.FindAllTagNamesResponse" do
|
36
36
|
repeated :names, :bytes, 1
|
37
37
|
end
|
38
|
-
add_message "gitaly.FindRefNameRequest" do
|
39
|
-
optional :repository, :message, 1, "gitaly.Repository"
|
40
|
-
optional :commit_id, :string, 2
|
41
|
-
optional :prefix, :bytes, 3
|
42
|
-
end
|
43
|
-
add_message "gitaly.FindRefNameResponse" do
|
44
|
-
optional :name, :bytes, 1
|
45
|
-
end
|
46
38
|
add_message "gitaly.FindLocalBranchesRequest" do
|
47
39
|
optional :repository, :message, 1, "gitaly.Repository"
|
48
40
|
optional :sort_by, :enum, 2, "gitaly.FindLocalBranchesRequest.SortBy"
|
@@ -91,6 +83,15 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
91
83
|
end
|
92
84
|
add_message "gitaly.FindAllTagsRequest" do
|
93
85
|
optional :repository, :message, 1, "gitaly.Repository"
|
86
|
+
optional :sort_by, :message, 2, "gitaly.FindAllTagsRequest.SortBy"
|
87
|
+
end
|
88
|
+
add_message "gitaly.FindAllTagsRequest.SortBy" do
|
89
|
+
optional :key, :enum, 1, "gitaly.FindAllTagsRequest.SortBy.Key"
|
90
|
+
optional :direction, :enum, 2, "gitaly.SortDirection"
|
91
|
+
end
|
92
|
+
add_enum "gitaly.FindAllTagsRequest.SortBy.Key" do
|
93
|
+
value :REFNAME, 0
|
94
|
+
value :CREATORDATE, 1
|
94
95
|
end
|
95
96
|
add_message "gitaly.FindAllTagsResponse" do
|
96
97
|
repeated :tags, :message, 1, "gitaly.Tag"
|
@@ -154,6 +155,18 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
154
155
|
add_message "gitaly.ListTagNamesContainingCommitResponse" do
|
155
156
|
repeated :tag_names, :bytes, 2
|
156
157
|
end
|
158
|
+
add_message "gitaly.GetTagSignaturesRequest" do
|
159
|
+
optional :repository, :message, 1, "gitaly.Repository"
|
160
|
+
repeated :tag_revisions, :string, 2
|
161
|
+
end
|
162
|
+
add_message "gitaly.GetTagSignaturesResponse" do
|
163
|
+
repeated :signatures, :message, 1, "gitaly.GetTagSignaturesResponse.TagSignature"
|
164
|
+
end
|
165
|
+
add_message "gitaly.GetTagSignaturesResponse.TagSignature" do
|
166
|
+
optional :tag_id, :string, 1
|
167
|
+
optional :signature, :bytes, 2
|
168
|
+
optional :content, :bytes, 3
|
169
|
+
end
|
157
170
|
add_message "gitaly.GetTagMessagesRequest" do
|
158
171
|
optional :repository, :message, 1, "gitaly.Repository"
|
159
172
|
repeated :tag_ids, :string, 3
|
@@ -182,6 +195,18 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
182
195
|
end
|
183
196
|
add_message "gitaly.PackRefsResponse" do
|
184
197
|
end
|
198
|
+
add_message "gitaly.ListRefsRequest" do
|
199
|
+
optional :repository, :message, 1, "gitaly.Repository"
|
200
|
+
repeated :patterns, :bytes, 2
|
201
|
+
optional :head, :bool, 3
|
202
|
+
end
|
203
|
+
add_message "gitaly.ListRefsResponse" do
|
204
|
+
repeated :references, :message, 1, "gitaly.ListRefsResponse.Reference"
|
205
|
+
end
|
206
|
+
add_message "gitaly.ListRefsResponse.Reference" do
|
207
|
+
optional :name, :bytes, 1
|
208
|
+
optional :target, :string, 2
|
209
|
+
end
|
185
210
|
end
|
186
211
|
end
|
187
212
|
|
@@ -194,8 +219,6 @@ module Gitaly
|
|
194
219
|
FindAllBranchNamesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindAllBranchNamesResponse").msgclass
|
195
220
|
FindAllTagNamesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindAllTagNamesRequest").msgclass
|
196
221
|
FindAllTagNamesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindAllTagNamesResponse").msgclass
|
197
|
-
FindRefNameRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindRefNameRequest").msgclass
|
198
|
-
FindRefNameResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindRefNameResponse").msgclass
|
199
222
|
FindLocalBranchesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindLocalBranchesRequest").msgclass
|
200
223
|
FindLocalBranchesRequest::SortBy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindLocalBranchesRequest.SortBy").enummodule
|
201
224
|
FindLocalBranchesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindLocalBranchesResponse").msgclass
|
@@ -207,6 +230,8 @@ module Gitaly
|
|
207
230
|
FindTagRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindTagRequest").msgclass
|
208
231
|
FindTagResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindTagResponse").msgclass
|
209
232
|
FindAllTagsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindAllTagsRequest").msgclass
|
233
|
+
FindAllTagsRequest::SortBy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindAllTagsRequest.SortBy").msgclass
|
234
|
+
FindAllTagsRequest::SortBy::Key = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindAllTagsRequest.SortBy.Key").enummodule
|
210
235
|
FindAllTagsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindAllTagsResponse").msgclass
|
211
236
|
RefExistsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RefExistsRequest").msgclass
|
212
237
|
RefExistsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RefExistsResponse").msgclass
|
@@ -223,6 +248,9 @@ module Gitaly
|
|
223
248
|
ListBranchNamesContainingCommitResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListBranchNamesContainingCommitResponse").msgclass
|
224
249
|
ListTagNamesContainingCommitRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListTagNamesContainingCommitRequest").msgclass
|
225
250
|
ListTagNamesContainingCommitResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListTagNamesContainingCommitResponse").msgclass
|
251
|
+
GetTagSignaturesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetTagSignaturesRequest").msgclass
|
252
|
+
GetTagSignaturesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetTagSignaturesResponse").msgclass
|
253
|
+
GetTagSignaturesResponse::TagSignature = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetTagSignaturesResponse.TagSignature").msgclass
|
226
254
|
GetTagMessagesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetTagMessagesRequest").msgclass
|
227
255
|
GetTagMessagesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetTagMessagesResponse").msgclass
|
228
256
|
ListNewCommitsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListNewCommitsRequest").msgclass
|
@@ -231,4 +259,7 @@ module Gitaly
|
|
231
259
|
FindAllRemoteBranchesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindAllRemoteBranchesResponse").msgclass
|
232
260
|
PackRefsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PackRefsRequest").msgclass
|
233
261
|
PackRefsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PackRefsResponse").msgclass
|
262
|
+
ListRefsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListRefsRequest").msgclass
|
263
|
+
ListRefsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListRefsResponse").msgclass
|
264
|
+
ListRefsResponse::Reference = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListRefsResponse.Reference").msgclass
|
234
265
|
end
|
@@ -8,35 +8,43 @@ module Gitaly
|
|
8
8
|
module RefService
|
9
9
|
class Service
|
10
10
|
|
11
|
-
include GRPC::GenericService
|
11
|
+
include ::GRPC::GenericService
|
12
12
|
|
13
13
|
self.marshal_class_method = :encode
|
14
14
|
self.unmarshal_class_method = :decode
|
15
15
|
self.service_name = 'gitaly.RefService'
|
16
16
|
|
17
|
-
rpc :FindDefaultBranchName, Gitaly::FindDefaultBranchNameRequest, Gitaly::FindDefaultBranchNameResponse
|
18
|
-
rpc :FindAllBranchNames, Gitaly::FindAllBranchNamesRequest, stream(Gitaly::FindAllBranchNamesResponse)
|
19
|
-
rpc :FindAllTagNames, Gitaly::FindAllTagNamesRequest, stream(Gitaly::FindAllTagNamesResponse)
|
20
|
-
# Find a Ref matching the given constraints. Response may be empty.
|
21
|
-
rpc :FindRefName, Gitaly::FindRefNameRequest, Gitaly::FindRefNameResponse
|
17
|
+
rpc :FindDefaultBranchName, ::Gitaly::FindDefaultBranchNameRequest, ::Gitaly::FindDefaultBranchNameResponse
|
18
|
+
rpc :FindAllBranchNames, ::Gitaly::FindAllBranchNamesRequest, stream(::Gitaly::FindAllBranchNamesResponse)
|
19
|
+
rpc :FindAllTagNames, ::Gitaly::FindAllTagNamesRequest, stream(::Gitaly::FindAllTagNamesResponse)
|
22
20
|
# Return a stream so we can divide the response in chunks of branches
|
23
|
-
rpc :FindLocalBranches, Gitaly::FindLocalBranchesRequest, stream(Gitaly::FindLocalBranchesResponse)
|
24
|
-
rpc :FindAllBranches, Gitaly::FindAllBranchesRequest, stream(Gitaly::FindAllBranchesResponse)
|
25
|
-
|
26
|
-
rpc :
|
27
|
-
rpc :
|
28
|
-
rpc :
|
21
|
+
rpc :FindLocalBranches, ::Gitaly::FindLocalBranchesRequest, stream(::Gitaly::FindLocalBranchesResponse)
|
22
|
+
rpc :FindAllBranches, ::Gitaly::FindAllBranchesRequest, stream(::Gitaly::FindAllBranchesResponse)
|
23
|
+
# Returns a stream of tags repository has.
|
24
|
+
rpc :FindAllTags, ::Gitaly::FindAllTagsRequest, stream(::Gitaly::FindAllTagsResponse)
|
25
|
+
rpc :FindTag, ::Gitaly::FindTagRequest, ::Gitaly::FindTagResponse
|
26
|
+
rpc :FindAllRemoteBranches, ::Gitaly::FindAllRemoteBranchesRequest, stream(::Gitaly::FindAllRemoteBranchesResponse)
|
27
|
+
rpc :RefExists, ::Gitaly::RefExistsRequest, ::Gitaly::RefExistsResponse
|
29
28
|
# FindBranch finds a branch by its unqualified name (like "master") and
|
30
29
|
# returns the commit it currently points to.
|
31
|
-
rpc :FindBranch, Gitaly::FindBranchRequest, Gitaly::FindBranchResponse
|
32
|
-
rpc :DeleteRefs, Gitaly::DeleteRefsRequest, Gitaly::DeleteRefsResponse
|
33
|
-
rpc :ListBranchNamesContainingCommit, Gitaly::ListBranchNamesContainingCommitRequest, stream(Gitaly::ListBranchNamesContainingCommitResponse)
|
34
|
-
rpc :ListTagNamesContainingCommit, Gitaly::ListTagNamesContainingCommitRequest, stream(Gitaly::ListTagNamesContainingCommitResponse)
|
35
|
-
|
30
|
+
rpc :FindBranch, ::Gitaly::FindBranchRequest, ::Gitaly::FindBranchResponse
|
31
|
+
rpc :DeleteRefs, ::Gitaly::DeleteRefsRequest, ::Gitaly::DeleteRefsResponse
|
32
|
+
rpc :ListBranchNamesContainingCommit, ::Gitaly::ListBranchNamesContainingCommitRequest, stream(::Gitaly::ListBranchNamesContainingCommitResponse)
|
33
|
+
rpc :ListTagNamesContainingCommit, ::Gitaly::ListTagNamesContainingCommitRequest, stream(::Gitaly::ListTagNamesContainingCommitResponse)
|
34
|
+
# GetTagSignatures returns signatures for annotated tags resolved from a set of revisions. Revisions
|
35
|
+
# which don't resolve to an annotated tag are silently discarded. Revisions which cannot be resolved
|
36
|
+
# result in an error. Tags which are annotated but not signed will return a TagSignature response
|
37
|
+
# which has no signature, but its unsigned contents will still be returned.
|
38
|
+
rpc :GetTagSignatures, ::Gitaly::GetTagSignaturesRequest, stream(::Gitaly::GetTagSignaturesResponse)
|
39
|
+
rpc :GetTagMessages, ::Gitaly::GetTagMessagesRequest, stream(::Gitaly::GetTagMessagesResponse)
|
36
40
|
# Returns commits that are only reachable from the ref passed
|
37
|
-
rpc :ListNewCommits, Gitaly::ListNewCommitsRequest, stream(Gitaly::ListNewCommitsResponse)
|
38
|
-
rpc :ListNewBlobs, Gitaly::ListNewBlobsRequest, stream(Gitaly::ListNewBlobsResponse)
|
39
|
-
rpc :PackRefs, Gitaly::PackRefsRequest, Gitaly::PackRefsResponse
|
41
|
+
rpc :ListNewCommits, ::Gitaly::ListNewCommitsRequest, stream(::Gitaly::ListNewCommitsResponse)
|
42
|
+
rpc :ListNewBlobs, ::Gitaly::ListNewBlobsRequest, stream(::Gitaly::ListNewBlobsResponse)
|
43
|
+
rpc :PackRefs, ::Gitaly::PackRefsRequest, ::Gitaly::PackRefsResponse
|
44
|
+
# ListRefs returns a stream of all references in the repository. By default, pseudo-revisions like HEAD
|
45
|
+
# will not be returned by this RPC. Any symbolic references will be resolved to the object ID it is
|
46
|
+
# pointing at.
|
47
|
+
rpc :ListRefs, ::Gitaly::ListRefsRequest, stream(::Gitaly::ListRefsResponse)
|
40
48
|
end
|
41
49
|
|
42
50
|
Stub = Service.rpc_stub_class
|
@@ -7,21 +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.AddRemoteRequest" do
|
11
|
-
optional :repository, :message, 1, "gitaly.Repository"
|
12
|
-
optional :name, :string, 2
|
13
|
-
optional :url, :string, 3
|
14
|
-
repeated :mirror_refmaps, :string, 5
|
15
|
-
end
|
16
|
-
add_message "gitaly.AddRemoteResponse" do
|
17
|
-
end
|
18
|
-
add_message "gitaly.RemoveRemoteRequest" do
|
19
|
-
optional :repository, :message, 1, "gitaly.Repository"
|
20
|
-
optional :name, :string, 2
|
21
|
-
end
|
22
|
-
add_message "gitaly.RemoveRemoteResponse" do
|
23
|
-
optional :result, :bool, 1
|
24
|
-
end
|
25
10
|
add_message "gitaly.FetchInternalRemoteRequest" do
|
26
11
|
optional :repository, :message, 1, "gitaly.Repository"
|
27
12
|
optional :remote_repository, :message, 2, "gitaly.Repository"
|
@@ -31,7 +16,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
31
16
|
end
|
32
17
|
add_message "gitaly.UpdateRemoteMirrorRequest" do
|
33
18
|
optional :repository, :message, 1, "gitaly.Repository"
|
34
|
-
optional :ref_name, :string, 2
|
35
19
|
optional :remote, :message, 7, "gitaly.UpdateRemoteMirrorRequest.Remote"
|
36
20
|
repeated :only_branches_matching, :bytes, 3
|
37
21
|
optional :ssh_key, :string, 4
|
@@ -54,32 +38,16 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
54
38
|
end
|
55
39
|
add_message "gitaly.FindRemoteRootRefRequest" do
|
56
40
|
optional :repository, :message, 1, "gitaly.Repository"
|
57
|
-
optional :remote, :string, 2
|
58
41
|
optional :remote_url, :string, 3
|
59
42
|
optional :http_authorization_header, :string, 4
|
60
43
|
end
|
61
44
|
add_message "gitaly.FindRemoteRootRefResponse" do
|
62
45
|
optional :ref, :string, 1
|
63
46
|
end
|
64
|
-
add_message "gitaly.ListRemotesRequest" do
|
65
|
-
optional :repository, :message, 1, "gitaly.Repository"
|
66
|
-
end
|
67
|
-
add_message "gitaly.ListRemotesResponse" do
|
68
|
-
repeated :remotes, :message, 1, "gitaly.ListRemotesResponse.Remote"
|
69
|
-
end
|
70
|
-
add_message "gitaly.ListRemotesResponse.Remote" do
|
71
|
-
optional :name, :string, 1
|
72
|
-
optional :fetch_url, :string, 2
|
73
|
-
optional :push_url, :string, 3
|
74
|
-
end
|
75
47
|
end
|
76
48
|
end
|
77
49
|
|
78
50
|
module Gitaly
|
79
|
-
AddRemoteRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.AddRemoteRequest").msgclass
|
80
|
-
AddRemoteResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.AddRemoteResponse").msgclass
|
81
|
-
RemoveRemoteRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RemoveRemoteRequest").msgclass
|
82
|
-
RemoveRemoteResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RemoveRemoteResponse").msgclass
|
83
51
|
FetchInternalRemoteRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FetchInternalRemoteRequest").msgclass
|
84
52
|
FetchInternalRemoteResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FetchInternalRemoteResponse").msgclass
|
85
53
|
UpdateRemoteMirrorRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UpdateRemoteMirrorRequest").msgclass
|
@@ -89,7 +57,4 @@ module Gitaly
|
|
89
57
|
FindRemoteRepositoryResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindRemoteRepositoryResponse").msgclass
|
90
58
|
FindRemoteRootRefRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindRemoteRootRefRequest").msgclass
|
91
59
|
FindRemoteRootRefResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindRemoteRootRefResponse").msgclass
|
92
|
-
ListRemotesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListRemotesRequest").msgclass
|
93
|
-
ListRemotesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListRemotesResponse").msgclass
|
94
|
-
ListRemotesResponse::Remote = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListRemotesResponse.Remote").msgclass
|
95
60
|
end
|
@@ -8,28 +8,26 @@ module Gitaly
|
|
8
8
|
module RemoteService
|
9
9
|
class Service
|
10
10
|
|
11
|
-
include GRPC::GenericService
|
11
|
+
include ::GRPC::GenericService
|
12
12
|
|
13
13
|
self.marshal_class_method = :encode
|
14
14
|
self.unmarshal_class_method = :decode
|
15
15
|
self.service_name = 'gitaly.RemoteService'
|
16
16
|
|
17
|
-
rpc :
|
18
|
-
rpc :FetchInternalRemote, Gitaly::FetchInternalRemoteRequest, Gitaly::FetchInternalRemoteResponse
|
19
|
-
rpc :RemoveRemote, Gitaly::RemoveRemoteRequest, Gitaly::RemoveRemoteResponse
|
17
|
+
rpc :FetchInternalRemote, ::Gitaly::FetchInternalRemoteRequest, ::Gitaly::FetchInternalRemoteResponse
|
20
18
|
# UpdateRemoteMirror compares the references in the target repository and its remote mirror
|
21
19
|
# repository. Any differences in the references are then addressed by pushing the differing
|
22
20
|
# references to the mirror. Created and modified references are updated, removed references are
|
23
21
|
# deleted from the mirror. UpdateRemoteMirror updates all tags. Branches are updated if they match
|
24
22
|
# the patterns specified in the requests.
|
25
|
-
rpc :UpdateRemoteMirror, stream(Gitaly::UpdateRemoteMirrorRequest), Gitaly::UpdateRemoteMirrorResponse
|
26
|
-
rpc :FindRemoteRepository, Gitaly::FindRemoteRepositoryRequest, Gitaly::FindRemoteRepositoryResponse
|
23
|
+
rpc :UpdateRemoteMirror, stream(::Gitaly::UpdateRemoteMirrorRequest), ::Gitaly::UpdateRemoteMirrorResponse
|
24
|
+
rpc :FindRemoteRepository, ::Gitaly::FindRemoteRepositoryRequest, ::Gitaly::FindRemoteRepositoryResponse
|
27
25
|
# FindRemoteRootRef tries to find the root reference of a remote
|
28
26
|
# repository. The root reference is the default branch as pointed to by
|
29
27
|
# the remotes HEAD reference. Returns an InvalidArgument error if the
|
30
28
|
# specified remote does not exist and a NotFound error in case no HEAD
|
31
29
|
# branch was found.
|
32
|
-
rpc :FindRemoteRootRef, Gitaly::FindRemoteRootRefRequest, Gitaly::FindRemoteRootRefResponse
|
30
|
+
rpc :FindRemoteRootRef, ::Gitaly::FindRemoteRootRefRequest, ::Gitaly::FindRemoteRootRefResponse
|
33
31
|
end
|
34
32
|
|
35
33
|
Stub = Service.rpc_stub_class
|
@@ -64,7 +64,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
64
64
|
end
|
65
65
|
add_message "gitaly.FetchRemoteRequest" do
|
66
66
|
optional :repository, :message, 1, "gitaly.Repository"
|
67
|
-
optional :remote, :string, 2
|
68
67
|
optional :force, :bool, 3
|
69
68
|
optional :no_tags, :bool, 4
|
70
69
|
optional :timeout, :int32, 5
|
@@ -144,13 +143,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
144
143
|
end
|
145
144
|
add_message "gitaly.CreateForkResponse" do
|
146
145
|
end
|
147
|
-
add_message "gitaly.IsRebaseInProgressRequest" do
|
148
|
-
optional :repository, :message, 1, "gitaly.Repository"
|
149
|
-
optional :rebase_id, :string, 2
|
150
|
-
end
|
151
|
-
add_message "gitaly.IsRebaseInProgressResponse" do
|
152
|
-
optional :in_progress, :bool, 1
|
153
|
-
end
|
154
146
|
add_message "gitaly.IsSquashInProgressRequest" do
|
155
147
|
optional :repository, :message, 1, "gitaly.Repository"
|
156
148
|
optional :squash_id, :string, 2
|
@@ -170,6 +162,13 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
170
162
|
add_message "gitaly.CreateBundleResponse" do
|
171
163
|
optional :data, :bytes, 1
|
172
164
|
end
|
165
|
+
add_message "gitaly.CreateBundleFromRefListRequest" do
|
166
|
+
optional :repository, :message, 1, "gitaly.Repository"
|
167
|
+
repeated :patterns, :bytes, 2
|
168
|
+
end
|
169
|
+
add_message "gitaly.CreateBundleFromRefListResponse" do
|
170
|
+
optional :data, :bytes, 1
|
171
|
+
end
|
173
172
|
add_message "gitaly.GetConfigRequest" do
|
174
173
|
optional :repository, :message, 1, "gitaly.Repository"
|
175
174
|
end
|
@@ -341,6 +340,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
341
340
|
end
|
342
341
|
add_message "gitaly.OptimizeRepositoryResponse" do
|
343
342
|
end
|
343
|
+
add_message "gitaly.SetFullPathRequest" do
|
344
|
+
optional :repository, :message, 1, "gitaly.Repository"
|
345
|
+
optional :path, :string, 2
|
346
|
+
end
|
347
|
+
add_message "gitaly.SetFullPathResponse" do
|
348
|
+
end
|
344
349
|
end
|
345
350
|
end
|
346
351
|
|
@@ -383,14 +388,14 @@ module Gitaly
|
|
383
388
|
FindMergeBaseResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindMergeBaseResponse").msgclass
|
384
389
|
CreateForkRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CreateForkRequest").msgclass
|
385
390
|
CreateForkResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CreateForkResponse").msgclass
|
386
|
-
IsRebaseInProgressRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.IsRebaseInProgressRequest").msgclass
|
387
|
-
IsRebaseInProgressResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.IsRebaseInProgressResponse").msgclass
|
388
391
|
IsSquashInProgressRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.IsSquashInProgressRequest").msgclass
|
389
392
|
IsSquashInProgressResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.IsSquashInProgressResponse").msgclass
|
390
393
|
CreateRepositoryFromURLRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CreateRepositoryFromURLRequest").msgclass
|
391
394
|
CreateRepositoryFromURLResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CreateRepositoryFromURLResponse").msgclass
|
392
395
|
CreateBundleRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CreateBundleRequest").msgclass
|
393
396
|
CreateBundleResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CreateBundleResponse").msgclass
|
397
|
+
CreateBundleFromRefListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CreateBundleFromRefListRequest").msgclass
|
398
|
+
CreateBundleFromRefListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CreateBundleFromRefListResponse").msgclass
|
394
399
|
GetConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetConfigRequest").msgclass
|
395
400
|
GetConfigResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetConfigResponse").msgclass
|
396
401
|
SetConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SetConfigRequest").msgclass
|
@@ -437,4 +442,6 @@ module Gitaly
|
|
437
442
|
ReplicateRepositoryResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ReplicateRepositoryResponse").msgclass
|
438
443
|
OptimizeRepositoryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.OptimizeRepositoryRequest").msgclass
|
439
444
|
OptimizeRepositoryResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.OptimizeRepositoryResponse").msgclass
|
445
|
+
SetFullPathRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SetFullPathRequest").msgclass
|
446
|
+
SetFullPathResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SetFullPathResponse").msgclass
|
440
447
|
end
|
@@ -8,64 +8,80 @@ module Gitaly
|
|
8
8
|
module RepositoryService
|
9
9
|
class Service
|
10
10
|
|
11
|
-
include GRPC::GenericService
|
11
|
+
include ::GRPC::GenericService
|
12
12
|
|
13
13
|
self.marshal_class_method = :encode
|
14
14
|
self.unmarshal_class_method = :decode
|
15
15
|
self.service_name = 'gitaly.RepositoryService'
|
16
16
|
|
17
|
-
rpc :RepositoryExists, Gitaly::RepositoryExistsRequest, Gitaly::RepositoryExistsResponse
|
18
|
-
rpc :RepackIncremental, Gitaly::RepackIncrementalRequest, Gitaly::RepackIncrementalResponse
|
19
|
-
rpc :RepackFull, Gitaly::RepackFullRequest, Gitaly::RepackFullResponse
|
20
|
-
rpc :MidxRepack, Gitaly::MidxRepackRequest, Gitaly::MidxRepackResponse
|
21
|
-
rpc :GarbageCollect, Gitaly::GarbageCollectRequest, Gitaly::GarbageCollectResponse
|
22
|
-
rpc :WriteCommitGraph, Gitaly::WriteCommitGraphRequest, Gitaly::WriteCommitGraphResponse
|
23
|
-
rpc :RepositorySize, Gitaly::RepositorySizeRequest, Gitaly::RepositorySizeResponse
|
24
|
-
rpc :ApplyGitattributes, Gitaly::ApplyGitattributesRequest, Gitaly::ApplyGitattributesResponse
|
17
|
+
rpc :RepositoryExists, ::Gitaly::RepositoryExistsRequest, ::Gitaly::RepositoryExistsResponse
|
18
|
+
rpc :RepackIncremental, ::Gitaly::RepackIncrementalRequest, ::Gitaly::RepackIncrementalResponse
|
19
|
+
rpc :RepackFull, ::Gitaly::RepackFullRequest, ::Gitaly::RepackFullResponse
|
20
|
+
rpc :MidxRepack, ::Gitaly::MidxRepackRequest, ::Gitaly::MidxRepackResponse
|
21
|
+
rpc :GarbageCollect, ::Gitaly::GarbageCollectRequest, ::Gitaly::GarbageCollectResponse
|
22
|
+
rpc :WriteCommitGraph, ::Gitaly::WriteCommitGraphRequest, ::Gitaly::WriteCommitGraphResponse
|
23
|
+
rpc :RepositorySize, ::Gitaly::RepositorySizeRequest, ::Gitaly::RepositorySizeResponse
|
24
|
+
rpc :ApplyGitattributes, ::Gitaly::ApplyGitattributesRequest, ::Gitaly::ApplyGitattributesResponse
|
25
25
|
# FetchRemote fetches references from a remote repository into the local
|
26
26
|
# repository.
|
27
|
-
rpc :FetchRemote, Gitaly::FetchRemoteRequest, Gitaly::FetchRemoteResponse
|
28
|
-
rpc :CreateRepository, Gitaly::CreateRepositoryRequest, Gitaly::CreateRepositoryResponse
|
29
|
-
rpc :GetArchive, Gitaly::GetArchiveRequest, stream(Gitaly::GetArchiveResponse)
|
30
|
-
rpc :HasLocalBranches, Gitaly::HasLocalBranchesRequest, Gitaly::HasLocalBranchesResponse
|
27
|
+
rpc :FetchRemote, ::Gitaly::FetchRemoteRequest, ::Gitaly::FetchRemoteResponse
|
28
|
+
rpc :CreateRepository, ::Gitaly::CreateRepositoryRequest, ::Gitaly::CreateRepositoryResponse
|
29
|
+
rpc :GetArchive, ::Gitaly::GetArchiveRequest, stream(::Gitaly::GetArchiveResponse)
|
30
|
+
rpc :HasLocalBranches, ::Gitaly::HasLocalBranchesRequest, ::Gitaly::HasLocalBranchesResponse
|
31
31
|
# FetchSourceBranch fetches a branch from a second (potentially remote)
|
32
32
|
# repository into the given repository.
|
33
|
-
rpc :FetchSourceBranch, Gitaly::FetchSourceBranchRequest, Gitaly::FetchSourceBranchResponse
|
34
|
-
rpc :Fsck, Gitaly::FsckRequest, Gitaly::FsckResponse
|
35
|
-
rpc :WriteRef, Gitaly::WriteRefRequest, Gitaly::WriteRefResponse
|
36
|
-
rpc :FindMergeBase, Gitaly::FindMergeBaseRequest, Gitaly::FindMergeBaseResponse
|
37
|
-
rpc :CreateFork, Gitaly::CreateForkRequest, Gitaly::CreateForkResponse
|
38
|
-
|
39
|
-
rpc :IsSquashInProgress, Gitaly::IsSquashInProgressRequest, Gitaly::IsSquashInProgressResponse
|
40
|
-
rpc :CreateRepositoryFromURL, Gitaly::CreateRepositoryFromURLRequest, Gitaly::CreateRepositoryFromURLResponse
|
41
|
-
|
42
|
-
rpc :
|
33
|
+
rpc :FetchSourceBranch, ::Gitaly::FetchSourceBranchRequest, ::Gitaly::FetchSourceBranchResponse
|
34
|
+
rpc :Fsck, ::Gitaly::FsckRequest, ::Gitaly::FsckResponse
|
35
|
+
rpc :WriteRef, ::Gitaly::WriteRefRequest, ::Gitaly::WriteRefResponse
|
36
|
+
rpc :FindMergeBase, ::Gitaly::FindMergeBaseRequest, ::Gitaly::FindMergeBaseResponse
|
37
|
+
rpc :CreateFork, ::Gitaly::CreateForkRequest, ::Gitaly::CreateForkResponse
|
38
|
+
# IsSquashInProgress is deprecated and will always return false.
|
39
|
+
rpc :IsSquashInProgress, ::Gitaly::IsSquashInProgressRequest, ::Gitaly::IsSquashInProgressResponse
|
40
|
+
rpc :CreateRepositoryFromURL, ::Gitaly::CreateRepositoryFromURLRequest, ::Gitaly::CreateRepositoryFromURLResponse
|
41
|
+
# CreateBundle creates a bundle from all refs
|
42
|
+
rpc :CreateBundle, ::Gitaly::CreateBundleRequest, stream(::Gitaly::CreateBundleResponse)
|
43
|
+
# CreateBundleFromRefList creates a bundle from a stream of ref patterns
|
44
|
+
rpc :CreateBundleFromRefList, stream(::Gitaly::CreateBundleFromRefListRequest), stream(::Gitaly::CreateBundleFromRefListResponse)
|
45
|
+
rpc :CreateRepositoryFromBundle, stream(::Gitaly::CreateRepositoryFromBundleRequest), ::Gitaly::CreateRepositoryFromBundleResponse
|
43
46
|
# GetConfig reads the target repository's gitconfig and streams its contents
|
44
47
|
# back. Returns a NotFound error in case no gitconfig was found.
|
45
|
-
rpc :GetConfig, Gitaly::GetConfigRequest, stream(Gitaly::GetConfigResponse)
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
rpc :
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
rpc :
|
56
|
-
rpc :
|
57
|
-
rpc :
|
58
|
-
rpc :
|
59
|
-
rpc :
|
60
|
-
rpc :
|
61
|
-
rpc :
|
48
|
+
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
|
+
rpc :FindLicense, ::Gitaly::FindLicenseRequest, ::Gitaly::FindLicenseResponse
|
60
|
+
rpc :GetInfoAttributes, ::Gitaly::GetInfoAttributesRequest, stream(::Gitaly::GetInfoAttributesResponse)
|
61
|
+
rpc :CalculateChecksum, ::Gitaly::CalculateChecksumRequest, ::Gitaly::CalculateChecksumResponse
|
62
|
+
rpc :Cleanup, ::Gitaly::CleanupRequest, ::Gitaly::CleanupResponse
|
63
|
+
rpc :GetSnapshot, ::Gitaly::GetSnapshotRequest, stream(::Gitaly::GetSnapshotResponse)
|
64
|
+
rpc :CreateRepositoryFromSnapshot, ::Gitaly::CreateRepositoryFromSnapshotRequest, ::Gitaly::CreateRepositoryFromSnapshotResponse
|
65
|
+
rpc :GetRawChanges, ::Gitaly::GetRawChangesRequest, stream(::Gitaly::GetRawChangesResponse)
|
66
|
+
rpc :SearchFilesByContent, ::Gitaly::SearchFilesByContentRequest, stream(::Gitaly::SearchFilesByContentResponse)
|
67
|
+
rpc :SearchFilesByName, ::Gitaly::SearchFilesByNameRequest, stream(::Gitaly::SearchFilesByNameResponse)
|
68
|
+
rpc :RestoreCustomHooks, stream(::Gitaly::RestoreCustomHooksRequest), ::Gitaly::RestoreCustomHooksResponse
|
69
|
+
rpc :BackupCustomHooks, ::Gitaly::BackupCustomHooksRequest, stream(::Gitaly::BackupCustomHooksResponse)
|
70
|
+
rpc :GetObjectDirectorySize, ::Gitaly::GetObjectDirectorySizeRequest, ::Gitaly::GetObjectDirectorySizeResponse
|
71
|
+
rpc :CloneFromPool, ::Gitaly::CloneFromPoolRequest, ::Gitaly::CloneFromPoolResponse
|
72
|
+
rpc :CloneFromPoolInternal, ::Gitaly::CloneFromPoolInternalRequest, ::Gitaly::CloneFromPoolInternalResponse
|
62
73
|
# RemoveRepository will move the repository to `+gitaly/tmp/<relative_path>_removed` and
|
63
74
|
# eventually remove it. This ensures that even on networked filesystems the
|
64
75
|
# data is actually removed even if there's someone still handling the data.
|
65
|
-
rpc :RemoveRepository, Gitaly::RemoveRepositoryRequest, Gitaly::RemoveRepositoryResponse
|
66
|
-
rpc :RenameRepository, Gitaly::RenameRepositoryRequest, Gitaly::RenameRepositoryResponse
|
67
|
-
rpc :ReplicateRepository, Gitaly::ReplicateRepositoryRequest, Gitaly::ReplicateRepositoryResponse
|
68
|
-
rpc :OptimizeRepository, Gitaly::OptimizeRepositoryRequest, Gitaly::OptimizeRepositoryResponse
|
76
|
+
rpc :RemoveRepository, ::Gitaly::RemoveRepositoryRequest, ::Gitaly::RemoveRepositoryResponse
|
77
|
+
rpc :RenameRepository, ::Gitaly::RenameRepositoryRequest, ::Gitaly::RenameRepositoryResponse
|
78
|
+
rpc :ReplicateRepository, ::Gitaly::ReplicateRepositoryRequest, ::Gitaly::ReplicateRepositoryResponse
|
79
|
+
rpc :OptimizeRepository, ::Gitaly::OptimizeRepositoryRequest, ::Gitaly::OptimizeRepositoryResponse
|
80
|
+
# SetFullPath writes the "gitlab.fullpath" configuration into the
|
81
|
+
# repository's gitconfig. This is mainly to help debugging purposes in case
|
82
|
+
# an admin inspects the repository's gitconfig such that he can easily see
|
83
|
+
# what the repository name is.
|
84
|
+
rpc :SetFullPath, ::Gitaly::SetFullPathRequest, ::Gitaly::SetFullPathResponse
|
69
85
|
end
|
70
86
|
|
71
87
|
Stub = Service.rpc_stub_class
|