gitaly 14.1.0.pre.rc4 → 14.3.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/blob_pb.rb +18 -0
- data/ruby/proto/gitaly/blob_services_pb.rb +3 -0
- data/ruby/proto/gitaly/commit_pb.rb +8 -0
- data/ruby/proto/gitaly/errors_pb.rb +19 -0
- data/ruby/proto/gitaly/hook_pb.rb +8 -0
- data/ruby/proto/gitaly/hook_services_pb.rb +3 -0
- data/ruby/proto/gitaly/objectpool_services_pb.rb +10 -0
- data/ruby/proto/gitaly/operations_pb.rb +7 -0
- data/ruby/proto/gitaly/praefect_pb.rb +3 -17
- data/ruby/proto/gitaly/praefect_services_pb.rb +1 -6
- data/ruby/proto/gitaly/ref_pb.rb +41 -10
- data/ruby/proto/gitaly/ref_services_pb.rb +12 -2
- data/ruby/proto/gitaly/remote_pb.rb +0 -35
- data/ruby/proto/gitaly/remote_services_pb.rb +3 -2
- data/ruby/proto/gitaly/repository-service_pb.rb +17 -10
- data/ruby/proto/gitaly/repository-service_services_pb.rb +17 -1
- data/ruby/proto/gitaly/shared_pb.rb +9 -0
- data/ruby/proto/gitaly/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 442030049445be9044acb55c850420aa68d4e40d19f16024c2f68f2f13a6343e
|
4
|
+
data.tar.gz: 36d50ec61c4b7167e74f22f5b6b50c9d3426c31e351844df6b596757da8780c1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d452ed6741dd1352fd6746c158d243be02e83c1a9279892fef75a89cffd393ef267196ecea2fb86cae6e679c8ec0de910209b06dd25f181980b05237fa3b282d
|
7
|
+
data.tar.gz: 021d073ff5db37e6e10e799f3bab8e9dd014fc96c9958db50eb77b1e8dc4280658c6adf141cf8a30b587655595041b69dfbbf5f253051f8384c4223fe3c06c53
|
@@ -41,6 +41,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
41
41
|
repeated :revisions, :string, 2
|
42
42
|
optional :limit, :uint32, 3
|
43
43
|
optional :bytes_limit, :int64, 4
|
44
|
+
optional :with_paths, :bool, 5
|
44
45
|
end
|
45
46
|
add_message "gitaly.ListBlobsResponse" do
|
46
47
|
repeated :blobs, :message, 1, "gitaly.ListBlobsResponse.Blob"
|
@@ -49,6 +50,20 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
49
50
|
optional :oid, :string, 1
|
50
51
|
optional :size, :int64, 2
|
51
52
|
optional :data, :bytes, 3
|
53
|
+
optional :path, :bytes, 4
|
54
|
+
end
|
55
|
+
add_message "gitaly.ListAllBlobsRequest" do
|
56
|
+
optional :repository, :message, 1, "gitaly.Repository"
|
57
|
+
optional :limit, :uint32, 2
|
58
|
+
optional :bytes_limit, :int64, 3
|
59
|
+
end
|
60
|
+
add_message "gitaly.ListAllBlobsResponse" do
|
61
|
+
repeated :blobs, :message, 1, "gitaly.ListAllBlobsResponse.Blob"
|
62
|
+
end
|
63
|
+
add_message "gitaly.ListAllBlobsResponse.Blob" do
|
64
|
+
optional :oid, :string, 1
|
65
|
+
optional :size, :int64, 2
|
66
|
+
optional :data, :bytes, 3
|
52
67
|
end
|
53
68
|
add_message "gitaly.LFSPointer" do
|
54
69
|
optional :size, :int64, 1
|
@@ -94,6 +109,9 @@ module Gitaly
|
|
94
109
|
ListBlobsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListBlobsRequest").msgclass
|
95
110
|
ListBlobsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListBlobsResponse").msgclass
|
96
111
|
ListBlobsResponse::Blob = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListBlobsResponse.Blob").msgclass
|
112
|
+
ListAllBlobsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListAllBlobsRequest").msgclass
|
113
|
+
ListAllBlobsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListAllBlobsResponse").msgclass
|
114
|
+
ListAllBlobsResponse::Blob = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListAllBlobsResponse.Blob").msgclass
|
97
115
|
LFSPointer = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.LFSPointer").msgclass
|
98
116
|
NewBlobObject = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.NewBlobObject").msgclass
|
99
117
|
GetLFSPointersRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetLFSPointersRequest").msgclass
|
@@ -23,6 +23,9 @@ module Gitaly
|
|
23
23
|
# doing a graph walk. It is not valid to pass revisions which do not resolve
|
24
24
|
# to an existing object.
|
25
25
|
rpc :ListBlobs, Gitaly::ListBlobsRequest, stream(Gitaly::ListBlobsResponse)
|
26
|
+
# ListAllBlobs retrieves all blobs pointers in the repository, including
|
27
|
+
# those not reachable by any reference.
|
28
|
+
rpc :ListAllBlobs, Gitaly::ListAllBlobsRequest, stream(Gitaly::ListAllBlobsResponse)
|
26
29
|
# GetLFSPointers retrieves LFS pointers from a given set of object IDs.
|
27
30
|
# This RPC filters all requested objects and only returns those which refer
|
28
31
|
# to a valid LFS pointer.
|
@@ -125,9 +125,16 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
125
125
|
optional :revision, :bytes, 2
|
126
126
|
optional :path, :bytes, 3
|
127
127
|
optional :recursive, :bool, 4
|
128
|
+
optional :sort, :enum, 5, "gitaly.GetTreeEntriesRequest.SortBy"
|
129
|
+
optional :pagination_params, :message, 6, "gitaly.PaginationParameter"
|
130
|
+
end
|
131
|
+
add_enum "gitaly.GetTreeEntriesRequest.SortBy" do
|
132
|
+
value :DEFAULT, 0
|
133
|
+
value :TREES_FIRST, 1
|
128
134
|
end
|
129
135
|
add_message "gitaly.GetTreeEntriesResponse" do
|
130
136
|
repeated :entries, :message, 1, "gitaly.TreeEntry"
|
137
|
+
optional :pagination_cursor, :message, 2, "gitaly.PaginationCursor"
|
131
138
|
end
|
132
139
|
add_message "gitaly.ListFilesRequest" do
|
133
140
|
optional :repository, :message, 1, "gitaly.Repository"
|
@@ -319,6 +326,7 @@ module Gitaly
|
|
319
326
|
TreeEntry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.TreeEntry").msgclass
|
320
327
|
TreeEntry::EntryType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.TreeEntry.EntryType").enummodule
|
321
328
|
GetTreeEntriesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetTreeEntriesRequest").msgclass
|
329
|
+
GetTreeEntriesRequest::SortBy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetTreeEntriesRequest.SortBy").enummodule
|
322
330
|
GetTreeEntriesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetTreeEntriesResponse").msgclass
|
323
331
|
ListFilesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListFilesRequest").msgclass
|
324
332
|
ListFilesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListFilesResponse").msgclass
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: errors.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
+
add_file("errors.proto", :syntax => :proto3) do
|
8
|
+
add_message "gitaly.AccessCheckError" do
|
9
|
+
optional :error_message, :string, 1
|
10
|
+
optional :protocol, :string, 2
|
11
|
+
optional :user_id, :string, 3
|
12
|
+
optional :changes, :bytes, 4
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
module Gitaly
|
18
|
+
AccessCheckError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.AccessCheckError").msgclass
|
19
|
+
end
|
@@ -66,6 +66,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
66
66
|
optional :stdout, :bytes, 1
|
67
67
|
optional :stderr, :bytes, 2
|
68
68
|
end
|
69
|
+
add_message "gitaly.PackObjectsHookWithSidechannelRequest" do
|
70
|
+
optional :repository, :message, 1, "gitaly.Repository"
|
71
|
+
repeated :args, :string, 2
|
72
|
+
end
|
73
|
+
add_message "gitaly.PackObjectsHookWithSidechannelResponse" do
|
74
|
+
end
|
69
75
|
end
|
70
76
|
end
|
71
77
|
|
@@ -81,4 +87,6 @@ module Gitaly
|
|
81
87
|
ReferenceTransactionHookResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ReferenceTransactionHookResponse").msgclass
|
82
88
|
PackObjectsHookRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PackObjectsHookRequest").msgclass
|
83
89
|
PackObjectsHookResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PackObjectsHookResponse").msgclass
|
90
|
+
PackObjectsHookWithSidechannelRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PackObjectsHookWithSidechannelRequest").msgclass
|
91
|
+
PackObjectsHookWithSidechannelResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PackObjectsHookWithSidechannelResponse").msgclass
|
84
92
|
end
|
@@ -22,6 +22,9 @@ module Gitaly
|
|
22
22
|
# uploadpack.packObjectsHook mechanism. It generates a stream of packed
|
23
23
|
# Git objects.
|
24
24
|
rpc :PackObjectsHook, stream(Gitaly::PackObjectsHookRequest), stream(Gitaly::PackObjectsHookResponse)
|
25
|
+
# PackObjectsHookWithSidechannel is an optimized version of PackObjectsHook that uses
|
26
|
+
# a unix socket side channel.
|
27
|
+
rpc :PackObjectsHookWithSidechannel, Gitaly::PackObjectsHookWithSidechannelRequest, Gitaly::PackObjectsHookWithSidechannelResponse
|
25
28
|
end
|
26
29
|
|
27
30
|
Stub = Service.rpc_stub_class
|
@@ -18,6 +18,16 @@ module Gitaly
|
|
18
18
|
rpc :DeleteObjectPool, Gitaly::DeleteObjectPoolRequest, Gitaly::DeleteObjectPoolResponse
|
19
19
|
# Repositories are assumed to be stored on the same disk
|
20
20
|
rpc :LinkRepositoryToObjectPool, Gitaly::LinkRepositoryToObjectPoolRequest, Gitaly::LinkRepositoryToObjectPoolResponse
|
21
|
+
# UnlinkRepositoryFromObjectPool does not unlink the repository from the
|
22
|
+
# object pool as you'd think, but all it really does is to remove the object
|
23
|
+
# pool's remote pointing to the repository. And even this is a no-op given
|
24
|
+
# that we'd try to remove the remote by the repository's `GlRepository()`
|
25
|
+
# name, which we never create in the first place. To unlink repositories
|
26
|
+
# from an object pool, you'd really want to execute DisconnectGitAlternates
|
27
|
+
# to remove the repository's link to the pool's object database.
|
28
|
+
#
|
29
|
+
# This function is never called by anyone and highly misleading. It's thus
|
30
|
+
# deprecated and will be removed in v14.4.
|
21
31
|
rpc :UnlinkRepositoryFromObjectPool, Gitaly::UnlinkRepositoryFromObjectPoolRequest, Gitaly::UnlinkRepositoryFromObjectPoolResponse
|
22
32
|
rpc :ReduplicateRepository, Gitaly::ReduplicateRepositoryRequest, Gitaly::ReduplicateRepositoryResponse
|
23
33
|
rpc :DisconnectGitAlternates, Gitaly::DisconnectGitAlternatesRequest, Gitaly::DisconnectGitAlternatesResponse
|
@@ -5,6 +5,7 @@ require 'google/protobuf'
|
|
5
5
|
|
6
6
|
require 'lint_pb'
|
7
7
|
require 'shared_pb'
|
8
|
+
require 'errors_pb'
|
8
9
|
require 'google/protobuf/timestamp_pb'
|
9
10
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
10
11
|
add_file("operations.proto", :syntax => :proto3) do
|
@@ -71,6 +72,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
71
72
|
optional :branch_update, :message, 3, "gitaly.OperationBranchUpdate"
|
72
73
|
optional :pre_receive_error, :string, 4
|
73
74
|
end
|
75
|
+
add_message "gitaly.UserMergeBranchError" do
|
76
|
+
oneof :error do
|
77
|
+
optional :access_check, :message, 1, "gitaly.AccessCheckError"
|
78
|
+
end
|
79
|
+
end
|
74
80
|
add_message "gitaly.UserMergeToRefRequest" do
|
75
81
|
optional :repository, :message, 1, "gitaly.Repository"
|
76
82
|
optional :user, :message, 2, "gitaly.User"
|
@@ -277,6 +283,7 @@ module Gitaly
|
|
277
283
|
UserCreateTagResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCreateTagResponse").msgclass
|
278
284
|
UserMergeBranchRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserMergeBranchRequest").msgclass
|
279
285
|
UserMergeBranchResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserMergeBranchResponse").msgclass
|
286
|
+
UserMergeBranchError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserMergeBranchError").msgclass
|
280
287
|
UserMergeToRefRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserMergeToRefRequest").msgclass
|
281
288
|
UserMergeToRefResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserMergeToRefResponse").msgclass
|
282
289
|
OperationBranchUpdate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.OperationBranchUpdate").msgclass
|
@@ -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
|
@@ -15,12 +15,7 @@ module Gitaly
|
|
15
15
|
self.service_name = 'gitaly.PraefectInfoService'
|
16
16
|
|
17
17
|
rpc :RepositoryReplicas, Gitaly::RepositoryReplicasRequest, Gitaly::RepositoryReplicasResponse
|
18
|
-
#
|
19
|
-
# virtual storage backend. A stream of repository statuses will be sent
|
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.
|
18
|
+
# DatalossCheck checks for unavailable repositories.
|
24
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
|
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
|
@@ -17,11 +17,10 @@ module Gitaly
|
|
17
17
|
rpc :FindDefaultBranchName, Gitaly::FindDefaultBranchNameRequest, Gitaly::FindDefaultBranchNameResponse
|
18
18
|
rpc :FindAllBranchNames, Gitaly::FindAllBranchNamesRequest, stream(Gitaly::FindAllBranchNamesResponse)
|
19
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
|
22
20
|
# Return a stream so we can divide the response in chunks of branches
|
23
21
|
rpc :FindLocalBranches, Gitaly::FindLocalBranchesRequest, stream(Gitaly::FindLocalBranchesResponse)
|
24
22
|
rpc :FindAllBranches, Gitaly::FindAllBranchesRequest, stream(Gitaly::FindAllBranchesResponse)
|
23
|
+
# Returns a stream of tags repository has.
|
25
24
|
rpc :FindAllTags, Gitaly::FindAllTagsRequest, stream(Gitaly::FindAllTagsResponse)
|
26
25
|
rpc :FindTag, Gitaly::FindTagRequest, Gitaly::FindTagResponse
|
27
26
|
rpc :FindAllRemoteBranches, Gitaly::FindAllRemoteBranchesRequest, stream(Gitaly::FindAllRemoteBranchesResponse)
|
@@ -32,11 +31,22 @@ module Gitaly
|
|
32
31
|
rpc :DeleteRefs, Gitaly::DeleteRefsRequest, Gitaly::DeleteRefsResponse
|
33
32
|
rpc :ListBranchNamesContainingCommit, Gitaly::ListBranchNamesContainingCommitRequest, stream(Gitaly::ListBranchNamesContainingCommitResponse)
|
34
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)
|
35
39
|
rpc :GetTagMessages, Gitaly::GetTagMessagesRequest, stream(Gitaly::GetTagMessagesResponse)
|
36
40
|
# Returns commits that are only reachable from the ref passed
|
37
41
|
rpc :ListNewCommits, Gitaly::ListNewCommitsRequest, stream(Gitaly::ListNewCommitsResponse)
|
42
|
+
# ListNewBlobs is equivalent to ListBlobs with `["--not", "--all", "--not",
|
43
|
+
# commit_id]`. This RPC call will be removed in v14.4.
|
38
44
|
rpc :ListNewBlobs, Gitaly::ListNewBlobsRequest, stream(Gitaly::ListNewBlobsResponse)
|
39
45
|
rpc :PackRefs, Gitaly::PackRefsRequest, Gitaly::PackRefsResponse
|
46
|
+
# ListRefs returns a stream of all references in the repository. By default, pseudo-revisions like HEAD
|
47
|
+
# will not be returned by this RPC. Any symbolic references will be resolved to the object ID it is
|
48
|
+
# pointing at.
|
49
|
+
rpc :ListRefs, Gitaly::ListRefsRequest, stream(Gitaly::ListRefsResponse)
|
40
50
|
end
|
41
51
|
|
42
52
|
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
|
@@ -14,9 +14,10 @@ module Gitaly
|
|
14
14
|
self.unmarshal_class_method = :decode
|
15
15
|
self.service_name = 'gitaly.RemoteService'
|
16
16
|
|
17
|
-
|
17
|
+
# FetchInternalRemote used to fetch changes from a remote repository into
|
18
|
+
# the target repository. This RPC call is deprecated and shouldn't be used
|
19
|
+
# at all anymore. It will be removed in release v14.4.
|
18
20
|
rpc :FetchInternalRemote, Gitaly::FetchInternalRemoteRequest, Gitaly::FetchInternalRemoteResponse
|
19
|
-
rpc :RemoveRemote, Gitaly::RemoveRemoteRequest, Gitaly::RemoveRemoteResponse
|
20
21
|
# UpdateRemoteMirror compares the references in the target repository and its remote mirror
|
21
22
|
# repository. Any differences in the references are then addressed by pushing the differing
|
22
23
|
# references to the mirror. Created and modified references are updated, removed references are
|
@@ -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
|
@@ -35,15 +35,26 @@ module Gitaly
|
|
35
35
|
rpc :WriteRef, Gitaly::WriteRefRequest, Gitaly::WriteRefResponse
|
36
36
|
rpc :FindMergeBase, Gitaly::FindMergeBaseRequest, Gitaly::FindMergeBaseResponse
|
37
37
|
rpc :CreateFork, Gitaly::CreateForkRequest, Gitaly::CreateForkResponse
|
38
|
-
|
38
|
+
# IsSquashInProgress is deprecated and will always return false.
|
39
39
|
rpc :IsSquashInProgress, Gitaly::IsSquashInProgressRequest, Gitaly::IsSquashInProgressResponse
|
40
40
|
rpc :CreateRepositoryFromURL, Gitaly::CreateRepositoryFromURLRequest, Gitaly::CreateRepositoryFromURLResponse
|
41
|
+
# CreateBundle creates a bundle from all refs
|
41
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)
|
42
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
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.
|
46
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.
|
47
58
|
rpc :DeleteConfig, Gitaly::DeleteConfigRequest, Gitaly::DeleteConfigResponse
|
48
59
|
rpc :FindLicense, Gitaly::FindLicenseRequest, Gitaly::FindLicenseResponse
|
49
60
|
rpc :GetInfoAttributes, Gitaly::GetInfoAttributesRequest, stream(Gitaly::GetInfoAttributesResponse)
|
@@ -66,6 +77,11 @@ module Gitaly
|
|
66
77
|
rpc :RenameRepository, Gitaly::RenameRepositoryRequest, Gitaly::RenameRepositoryResponse
|
67
78
|
rpc :ReplicateRepository, Gitaly::ReplicateRepositoryRequest, Gitaly::ReplicateRepositoryResponse
|
68
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
|
@@ -67,6 +67,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
67
67
|
optional :page_token, :string, 1
|
68
68
|
optional :limit, :int32, 2
|
69
69
|
end
|
70
|
+
add_message "gitaly.PaginationCursor" do
|
71
|
+
optional :next_cursor, :string, 1
|
72
|
+
end
|
70
73
|
add_message "gitaly.GlobalOptions" do
|
71
74
|
optional :literal_pathspecs, :bool, 1
|
72
75
|
end
|
@@ -82,6 +85,10 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
82
85
|
value :PGP, 1
|
83
86
|
value :X509, 2
|
84
87
|
end
|
88
|
+
add_enum "gitaly.SortDirection" do
|
89
|
+
value :ASCENDING, 0
|
90
|
+
value :DESCENDING, 1
|
91
|
+
end
|
85
92
|
end
|
86
93
|
end
|
87
94
|
|
@@ -96,7 +103,9 @@ module Gitaly
|
|
96
103
|
User = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.User").msgclass
|
97
104
|
ObjectPool = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ObjectPool").msgclass
|
98
105
|
PaginationParameter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PaginationParameter").msgclass
|
106
|
+
PaginationCursor = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PaginationCursor").msgclass
|
99
107
|
GlobalOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GlobalOptions").msgclass
|
100
108
|
ObjectType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ObjectType").enummodule
|
101
109
|
SignatureType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SignatureType").enummodule
|
110
|
+
SortDirection = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SortDirection").enummodule
|
102
111
|
end
|
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.3.0.pre.rc2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jacob Vosmaer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-09-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: grpc
|
@@ -43,6 +43,7 @@ files:
|
|
43
43
|
- ruby/proto/gitaly/conflicts_services_pb.rb
|
44
44
|
- ruby/proto/gitaly/diff_pb.rb
|
45
45
|
- ruby/proto/gitaly/diff_services_pb.rb
|
46
|
+
- ruby/proto/gitaly/errors_pb.rb
|
46
47
|
- ruby/proto/gitaly/hook_pb.rb
|
47
48
|
- ruby/proto/gitaly/hook_services_pb.rb
|
48
49
|
- ruby/proto/gitaly/internal_pb.rb
|