gitaly 15.11.0.pre.rc1 → 16.1.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 +27 -92
- data/ruby/proto/gitaly/cleanup_pb.rb +27 -14
- data/ruby/proto/gitaly/commit_pb.rb +28 -302
- data/ruby/proto/gitaly/conflicts_pb.rb +28 -44
- data/ruby/proto/gitaly/diff_pb.rb +27 -140
- data/ruby/proto/gitaly/errors_pb.rb +27 -67
- data/ruby/proto/gitaly/hook_pb.rb +27 -62
- data/ruby/proto/gitaly/internal_pb.rb +32 -9
- data/ruby/proto/gitaly/internal_services_pb.rb +3 -0
- data/ruby/proto/gitaly/lint_pb.rb +26 -16
- data/ruby/proto/gitaly/log_pb.rb +25 -19
- data/ruby/proto/gitaly/namespace_pb.rb +26 -28
- data/ruby/proto/gitaly/objectpool_pb.rb +27 -43
- data/ruby/proto/gitaly/objectpool_services_pb.rb +0 -7
- data/ruby/proto/gitaly/operations_pb.rb +29 -316
- data/ruby/proto/gitaly/praefect_pb.rb +28 -89
- data/ruby/proto/gitaly/ref_pb.rb +29 -228
- data/ruby/proto/gitaly/ref_services_pb.rb +0 -10
- data/ruby/proto/gitaly/remote_pb.rb +27 -36
- data/ruby/proto/gitaly/repository_pb.rb +27 -392
- data/ruby/proto/gitaly/repository_services_pb.rb +7 -13
- data/ruby/proto/gitaly/server_pb.rb +27 -52
- data/ruby/proto/gitaly/service_config_pb.rb +28 -35
- data/ruby/proto/gitaly/shared_pb.rb +27 -98
- data/ruby/proto/gitaly/smarthttp_pb.rb +27 -29
- data/ruby/proto/gitaly/ssh_pb.rb +27 -43
- data/ruby/proto/gitaly/transaction_pb.rb +27 -28
- data/ruby/proto/gitaly/version.rb +1 -1
- metadata +6 -6
@@ -1,408 +1,43 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
3
|
# source: repository.proto
|
3
4
|
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
4
7
|
require 'lint_pb'
|
5
8
|
require 'shared_pb'
|
6
|
-
require 'google/protobuf'
|
7
9
|
|
8
|
-
|
9
|
-
add_file("repository.proto", :syntax => :proto3) do
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
add_message "gitaly.MidxRepackResponse" do
|
31
|
-
end
|
32
|
-
add_message "gitaly.GarbageCollectRequest" do
|
33
|
-
optional :repository, :message, 1, "gitaly.Repository"
|
34
|
-
optional :create_bitmap, :bool, 2
|
35
|
-
optional :prune, :bool, 3
|
36
|
-
end
|
37
|
-
add_message "gitaly.GarbageCollectResponse" do
|
38
|
-
end
|
39
|
-
add_message "gitaly.WriteCommitGraphRequest" do
|
40
|
-
optional :repository, :message, 1, "gitaly.Repository"
|
41
|
-
optional :splitStrategy, :enum, 2, "gitaly.WriteCommitGraphRequest.SplitStrategy"
|
42
|
-
end
|
43
|
-
add_enum "gitaly.WriteCommitGraphRequest.SplitStrategy" do
|
44
|
-
value :SizeMultiple, 0
|
45
|
-
end
|
46
|
-
add_message "gitaly.WriteCommitGraphResponse" do
|
47
|
-
end
|
48
|
-
add_message "gitaly.CleanupRequest" do
|
49
|
-
optional :repository, :message, 1, "gitaly.Repository"
|
50
|
-
end
|
51
|
-
add_message "gitaly.CleanupResponse" do
|
52
|
-
end
|
53
|
-
add_message "gitaly.RepositorySizeRequest" do
|
54
|
-
optional :repository, :message, 1, "gitaly.Repository"
|
55
|
-
end
|
56
|
-
add_message "gitaly.RepositorySizeResponse" do
|
57
|
-
optional :size, :int64, 1
|
58
|
-
end
|
59
|
-
add_message "gitaly.RepositoryInfoRequest" do
|
60
|
-
optional :repository, :message, 1, "gitaly.Repository"
|
61
|
-
end
|
62
|
-
add_message "gitaly.RepositoryInfoResponse" do
|
63
|
-
optional :size, :uint64, 1
|
64
|
-
optional :references, :message, 2, "gitaly.RepositoryInfoResponse.ReferencesInfo"
|
65
|
-
optional :objects, :message, 3, "gitaly.RepositoryInfoResponse.ObjectsInfo"
|
66
|
-
end
|
67
|
-
add_message "gitaly.RepositoryInfoResponse.ReferencesInfo" do
|
68
|
-
optional :loose_count, :uint64, 1
|
69
|
-
optional :packed_size, :uint64, 2
|
70
|
-
end
|
71
|
-
add_message "gitaly.RepositoryInfoResponse.ObjectsInfo" do
|
72
|
-
optional :size, :uint64, 1
|
73
|
-
optional :recent_size, :uint64, 2
|
74
|
-
optional :stale_size, :uint64, 3
|
75
|
-
optional :keep_size, :uint64, 4
|
76
|
-
end
|
77
|
-
add_message "gitaly.ObjectFormatRequest" do
|
78
|
-
optional :repository, :message, 1, "gitaly.Repository"
|
79
|
-
end
|
80
|
-
add_message "gitaly.ObjectFormatResponse" do
|
81
|
-
optional :format, :enum, 1, "gitaly.ObjectFormat"
|
82
|
-
end
|
83
|
-
add_message "gitaly.ApplyGitattributesRequest" do
|
84
|
-
optional :repository, :message, 1, "gitaly.Repository"
|
85
|
-
optional :revision, :bytes, 2
|
86
|
-
end
|
87
|
-
add_message "gitaly.ApplyGitattributesResponse" do
|
88
|
-
end
|
89
|
-
add_message "gitaly.FetchBundleRequest" do
|
90
|
-
optional :repository, :message, 1, "gitaly.Repository"
|
91
|
-
optional :data, :bytes, 2
|
92
|
-
optional :update_head, :bool, 3
|
93
|
-
end
|
94
|
-
add_message "gitaly.FetchBundleResponse" do
|
95
|
-
end
|
96
|
-
add_message "gitaly.FetchRemoteRequest" do
|
97
|
-
optional :repository, :message, 1, "gitaly.Repository"
|
98
|
-
optional :force, :bool, 3
|
99
|
-
optional :no_tags, :bool, 4
|
100
|
-
optional :timeout, :int32, 5
|
101
|
-
optional :ssh_key, :string, 6
|
102
|
-
optional :known_hosts, :string, 7
|
103
|
-
optional :no_prune, :bool, 9
|
104
|
-
optional :remote_params, :message, 10, "gitaly.Remote"
|
105
|
-
optional :check_tags_changed, :bool, 11
|
106
|
-
end
|
107
|
-
add_message "gitaly.FetchRemoteResponse" do
|
108
|
-
optional :tags_changed, :bool, 1
|
109
|
-
end
|
110
|
-
add_message "gitaly.CreateRepositoryRequest" do
|
111
|
-
optional :repository, :message, 1, "gitaly.Repository"
|
112
|
-
optional :default_branch, :bytes, 2
|
113
|
-
optional :object_format, :enum, 3, "gitaly.ObjectFormat"
|
114
|
-
end
|
115
|
-
add_message "gitaly.CreateRepositoryResponse" do
|
116
|
-
end
|
117
|
-
add_message "gitaly.GetArchiveRequest" do
|
118
|
-
optional :repository, :message, 1, "gitaly.Repository"
|
119
|
-
optional :commit_id, :string, 2
|
120
|
-
optional :prefix, :string, 3
|
121
|
-
optional :format, :enum, 4, "gitaly.GetArchiveRequest.Format"
|
122
|
-
optional :path, :bytes, 5
|
123
|
-
repeated :exclude, :bytes, 6
|
124
|
-
optional :elide_path, :bool, 7
|
125
|
-
optional :include_lfs_blobs, :bool, 8
|
126
|
-
end
|
127
|
-
add_enum "gitaly.GetArchiveRequest.Format" do
|
128
|
-
value :ZIP, 0
|
129
|
-
value :TAR, 1
|
130
|
-
value :TAR_GZ, 2
|
131
|
-
value :TAR_BZ2, 3
|
132
|
-
end
|
133
|
-
add_message "gitaly.GetArchiveResponse" do
|
134
|
-
optional :data, :bytes, 1
|
135
|
-
end
|
136
|
-
add_message "gitaly.HasLocalBranchesRequest" do
|
137
|
-
optional :repository, :message, 1, "gitaly.Repository"
|
138
|
-
end
|
139
|
-
add_message "gitaly.HasLocalBranchesResponse" do
|
140
|
-
optional :value, :bool, 1
|
141
|
-
end
|
142
|
-
add_message "gitaly.FetchSourceBranchRequest" do
|
143
|
-
optional :repository, :message, 1, "gitaly.Repository"
|
144
|
-
optional :source_repository, :message, 2, "gitaly.Repository"
|
145
|
-
optional :source_branch, :bytes, 3
|
146
|
-
optional :target_ref, :bytes, 4
|
147
|
-
end
|
148
|
-
add_message "gitaly.FetchSourceBranchResponse" do
|
149
|
-
optional :result, :bool, 1
|
150
|
-
end
|
151
|
-
add_message "gitaly.FsckRequest" do
|
152
|
-
optional :repository, :message, 1, "gitaly.Repository"
|
153
|
-
end
|
154
|
-
add_message "gitaly.FsckResponse" do
|
155
|
-
optional :error, :bytes, 1
|
156
|
-
end
|
157
|
-
add_message "gitaly.WriteRefRequest" do
|
158
|
-
optional :repository, :message, 1, "gitaly.Repository"
|
159
|
-
optional :ref, :bytes, 2
|
160
|
-
optional :revision, :bytes, 3
|
161
|
-
optional :old_revision, :bytes, 4
|
162
|
-
optional :force, :bool, 5
|
163
|
-
end
|
164
|
-
add_message "gitaly.WriteRefResponse" do
|
165
|
-
end
|
166
|
-
add_message "gitaly.FindMergeBaseRequest" do
|
167
|
-
optional :repository, :message, 1, "gitaly.Repository"
|
168
|
-
repeated :revisions, :bytes, 2
|
169
|
-
end
|
170
|
-
add_message "gitaly.FindMergeBaseResponse" do
|
171
|
-
optional :base, :string, 1
|
172
|
-
end
|
173
|
-
add_message "gitaly.CreateForkRequest" do
|
174
|
-
optional :repository, :message, 1, "gitaly.Repository"
|
175
|
-
optional :source_repository, :message, 2, "gitaly.Repository"
|
176
|
-
end
|
177
|
-
add_message "gitaly.CreateForkResponse" do
|
178
|
-
end
|
179
|
-
add_message "gitaly.CreateRepositoryFromURLRequest" do
|
180
|
-
optional :repository, :message, 1, "gitaly.Repository"
|
181
|
-
optional :url, :string, 2
|
182
|
-
optional :http_host, :string, 3
|
183
|
-
optional :http_authorization_header, :string, 4
|
184
|
-
optional :mirror, :bool, 5
|
185
|
-
optional :resolved_address, :string, 6
|
186
|
-
end
|
187
|
-
add_message "gitaly.CreateRepositoryFromURLResponse" do
|
188
|
-
end
|
189
|
-
add_message "gitaly.CreateBundleRequest" do
|
190
|
-
optional :repository, :message, 1, "gitaly.Repository"
|
191
|
-
end
|
192
|
-
add_message "gitaly.CreateBundleResponse" do
|
193
|
-
optional :data, :bytes, 1
|
194
|
-
end
|
195
|
-
add_message "gitaly.CreateBundleFromRefListRequest" do
|
196
|
-
optional :repository, :message, 1, "gitaly.Repository"
|
197
|
-
repeated :patterns, :bytes, 2
|
198
|
-
end
|
199
|
-
add_message "gitaly.CreateBundleFromRefListResponse" do
|
200
|
-
optional :data, :bytes, 1
|
201
|
-
end
|
202
|
-
add_message "gitaly.GetConfigRequest" do
|
203
|
-
optional :repository, :message, 1, "gitaly.Repository"
|
204
|
-
end
|
205
|
-
add_message "gitaly.GetConfigResponse" do
|
206
|
-
optional :data, :bytes, 1
|
207
|
-
end
|
208
|
-
add_message "gitaly.RestoreCustomHooksRequest" do
|
209
|
-
optional :repository, :message, 1, "gitaly.Repository"
|
210
|
-
optional :data, :bytes, 2
|
211
|
-
end
|
212
|
-
add_message "gitaly.SetCustomHooksRequest" do
|
213
|
-
optional :repository, :message, 1, "gitaly.Repository"
|
214
|
-
optional :data, :bytes, 2
|
215
|
-
end
|
216
|
-
add_message "gitaly.RestoreCustomHooksResponse" do
|
217
|
-
end
|
218
|
-
add_message "gitaly.SetCustomHooksResponse" do
|
219
|
-
end
|
220
|
-
add_message "gitaly.BackupCustomHooksRequest" do
|
221
|
-
optional :repository, :message, 1, "gitaly.Repository"
|
222
|
-
end
|
223
|
-
add_message "gitaly.GetCustomHooksRequest" do
|
224
|
-
optional :repository, :message, 1, "gitaly.Repository"
|
225
|
-
end
|
226
|
-
add_message "gitaly.BackupCustomHooksResponse" do
|
227
|
-
optional :data, :bytes, 1
|
228
|
-
end
|
229
|
-
add_message "gitaly.GetCustomHooksResponse" do
|
230
|
-
optional :data, :bytes, 1
|
231
|
-
end
|
232
|
-
add_message "gitaly.CreateRepositoryFromBundleRequest" do
|
233
|
-
optional :repository, :message, 1, "gitaly.Repository"
|
234
|
-
optional :data, :bytes, 2
|
235
|
-
end
|
236
|
-
add_message "gitaly.CreateRepositoryFromBundleResponse" do
|
237
|
-
end
|
238
|
-
add_message "gitaly.FindLicenseRequest" do
|
239
|
-
optional :repository, :message, 1, "gitaly.Repository"
|
240
|
-
end
|
241
|
-
add_message "gitaly.FindLicenseResponse" do
|
242
|
-
optional :license_short_name, :string, 1
|
243
|
-
optional :license_name, :string, 2
|
244
|
-
optional :license_url, :string, 3
|
245
|
-
optional :license_path, :string, 4
|
246
|
-
optional :license_nickname, :string, 5
|
247
|
-
end
|
248
|
-
add_message "gitaly.GetInfoAttributesRequest" do
|
249
|
-
optional :repository, :message, 1, "gitaly.Repository"
|
250
|
-
end
|
251
|
-
add_message "gitaly.GetInfoAttributesResponse" do
|
252
|
-
optional :attributes, :bytes, 1
|
253
|
-
end
|
254
|
-
add_message "gitaly.CalculateChecksumRequest" do
|
255
|
-
optional :repository, :message, 1, "gitaly.Repository"
|
256
|
-
end
|
257
|
-
add_message "gitaly.CalculateChecksumResponse" do
|
258
|
-
optional :checksum, :string, 1
|
259
|
-
end
|
260
|
-
add_message "gitaly.GetSnapshotRequest" do
|
261
|
-
optional :repository, :message, 1, "gitaly.Repository"
|
262
|
-
end
|
263
|
-
add_message "gitaly.GetSnapshotResponse" do
|
264
|
-
optional :data, :bytes, 1
|
265
|
-
end
|
266
|
-
add_message "gitaly.CreateRepositoryFromSnapshotRequest" do
|
267
|
-
optional :repository, :message, 1, "gitaly.Repository"
|
268
|
-
optional :http_url, :string, 2
|
269
|
-
optional :http_auth, :string, 3
|
270
|
-
optional :http_host, :string, 4
|
271
|
-
optional :resolved_address, :string, 5
|
272
|
-
end
|
273
|
-
add_message "gitaly.CreateRepositoryFromSnapshotResponse" do
|
274
|
-
end
|
275
|
-
add_message "gitaly.GetRawChangesRequest" do
|
276
|
-
optional :repository, :message, 1, "gitaly.Repository"
|
277
|
-
optional :from_revision, :string, 2
|
278
|
-
optional :to_revision, :string, 3
|
279
|
-
end
|
280
|
-
add_message "gitaly.GetRawChangesResponse" do
|
281
|
-
repeated :raw_changes, :message, 1, "gitaly.GetRawChangesResponse.RawChange"
|
282
|
-
end
|
283
|
-
add_message "gitaly.GetRawChangesResponse.RawChange" do
|
284
|
-
optional :blob_id, :string, 1
|
285
|
-
optional :size, :int64, 2
|
286
|
-
optional :operation, :enum, 5, "gitaly.GetRawChangesResponse.RawChange.Operation"
|
287
|
-
optional :raw_operation, :string, 6
|
288
|
-
optional :old_mode, :int32, 7
|
289
|
-
optional :new_mode, :int32, 8
|
290
|
-
optional :new_path_bytes, :bytes, 9
|
291
|
-
optional :old_path_bytes, :bytes, 10
|
292
|
-
end
|
293
|
-
add_enum "gitaly.GetRawChangesResponse.RawChange.Operation" do
|
294
|
-
value :UNKNOWN, 0
|
295
|
-
value :ADDED, 1
|
296
|
-
value :COPIED, 2
|
297
|
-
value :DELETED, 3
|
298
|
-
value :MODIFIED, 4
|
299
|
-
value :RENAMED, 5
|
300
|
-
value :TYPE_CHANGED, 6
|
301
|
-
end
|
302
|
-
add_message "gitaly.SearchFilesByNameRequest" do
|
303
|
-
optional :repository, :message, 1, "gitaly.Repository"
|
304
|
-
optional :query, :string, 2
|
305
|
-
optional :ref, :bytes, 3
|
306
|
-
optional :filter, :string, 4
|
307
|
-
optional :limit, :uint32, 5
|
308
|
-
optional :offset, :uint32, 6
|
309
|
-
end
|
310
|
-
add_message "gitaly.SearchFilesByNameResponse" do
|
311
|
-
repeated :files, :bytes, 1
|
312
|
-
end
|
313
|
-
add_message "gitaly.SearchFilesByContentRequest" do
|
314
|
-
optional :repository, :message, 1, "gitaly.Repository"
|
315
|
-
optional :query, :string, 2
|
316
|
-
optional :ref, :bytes, 3
|
317
|
-
optional :chunked_response, :bool, 4
|
318
|
-
end
|
319
|
-
add_message "gitaly.SearchFilesByContentResponse" do
|
320
|
-
repeated :matches, :bytes, 1
|
321
|
-
optional :match_data, :bytes, 2
|
322
|
-
optional :end_of_match, :bool, 3
|
323
|
-
end
|
324
|
-
add_message "gitaly.Remote" do
|
325
|
-
optional :url, :string, 1
|
326
|
-
optional :http_authorization_header, :string, 3
|
327
|
-
repeated :mirror_refmaps, :string, 4
|
328
|
-
optional :http_host, :string, 5
|
329
|
-
optional :resolved_address, :string, 6
|
330
|
-
end
|
331
|
-
add_message "gitaly.GetObjectDirectorySizeRequest" do
|
332
|
-
optional :repository, :message, 1, "gitaly.Repository"
|
333
|
-
end
|
334
|
-
add_message "gitaly.GetObjectDirectorySizeResponse" do
|
335
|
-
optional :size, :int64, 1
|
336
|
-
end
|
337
|
-
add_message "gitaly.RemoveRepositoryRequest" do
|
338
|
-
optional :repository, :message, 1, "gitaly.Repository"
|
339
|
-
end
|
340
|
-
add_message "gitaly.RemoveRepositoryResponse" do
|
341
|
-
end
|
342
|
-
add_message "gitaly.RenameRepositoryRequest" do
|
343
|
-
optional :repository, :message, 1, "gitaly.Repository"
|
344
|
-
optional :relative_path, :string, 2
|
345
|
-
end
|
346
|
-
add_message "gitaly.RenameRepositoryResponse" do
|
347
|
-
end
|
348
|
-
add_message "gitaly.ReplicateRepositoryRequest" do
|
349
|
-
optional :repository, :message, 1, "gitaly.Repository"
|
350
|
-
optional :source, :message, 2, "gitaly.Repository"
|
351
|
-
end
|
352
|
-
add_message "gitaly.ReplicateRepositoryResponse" do
|
353
|
-
end
|
354
|
-
add_message "gitaly.OptimizeRepositoryRequest" do
|
355
|
-
optional :repository, :message, 1, "gitaly.Repository"
|
356
|
-
optional :strategy, :enum, 2, "gitaly.OptimizeRepositoryRequest.Strategy"
|
357
|
-
end
|
358
|
-
add_enum "gitaly.OptimizeRepositoryRequest.Strategy" do
|
359
|
-
value :STRATEGY_UNSPECIFIED, 0
|
360
|
-
value :STRATEGY_HEURISTICAL, 1
|
361
|
-
value :STRATEGY_EAGER, 2
|
362
|
-
end
|
363
|
-
add_message "gitaly.OptimizeRepositoryResponse" do
|
364
|
-
end
|
365
|
-
add_message "gitaly.PruneUnreachableObjectsRequest" do
|
366
|
-
optional :repository, :message, 1, "gitaly.Repository"
|
367
|
-
end
|
368
|
-
add_message "gitaly.PruneUnreachableObjectsResponse" do
|
369
|
-
end
|
370
|
-
add_message "gitaly.SetFullPathRequest" do
|
371
|
-
optional :repository, :message, 1, "gitaly.Repository"
|
372
|
-
optional :path, :string, 2
|
373
|
-
end
|
374
|
-
add_message "gitaly.SetFullPathResponse" do
|
375
|
-
end
|
376
|
-
add_message "gitaly.FullPathRequest" do
|
377
|
-
optional :repository, :message, 1, "gitaly.Repository"
|
378
|
-
end
|
379
|
-
add_message "gitaly.FullPathResponse" do
|
380
|
-
optional :path, :string, 1
|
381
|
-
end
|
382
|
-
add_message "gitaly.RemoveAllRequest" do
|
383
|
-
optional :storage_name, :string, 1
|
384
|
-
end
|
385
|
-
add_message "gitaly.RemoveAllResponse" do
|
10
|
+
|
11
|
+
descriptor_data = "\n\x10repository.proto\x12\x06gitaly\x1a\nlint.proto\x1a\x0cshared.proto\"G\n\x17RepositoryExistsRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\"*\n\x18RepositoryExistsResponse\x12\x0e\n\x06\x65xists\x18\x01 \x01(\x08\"E\n\x15RepositorySizeRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\"&\n\x16RepositorySizeResponse\x12\x0c\n\x04size\x18\x01 \x01(\x03\"E\n\x15RepositoryInfoRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\"\xbb\x02\n\x16RepositoryInfoResponse\x12\x0c\n\x04size\x18\x01 \x01(\x04\x12\x41\n\nreferences\x18\x02 \x01(\x0b\x32-.gitaly.RepositoryInfoResponse.ReferencesInfo\x12;\n\x07objects\x18\x03 \x01(\x0b\x32*.gitaly.RepositoryInfoResponse.ObjectsInfo\x1a:\n\x0eReferencesInfo\x12\x13\n\x0bloose_count\x18\x01 \x01(\x04\x12\x13\n\x0bpacked_size\x18\x02 \x01(\x04\x1aW\n\x0bObjectsInfo\x12\x0c\n\x04size\x18\x01 \x01(\x04\x12\x13\n\x0brecent_size\x18\x02 \x01(\x04\x12\x12\n\nstale_size\x18\x03 \x01(\x04\x12\x11\n\tkeep_size\x18\x04 \x01(\x04\"C\n\x13ObjectFormatRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\"<\n\x14ObjectFormatResponse\x12$\n\x06\x66ormat\x18\x01 \x01(\x0e\x32\x14.gitaly.ObjectFormat\"[\n\x19\x41pplyGitattributesRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x10\n\x08revision\x18\x02 \x01(\x0c\"\x1c\n\x1a\x41pplyGitattributesResponse\"e\n\x12\x46\x65tchBundleRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12\x13\n\x0bupdate_head\x18\x03 \x01(\x08\"\x15\n\x13\x46\x65tchBundleResponse\"\x82\x02\n\x12\x46\x65tchRemoteRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\r\n\x05\x66orce\x18\x03 \x01(\x08\x12\x0f\n\x07no_tags\x18\x04 \x01(\x08\x12\x0f\n\x07timeout\x18\x05 \x01(\x05\x12\x0f\n\x07ssh_key\x18\x06 \x01(\t\x12\x13\n\x0bknown_hosts\x18\x07 \x01(\t\x12\x10\n\x08no_prune\x18\t \x01(\x08\x12%\n\rremote_params\x18\n \x01(\x0b\x32\x0e.gitaly.Remote\x12\x1a\n\x12\x63heck_tags_changed\x18\x0b \x01(\x08J\x04\x08\x08\x10\tJ\x04\x08\x02\x10\x03R\x06remote\"+\n\x13\x46\x65tchRemoteResponse\x12\x14\n\x0ctags_changed\x18\x01 \x01(\x08\"\x8c\x01\n\x17\x43reateRepositoryRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x16\n\x0e\x64\x65\x66\x61ult_branch\x18\x02 \x01(\x0c\x12+\n\robject_format\x18\x03 \x01(\x0e\x32\x14.gitaly.ObjectFormat\"\x1a\n\x18\x43reateRepositoryResponse\"\x99\x02\n\x11GetArchiveRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x11\n\tcommit_id\x18\x02 \x01(\t\x12\x0e\n\x06prefix\x18\x03 \x01(\t\x12\x30\n\x06\x66ormat\x18\x04 \x01(\x0e\x32 .gitaly.GetArchiveRequest.Format\x12\x0c\n\x04path\x18\x05 \x01(\x0c\x12\x0f\n\x07\x65xclude\x18\x06 \x03(\x0c\x12\x12\n\nelide_path\x18\x07 \x01(\x08\x12\x19\n\x11include_lfs_blobs\x18\x08 \x01(\x08\"3\n\x06\x46ormat\x12\x07\n\x03ZIP\x10\x00\x12\x07\n\x03TAR\x10\x01\x12\n\n\x06TAR_GZ\x10\x02\x12\x0b\n\x07TAR_BZ2\x10\x03\"\"\n\x12GetArchiveResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"G\n\x17HasLocalBranchesRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\")\n\x18HasLocalBranchesResponse\x12\r\n\x05value\x18\x01 \x01(\x08\"\xa2\x01\n\x18\x46\x65tchSourceBranchRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12-\n\x11source_repository\x18\x02 \x01(\x0b\x32\x12.gitaly.Repository\x12\x15\n\rsource_branch\x18\x03 \x01(\x0c\x12\x12\n\ntarget_ref\x18\x04 \x01(\x0c\"+\n\x19\x46\x65tchSourceBranchResponse\x12\x0e\n\x06result\x18\x01 \x01(\x08\";\n\x0b\x46sckRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\"\x1d\n\x0c\x46sckResponse\x12\r\n\x05\x65rror\x18\x01 \x01(\x0c\"\x89\x01\n\x0fWriteRefRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x0b\n\x03ref\x18\x02 \x01(\x0c\x12\x10\n\x08revision\x18\x03 \x01(\x0c\x12\x14\n\x0cold_revision\x18\x04 \x01(\x0c\x12\r\n\x05\x66orce\x18\x05 \x01(\x08J\x04\x08\x06\x10\x07\"\x18\n\x10WriteRefResponseJ\x04\x08\x01\x10\x02\"W\n\x14\x46indMergeBaseRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x11\n\trevisions\x18\x02 \x03(\x0c\"%\n\x15\x46indMergeBaseResponse\x12\x0c\n\x04\x62\x61se\x18\x01 \x01(\t\"p\n\x11\x43reateForkRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12-\n\x11source_repository\x18\x02 \x01(\x0b\x32\x12.gitaly.Repository\"\x14\n\x12\x43reateForkResponse\"\xb9\x01\n\x1e\x43reateRepositoryFromURLRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x0b\n\x03url\x18\x02 \x01(\t\x12!\n\x19http_authorization_header\x18\x04 \x01(\t\x12\x0e\n\x06mirror\x18\x05 \x01(\x08\x12\x18\n\x10resolved_address\x18\x06 \x01(\tJ\x04\x08\x03\x10\x04R\thttp_host\"!\n\x1f\x43reateRepositoryFromURLResponse\"C\n\x13\x43reateBundleRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\"$\n\x14\x43reateBundleResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"`\n\x1e\x43reateBundleFromRefListRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x10\n\x08patterns\x18\x02 \x03(\x0c\"/\n\x1f\x43reateBundleFromRefListResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"@\n\x10GetConfigRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\"!\n\x11GetConfigResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"W\n\x19RestoreCustomHooksRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\"S\n\x15SetCustomHooksRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\"\x1c\n\x1aRestoreCustomHooksResponse\"\x18\n\x16SetCustomHooksResponse\"H\n\x18\x42\x61\x63kupCustomHooksRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\"E\n\x15GetCustomHooksRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\")\n\x19\x42\x61\x63kupCustomHooksResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"&\n\x16GetCustomHooksResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"_\n!CreateRepositoryFromBundleRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\"$\n\"CreateRepositoryFromBundleResponse\"B\n\x12\x46indLicenseRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\"\x8c\x01\n\x13\x46indLicenseResponse\x12\x1a\n\x12license_short_name\x18\x01 \x01(\t\x12\x14\n\x0clicense_name\x18\x02 \x01(\t\x12\x13\n\x0blicense_url\x18\x03 \x01(\t\x12\x14\n\x0clicense_path\x18\x04 \x01(\t\x12\x18\n\x10license_nickname\x18\x05 \x01(\t\"H\n\x18GetInfoAttributesRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\"/\n\x19GetInfoAttributesResponse\x12\x12\n\nattributes\x18\x01 \x01(\x0c\"H\n\x18\x43\x61lculateChecksumRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\"-\n\x19\x43\x61lculateChecksumResponse\x12\x10\n\x08\x63hecksum\x18\x01 \x01(\t\"B\n\x12GetSnapshotRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\"#\n\x13GetSnapshotResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"\xa3\x01\n#CreateRepositoryFromSnapshotRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x10\n\x08http_url\x18\x02 \x01(\t\x12\x11\n\thttp_auth\x18\x03 \x01(\t\x12\x18\n\x10resolved_address\x18\x05 \x01(\tJ\x04\x08\x04\x10\x05R\thttp_host\"&\n$CreateRepositoryFromSnapshotResponse\"p\n\x14GetRawChangesRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x15\n\rfrom_revision\x18\x02 \x01(\t\x12\x13\n\x0bto_revision\x18\x03 \x01(\t\"\xbe\x03\n\x15GetRawChangesResponse\x12<\n\x0braw_changes\x18\x01 \x03(\x0b\x32\'.gitaly.GetRawChangesResponse.RawChange\x1a\xe6\x02\n\tRawChange\x12\x0f\n\x07\x62lob_id\x18\x01 \x01(\t\x12\x0c\n\x04size\x18\x02 \x01(\x03\x12\x44\n\toperation\x18\x05 \x01(\x0e\x32\x31.gitaly.GetRawChangesResponse.RawChange.Operation\x12\x15\n\rraw_operation\x18\x06 \x01(\t\x12\x10\n\x08old_mode\x18\x07 \x01(\x05\x12\x10\n\x08new_mode\x18\x08 \x01(\x05\x12\x16\n\x0enew_path_bytes\x18\t \x01(\x0c\x12\x16\n\x0eold_path_bytes\x18\n \x01(\x0c\"i\n\tOperation\x12\x0b\n\x07UNKNOWN\x10\x00\x12\t\n\x05\x41\x44\x44\x45\x44\x10\x01\x12\n\n\x06\x43OPIED\x10\x02\x12\x0b\n\x07\x44\x45LETED\x10\x03\x12\x0c\n\x08MODIFIED\x10\x04\x12\x0b\n\x07RENAMED\x10\x05\x12\x10\n\x0cTYPE_CHANGED\x10\x06J\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05R\x08new_pathR\x08old_path\"\x93\x01\n\x18SearchFilesByNameRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\r\n\x05query\x18\x02 \x01(\t\x12\x0b\n\x03ref\x18\x03 \x01(\x0c\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\r\n\x05limit\x18\x05 \x01(\r\x12\x0e\n\x06offset\x18\x06 \x01(\r\"*\n\x19SearchFilesByNameResponse\x12\r\n\x05\x66iles\x18\x01 \x03(\x0c\"\x81\x01\n\x1bSearchFilesByContentRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\r\n\x05query\x18\x02 \x01(\t\x12\x0b\n\x03ref\x18\x03 \x01(\x0c\x12\x18\n\x10\x63hunked_response\x18\x04 \x01(\x08\"Y\n\x1cSearchFilesByContentResponse\x12\x0f\n\x07matches\x18\x01 \x03(\x0c\x12\x12\n\nmatch_data\x18\x02 \x01(\x0c\x12\x14\n\x0c\x65nd_of_match\x18\x03 \x01(\x08\"\x87\x01\n\x06Remote\x12\x0b\n\x03url\x18\x01 \x01(\t\x12!\n\x19http_authorization_header\x18\x03 \x01(\t\x12\x16\n\x0emirror_refmaps\x18\x04 \x03(\t\x12\x18\n\x10resolved_address\x18\x06 \x01(\tJ\x04\x08\x02\x10\x03J\x04\x08\x05\x10\x06R\x04nameR\thttp_host\"M\n\x1dGetObjectDirectorySizeRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\".\n\x1eGetObjectDirectorySizeResponse\x12\x0c\n\x04size\x18\x01 \x01(\x03\"G\n\x17RemoveRepositoryRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\"\x1a\n\x18RemoveRepositoryResponse\"^\n\x17RenameRepositoryRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x15\n\rrelative_path\x18\x02 \x01(\t\"\x1a\n\x18RenameRepositoryResponse\"n\n\x1aReplicateRepositoryRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\"\n\x06source\x18\x02 \x01(\x0b\x32\x12.gitaly.Repository\"\x1d\n\x1bReplicateRepositoryResponse\"\xdb\x01\n\x19OptimizeRepositoryRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12<\n\x08strategy\x18\x02 \x01(\x0e\x32*.gitaly.OptimizeRepositoryRequest.Strategy\"R\n\x08Strategy\x12\x18\n\x14STRATEGY_UNSPECIFIED\x10\x00\x12\x18\n\x14STRATEGY_HEURISTICAL\x10\x01\x12\x12\n\x0eSTRATEGY_EAGER\x10\x02\"\x1c\n\x1aOptimizeRepositoryResponse\"N\n\x1ePruneUnreachableObjectsRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\"!\n\x1fPruneUnreachableObjectsResponse\"P\n\x12SetFullPathRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x0c\n\x04path\x18\x02 \x01(\t\"\x15\n\x13SetFullPathResponse\"?\n\x0f\x46ullPathRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\" \n\x10\x46ullPathResponse\x12\x0c\n\x04path\x18\x01 \x01(\t\"(\n\x10RemoveAllRequest\x12\x14\n\x0cstorage_name\x18\x01 \x01(\t\"\x13\n\x11RemoveAllResponse2\x8f\x1e\n\x11RepositoryService\x12]\n\x10RepositoryExists\x12\x1f.gitaly.RepositoryExistsRequest\x1a .gitaly.RepositoryExistsResponse\"\x06\xfa\x97(\x02\x08\x02\x12W\n\x0eRepositorySize\x12\x1d.gitaly.RepositorySizeRequest\x1a\x1e.gitaly.RepositorySizeResponse\"\x06\xfa\x97(\x02\x08\x02\x12W\n\x0eRepositoryInfo\x12\x1d.gitaly.RepositoryInfoRequest\x1a\x1e.gitaly.RepositoryInfoResponse\"\x06\xfa\x97(\x02\x08\x02\x12Q\n\x0cObjectFormat\x12\x1b.gitaly.ObjectFormatRequest\x1a\x1c.gitaly.ObjectFormatResponse\"\x06\xfa\x97(\x02\x08\x02\x12\x63\n\x12\x41pplyGitattributes\x12!.gitaly.ApplyGitattributesRequest\x1a\".gitaly.ApplyGitattributesResponse\"\x06\xfa\x97(\x02\x08\x01\x12N\n\x0b\x46\x65tchRemote\x12\x1a.gitaly.FetchRemoteRequest\x1a\x1b.gitaly.FetchRemoteResponse\"\x06\xfa\x97(\x02\x08\x01\x12]\n\x10\x43reateRepository\x12\x1f.gitaly.CreateRepositoryRequest\x1a .gitaly.CreateRepositoryResponse\"\x06\xfa\x97(\x02\x08\x01\x12M\n\nGetArchive\x12\x19.gitaly.GetArchiveRequest\x1a\x1a.gitaly.GetArchiveResponse\"\x06\xfa\x97(\x02\x08\x02\x30\x01\x12]\n\x10HasLocalBranches\x12\x1f.gitaly.HasLocalBranchesRequest\x1a .gitaly.HasLocalBranchesResponse\"\x06\xfa\x97(\x02\x08\x02\x12`\n\x11\x46\x65tchSourceBranch\x12 .gitaly.FetchSourceBranchRequest\x1a!.gitaly.FetchSourceBranchResponse\"\x06\xfa\x97(\x02\x08\x01\x12\x39\n\x04\x46sck\x12\x13.gitaly.FsckRequest\x1a\x14.gitaly.FsckResponse\"\x06\xfa\x97(\x02\x08\x02\x12\x45\n\x08WriteRef\x12\x17.gitaly.WriteRefRequest\x1a\x18.gitaly.WriteRefResponse\"\x06\xfa\x97(\x02\x08\x01\x12T\n\rFindMergeBase\x12\x1c.gitaly.FindMergeBaseRequest\x1a\x1d.gitaly.FindMergeBaseResponse\"\x06\xfa\x97(\x02\x08\x02\x12K\n\nCreateFork\x12\x19.gitaly.CreateForkRequest\x1a\x1a.gitaly.CreateForkResponse\"\x06\xfa\x97(\x02\x08\x01\x12r\n\x17\x43reateRepositoryFromURL\x12&.gitaly.CreateRepositoryFromURLRequest\x1a\'.gitaly.CreateRepositoryFromURLResponse\"\x06\xfa\x97(\x02\x08\x01\x12S\n\x0c\x43reateBundle\x12\x1b.gitaly.CreateBundleRequest\x1a\x1c.gitaly.CreateBundleResponse\"\x06\xfa\x97(\x02\x08\x02\x30\x01\x12v\n\x17\x43reateBundleFromRefList\x12&.gitaly.CreateBundleFromRefListRequest\x1a\'.gitaly.CreateBundleFromRefListResponse\"\x06\xfa\x97(\x02\x08\x02(\x01\x30\x01\x12P\n\x0b\x46\x65tchBundle\x12\x1a.gitaly.FetchBundleRequest\x1a\x1b.gitaly.FetchBundleResponse\"\x06\xfa\x97(\x02\x08\x01(\x01\x12}\n\x1a\x43reateRepositoryFromBundle\x12).gitaly.CreateRepositoryFromBundleRequest\x1a*.gitaly.CreateRepositoryFromBundleResponse\"\x06\xfa\x97(\x02\x08\x01(\x01\x12J\n\tGetConfig\x12\x18.gitaly.GetConfigRequest\x1a\x19.gitaly.GetConfigResponse\"\x06\xfa\x97(\x02\x08\x02\x30\x01\x12N\n\x0b\x46indLicense\x12\x1a.gitaly.FindLicenseRequest\x1a\x1b.gitaly.FindLicenseResponse\"\x06\xfa\x97(\x02\x08\x02\x12\x62\n\x11GetInfoAttributes\x12 .gitaly.GetInfoAttributesRequest\x1a!.gitaly.GetInfoAttributesResponse\"\x06\xfa\x97(\x02\x08\x02\x30\x01\x12`\n\x11\x43\x61lculateChecksum\x12 .gitaly.CalculateChecksumRequest\x1a!.gitaly.CalculateChecksumResponse\"\x06\xfa\x97(\x02\x08\x02\x12P\n\x0bGetSnapshot\x12\x1a.gitaly.GetSnapshotRequest\x1a\x1b.gitaly.GetSnapshotResponse\"\x06\xfa\x97(\x02\x08\x02\x30\x01\x12\x81\x01\n\x1c\x43reateRepositoryFromSnapshot\x12+.gitaly.CreateRepositoryFromSnapshotRequest\x1a,.gitaly.CreateRepositoryFromSnapshotResponse\"\x06\xfa\x97(\x02\x08\x01\x12V\n\rGetRawChanges\x12\x1c.gitaly.GetRawChangesRequest\x1a\x1d.gitaly.GetRawChangesResponse\"\x06\xfa\x97(\x02\x08\x02\x30\x01\x12k\n\x14SearchFilesByContent\x12#.gitaly.SearchFilesByContentRequest\x1a$.gitaly.SearchFilesByContentResponse\"\x06\xfa\x97(\x02\x08\x02\x30\x01\x12\x62\n\x11SearchFilesByName\x12 .gitaly.SearchFilesByNameRequest\x1a!.gitaly.SearchFilesByNameResponse\"\x06\xfa\x97(\x02\x08\x02\x30\x01\x12h\n\x12RestoreCustomHooks\x12!.gitaly.RestoreCustomHooksRequest\x1a\".gitaly.RestoreCustomHooksResponse\"\t\x88\x02\x01\xfa\x97(\x02\x08\x01(\x01\x12Y\n\x0eSetCustomHooks\x12\x1d.gitaly.SetCustomHooksRequest\x1a\x1e.gitaly.SetCustomHooksResponse\"\x06\xfa\x97(\x02\x08\x01(\x01\x12\x65\n\x11\x42\x61\x63kupCustomHooks\x12 .gitaly.BackupCustomHooksRequest\x1a!.gitaly.BackupCustomHooksResponse\"\t\x88\x02\x01\xfa\x97(\x02\x08\x02\x30\x01\x12Y\n\x0eGetCustomHooks\x12\x1d.gitaly.GetCustomHooksRequest\x1a\x1e.gitaly.GetCustomHooksResponse\"\x06\xfa\x97(\x02\x08\x02\x30\x01\x12o\n\x16GetObjectDirectorySize\x12%.gitaly.GetObjectDirectorySizeRequest\x1a&.gitaly.GetObjectDirectorySizeResponse\"\x06\xfa\x97(\x02\x08\x02\x12]\n\x10RemoveRepository\x12\x1f.gitaly.RemoveRepositoryRequest\x1a .gitaly.RemoveRepositoryResponse\"\x06\xfa\x97(\x02\x08\x01\x12]\n\x10RenameRepository\x12\x1f.gitaly.RenameRepositoryRequest\x1a .gitaly.RenameRepositoryResponse\"\x06\xfa\x97(\x02\x08\x01\x12\x66\n\x13ReplicateRepository\x12\".gitaly.ReplicateRepositoryRequest\x1a#.gitaly.ReplicateRepositoryResponse\"\x06\xfa\x97(\x02\x08\x01\x12\x63\n\x12OptimizeRepository\x12!.gitaly.OptimizeRepositoryRequest\x1a\".gitaly.OptimizeRepositoryResponse\"\x06\xfa\x97(\x02\x08\x03\x12r\n\x17PruneUnreachableObjects\x12&.gitaly.PruneUnreachableObjectsRequest\x1a\'.gitaly.PruneUnreachableObjectsResponse\"\x06\xfa\x97(\x02\x08\x03\x12Q\n\x0bSetFullPath\x12\x1a.gitaly.SetFullPathRequest\x1a\x1b.gitaly.SetFullPathResponse\"\t\x88\x02\x01\xfa\x97(\x02\x08\x01\x12H\n\x08\x46ullPath\x12\x17.gitaly.FullPathRequest\x1a\x18.gitaly.FullPathResponse\"\t\x88\x02\x01\xfa\x97(\x02\x08\x02\x12\x46\n\tRemoveAll\x12\x18.gitaly.RemoveAllRequest\x1a\x19.gitaly.RemoveAllResponse\"\x04\x80\x98(\x01\x42\x34Z2gitlab.com/gitlab-org/gitaly/v16/proto/go/gitalypbb\x06proto3"
|
12
|
+
|
13
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
14
|
+
|
15
|
+
begin
|
16
|
+
pool.add_serialized_file(descriptor_data)
|
17
|
+
rescue TypeError => e
|
18
|
+
# Compatibility code: will be removed in the next major version.
|
19
|
+
require 'google/protobuf/descriptor_pb'
|
20
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
21
|
+
parsed.clear_dependency
|
22
|
+
serialized = parsed.class.encode(parsed)
|
23
|
+
file = pool.add_serialized_file(serialized)
|
24
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
25
|
+
imports = [
|
26
|
+
["gitaly.Repository", "shared.proto"],
|
27
|
+
]
|
28
|
+
imports.each do |type_name, expected_filename|
|
29
|
+
import_file = pool.lookup(type_name).file_descriptor
|
30
|
+
if import_file.name != expected_filename
|
31
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
386
32
|
end
|
387
33
|
end
|
34
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
35
|
+
warn "This will become an error in the next major version."
|
388
36
|
end
|
389
37
|
|
390
38
|
module Gitaly
|
391
39
|
RepositoryExistsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RepositoryExistsRequest").msgclass
|
392
40
|
RepositoryExistsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RepositoryExistsResponse").msgclass
|
393
|
-
RepackIncrementalRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RepackIncrementalRequest").msgclass
|
394
|
-
RepackIncrementalResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RepackIncrementalResponse").msgclass
|
395
|
-
RepackFullRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RepackFullRequest").msgclass
|
396
|
-
RepackFullResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RepackFullResponse").msgclass
|
397
|
-
MidxRepackRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.MidxRepackRequest").msgclass
|
398
|
-
MidxRepackResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.MidxRepackResponse").msgclass
|
399
|
-
GarbageCollectRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GarbageCollectRequest").msgclass
|
400
|
-
GarbageCollectResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GarbageCollectResponse").msgclass
|
401
|
-
WriteCommitGraphRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.WriteCommitGraphRequest").msgclass
|
402
|
-
WriteCommitGraphRequest::SplitStrategy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.WriteCommitGraphRequest.SplitStrategy").enummodule
|
403
|
-
WriteCommitGraphResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.WriteCommitGraphResponse").msgclass
|
404
|
-
CleanupRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CleanupRequest").msgclass
|
405
|
-
CleanupResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CleanupResponse").msgclass
|
406
41
|
RepositorySizeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RepositorySizeRequest").msgclass
|
407
42
|
RepositorySizeResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RepositorySizeResponse").msgclass
|
408
43
|
RepositoryInfoRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RepositoryInfoRequest").msgclass
|
@@ -17,16 +17,6 @@ module Gitaly
|
|
17
17
|
|
18
18
|
# This comment is left unintentionally blank.
|
19
19
|
rpc :RepositoryExists, ::Gitaly::RepositoryExistsRequest, ::Gitaly::RepositoryExistsResponse
|
20
|
-
# RepackIncremental is deprecated in favor of OptimizeRepository.
|
21
|
-
rpc :RepackIncremental, ::Gitaly::RepackIncrementalRequest, ::Gitaly::RepackIncrementalResponse
|
22
|
-
# RepackFull is deprecated in favor of OptimizeRepository.
|
23
|
-
rpc :RepackFull, ::Gitaly::RepackFullRequest, ::Gitaly::RepackFullResponse
|
24
|
-
# MidxRepack is deprecated in favor of OptimizeRepository.
|
25
|
-
rpc :MidxRepack, ::Gitaly::MidxRepackRequest, ::Gitaly::MidxRepackResponse
|
26
|
-
# GarbageCollect is deprecated in favor of OptimizeRepository.
|
27
|
-
rpc :GarbageCollect, ::Gitaly::GarbageCollectRequest, ::Gitaly::GarbageCollectResponse
|
28
|
-
# WriteCommitGraph is deprecated in favor of OptimizeRepository.
|
29
|
-
rpc :WriteCommitGraph, ::Gitaly::WriteCommitGraphRequest, ::Gitaly::WriteCommitGraphResponse
|
30
20
|
# RepositorySize returns information on the complete on-disk repository size. If you need more
|
31
21
|
# detailed information about the size of various sub-structures you should instead use the
|
32
22
|
# RepositoryInfo RPC.
|
@@ -56,7 +46,13 @@ module Gitaly
|
|
56
46
|
rpc :WriteRef, ::Gitaly::WriteRefRequest, ::Gitaly::WriteRefResponse
|
57
47
|
# This comment is left unintentionally blank.
|
58
48
|
rpc :FindMergeBase, ::Gitaly::FindMergeBaseRequest, ::Gitaly::FindMergeBaseResponse
|
59
|
-
#
|
49
|
+
# CreateFork creates a new repository from a specific source repository. This new repository will
|
50
|
+
# have the same branches and tags as the source repository. Internal references will not be
|
51
|
+
# recreated in the forked repository.
|
52
|
+
#
|
53
|
+
# All objects of the source repository will be duplicated, that is there are no space savings by
|
54
|
+
# creating the repository like this. The newly created repository does not join the object pool
|
55
|
+
# of the source repository, if there is any.
|
60
56
|
rpc :CreateFork, ::Gitaly::CreateForkRequest, ::Gitaly::CreateForkResponse
|
61
57
|
# This comment is left unintentionally blank.
|
62
58
|
rpc :CreateRepositoryFromURL, ::Gitaly::CreateRepositoryFromURLRequest, ::Gitaly::CreateRepositoryFromURLResponse
|
@@ -81,8 +77,6 @@ module Gitaly
|
|
81
77
|
rpc :GetInfoAttributes, ::Gitaly::GetInfoAttributesRequest, stream(::Gitaly::GetInfoAttributesResponse)
|
82
78
|
# This comment is left unintentionally blank.
|
83
79
|
rpc :CalculateChecksum, ::Gitaly::CalculateChecksumRequest, ::Gitaly::CalculateChecksumResponse
|
84
|
-
# Cleanup is deprecated in favor of OptimizeRepository.
|
85
|
-
rpc :Cleanup, ::Gitaly::CleanupRequest, ::Gitaly::CleanupResponse
|
86
80
|
# This comment is left unintentionally blank.
|
87
81
|
rpc :GetSnapshot, ::Gitaly::GetSnapshotRequest, stream(::Gitaly::GetSnapshotResponse)
|
88
82
|
# This comment is left unintentionally blank.
|
@@ -1,63 +1,38 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
3
|
# source: server.proto
|
3
4
|
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
4
7
|
require 'google/protobuf/duration_pb'
|
5
8
|
require 'lint_pb'
|
6
|
-
require 'google/protobuf'
|
7
9
|
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
add_message "gitaly.DiskStatisticsResponse.StorageStatus" do
|
31
|
-
optional :storage_name, :string, 1
|
32
|
-
optional :available, :int64, 2
|
33
|
-
optional :used, :int64, 3
|
34
|
-
end
|
35
|
-
add_message "gitaly.ClockSyncedRequest" do
|
36
|
-
optional :ntp_host, :string, 1
|
37
|
-
optional :drift_threshold, :message, 3, "google.protobuf.Duration"
|
38
|
-
end
|
39
|
-
add_message "gitaly.ClockSyncedResponse" do
|
40
|
-
optional :synced, :bool, 1
|
41
|
-
end
|
42
|
-
add_message "gitaly.ReadinessCheckRequest" do
|
43
|
-
optional :timeout, :message, 1, "google.protobuf.Duration"
|
44
|
-
end
|
45
|
-
add_message "gitaly.ReadinessCheckResponse" do
|
46
|
-
oneof :Result do
|
47
|
-
optional :ok_response, :message, 1, "gitaly.ReadinessCheckResponse.Ok"
|
48
|
-
optional :failure_response, :message, 2, "gitaly.ReadinessCheckResponse.Failure"
|
49
|
-
end
|
50
|
-
end
|
51
|
-
add_message "gitaly.ReadinessCheckResponse.Ok" do
|
52
|
-
end
|
53
|
-
add_message "gitaly.ReadinessCheckResponse.Failure" do
|
54
|
-
repeated :failed_checks, :message, 1, "gitaly.ReadinessCheckResponse.Failure.Response"
|
55
|
-
end
|
56
|
-
add_message "gitaly.ReadinessCheckResponse.Failure.Response" do
|
57
|
-
optional :name, :string, 1
|
58
|
-
optional :error_message, :string, 2
|
10
|
+
|
11
|
+
descriptor_data = "\n\x0cserver.proto\x12\x06gitaly\x1a\x1egoogle/protobuf/duration.proto\x1a\nlint.proto\"\x13\n\x11ServerInfoRequest\"\x96\x02\n\x12ServerInfoResponse\x12\x16\n\x0eserver_version\x18\x01 \x01(\t\x12\x13\n\x0bgit_version\x18\x02 \x01(\t\x12\x42\n\x10storage_statuses\x18\x03 \x03(\x0b\x32(.gitaly.ServerInfoResponse.StorageStatus\x1a\x8e\x01\n\rStorageStatus\x12\x14\n\x0cstorage_name\x18\x01 \x01(\t\x12\x10\n\x08readable\x18\x02 \x01(\x08\x12\x11\n\twriteable\x18\x03 \x01(\x08\x12\x0f\n\x07\x66s_type\x18\x04 \x01(\t\x12\x15\n\rfilesystem_id\x18\x05 \x01(\t\x12\x1a\n\x12replication_factor\x18\x06 \x01(\r\"\x17\n\x15\x44iskStatisticsRequest\"\xa8\x01\n\x16\x44iskStatisticsResponse\x12\x46\n\x10storage_statuses\x18\x01 \x03(\x0b\x32,.gitaly.DiskStatisticsResponse.StorageStatus\x1a\x46\n\rStorageStatus\x12\x14\n\x0cstorage_name\x18\x01 \x01(\t\x12\x11\n\tavailable\x18\x02 \x01(\x03\x12\x0c\n\x04used\x18\x03 \x01(\x03\"x\n\x12\x43lockSyncedRequest\x12\x10\n\x08ntp_host\x18\x01 \x01(\t\x12\x32\n\x0f\x64rift_threshold\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationJ\x04\x08\x02\x10\x03R\x16\x64rift_threshold_millis\"%\n\x13\x43lockSyncedResponse\x12\x0e\n\x06synced\x18\x01 \x01(\x08\"C\n\x15ReadinessCheckRequest\x12*\n\x07timeout\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\"\xab\x02\n\x16ReadinessCheckResponse\x12\x38\n\x0bok_response\x18\x01 \x01(\x0b\x32!.gitaly.ReadinessCheckResponse.OkH\x00\x12\x42\n\x10\x66\x61ilure_response\x18\x02 \x01(\x0b\x32&.gitaly.ReadinessCheckResponse.FailureH\x00\x1a\x04\n\x02Ok\x1a\x82\x01\n\x07\x46\x61ilure\x12\x46\n\rfailed_checks\x18\x01 \x03(\x0b\x32/.gitaly.ReadinessCheckResponse.Failure.Response\x1a/\n\x08Response\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x15\n\rerror_message\x18\x02 \x01(\tB\x08\n\x06Result2\xc4\x02\n\rServerService\x12\x43\n\nServerInfo\x12\x19.gitaly.ServerInfoRequest\x1a\x1a.gitaly.ServerInfoResponse\x12O\n\x0e\x44iskStatistics\x12\x1d.gitaly.DiskStatisticsRequest\x1a\x1e.gitaly.DiskStatisticsResponse\x12\x46\n\x0b\x43lockSynced\x12\x1a.gitaly.ClockSyncedRequest\x1a\x1b.gitaly.ClockSyncedResponse\x12O\n\x0eReadinessCheck\x12\x1d.gitaly.ReadinessCheckRequest\x1a\x1e.gitaly.ReadinessCheckResponse\x1a\x04\xf0\x97(\x01\x42\x34Z2gitlab.com/gitlab-org/gitaly/v16/proto/go/gitalypbb\x06proto3"
|
12
|
+
|
13
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
14
|
+
|
15
|
+
begin
|
16
|
+
pool.add_serialized_file(descriptor_data)
|
17
|
+
rescue TypeError => e
|
18
|
+
# Compatibility code: will be removed in the next major version.
|
19
|
+
require 'google/protobuf/descriptor_pb'
|
20
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
21
|
+
parsed.clear_dependency
|
22
|
+
serialized = parsed.class.encode(parsed)
|
23
|
+
file = pool.add_serialized_file(serialized)
|
24
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
25
|
+
imports = [
|
26
|
+
["google.protobuf.Duration", "google/protobuf/duration.proto"],
|
27
|
+
]
|
28
|
+
imports.each do |type_name, expected_filename|
|
29
|
+
import_file = pool.lookup(type_name).file_descriptor
|
30
|
+
if import_file.name != expected_filename
|
31
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
59
32
|
end
|
60
33
|
end
|
34
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
35
|
+
warn "This will become an error in the next major version."
|
61
36
|
end
|
62
37
|
|
63
38
|
module Gitaly
|