gitaly-proto 0.41.0 → 0.42.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 77088f81f0a216abc65f96fe4e9a66b0e74ba306
4
- data.tar.gz: a30669db24464057a9302941bb7624b7497af1b3
3
+ metadata.gz: b11d88019a6e6fcea93c88c2f454b1e7cc0ad483
4
+ data.tar.gz: c535037bd4dd4fac02b5a31eaf97593d18842a6a
5
5
  SHA512:
6
- metadata.gz: '044894385d4817dfa95872448b59f1fd3c30c4d71971ab5f09b49d05a13ce2254a9259118b02b2a541ea2ad0fa5f89204b60d8760a6b64ffcb16c343ad602037'
7
- data.tar.gz: 94e9403ceb7b3ce1dd198b90786d514384928d77cede01085f20fbbb1b53b30a23150de60f1f5aee10d930c67b765fc88aaa2d7437d4745f392833087fed49aa
6
+ metadata.gz: 0f04ef9339979313b41a11225d1be35a856e2c0ed9a2b010f2b32be32f956830e7385f4685b267cde392bd16b5bed366d0dc6a29d1cda561b8b128eaa184707e
7
+ data.tar.gz: 12de35141fad21da3d29d805e2e95815080fe28e91c09cd6b0d38e5ad5be42c4ab4e06a631b741e0f190d9d174391d082eed0df9ccf3a9aa8be710628efdec02
data/ruby/lib/gitaly.rb CHANGED
@@ -25,3 +25,5 @@ require 'gitaly/smarthttp_services_pb'
25
25
 
26
26
  require 'gitaly/ssh_services_pb'
27
27
 
28
+ require 'gitaly/wiki_services_pb'
29
+
@@ -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 :applied, :bool, 2
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
@@ -1,4 +1,4 @@
1
- # This file was auto-generated by /Volumes/GitLab.com/gitlab-development-kit/gitaly/src/gitlab.com/gitlab-org/gitaly-proto/_support/release
1
+ # This file was auto-generated by _support/release
2
2
  module Gitaly
3
- VERSION = "0.41.0"
3
+ VERSION = "0.42.0"
4
4
  end
@@ -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.41.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-09 00:00:00.000000000 Z
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