gitaly-proto 0.41.0 → 0.42.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ruby/lib/gitaly.rb +2 -0
- data/ruby/lib/gitaly/blob_pb.rb +12 -0
- data/ruby/lib/gitaly/blob_services_pb.rb +5 -0
- data/ruby/lib/gitaly/operations_pb.rb +7 -1
- data/ruby/lib/gitaly/version.rb +2 -2
- data/ruby/lib/gitaly/wiki_pb.rb +25 -0
- data/ruby/lib/gitaly/wiki_services_pb.rb +22 -0
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b11d88019a6e6fcea93c88c2f454b1e7cc0ad483
|
4
|
+
data.tar.gz: c535037bd4dd4fac02b5a31eaf97593d18842a6a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0f04ef9339979313b41a11225d1be35a856e2c0ed9a2b010f2b32be32f956830e7385f4685b267cde392bd16b5bed366d0dc6a29d1cda561b8b128eaa184707e
|
7
|
+
data.tar.gz: 12de35141fad21da3d29d805e2e95815080fe28e91c09cd6b0d38e5ad5be42c4ab4e06a631b741e0f190d9d174391d082eed0df9ccf3a9aa8be710628efdec02
|
data/ruby/lib/gitaly.rb
CHANGED
data/ruby/lib/gitaly/blob_pb.rb
CHANGED
@@ -15,9 +15,21 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
15
15
|
optional :data, :bytes, 2
|
16
16
|
optional :oid, :string, 3
|
17
17
|
end
|
18
|
+
add_message "gitaly.GetBlobsRequest" do
|
19
|
+
optional :repository, :message, 1, "gitaly.Repository"
|
20
|
+
repeated :oids, :string, 2
|
21
|
+
optional :limit, :int64, 3
|
22
|
+
end
|
23
|
+
add_message "gitaly.GetBlobsResponse" do
|
24
|
+
optional :size, :int64, 1
|
25
|
+
optional :data, :bytes, 2
|
26
|
+
optional :oid, :string, 3
|
27
|
+
end
|
18
28
|
end
|
19
29
|
|
20
30
|
module Gitaly
|
21
31
|
GetBlobRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetBlobRequest").msgclass
|
22
32
|
GetBlobResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetBlobResponse").msgclass
|
33
|
+
GetBlobsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetBlobsRequest").msgclass
|
34
|
+
GetBlobsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetBlobsResponse").msgclass
|
23
35
|
end
|
@@ -18,6 +18,11 @@ 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
|
+
# GetBlobsBySHA returns the contents of a blob objects referenced by their object
|
22
|
+
# ID. We use a stream to return a chunked arbitrarily large binary response.
|
23
|
+
# The blobs are sent in a continous stream, the caller is responsible for spliting
|
24
|
+
# them up into multiple blobs by their object IDs.
|
25
|
+
rpc :GetBlobs, GetBlobsRequest, stream(GetBlobsResponse)
|
21
26
|
end
|
22
27
|
|
23
28
|
Stub = Service.rpc_stub_class
|
@@ -53,7 +53,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
53
53
|
end
|
54
54
|
add_message "gitaly.UserMergeBranchResponse" do
|
55
55
|
optional :commit_id, :string, 1
|
56
|
-
optional :
|
56
|
+
optional :branch_update, :message, 3, "gitaly.OperationBranchUpdate"
|
57
|
+
end
|
58
|
+
add_message "gitaly.OperationBranchUpdate" do
|
59
|
+
optional :commit_id, :string, 1
|
60
|
+
optional :repo_created, :bool, 2
|
61
|
+
optional :branch_created, :bool, 3
|
57
62
|
end
|
58
63
|
end
|
59
64
|
|
@@ -68,4 +73,5 @@ module Gitaly
|
|
68
73
|
UserCreateTagResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCreateTagResponse").msgclass
|
69
74
|
UserMergeBranchRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserMergeBranchRequest").msgclass
|
70
75
|
UserMergeBranchResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserMergeBranchResponse").msgclass
|
76
|
+
OperationBranchUpdate = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.OperationBranchUpdate").msgclass
|
71
77
|
end
|
data/ruby/lib/gitaly/version.rb
CHANGED
@@ -0,0 +1,25 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: wiki.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'shared_pb'
|
7
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
8
|
+
add_message "gitaly.WikiPageVersion" do
|
9
|
+
optional :commit, :message, 1, "gitaly.GitCommit"
|
10
|
+
optional :format, :string, 2
|
11
|
+
end
|
12
|
+
add_message "gitaly.WikiGetPageVersionsRequest" do
|
13
|
+
optional :repository, :message, 1, "gitaly.Repository"
|
14
|
+
optional :page_path, :bytes, 2
|
15
|
+
end
|
16
|
+
add_message "gitaly.WikiGetPageVersionsResponse" do
|
17
|
+
repeated :versions, :message, 1, "gitaly.WikiPageVersion"
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
module Gitaly
|
22
|
+
WikiPageVersion = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.WikiPageVersion").msgclass
|
23
|
+
WikiGetPageVersionsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.WikiGetPageVersionsRequest").msgclass
|
24
|
+
WikiGetPageVersionsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.WikiGetPageVersionsResponse").msgclass
|
25
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# Source: wiki.proto for package 'gitaly'
|
3
|
+
|
4
|
+
require 'grpc'
|
5
|
+
require 'wiki_pb'
|
6
|
+
|
7
|
+
module Gitaly
|
8
|
+
module WikiService
|
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.WikiService'
|
16
|
+
|
17
|
+
rpc :WikiGetPageVersions, WikiGetPageVersionsRequest, stream(WikiGetPageVersionsResponse)
|
18
|
+
end
|
19
|
+
|
20
|
+
Stub = Service.rpc_stub_class
|
21
|
+
end
|
22
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gitaly-proto
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.42.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jacob Vosmaer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-10-
|
11
|
+
date: 2017-10-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-protobuf
|
@@ -73,6 +73,8 @@ files:
|
|
73
73
|
- ruby/lib/gitaly/ssh_pb.rb
|
74
74
|
- ruby/lib/gitaly/ssh_services_pb.rb
|
75
75
|
- ruby/lib/gitaly/version.rb
|
76
|
+
- ruby/lib/gitaly/wiki_pb.rb
|
77
|
+
- ruby/lib/gitaly/wiki_services_pb.rb
|
76
78
|
homepage: https://gitlab.com/gitlab-org/gitaly-proto
|
77
79
|
licenses:
|
78
80
|
- MIT
|