gitaly 0.30.0 → 1.58.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/ruby/proto/README.md +5 -0
- data/ruby/proto/gitaly.rb +37 -0
- data/ruby/proto/gitaly/blob_pb.rb +86 -0
- data/ruby/{lib → proto}/gitaly/blob_services_pb.rb +4 -0
- data/ruby/proto/gitaly/cleanup_pb.rb +41 -0
- data/ruby/proto/gitaly/cleanup_services_pb.rb +25 -0
- data/ruby/{lib → proto}/gitaly/commit_pb.rb +92 -0
- data/ruby/{lib → proto}/gitaly/commit_services_pb.rb +11 -0
- data/ruby/proto/gitaly/conflicts_pb.rb +58 -0
- data/ruby/proto/gitaly/conflicts_services_pb.rb +23 -0
- data/ruby/{lib → proto}/gitaly/diff_pb.rb +38 -0
- data/ruby/{lib → proto}/gitaly/diff_services_pb.rb +3 -0
- data/ruby/proto/gitaly/namespace_pb.rb +45 -0
- data/ruby/proto/gitaly/namespace_services_pb.rb +25 -0
- data/ruby/proto/gitaly/objectpool_pb.rb +65 -0
- data/ruby/proto/gitaly/objectpool_services_pb.rb +29 -0
- data/ruby/proto/gitaly/operations_pb.rb +292 -0
- data/ruby/proto/gitaly/operations_services_pb.rb +37 -0
- data/ruby/proto/gitaly/ref_pb.rb +219 -0
- data/ruby/{lib → proto}/gitaly/ref_services_pb.rb +12 -0
- data/ruby/proto/gitaly/remote_pb.rb +81 -0
- data/ruby/proto/gitaly/remote_services_pb.rb +28 -0
- data/ruby/proto/gitaly/repository-service_pb.rb +401 -0
- data/ruby/proto/gitaly/repository-service_services_pb.rb +60 -0
- data/ruby/proto/gitaly/server_pb.rb +28 -0
- data/ruby/{lib/gitaly/notifications_services_pb.rb → proto/gitaly/server_services_pb.rb} +5 -5
- data/ruby/proto/gitaly/shared_pb.rb +91 -0
- data/ruby/{lib → proto}/gitaly/smarthttp_pb.rb +7 -0
- data/ruby/{lib → proto}/gitaly/smarthttp_services_pb.rb +4 -0
- data/ruby/{lib → proto}/gitaly/ssh_pb.rb +15 -0
- data/ruby/{lib → proto}/gitaly/ssh_services_pb.rb +2 -0
- data/ruby/proto/gitaly/storage_pb.rb +27 -0
- data/ruby/proto/gitaly/storage_services_pb.rb +23 -0
- data/ruby/proto/gitaly/version.rb +4 -0
- data/ruby/proto/gitaly/wiki_pb.rb +149 -0
- data/ruby/proto/gitaly/wiki_services_pb.rb +31 -0
- metadata +41 -73
- data/ruby/.gitignore +0 -10
- data/ruby/Gemfile +0 -4
- data/ruby/LICENSE.txt +0 -21
- data/ruby/README.md +0 -41
- data/ruby/lib/gitaly.rb +0 -23
- data/ruby/lib/gitaly/blob_pb.rb +0 -23
- data/ruby/lib/gitaly/deprecated-services_pb.rb +0 -16
- data/ruby/lib/gitaly/deprecated-services_services_pb.rb +0 -120
- data/ruby/lib/gitaly/notifications_pb.rb +0 -18
- data/ruby/lib/gitaly/ref_pb.rb +0 -112
- data/ruby/lib/gitaly/repository-service_pb.rb +0 -71
- data/ruby/lib/gitaly/repository-service_services_pb.rb +0 -30
- data/ruby/lib/gitaly/shared_pb.rb +0 -37
- data/ruby/lib/gitaly/version.rb +0 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: ee50e8b5402afb89007110a6e059ce5a496419304a168934ecb4f878d68df66c
|
4
|
+
data.tar.gz: 5427d18d0dc1595ef4c988351071e4bfe21d680b00a2befa44d771e14db0879e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d273d5b6ade411bee28788e0a66b71ed5d327d587017cbac8135692c2958a447563df0d723e2f5c4ee102fc152607d0bcd42cfa26d4bf5c9d175c4298a77c2f
|
7
|
+
data.tar.gz: 171c3a89fd206bbcde086302a1c7cecca9e994612c46ac843b9e14de862b06dc6e58082f06fe80f67bde261bfd3dedeb9ba23035ce5ff88ebab5bbf06e40f55a
|
@@ -0,0 +1,37 @@
|
|
1
|
+
# This file is generated by generate-proto-ruby. Do not edit.
|
2
|
+
$:.unshift(File.expand_path('../gitaly', __FILE__))
|
3
|
+
|
4
|
+
require 'gitaly/version'
|
5
|
+
|
6
|
+
require 'gitaly/blob_services_pb'
|
7
|
+
|
8
|
+
require 'gitaly/cleanup_services_pb'
|
9
|
+
|
10
|
+
require 'gitaly/commit_services_pb'
|
11
|
+
|
12
|
+
require 'gitaly/conflicts_services_pb'
|
13
|
+
|
14
|
+
require 'gitaly/diff_services_pb'
|
15
|
+
|
16
|
+
require 'gitaly/namespace_services_pb'
|
17
|
+
|
18
|
+
require 'gitaly/objectpool_services_pb'
|
19
|
+
|
20
|
+
require 'gitaly/operations_services_pb'
|
21
|
+
|
22
|
+
require 'gitaly/ref_services_pb'
|
23
|
+
|
24
|
+
require 'gitaly/remote_services_pb'
|
25
|
+
|
26
|
+
require 'gitaly/repository-service_services_pb'
|
27
|
+
|
28
|
+
require 'gitaly/server_services_pb'
|
29
|
+
|
30
|
+
require 'gitaly/smarthttp_services_pb'
|
31
|
+
|
32
|
+
require 'gitaly/ssh_services_pb'
|
33
|
+
|
34
|
+
require 'gitaly/storage_services_pb'
|
35
|
+
|
36
|
+
require 'gitaly/wiki_services_pb'
|
37
|
+
|
@@ -0,0 +1,86 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: blob.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'shared_pb'
|
7
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
8
|
+
add_message "gitaly.GetBlobRequest" do
|
9
|
+
optional :repository, :message, 1, "gitaly.Repository"
|
10
|
+
optional :oid, :string, 2
|
11
|
+
optional :limit, :int64, 3
|
12
|
+
end
|
13
|
+
add_message "gitaly.GetBlobResponse" do
|
14
|
+
optional :size, :int64, 1
|
15
|
+
optional :data, :bytes, 2
|
16
|
+
optional :oid, :string, 3
|
17
|
+
end
|
18
|
+
add_message "gitaly.GetBlobsRequest" do
|
19
|
+
optional :repository, :message, 1, "gitaly.Repository"
|
20
|
+
repeated :revision_paths, :message, 2, "gitaly.GetBlobsRequest.RevisionPath"
|
21
|
+
optional :limit, :int64, 3
|
22
|
+
end
|
23
|
+
add_message "gitaly.GetBlobsRequest.RevisionPath" do
|
24
|
+
optional :revision, :string, 1
|
25
|
+
optional :path, :bytes, 2
|
26
|
+
end
|
27
|
+
add_message "gitaly.GetBlobsResponse" do
|
28
|
+
optional :size, :int64, 1
|
29
|
+
optional :data, :bytes, 2
|
30
|
+
optional :oid, :string, 3
|
31
|
+
optional :is_submodule, :bool, 4
|
32
|
+
optional :mode, :int32, 5
|
33
|
+
optional :revision, :string, 6
|
34
|
+
optional :path, :bytes, 7
|
35
|
+
end
|
36
|
+
add_message "gitaly.LFSPointer" do
|
37
|
+
optional :size, :int64, 1
|
38
|
+
optional :data, :bytes, 2
|
39
|
+
optional :oid, :string, 3
|
40
|
+
end
|
41
|
+
add_message "gitaly.NewBlobObject" do
|
42
|
+
optional :size, :int64, 1
|
43
|
+
optional :oid, :string, 2
|
44
|
+
optional :path, :bytes, 3
|
45
|
+
end
|
46
|
+
add_message "gitaly.GetLFSPointersRequest" do
|
47
|
+
optional :repository, :message, 1, "gitaly.Repository"
|
48
|
+
repeated :blob_ids, :string, 2
|
49
|
+
end
|
50
|
+
add_message "gitaly.GetLFSPointersResponse" do
|
51
|
+
repeated :lfs_pointers, :message, 1, "gitaly.LFSPointer"
|
52
|
+
end
|
53
|
+
add_message "gitaly.GetNewLFSPointersRequest" do
|
54
|
+
optional :repository, :message, 1, "gitaly.Repository"
|
55
|
+
optional :revision, :bytes, 2
|
56
|
+
optional :limit, :int32, 3
|
57
|
+
optional :not_in_all, :bool, 4
|
58
|
+
repeated :not_in_refs, :bytes, 5
|
59
|
+
end
|
60
|
+
add_message "gitaly.GetNewLFSPointersResponse" do
|
61
|
+
repeated :lfs_pointers, :message, 1, "gitaly.LFSPointer"
|
62
|
+
end
|
63
|
+
add_message "gitaly.GetAllLFSPointersRequest" do
|
64
|
+
optional :repository, :message, 1, "gitaly.Repository"
|
65
|
+
optional :revision, :bytes, 2
|
66
|
+
end
|
67
|
+
add_message "gitaly.GetAllLFSPointersResponse" do
|
68
|
+
repeated :lfs_pointers, :message, 1, "gitaly.LFSPointer"
|
69
|
+
end
|
70
|
+
end
|
71
|
+
|
72
|
+
module Gitaly
|
73
|
+
GetBlobRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetBlobRequest").msgclass
|
74
|
+
GetBlobResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetBlobResponse").msgclass
|
75
|
+
GetBlobsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetBlobsRequest").msgclass
|
76
|
+
GetBlobsRequest::RevisionPath = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetBlobsRequest.RevisionPath").msgclass
|
77
|
+
GetBlobsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetBlobsResponse").msgclass
|
78
|
+
LFSPointer = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.LFSPointer").msgclass
|
79
|
+
NewBlobObject = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.NewBlobObject").msgclass
|
80
|
+
GetLFSPointersRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetLFSPointersRequest").msgclass
|
81
|
+
GetLFSPointersResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetLFSPointersResponse").msgclass
|
82
|
+
GetNewLFSPointersRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetNewLFSPointersRequest").msgclass
|
83
|
+
GetNewLFSPointersResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetNewLFSPointersResponse").msgclass
|
84
|
+
GetAllLFSPointersRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetAllLFSPointersRequest").msgclass
|
85
|
+
GetAllLFSPointersResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetAllLFSPointersResponse").msgclass
|
86
|
+
end
|
@@ -18,6 +18,10 @@ module Gitaly
|
|
18
18
|
# ID. We use a stream to return a chunked arbitrarily large binary
|
19
19
|
# response
|
20
20
|
rpc :GetBlob, GetBlobRequest, stream(GetBlobResponse)
|
21
|
+
rpc :GetBlobs, GetBlobsRequest, stream(GetBlobsResponse)
|
22
|
+
rpc :GetLFSPointers, GetLFSPointersRequest, stream(GetLFSPointersResponse)
|
23
|
+
rpc :GetNewLFSPointers, GetNewLFSPointersRequest, stream(GetNewLFSPointersResponse)
|
24
|
+
rpc :GetAllLFSPointers, GetAllLFSPointersRequest, stream(GetAllLFSPointersResponse)
|
21
25
|
end
|
22
26
|
|
23
27
|
Stub = Service.rpc_stub_class
|
@@ -0,0 +1,41 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: cleanup.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'shared_pb'
|
7
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
8
|
+
add_message "gitaly.ApplyBfgObjectMapRequest" do
|
9
|
+
optional :repository, :message, 1, "gitaly.Repository"
|
10
|
+
optional :object_map, :bytes, 2
|
11
|
+
end
|
12
|
+
add_message "gitaly.ApplyBfgObjectMapResponse" do
|
13
|
+
end
|
14
|
+
add_message "gitaly.ApplyBfgObjectMapStreamRequest" do
|
15
|
+
optional :repository, :message, 1, "gitaly.Repository"
|
16
|
+
optional :object_map, :bytes, 2
|
17
|
+
end
|
18
|
+
add_message "gitaly.ApplyBfgObjectMapStreamResponse" do
|
19
|
+
repeated :entries, :message, 1, "gitaly.ApplyBfgObjectMapStreamResponse.Entry"
|
20
|
+
end
|
21
|
+
add_message "gitaly.ApplyBfgObjectMapStreamResponse.Entry" do
|
22
|
+
optional :type, :enum, 1, "gitaly.ObjectType"
|
23
|
+
optional :old_oid, :string, 2
|
24
|
+
optional :new_oid, :string, 3
|
25
|
+
end
|
26
|
+
add_message "gitaly.CloseSessionRequest" do
|
27
|
+
optional :session_id, :string, 1
|
28
|
+
end
|
29
|
+
add_message "gitaly.CloseSessionResponse" do
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
module Gitaly
|
34
|
+
ApplyBfgObjectMapRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ApplyBfgObjectMapRequest").msgclass
|
35
|
+
ApplyBfgObjectMapResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ApplyBfgObjectMapResponse").msgclass
|
36
|
+
ApplyBfgObjectMapStreamRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ApplyBfgObjectMapStreamRequest").msgclass
|
37
|
+
ApplyBfgObjectMapStreamResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ApplyBfgObjectMapStreamResponse").msgclass
|
38
|
+
ApplyBfgObjectMapStreamResponse::Entry = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ApplyBfgObjectMapStreamResponse.Entry").msgclass
|
39
|
+
CloseSessionRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CloseSessionRequest").msgclass
|
40
|
+
CloseSessionResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CloseSessionResponse").msgclass
|
41
|
+
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# Source: cleanup.proto for package 'gitaly'
|
3
|
+
|
4
|
+
require 'grpc'
|
5
|
+
require 'cleanup_pb'
|
6
|
+
|
7
|
+
module Gitaly
|
8
|
+
module CleanupService
|
9
|
+
class Service
|
10
|
+
|
11
|
+
include GRPC::GenericService
|
12
|
+
|
13
|
+
self.marshal_class_method = :encode
|
14
|
+
self.unmarshal_class_method = :decode
|
15
|
+
self.service_name = 'gitaly.CleanupService'
|
16
|
+
|
17
|
+
# Deprecated in favour of ApplyBfgObjectMapStream
|
18
|
+
rpc :ApplyBfgObjectMap, stream(ApplyBfgObjectMapRequest), ApplyBfgObjectMapResponse
|
19
|
+
rpc :ApplyBfgObjectMapStream, stream(ApplyBfgObjectMapStreamRequest), stream(ApplyBfgObjectMapStreamResponse)
|
20
|
+
rpc :CloseSession, CloseSessionRequest, CloseSessionResponse
|
21
|
+
end
|
22
|
+
|
23
|
+
Stub = Service.rpc_stub_class
|
24
|
+
end
|
25
|
+
end
|
@@ -56,10 +56,22 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
56
56
|
optional :after, :message, 3, "google.protobuf.Timestamp"
|
57
57
|
optional :before, :message, 4, "google.protobuf.Timestamp"
|
58
58
|
optional :path, :bytes, 5
|
59
|
+
optional :max_count, :int32, 6
|
60
|
+
optional :all, :bool, 7
|
59
61
|
end
|
60
62
|
add_message "gitaly.CountCommitsResponse" do
|
61
63
|
optional :count, :int32, 1
|
62
64
|
end
|
65
|
+
add_message "gitaly.CountDivergingCommitsRequest" do
|
66
|
+
optional :repository, :message, 1, "gitaly.Repository"
|
67
|
+
optional :from, :bytes, 2
|
68
|
+
optional :to, :bytes, 3
|
69
|
+
optional :max_count, :int32, 7
|
70
|
+
end
|
71
|
+
add_message "gitaly.CountDivergingCommitsResponse" do
|
72
|
+
optional :left_count, :int32, 1
|
73
|
+
optional :right_count, :int32, 2
|
74
|
+
end
|
63
75
|
add_message "gitaly.TreeEntry" do
|
64
76
|
optional :oid, :string, 1
|
65
77
|
optional :root_oid, :string, 2
|
@@ -67,6 +79,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
67
79
|
optional :type, :enum, 4, "gitaly.TreeEntry.EntryType"
|
68
80
|
optional :mode, :int32, 5
|
69
81
|
optional :commit_oid, :string, 6
|
82
|
+
optional :flat_path, :bytes, 7
|
70
83
|
end
|
71
84
|
add_enum "gitaly.TreeEntry.EntryType" do
|
72
85
|
value :BLOB, 0
|
@@ -77,6 +90,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
77
90
|
optional :repository, :message, 1, "gitaly.Repository"
|
78
91
|
optional :revision, :bytes, 2
|
79
92
|
optional :path, :bytes, 3
|
93
|
+
optional :recursive, :bool, 4
|
80
94
|
end
|
81
95
|
add_message "gitaly.GetTreeEntriesResponse" do
|
82
96
|
repeated :entries, :message, 1, "gitaly.TreeEntry"
|
@@ -95,6 +109,20 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
95
109
|
add_message "gitaly.FindCommitResponse" do
|
96
110
|
optional :commit, :message, 1, "gitaly.GitCommit"
|
97
111
|
end
|
112
|
+
add_message "gitaly.ListCommitsByOidRequest" do
|
113
|
+
optional :repository, :message, 1, "gitaly.Repository"
|
114
|
+
repeated :oid, :string, 2
|
115
|
+
end
|
116
|
+
add_message "gitaly.ListCommitsByOidResponse" do
|
117
|
+
repeated :commits, :message, 1, "gitaly.GitCommit"
|
118
|
+
end
|
119
|
+
add_message "gitaly.ListCommitsByRefNameRequest" do
|
120
|
+
optional :repository, :message, 1, "gitaly.Repository"
|
121
|
+
repeated :ref_names, :bytes, 2
|
122
|
+
end
|
123
|
+
add_message "gitaly.ListCommitsByRefNameResponse" do
|
124
|
+
repeated :commits, :message, 1, "gitaly.GitCommit"
|
125
|
+
end
|
98
126
|
add_message "gitaly.FindAllCommitsRequest" do
|
99
127
|
optional :repository, :message, 1, "gitaly.Repository"
|
100
128
|
optional :revision, :bytes, 2
|
@@ -121,6 +149,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
121
149
|
optional :disable_walk, :bool, 8
|
122
150
|
optional :after, :message, 9, "google.protobuf.Timestamp"
|
123
151
|
optional :before, :message, 10, "google.protobuf.Timestamp"
|
152
|
+
optional :all, :bool, 11
|
124
153
|
end
|
125
154
|
add_message "gitaly.FindCommitsResponse" do
|
126
155
|
repeated :commits, :message, 1, "gitaly.GitCommit"
|
@@ -153,6 +182,20 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
153
182
|
add_message "gitaly.LastCommitForPathResponse" do
|
154
183
|
optional :commit, :message, 1, "gitaly.GitCommit"
|
155
184
|
end
|
185
|
+
add_message "gitaly.ListLastCommitsForTreeRequest" do
|
186
|
+
optional :repository, :message, 1, "gitaly.Repository"
|
187
|
+
optional :revision, :string, 2
|
188
|
+
optional :path, :bytes, 3
|
189
|
+
optional :limit, :int32, 4
|
190
|
+
optional :offset, :int32, 5
|
191
|
+
end
|
192
|
+
add_message "gitaly.ListLastCommitsForTreeResponse" do
|
193
|
+
repeated :commits, :message, 1, "gitaly.ListLastCommitsForTreeResponse.CommitForTree"
|
194
|
+
end
|
195
|
+
add_message "gitaly.ListLastCommitsForTreeResponse.CommitForTree" do
|
196
|
+
optional :commit, :message, 2, "gitaly.GitCommit"
|
197
|
+
optional :path_bytes, :bytes, 4
|
198
|
+
end
|
156
199
|
add_message "gitaly.CommitsByMessageRequest" do
|
157
200
|
optional :repository, :message, 1, "gitaly.Repository"
|
158
201
|
optional :revision, :bytes, 2
|
@@ -164,6 +207,38 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
164
207
|
add_message "gitaly.CommitsByMessageResponse" do
|
165
208
|
repeated :commits, :message, 1, "gitaly.GitCommit"
|
166
209
|
end
|
210
|
+
add_message "gitaly.FilterShasWithSignaturesRequest" do
|
211
|
+
optional :repository, :message, 1, "gitaly.Repository"
|
212
|
+
repeated :shas, :bytes, 2
|
213
|
+
end
|
214
|
+
add_message "gitaly.FilterShasWithSignaturesResponse" do
|
215
|
+
repeated :shas, :bytes, 1
|
216
|
+
end
|
217
|
+
add_message "gitaly.ExtractCommitSignatureRequest" do
|
218
|
+
optional :repository, :message, 1, "gitaly.Repository"
|
219
|
+
optional :commit_id, :string, 2
|
220
|
+
end
|
221
|
+
add_message "gitaly.ExtractCommitSignatureResponse" do
|
222
|
+
optional :signature, :bytes, 1
|
223
|
+
optional :signed_text, :bytes, 2
|
224
|
+
end
|
225
|
+
add_message "gitaly.GetCommitSignaturesRequest" do
|
226
|
+
optional :repository, :message, 1, "gitaly.Repository"
|
227
|
+
repeated :commit_ids, :string, 2
|
228
|
+
end
|
229
|
+
add_message "gitaly.GetCommitSignaturesResponse" do
|
230
|
+
optional :commit_id, :string, 1
|
231
|
+
optional :signature, :bytes, 2
|
232
|
+
optional :signed_text, :bytes, 3
|
233
|
+
end
|
234
|
+
add_message "gitaly.GetCommitMessagesRequest" do
|
235
|
+
optional :repository, :message, 1, "gitaly.Repository"
|
236
|
+
repeated :commit_ids, :string, 2
|
237
|
+
end
|
238
|
+
add_message "gitaly.GetCommitMessagesResponse" do
|
239
|
+
optional :commit_id, :string, 1
|
240
|
+
optional :message, :bytes, 2
|
241
|
+
end
|
167
242
|
end
|
168
243
|
|
169
244
|
module Gitaly
|
@@ -178,6 +253,8 @@ module Gitaly
|
|
178
253
|
CommitsBetweenResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitsBetweenResponse").msgclass
|
179
254
|
CountCommitsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CountCommitsRequest").msgclass
|
180
255
|
CountCommitsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CountCommitsResponse").msgclass
|
256
|
+
CountDivergingCommitsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CountDivergingCommitsRequest").msgclass
|
257
|
+
CountDivergingCommitsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CountDivergingCommitsResponse").msgclass
|
181
258
|
TreeEntry = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.TreeEntry").msgclass
|
182
259
|
TreeEntry::EntryType = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.TreeEntry.EntryType").enummodule
|
183
260
|
GetTreeEntriesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetTreeEntriesRequest").msgclass
|
@@ -186,6 +263,10 @@ module Gitaly
|
|
186
263
|
ListFilesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListFilesResponse").msgclass
|
187
264
|
FindCommitRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindCommitRequest").msgclass
|
188
265
|
FindCommitResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindCommitResponse").msgclass
|
266
|
+
ListCommitsByOidRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListCommitsByOidRequest").msgclass
|
267
|
+
ListCommitsByOidResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListCommitsByOidResponse").msgclass
|
268
|
+
ListCommitsByRefNameRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListCommitsByRefNameRequest").msgclass
|
269
|
+
ListCommitsByRefNameResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListCommitsByRefNameResponse").msgclass
|
189
270
|
FindAllCommitsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindAllCommitsRequest").msgclass
|
190
271
|
FindAllCommitsRequest::Order = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindAllCommitsRequest.Order").enummodule
|
191
272
|
FindAllCommitsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindAllCommitsResponse").msgclass
|
@@ -198,6 +279,17 @@ module Gitaly
|
|
198
279
|
RawBlameResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RawBlameResponse").msgclass
|
199
280
|
LastCommitForPathRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.LastCommitForPathRequest").msgclass
|
200
281
|
LastCommitForPathResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.LastCommitForPathResponse").msgclass
|
282
|
+
ListLastCommitsForTreeRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListLastCommitsForTreeRequest").msgclass
|
283
|
+
ListLastCommitsForTreeResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListLastCommitsForTreeResponse").msgclass
|
284
|
+
ListLastCommitsForTreeResponse::CommitForTree = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListLastCommitsForTreeResponse.CommitForTree").msgclass
|
201
285
|
CommitsByMessageRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitsByMessageRequest").msgclass
|
202
286
|
CommitsByMessageResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitsByMessageResponse").msgclass
|
287
|
+
FilterShasWithSignaturesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FilterShasWithSignaturesRequest").msgclass
|
288
|
+
FilterShasWithSignaturesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FilterShasWithSignaturesResponse").msgclass
|
289
|
+
ExtractCommitSignatureRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ExtractCommitSignatureRequest").msgclass
|
290
|
+
ExtractCommitSignatureResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ExtractCommitSignatureResponse").msgclass
|
291
|
+
GetCommitSignaturesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetCommitSignaturesRequest").msgclass
|
292
|
+
GetCommitSignaturesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetCommitSignaturesResponse").msgclass
|
293
|
+
GetCommitMessagesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetCommitMessagesRequest").msgclass
|
294
|
+
GetCommitMessagesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetCommitMessagesResponse").msgclass
|
203
295
|
end
|
@@ -18,6 +18,7 @@ module Gitaly
|
|
18
18
|
rpc :TreeEntry, TreeEntryRequest, stream(TreeEntryResponse)
|
19
19
|
rpc :CommitsBetween, CommitsBetweenRequest, stream(CommitsBetweenResponse)
|
20
20
|
rpc :CountCommits, CountCommitsRequest, CountCommitsResponse
|
21
|
+
rpc :CountDivergingCommits, CountDivergingCommitsRequest, CountDivergingCommitsResponse
|
21
22
|
rpc :GetTreeEntries, GetTreeEntriesRequest, stream(GetTreeEntriesResponse)
|
22
23
|
rpc :ListFiles, ListFilesRequest, stream(ListFilesResponse)
|
23
24
|
rpc :FindCommit, FindCommitRequest, FindCommitResponse
|
@@ -28,7 +29,17 @@ module Gitaly
|
|
28
29
|
rpc :CommitLanguages, CommitLanguagesRequest, CommitLanguagesResponse
|
29
30
|
rpc :RawBlame, RawBlameRequest, stream(RawBlameResponse)
|
30
31
|
rpc :LastCommitForPath, LastCommitForPathRequest, LastCommitForPathResponse
|
32
|
+
rpc :ListLastCommitsForTree, ListLastCommitsForTreeRequest, stream(ListLastCommitsForTreeResponse)
|
31
33
|
rpc :CommitsByMessage, CommitsByMessageRequest, stream(CommitsByMessageResponse)
|
34
|
+
rpc :ListCommitsByOid, ListCommitsByOidRequest, stream(ListCommitsByOidResponse)
|
35
|
+
rpc :ListCommitsByRefName, ListCommitsByRefNameRequest, stream(ListCommitsByRefNameResponse)
|
36
|
+
rpc :FilterShasWithSignatures, stream(FilterShasWithSignaturesRequest), stream(FilterShasWithSignaturesResponse)
|
37
|
+
# ExtractCommitSignature returns a stream because the signed text may be
|
38
|
+
# arbitrarily large and signature verification is impossible without the
|
39
|
+
# full text.
|
40
|
+
rpc :ExtractCommitSignature, ExtractCommitSignatureRequest, stream(ExtractCommitSignatureResponse)
|
41
|
+
rpc :GetCommitSignatures, GetCommitSignaturesRequest, stream(GetCommitSignaturesResponse)
|
42
|
+
rpc :GetCommitMessages, GetCommitMessagesRequest, stream(GetCommitMessagesResponse)
|
32
43
|
end
|
33
44
|
|
34
45
|
Stub = Service.rpc_stub_class
|
@@ -0,0 +1,58 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: conflicts.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'shared_pb'
|
7
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
8
|
+
add_message "gitaly.ListConflictFilesRequest" do
|
9
|
+
optional :repository, :message, 1, "gitaly.Repository"
|
10
|
+
optional :our_commit_oid, :string, 2
|
11
|
+
optional :their_commit_oid, :string, 3
|
12
|
+
end
|
13
|
+
add_message "gitaly.ConflictFileHeader" do
|
14
|
+
optional :repository, :message, 1, "gitaly.Repository"
|
15
|
+
optional :commit_oid, :string, 2
|
16
|
+
optional :their_path, :bytes, 3
|
17
|
+
optional :our_path, :bytes, 4
|
18
|
+
optional :our_mode, :int32, 5
|
19
|
+
end
|
20
|
+
add_message "gitaly.ConflictFile" do
|
21
|
+
oneof :conflict_file_payload do
|
22
|
+
optional :header, :message, 1, "gitaly.ConflictFileHeader"
|
23
|
+
optional :content, :bytes, 2
|
24
|
+
end
|
25
|
+
end
|
26
|
+
add_message "gitaly.ListConflictFilesResponse" do
|
27
|
+
repeated :files, :message, 1, "gitaly.ConflictFile"
|
28
|
+
end
|
29
|
+
add_message "gitaly.ResolveConflictsRequestHeader" do
|
30
|
+
optional :repository, :message, 1, "gitaly.Repository"
|
31
|
+
optional :our_commit_oid, :string, 2
|
32
|
+
optional :target_repository, :message, 3, "gitaly.Repository"
|
33
|
+
optional :their_commit_oid, :string, 4
|
34
|
+
optional :source_branch, :bytes, 5
|
35
|
+
optional :target_branch, :bytes, 6
|
36
|
+
optional :commit_message, :bytes, 7
|
37
|
+
optional :user, :message, 8, "gitaly.User"
|
38
|
+
end
|
39
|
+
add_message "gitaly.ResolveConflictsRequest" do
|
40
|
+
oneof :resolve_conflicts_request_payload do
|
41
|
+
optional :header, :message, 1, "gitaly.ResolveConflictsRequestHeader"
|
42
|
+
optional :files_json, :bytes, 2
|
43
|
+
end
|
44
|
+
end
|
45
|
+
add_message "gitaly.ResolveConflictsResponse" do
|
46
|
+
optional :resolution_error, :string, 1
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
50
|
+
module Gitaly
|
51
|
+
ListConflictFilesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListConflictFilesRequest").msgclass
|
52
|
+
ConflictFileHeader = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ConflictFileHeader").msgclass
|
53
|
+
ConflictFile = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ConflictFile").msgclass
|
54
|
+
ListConflictFilesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListConflictFilesResponse").msgclass
|
55
|
+
ResolveConflictsRequestHeader = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ResolveConflictsRequestHeader").msgclass
|
56
|
+
ResolveConflictsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ResolveConflictsRequest").msgclass
|
57
|
+
ResolveConflictsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ResolveConflictsResponse").msgclass
|
58
|
+
end
|