gitaly 0.3.0 → 0.4.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 +8 -2
- data/ruby/lib/gitaly/commit_pb.rb +21 -0
- data/ruby/lib/gitaly/commit_services_pb.rb +22 -0
- data/ruby/lib/gitaly/diff_pb.rb +28 -0
- data/ruby/lib/gitaly/diff_services_pb.rb +23 -0
- data/ruby/lib/gitaly/notifications_pb.rb +18 -0
- data/ruby/lib/gitaly/notifications_services_pb.rb +22 -0
- data/ruby/lib/gitaly/{gitaly_pb.rb → ref_pb.rb} +42 -46
- data/ruby/lib/gitaly/ref_services_pb.rb +28 -0
- data/ruby/lib/gitaly/smarthttp_pb.rb +19 -0
- data/ruby/lib/gitaly/smarthttp_services_pb.rb +4 -0
- data/ruby/lib/gitaly/version.rb +1 -1
- metadata +10 -4
- data/ruby/lib/gitaly/gitaly_services_pb.rb +0 -69
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ca18062d6f35ac682b525c713b6b4030b8e5965d
|
4
|
+
data.tar.gz: b48e0451275c33b2b25a5bdfc3d0aca3bc52c9ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6d4f21dfb417b97b423a8c25e724e5f2d4c8948a88d53da3fabd3d202da4294a6e8e3f33ab2a0c1e9ff6d8347a7fc84f52f71f823f3d3a1acd68a157e40736cd
|
7
|
+
data.tar.gz: b4ae219b4d71bb6cb08977190e77f3569ba381784d7baed719d92c2eabe0684782ea3123a8d3ffff99e0802072411af76c426ce91f490bce51b805c7583b0a2b
|
data/ruby/lib/gitaly.rb
CHANGED
@@ -1,9 +1,15 @@
|
|
1
|
-
# This file is generated by
|
1
|
+
# This file is generated by generate-from-proto. Do not edit.
|
2
2
|
$:.unshift(File.expand_path('../gitaly', __FILE__))
|
3
3
|
|
4
4
|
require 'gitaly/version'
|
5
5
|
|
6
|
-
require 'gitaly/
|
6
|
+
require 'gitaly/commit_services_pb'
|
7
|
+
|
8
|
+
require 'gitaly/diff_services_pb'
|
9
|
+
|
10
|
+
require 'gitaly/notifications_services_pb'
|
11
|
+
|
12
|
+
require 'gitaly/ref_services_pb'
|
7
13
|
|
8
14
|
require 'gitaly/smarthttp_services_pb'
|
9
15
|
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: commit.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'shared_pb'
|
7
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
8
|
+
add_message "gitaly.CommitIsAncestorRequest" do
|
9
|
+
optional :repository, :message, 1, "gitaly.Repository"
|
10
|
+
optional :ancestor_id, :string, 2
|
11
|
+
optional :child_id, :string, 3
|
12
|
+
end
|
13
|
+
add_message "gitaly.CommitIsAncestorResponse" do
|
14
|
+
optional :value, :bool, 1
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
module Gitaly
|
19
|
+
CommitIsAncestorRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitIsAncestorRequest").msgclass
|
20
|
+
CommitIsAncestorResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitIsAncestorResponse").msgclass
|
21
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# Source: commit.proto for package 'gitaly'
|
3
|
+
|
4
|
+
require 'grpc'
|
5
|
+
require 'commit_pb'
|
6
|
+
|
7
|
+
module Gitaly
|
8
|
+
module Commit
|
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.Commit'
|
16
|
+
|
17
|
+
rpc :CommitIsAncestor, CommitIsAncestorRequest, CommitIsAncestorResponse
|
18
|
+
end
|
19
|
+
|
20
|
+
Stub = Service.rpc_stub_class
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,28 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: diff.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'shared_pb'
|
7
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
8
|
+
add_message "gitaly.CommitDiffRequest" do
|
9
|
+
optional :repository, :message, 1, "gitaly.Repository"
|
10
|
+
optional :left_commit_id, :string, 2
|
11
|
+
optional :right_commit_id, :string, 3
|
12
|
+
end
|
13
|
+
add_message "gitaly.CommitDiffResponse" do
|
14
|
+
optional :from_path, :bytes, 1
|
15
|
+
optional :to_path, :bytes, 2
|
16
|
+
optional :from_id, :string, 3
|
17
|
+
optional :to_id, :string, 4
|
18
|
+
optional :old_mode, :int32, 5
|
19
|
+
optional :new_mode, :int32, 6
|
20
|
+
optional :binary, :bool, 7
|
21
|
+
repeated :raw_chunks, :bytes, 8
|
22
|
+
end
|
23
|
+
end
|
24
|
+
|
25
|
+
module Gitaly
|
26
|
+
CommitDiffRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitDiffRequest").msgclass
|
27
|
+
CommitDiffResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitDiffResponse").msgclass
|
28
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# Source: diff.proto for package 'gitaly'
|
3
|
+
|
4
|
+
require 'grpc'
|
5
|
+
require 'diff_pb'
|
6
|
+
|
7
|
+
module Gitaly
|
8
|
+
module Diff
|
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.Diff'
|
16
|
+
|
17
|
+
# Returns stream of CommitDiffResponse: 1 per changed file
|
18
|
+
rpc :CommitDiff, CommitDiffRequest, stream(CommitDiffResponse)
|
19
|
+
end
|
20
|
+
|
21
|
+
Stub = Service.rpc_stub_class
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: notifications.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'shared_pb'
|
7
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
8
|
+
add_message "gitaly.PostReceiveRequest" do
|
9
|
+
optional :repository, :message, 1, "gitaly.Repository"
|
10
|
+
end
|
11
|
+
add_message "gitaly.PostReceiveResponse" do
|
12
|
+
end
|
13
|
+
end
|
14
|
+
|
15
|
+
module Gitaly
|
16
|
+
PostReceiveRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PostReceiveRequest").msgclass
|
17
|
+
PostReceiveResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PostReceiveResponse").msgclass
|
18
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# Source: notifications.proto for package 'gitaly'
|
3
|
+
|
4
|
+
require 'grpc'
|
5
|
+
require 'notifications_pb'
|
6
|
+
|
7
|
+
module Gitaly
|
8
|
+
module Notifications
|
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.Notifications'
|
16
|
+
|
17
|
+
rpc :PostReceive, PostReceiveRequest, PostReceiveResponse
|
18
|
+
end
|
19
|
+
|
20
|
+
Stub = Service.rpc_stub_class
|
21
|
+
end
|
22
|
+
end
|
@@ -1,17 +1,28 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# source:
|
2
|
+
# source: ref.proto
|
3
3
|
|
4
4
|
require 'google/protobuf'
|
5
5
|
|
6
6
|
require 'shared_pb'
|
7
|
+
require 'google/protobuf/timestamp_pb'
|
7
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
8
|
-
add_message "gitaly.
|
9
|
-
optional :
|
9
|
+
add_message "gitaly.FindDefaultBranchNameRequest" do
|
10
|
+
optional :repository, :message, 1, "gitaly.Repository"
|
11
|
+
end
|
12
|
+
add_message "gitaly.FindDefaultBranchNameResponse" do
|
13
|
+
optional :name, :bytes, 1
|
14
|
+
end
|
15
|
+
add_message "gitaly.FindAllBranchNamesRequest" do
|
16
|
+
optional :repository, :message, 1, "gitaly.Repository"
|
17
|
+
end
|
18
|
+
add_message "gitaly.FindAllBranchNamesResponse" do
|
19
|
+
repeated :names, :bytes, 1
|
10
20
|
end
|
11
|
-
add_message "gitaly.
|
21
|
+
add_message "gitaly.FindAllTagNamesRequest" do
|
12
22
|
optional :repository, :message, 1, "gitaly.Repository"
|
13
23
|
end
|
14
|
-
add_message "gitaly.
|
24
|
+
add_message "gitaly.FindAllTagNamesResponse" do
|
25
|
+
repeated :names, :bytes, 1
|
15
26
|
end
|
16
27
|
add_message "gitaly.FindRefNameRequest" do
|
17
28
|
optional :repository, :message, 1, "gitaly.Repository"
|
@@ -21,59 +32,44 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
21
32
|
add_message "gitaly.FindRefNameResponse" do
|
22
33
|
optional :name, :bytes, 1
|
23
34
|
end
|
24
|
-
add_message "gitaly.
|
25
|
-
optional :repository, :message, 1, "gitaly.Repository"
|
26
|
-
optional :ancestor_id, :string, 2
|
27
|
-
optional :child_id, :string, 3
|
28
|
-
end
|
29
|
-
add_message "gitaly.FindDefaultBranchNameRequest" do
|
35
|
+
add_message "gitaly.FindLocalBranchesRequest" do
|
30
36
|
optional :repository, :message, 1, "gitaly.Repository"
|
37
|
+
optional :sort_by, :enum, 2, "gitaly.FindLocalBranchesRequest.SortBy"
|
31
38
|
end
|
32
|
-
|
33
|
-
|
39
|
+
add_enum "gitaly.FindLocalBranchesRequest.SortBy" do
|
40
|
+
value :NAME, 0
|
41
|
+
value :UPDATED_ASC, 1
|
42
|
+
value :UPDATED_DESC, 2
|
34
43
|
end
|
35
|
-
add_message "gitaly.
|
36
|
-
|
44
|
+
add_message "gitaly.FindLocalBranchesResponse" do
|
45
|
+
repeated :branches, :message, 1, "gitaly.FindLocalBranchResponse"
|
37
46
|
end
|
38
|
-
add_message "gitaly.
|
47
|
+
add_message "gitaly.FindLocalBranchResponse" do
|
39
48
|
optional :name, :bytes, 1
|
49
|
+
optional :commit_id, :string, 2
|
50
|
+
optional :commit_subject, :bytes, 3
|
51
|
+
optional :commit_author, :message, 4, "gitaly.FindLocalBranchCommitAuthor"
|
52
|
+
optional :commit_committer, :message, 5, "gitaly.FindLocalBranchCommitAuthor"
|
40
53
|
end
|
41
|
-
add_message "gitaly.
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
repeated :names, :bytes, 1
|
46
|
-
end
|
47
|
-
add_message "gitaly.CommitDiffRequest" do
|
48
|
-
optional :repository, :message, 1, "gitaly.Repository"
|
49
|
-
optional :left_commit_id, :string, 2
|
50
|
-
optional :right_commit_id, :string, 3
|
51
|
-
end
|
52
|
-
add_message "gitaly.CommitDiffResponse" do
|
53
|
-
optional :from_path, :bytes, 1
|
54
|
-
optional :to_path, :bytes, 2
|
55
|
-
optional :from_id, :string, 3
|
56
|
-
optional :to_id, :string, 4
|
57
|
-
optional :old_mode, :int32, 5
|
58
|
-
optional :new_mode, :int32, 6
|
59
|
-
optional :binary, :bool, 7
|
60
|
-
repeated :raw_chunks, :bytes, 8
|
54
|
+
add_message "gitaly.FindLocalBranchCommitAuthor" do
|
55
|
+
optional :name, :bytes, 1
|
56
|
+
optional :email, :bytes, 2
|
57
|
+
optional :date, :message, 3, "google.protobuf.Timestamp"
|
61
58
|
end
|
62
59
|
end
|
63
60
|
|
64
61
|
module Gitaly
|
65
|
-
CommitIsAncestorResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitIsAncestorResponse").msgclass
|
66
|
-
PostReceiveRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PostReceiveRequest").msgclass
|
67
|
-
PostReceiveResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PostReceiveResponse").msgclass
|
68
|
-
FindRefNameRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindRefNameRequest").msgclass
|
69
|
-
FindRefNameResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindRefNameResponse").msgclass
|
70
|
-
CommitIsAncestorRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitIsAncestorRequest").msgclass
|
71
62
|
FindDefaultBranchNameRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindDefaultBranchNameRequest").msgclass
|
72
|
-
FindAllBranchNamesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindAllBranchNamesRequest").msgclass
|
73
|
-
FindAllTagNamesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindAllTagNamesRequest").msgclass
|
74
63
|
FindDefaultBranchNameResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindDefaultBranchNameResponse").msgclass
|
64
|
+
FindAllBranchNamesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindAllBranchNamesRequest").msgclass
|
75
65
|
FindAllBranchNamesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindAllBranchNamesResponse").msgclass
|
66
|
+
FindAllTagNamesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindAllTagNamesRequest").msgclass
|
76
67
|
FindAllTagNamesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindAllTagNamesResponse").msgclass
|
77
|
-
|
78
|
-
|
68
|
+
FindRefNameRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindRefNameRequest").msgclass
|
69
|
+
FindRefNameResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindRefNameResponse").msgclass
|
70
|
+
FindLocalBranchesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindLocalBranchesRequest").msgclass
|
71
|
+
FindLocalBranchesRequest::SortBy = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindLocalBranchesRequest.SortBy").enummodule
|
72
|
+
FindLocalBranchesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindLocalBranchesResponse").msgclass
|
73
|
+
FindLocalBranchResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindLocalBranchResponse").msgclass
|
74
|
+
FindLocalBranchCommitAuthor = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindLocalBranchCommitAuthor").msgclass
|
79
75
|
end
|
@@ -0,0 +1,28 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# Source: ref.proto for package 'gitaly'
|
3
|
+
|
4
|
+
require 'grpc'
|
5
|
+
require 'ref_pb'
|
6
|
+
|
7
|
+
module Gitaly
|
8
|
+
module Ref
|
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.Ref'
|
16
|
+
|
17
|
+
rpc :FindDefaultBranchName, FindDefaultBranchNameRequest, FindDefaultBranchNameResponse
|
18
|
+
rpc :FindAllBranchNames, FindAllBranchNamesRequest, stream(FindAllBranchNamesResponse)
|
19
|
+
rpc :FindAllTagNames, FindAllTagNamesRequest, stream(FindAllTagNamesResponse)
|
20
|
+
# Find a Ref matching the given constraints. Response may be empty.
|
21
|
+
rpc :FindRefName, FindRefNameRequest, FindRefNameResponse
|
22
|
+
# Return a stream so we can divide the response in chunks of branches
|
23
|
+
rpc :FindLocalBranches, FindLocalBranchesRequest, stream(FindLocalBranchesResponse)
|
24
|
+
end
|
25
|
+
|
26
|
+
Stub = Service.rpc_stub_class
|
27
|
+
end
|
28
|
+
end
|
@@ -11,9 +11,28 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
11
11
|
add_message "gitaly.InfoRefsResponse" do
|
12
12
|
optional :data, :bytes, 1
|
13
13
|
end
|
14
|
+
add_message "gitaly.PostUploadPackRequest" do
|
15
|
+
optional :repository, :message, 1, "gitaly.Repository"
|
16
|
+
optional :data, :bytes, 2
|
17
|
+
end
|
18
|
+
add_message "gitaly.PostUploadPackResponse" do
|
19
|
+
optional :data, :bytes, 1
|
20
|
+
end
|
21
|
+
add_message "gitaly.PostReceivePackRequest" do
|
22
|
+
optional :repository, :message, 1, "gitaly.Repository"
|
23
|
+
optional :data, :bytes, 2
|
24
|
+
optional :gl_id, :string, 3
|
25
|
+
end
|
26
|
+
add_message "gitaly.PostReceivePackResponse" do
|
27
|
+
optional :data, :bytes, 1
|
28
|
+
end
|
14
29
|
end
|
15
30
|
|
16
31
|
module Gitaly
|
17
32
|
InfoRefsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.InfoRefsRequest").msgclass
|
18
33
|
InfoRefsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.InfoRefsResponse").msgclass
|
34
|
+
PostUploadPackRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PostUploadPackRequest").msgclass
|
35
|
+
PostUploadPackResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PostUploadPackResponse").msgclass
|
36
|
+
PostReceivePackRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PostReceivePackRequest").msgclass
|
37
|
+
PostReceivePackResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PostReceivePackResponse").msgclass
|
19
38
|
end
|
@@ -18,6 +18,10 @@ module Gitaly
|
|
18
18
|
rpc :InfoRefsUploadPack, InfoRefsRequest, stream(InfoRefsResponse)
|
19
19
|
# The response body for GET /info/refs?service=git-receive-pack
|
20
20
|
rpc :InfoRefsReceivePack, InfoRefsRequest, stream(InfoRefsResponse)
|
21
|
+
# Request and response body for POST /upload-pack
|
22
|
+
rpc :PostUploadPack, stream(PostUploadPackRequest), stream(PostUploadPackResponse)
|
23
|
+
# Request and response body for POST /receive-pack
|
24
|
+
rpc :PostReceivePack, stream(PostReceivePackRequest), stream(PostReceivePackResponse)
|
21
25
|
end
|
22
26
|
|
23
27
|
Stub = Service.rpc_stub_class
|
data/ruby/lib/gitaly/version.rb
CHANGED
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: 0.
|
4
|
+
version: 0.4.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-
|
11
|
+
date: 2017-03-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-protobuf
|
@@ -78,8 +78,14 @@ files:
|
|
78
78
|
- ruby/LICENSE.txt
|
79
79
|
- ruby/README.md
|
80
80
|
- ruby/lib/gitaly.rb
|
81
|
-
- ruby/lib/gitaly/
|
82
|
-
- ruby/lib/gitaly/
|
81
|
+
- ruby/lib/gitaly/commit_pb.rb
|
82
|
+
- ruby/lib/gitaly/commit_services_pb.rb
|
83
|
+
- ruby/lib/gitaly/diff_pb.rb
|
84
|
+
- ruby/lib/gitaly/diff_services_pb.rb
|
85
|
+
- ruby/lib/gitaly/notifications_pb.rb
|
86
|
+
- ruby/lib/gitaly/notifications_services_pb.rb
|
87
|
+
- ruby/lib/gitaly/ref_pb.rb
|
88
|
+
- ruby/lib/gitaly/ref_services_pb.rb
|
83
89
|
- ruby/lib/gitaly/shared_pb.rb
|
84
90
|
- ruby/lib/gitaly/smarthttp_pb.rb
|
85
91
|
- ruby/lib/gitaly/smarthttp_services_pb.rb
|
@@ -1,69 +0,0 @@
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# Source: gitaly.proto for package 'gitaly'
|
3
|
-
|
4
|
-
require 'grpc'
|
5
|
-
require 'gitaly_pb'
|
6
|
-
|
7
|
-
module Gitaly
|
8
|
-
module Notifications
|
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.Notifications'
|
16
|
-
|
17
|
-
rpc :PostReceive, PostReceiveRequest, PostReceiveResponse
|
18
|
-
end
|
19
|
-
|
20
|
-
Stub = Service.rpc_stub_class
|
21
|
-
end
|
22
|
-
module Ref
|
23
|
-
class Service
|
24
|
-
|
25
|
-
include GRPC::GenericService
|
26
|
-
|
27
|
-
self.marshal_class_method = :encode
|
28
|
-
self.unmarshal_class_method = :decode
|
29
|
-
self.service_name = 'gitaly.Ref'
|
30
|
-
|
31
|
-
rpc :FindDefaultBranchName, FindDefaultBranchNameRequest, FindDefaultBranchNameResponse
|
32
|
-
rpc :FindAllBranchNames, FindAllBranchNamesRequest, stream(FindAllBranchNamesResponse)
|
33
|
-
rpc :FindAllTagNames, FindAllTagNamesRequest, stream(FindAllTagNamesResponse)
|
34
|
-
# Find a Ref matching the given constraints. Response may be empty.
|
35
|
-
rpc :FindRefName, FindRefNameRequest, FindRefNameResponse
|
36
|
-
end
|
37
|
-
|
38
|
-
Stub = Service.rpc_stub_class
|
39
|
-
end
|
40
|
-
module Diff
|
41
|
-
class Service
|
42
|
-
|
43
|
-
include GRPC::GenericService
|
44
|
-
|
45
|
-
self.marshal_class_method = :encode
|
46
|
-
self.unmarshal_class_method = :decode
|
47
|
-
self.service_name = 'gitaly.Diff'
|
48
|
-
|
49
|
-
# Returns stream of CommitDiffResponse: 1 per changed file
|
50
|
-
rpc :CommitDiff, CommitDiffRequest, stream(CommitDiffResponse)
|
51
|
-
end
|
52
|
-
|
53
|
-
Stub = Service.rpc_stub_class
|
54
|
-
end
|
55
|
-
module Commit
|
56
|
-
class Service
|
57
|
-
|
58
|
-
include GRPC::GenericService
|
59
|
-
|
60
|
-
self.marshal_class_method = :encode
|
61
|
-
self.unmarshal_class_method = :decode
|
62
|
-
self.service_name = 'gitaly.Commit'
|
63
|
-
|
64
|
-
rpc :CommitIsAncestor, CommitIsAncestorRequest, CommitIsAncestorResponse
|
65
|
-
end
|
66
|
-
|
67
|
-
Stub = Service.rpc_stub_class
|
68
|
-
end
|
69
|
-
end
|