gitaly-proto 0.30.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 40fd16c231d9a708353b42f4329c0eb18f14dacb
4
+ data.tar.gz: c47269fecd38fbe0c4bd9684a5231dc4b7b3eeb1
5
+ SHA512:
6
+ metadata.gz: 2111e77e1abdfc197e18ed7a2a76664093095337ce9a02a48f9bbea0758944c3855d2a33cde078b06bcbf1ae4e6a960d58b4ca05beadd078cb4df94c1feb5026
7
+ data.tar.gz: f8f310f809e6e30fb45415c3c7798ffe1551eb7e1a3d387cbfee2e0c197ac79ccaa46a414623072bb3d900d37c33667f0e230c261f5f7d00b3ce6378196ef0c0
data/ruby/.gitignore ADDED
@@ -0,0 +1,10 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+ /*.gem
data/ruby/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2017 GitLab Inc.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/ruby/README.md ADDED
@@ -0,0 +1,41 @@
1
+ # TODO: replace auto-generated README
2
+
3
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/gitaly`. To experiment with that code, run `bin/console` for an interactive prompt.
4
+
5
+ TODO: Delete this and the text above, and describe your gem
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'gitaly'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install gitaly
22
+
23
+ ## Usage
24
+
25
+ TODO: Write usage instructions here
26
+
27
+ ## Development
28
+
29
+ After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
+
31
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
32
+
33
+ ## Contributing
34
+
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/gitaly.
36
+
37
+
38
+ ## License
39
+
40
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
41
+
@@ -0,0 +1,23 @@
1
+ # This file is generated by generate-from-proto. 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/commit_services_pb'
9
+
10
+ require 'gitaly/deprecated-services_services_pb'
11
+
12
+ require 'gitaly/diff_services_pb'
13
+
14
+ require 'gitaly/notifications_services_pb'
15
+
16
+ require 'gitaly/ref_services_pb'
17
+
18
+ require 'gitaly/repository-service_services_pb'
19
+
20
+ require 'gitaly/smarthttp_services_pb'
21
+
22
+ require 'gitaly/ssh_services_pb'
23
+
@@ -0,0 +1,23 @@
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
+ end
19
+
20
+ module Gitaly
21
+ GetBlobRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetBlobRequest").msgclass
22
+ GetBlobResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetBlobResponse").msgclass
23
+ end
@@ -0,0 +1,25 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: blob.proto for package 'gitaly'
3
+
4
+ require 'grpc'
5
+ require 'blob_pb'
6
+
7
+ module Gitaly
8
+ module BlobService
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.BlobService'
16
+
17
+ # GetBlob returns the contents of a blob object referenced by its object
18
+ # ID. We use a stream to return a chunked arbitrarily large binary
19
+ # response
20
+ rpc :GetBlob, GetBlobRequest, stream(GetBlobResponse)
21
+ end
22
+
23
+ Stub = Service.rpc_stub_class
24
+ end
25
+ end
@@ -0,0 +1,203 @@
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
+ require 'google/protobuf/timestamp_pb'
8
+ Google::Protobuf::DescriptorPool.generated_pool.build do
9
+ add_message "gitaly.CommitStatsRequest" do
10
+ optional :repository, :message, 1, "gitaly.Repository"
11
+ optional :revision, :bytes, 2
12
+ end
13
+ add_message "gitaly.CommitStatsResponse" do
14
+ optional :oid, :string, 1
15
+ optional :additions, :int32, 2
16
+ optional :deletions, :int32, 3
17
+ end
18
+ add_message "gitaly.CommitIsAncestorRequest" do
19
+ optional :repository, :message, 1, "gitaly.Repository"
20
+ optional :ancestor_id, :string, 2
21
+ optional :child_id, :string, 3
22
+ end
23
+ add_message "gitaly.CommitIsAncestorResponse" do
24
+ optional :value, :bool, 1
25
+ end
26
+ add_message "gitaly.TreeEntryRequest" do
27
+ optional :repository, :message, 1, "gitaly.Repository"
28
+ optional :revision, :bytes, 2
29
+ optional :path, :bytes, 3
30
+ optional :limit, :int64, 4
31
+ end
32
+ add_message "gitaly.TreeEntryResponse" do
33
+ optional :type, :enum, 1, "gitaly.TreeEntryResponse.ObjectType"
34
+ optional :oid, :string, 2
35
+ optional :size, :int64, 3
36
+ optional :mode, :int32, 4
37
+ optional :data, :bytes, 5
38
+ end
39
+ add_enum "gitaly.TreeEntryResponse.ObjectType" do
40
+ value :COMMIT, 0
41
+ value :BLOB, 1
42
+ value :TREE, 2
43
+ value :TAG, 3
44
+ end
45
+ add_message "gitaly.CommitsBetweenRequest" do
46
+ optional :repository, :message, 1, "gitaly.Repository"
47
+ optional :from, :bytes, 2
48
+ optional :to, :bytes, 3
49
+ end
50
+ add_message "gitaly.CommitsBetweenResponse" do
51
+ repeated :commits, :message, 1, "gitaly.GitCommit"
52
+ end
53
+ add_message "gitaly.CountCommitsRequest" do
54
+ optional :repository, :message, 1, "gitaly.Repository"
55
+ optional :revision, :bytes, 2
56
+ optional :after, :message, 3, "google.protobuf.Timestamp"
57
+ optional :before, :message, 4, "google.protobuf.Timestamp"
58
+ optional :path, :bytes, 5
59
+ end
60
+ add_message "gitaly.CountCommitsResponse" do
61
+ optional :count, :int32, 1
62
+ end
63
+ add_message "gitaly.TreeEntry" do
64
+ optional :oid, :string, 1
65
+ optional :root_oid, :string, 2
66
+ optional :path, :bytes, 3
67
+ optional :type, :enum, 4, "gitaly.TreeEntry.EntryType"
68
+ optional :mode, :int32, 5
69
+ optional :commit_oid, :string, 6
70
+ end
71
+ add_enum "gitaly.TreeEntry.EntryType" do
72
+ value :BLOB, 0
73
+ value :TREE, 1
74
+ value :COMMIT, 3
75
+ end
76
+ add_message "gitaly.GetTreeEntriesRequest" do
77
+ optional :repository, :message, 1, "gitaly.Repository"
78
+ optional :revision, :bytes, 2
79
+ optional :path, :bytes, 3
80
+ end
81
+ add_message "gitaly.GetTreeEntriesResponse" do
82
+ repeated :entries, :message, 1, "gitaly.TreeEntry"
83
+ end
84
+ add_message "gitaly.ListFilesRequest" do
85
+ optional :repository, :message, 1, "gitaly.Repository"
86
+ optional :revision, :bytes, 2
87
+ end
88
+ add_message "gitaly.ListFilesResponse" do
89
+ repeated :paths, :bytes, 1
90
+ end
91
+ add_message "gitaly.FindCommitRequest" do
92
+ optional :repository, :message, 1, "gitaly.Repository"
93
+ optional :revision, :bytes, 2
94
+ end
95
+ add_message "gitaly.FindCommitResponse" do
96
+ optional :commit, :message, 1, "gitaly.GitCommit"
97
+ end
98
+ add_message "gitaly.FindAllCommitsRequest" do
99
+ optional :repository, :message, 1, "gitaly.Repository"
100
+ optional :revision, :bytes, 2
101
+ optional :max_count, :int32, 3
102
+ optional :skip, :int32, 4
103
+ optional :order, :enum, 5, "gitaly.FindAllCommitsRequest.Order"
104
+ end
105
+ add_enum "gitaly.FindAllCommitsRequest.Order" do
106
+ value :NONE, 0
107
+ value :TOPO, 1
108
+ value :DATE, 2
109
+ end
110
+ add_message "gitaly.FindAllCommitsResponse" do
111
+ repeated :commits, :message, 1, "gitaly.GitCommit"
112
+ end
113
+ add_message "gitaly.FindCommitsRequest" do
114
+ optional :repository, :message, 1, "gitaly.Repository"
115
+ optional :revision, :bytes, 2
116
+ optional :limit, :int32, 3
117
+ optional :offset, :int32, 4
118
+ repeated :paths, :bytes, 5
119
+ optional :follow, :bool, 6
120
+ optional :skip_merges, :bool, 7
121
+ optional :disable_walk, :bool, 8
122
+ optional :after, :message, 9, "google.protobuf.Timestamp"
123
+ optional :before, :message, 10, "google.protobuf.Timestamp"
124
+ end
125
+ add_message "gitaly.FindCommitsResponse" do
126
+ repeated :commits, :message, 1, "gitaly.GitCommit"
127
+ end
128
+ add_message "gitaly.CommitLanguagesRequest" do
129
+ optional :repository, :message, 1, "gitaly.Repository"
130
+ optional :revision, :bytes, 2
131
+ end
132
+ add_message "gitaly.CommitLanguagesResponse" do
133
+ repeated :languages, :message, 1, "gitaly.CommitLanguagesResponse.Language"
134
+ end
135
+ add_message "gitaly.CommitLanguagesResponse.Language" do
136
+ optional :name, :string, 1
137
+ optional :share, :float, 2
138
+ optional :color, :string, 3
139
+ end
140
+ add_message "gitaly.RawBlameRequest" do
141
+ optional :repository, :message, 1, "gitaly.Repository"
142
+ optional :revision, :bytes, 2
143
+ optional :path, :bytes, 3
144
+ end
145
+ add_message "gitaly.RawBlameResponse" do
146
+ optional :data, :bytes, 1
147
+ end
148
+ add_message "gitaly.LastCommitForPathRequest" do
149
+ optional :repository, :message, 1, "gitaly.Repository"
150
+ optional :revision, :bytes, 2
151
+ optional :path, :bytes, 3
152
+ end
153
+ add_message "gitaly.LastCommitForPathResponse" do
154
+ optional :commit, :message, 1, "gitaly.GitCommit"
155
+ end
156
+ add_message "gitaly.CommitsByMessageRequest" do
157
+ optional :repository, :message, 1, "gitaly.Repository"
158
+ optional :revision, :bytes, 2
159
+ optional :offset, :int32, 3
160
+ optional :limit, :int32, 4
161
+ optional :path, :bytes, 5
162
+ optional :query, :string, 6
163
+ end
164
+ add_message "gitaly.CommitsByMessageResponse" do
165
+ repeated :commits, :message, 1, "gitaly.GitCommit"
166
+ end
167
+ end
168
+
169
+ module Gitaly
170
+ CommitStatsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitStatsRequest").msgclass
171
+ CommitStatsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitStatsResponse").msgclass
172
+ CommitIsAncestorRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitIsAncestorRequest").msgclass
173
+ CommitIsAncestorResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitIsAncestorResponse").msgclass
174
+ TreeEntryRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.TreeEntryRequest").msgclass
175
+ TreeEntryResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.TreeEntryResponse").msgclass
176
+ TreeEntryResponse::ObjectType = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.TreeEntryResponse.ObjectType").enummodule
177
+ CommitsBetweenRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitsBetweenRequest").msgclass
178
+ CommitsBetweenResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitsBetweenResponse").msgclass
179
+ CountCommitsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CountCommitsRequest").msgclass
180
+ CountCommitsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CountCommitsResponse").msgclass
181
+ TreeEntry = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.TreeEntry").msgclass
182
+ TreeEntry::EntryType = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.TreeEntry.EntryType").enummodule
183
+ GetTreeEntriesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetTreeEntriesRequest").msgclass
184
+ GetTreeEntriesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetTreeEntriesResponse").msgclass
185
+ ListFilesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListFilesRequest").msgclass
186
+ ListFilesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListFilesResponse").msgclass
187
+ FindCommitRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindCommitRequest").msgclass
188
+ FindCommitResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindCommitResponse").msgclass
189
+ FindAllCommitsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindAllCommitsRequest").msgclass
190
+ FindAllCommitsRequest::Order = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindAllCommitsRequest.Order").enummodule
191
+ FindAllCommitsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindAllCommitsResponse").msgclass
192
+ FindCommitsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindCommitsRequest").msgclass
193
+ FindCommitsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindCommitsResponse").msgclass
194
+ CommitLanguagesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitLanguagesRequest").msgclass
195
+ CommitLanguagesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitLanguagesResponse").msgclass
196
+ CommitLanguagesResponse::Language = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitLanguagesResponse.Language").msgclass
197
+ RawBlameRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RawBlameRequest").msgclass
198
+ RawBlameResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RawBlameResponse").msgclass
199
+ LastCommitForPathRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.LastCommitForPathRequest").msgclass
200
+ LastCommitForPathResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.LastCommitForPathResponse").msgclass
201
+ CommitsByMessageRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitsByMessageRequest").msgclass
202
+ CommitsByMessageResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitsByMessageResponse").msgclass
203
+ end
@@ -0,0 +1,36 @@
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 CommitService
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.CommitService'
16
+
17
+ rpc :CommitIsAncestor, CommitIsAncestorRequest, CommitIsAncestorResponse
18
+ rpc :TreeEntry, TreeEntryRequest, stream(TreeEntryResponse)
19
+ rpc :CommitsBetween, CommitsBetweenRequest, stream(CommitsBetweenResponse)
20
+ rpc :CountCommits, CountCommitsRequest, CountCommitsResponse
21
+ rpc :GetTreeEntries, GetTreeEntriesRequest, stream(GetTreeEntriesResponse)
22
+ rpc :ListFiles, ListFilesRequest, stream(ListFilesResponse)
23
+ rpc :FindCommit, FindCommitRequest, FindCommitResponse
24
+ rpc :CommitStats, CommitStatsRequest, CommitStatsResponse
25
+ # Use a stream to paginate the result set
26
+ rpc :FindAllCommits, FindAllCommitsRequest, stream(FindAllCommitsResponse)
27
+ rpc :FindCommits, FindCommitsRequest, stream(FindCommitsResponse)
28
+ rpc :CommitLanguages, CommitLanguagesRequest, CommitLanguagesResponse
29
+ rpc :RawBlame, RawBlameRequest, stream(RawBlameResponse)
30
+ rpc :LastCommitForPath, LastCommitForPathRequest, LastCommitForPathResponse
31
+ rpc :CommitsByMessage, CommitsByMessageRequest, stream(CommitsByMessageResponse)
32
+ end
33
+
34
+ Stub = Service.rpc_stub_class
35
+ end
36
+ end
@@ -0,0 +1,16 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: deprecated-services.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'commit_pb'
7
+ require 'diff_pb'
8
+ require 'notifications_pb'
9
+ require 'ref_pb'
10
+ require 'smarthttp_pb'
11
+ require 'ssh_pb'
12
+ Google::Protobuf::DescriptorPool.generated_pool.build do
13
+ end
14
+
15
+ module Gitaly
16
+ end
@@ -0,0 +1,120 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: deprecated-services.proto for package 'gitaly'
3
+
4
+ require 'grpc'
5
+ require 'deprecated-services_pb'
6
+
7
+ module Gitaly
8
+ module Commit
9
+ # TODO: remove all these legacy RPC interfaces when client references to them are removed.
10
+ #
11
+ # Deprecated
12
+ class Service
13
+
14
+ include GRPC::GenericService
15
+
16
+ self.marshal_class_method = :encode
17
+ self.unmarshal_class_method = :decode
18
+ self.service_name = 'gitaly.Commit'
19
+
20
+ rpc :CommitIsAncestor, CommitIsAncestorRequest, CommitIsAncestorResponse
21
+ rpc :TreeEntry, TreeEntryRequest, stream(TreeEntryResponse)
22
+ end
23
+
24
+ Stub = Service.rpc_stub_class
25
+ end
26
+ module Diff
27
+ # Deprecated
28
+ class Service
29
+
30
+ include GRPC::GenericService
31
+
32
+ self.marshal_class_method = :encode
33
+ self.unmarshal_class_method = :decode
34
+ self.service_name = 'gitaly.Diff'
35
+
36
+ # Returns stream of CommitDiffResponse with patches chunked over messages
37
+ rpc :CommitDiff, CommitDiffRequest, stream(CommitDiffResponse)
38
+ # Return a stream so we can divide the response in chunks of deltas
39
+ rpc :CommitDelta, CommitDeltaRequest, stream(CommitDeltaResponse)
40
+ end
41
+
42
+ Stub = Service.rpc_stub_class
43
+ end
44
+ module Notifications
45
+ # Deprecated
46
+ class Service
47
+
48
+ include GRPC::GenericService
49
+
50
+ self.marshal_class_method = :encode
51
+ self.unmarshal_class_method = :decode
52
+ self.service_name = 'gitaly.Notifications'
53
+
54
+ rpc :PostReceive, PostReceiveRequest, PostReceiveResponse
55
+ end
56
+
57
+ Stub = Service.rpc_stub_class
58
+ end
59
+ module Ref
60
+ # Deprecated
61
+ class Service
62
+
63
+ include GRPC::GenericService
64
+
65
+ self.marshal_class_method = :encode
66
+ self.unmarshal_class_method = :decode
67
+ self.service_name = 'gitaly.Ref'
68
+
69
+ rpc :FindDefaultBranchName, FindDefaultBranchNameRequest, FindDefaultBranchNameResponse
70
+ rpc :FindAllBranchNames, FindAllBranchNamesRequest, stream(FindAllBranchNamesResponse)
71
+ rpc :FindAllTagNames, FindAllTagNamesRequest, stream(FindAllTagNamesResponse)
72
+ # Find a Ref matching the given constraints. Response may be empty.
73
+ rpc :FindRefName, FindRefNameRequest, FindRefNameResponse
74
+ # Return a stream so we can divide the response in chunks of branches
75
+ rpc :FindLocalBranches, FindLocalBranchesRequest, stream(FindLocalBranchesResponse)
76
+ end
77
+
78
+ Stub = Service.rpc_stub_class
79
+ end
80
+ module SmartHTTP
81
+ # DEPRECATED
82
+ class Service
83
+
84
+ include GRPC::GenericService
85
+
86
+ self.marshal_class_method = :encode
87
+ self.unmarshal_class_method = :decode
88
+ self.service_name = 'gitaly.SmartHTTP'
89
+
90
+ # The response body for GET /info/refs?service=git-upload-pack
91
+ rpc :InfoRefsUploadPack, InfoRefsRequest, stream(InfoRefsResponse)
92
+ # The response body for GET /info/refs?service=git-receive-pack
93
+ rpc :InfoRefsReceivePack, InfoRefsRequest, stream(InfoRefsResponse)
94
+ # Request and response body for POST /upload-pack
95
+ rpc :PostUploadPack, stream(PostUploadPackRequest), stream(PostUploadPackResponse)
96
+ # Request and response body for POST /receive-pack
97
+ rpc :PostReceivePack, stream(PostReceivePackRequest), stream(PostReceivePackResponse)
98
+ end
99
+
100
+ Stub = Service.rpc_stub_class
101
+ end
102
+ module SSH
103
+ # DEPRECATED
104
+ class Service
105
+
106
+ include GRPC::GenericService
107
+
108
+ self.marshal_class_method = :encode
109
+ self.unmarshal_class_method = :decode
110
+ self.service_name = 'gitaly.SSH'
111
+
112
+ # To forward 'git upload-pack' to Gitaly for SSH sessions
113
+ rpc :SSHUploadPack, stream(SSHUploadPackRequest), stream(SSHUploadPackResponse)
114
+ # To forward 'git receive-pack' to Gitaly for SSH sessions
115
+ rpc :SSHReceivePack, stream(SSHReceivePackRequest), stream(SSHReceivePackResponse)
116
+ end
117
+
118
+ Stub = Service.rpc_stub_class
119
+ end
120
+ end
@@ -0,0 +1,70 @@
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
+ optional :ignore_whitespace_change, :bool, 4
13
+ repeated :paths, :bytes, 5
14
+ optional :collapse_diffs, :bool, 6
15
+ optional :enforce_limits, :bool, 7
16
+ optional :max_files, :int32, 8
17
+ optional :max_lines, :int32, 9
18
+ optional :max_bytes, :int32, 10
19
+ optional :safe_max_files, :int32, 11
20
+ optional :safe_max_lines, :int32, 12
21
+ optional :safe_max_bytes, :int32, 13
22
+ end
23
+ add_message "gitaly.CommitDiffResponse" do
24
+ optional :from_path, :bytes, 1
25
+ optional :to_path, :bytes, 2
26
+ optional :from_id, :string, 3
27
+ optional :to_id, :string, 4
28
+ optional :old_mode, :int32, 5
29
+ optional :new_mode, :int32, 6
30
+ optional :binary, :bool, 7
31
+ optional :raw_patch_data, :bytes, 9
32
+ optional :end_of_patch, :bool, 10
33
+ optional :overflow_marker, :bool, 11
34
+ optional :collapsed, :bool, 12
35
+ end
36
+ add_message "gitaly.CommitDeltaRequest" do
37
+ optional :repository, :message, 1, "gitaly.Repository"
38
+ optional :left_commit_id, :string, 2
39
+ optional :right_commit_id, :string, 3
40
+ repeated :paths, :bytes, 4
41
+ end
42
+ add_message "gitaly.CommitDelta" do
43
+ optional :from_path, :bytes, 1
44
+ optional :to_path, :bytes, 2
45
+ optional :from_id, :string, 3
46
+ optional :to_id, :string, 4
47
+ optional :old_mode, :int32, 5
48
+ optional :new_mode, :int32, 6
49
+ end
50
+ add_message "gitaly.CommitDeltaResponse" do
51
+ repeated :deltas, :message, 1, "gitaly.CommitDelta"
52
+ end
53
+ add_message "gitaly.CommitPatchRequest" do
54
+ optional :repository, :message, 1, "gitaly.Repository"
55
+ optional :revision, :bytes, 2
56
+ end
57
+ add_message "gitaly.CommitPatchResponse" do
58
+ optional :data, :bytes, 1
59
+ end
60
+ end
61
+
62
+ module Gitaly
63
+ CommitDiffRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitDiffRequest").msgclass
64
+ CommitDiffResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitDiffResponse").msgclass
65
+ CommitDeltaRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitDeltaRequest").msgclass
66
+ CommitDelta = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitDelta").msgclass
67
+ CommitDeltaResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitDeltaResponse").msgclass
68
+ CommitPatchRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitPatchRequest").msgclass
69
+ CommitPatchResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitPatchResponse").msgclass
70
+ end
@@ -0,0 +1,26 @@
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 DiffService
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.DiffService'
16
+
17
+ # Returns stream of CommitDiffResponse with patches chunked over messages
18
+ rpc :CommitDiff, CommitDiffRequest, stream(CommitDiffResponse)
19
+ # Return a stream so we can divide the response in chunks of deltas
20
+ rpc :CommitDelta, CommitDeltaRequest, stream(CommitDeltaResponse)
21
+ rpc :CommitPatch, CommitPatchRequest, stream(CommitPatchResponse)
22
+ end
23
+
24
+ Stub = Service.rpc_stub_class
25
+ end
26
+ 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 NotificationService
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.NotificationService'
16
+
17
+ rpc :PostReceive, PostReceiveRequest, PostReceiveResponse
18
+ end
19
+
20
+ Stub = Service.rpc_stub_class
21
+ end
22
+ end
@@ -0,0 +1,112 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: ref.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'shared_pb'
7
+ require 'google/protobuf/timestamp_pb'
8
+ Google::Protobuf::DescriptorPool.generated_pool.build do
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
20
+ end
21
+ add_message "gitaly.FindAllTagNamesRequest" do
22
+ optional :repository, :message, 1, "gitaly.Repository"
23
+ end
24
+ add_message "gitaly.FindAllTagNamesResponse" do
25
+ repeated :names, :bytes, 1
26
+ end
27
+ add_message "gitaly.FindRefNameRequest" do
28
+ optional :repository, :message, 1, "gitaly.Repository"
29
+ optional :commit_id, :string, 2
30
+ optional :prefix, :bytes, 3
31
+ end
32
+ add_message "gitaly.FindRefNameResponse" do
33
+ optional :name, :bytes, 1
34
+ end
35
+ add_message "gitaly.FindLocalBranchesRequest" do
36
+ optional :repository, :message, 1, "gitaly.Repository"
37
+ optional :sort_by, :enum, 2, "gitaly.FindLocalBranchesRequest.SortBy"
38
+ end
39
+ add_enum "gitaly.FindLocalBranchesRequest.SortBy" do
40
+ value :NAME, 0
41
+ value :UPDATED_ASC, 1
42
+ value :UPDATED_DESC, 2
43
+ end
44
+ add_message "gitaly.FindLocalBranchesResponse" do
45
+ repeated :branches, :message, 1, "gitaly.FindLocalBranchResponse"
46
+ end
47
+ add_message "gitaly.FindLocalBranchResponse" do
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"
53
+ end
54
+ add_message "gitaly.FindLocalBranchCommitAuthor" do
55
+ optional :name, :bytes, 1
56
+ optional :email, :bytes, 2
57
+ optional :date, :message, 3, "google.protobuf.Timestamp"
58
+ end
59
+ add_message "gitaly.FindAllBranchesRequest" do
60
+ optional :repository, :message, 1, "gitaly.Repository"
61
+ end
62
+ add_message "gitaly.FindAllBranchesResponse" do
63
+ repeated :branches, :message, 1, "gitaly.FindAllBranchesResponse.Branch"
64
+ end
65
+ add_message "gitaly.FindAllBranchesResponse.Branch" do
66
+ optional :name, :bytes, 1
67
+ optional :target, :message, 2, "gitaly.GitCommit"
68
+ end
69
+ add_message "gitaly.FindAllTagsRequest" do
70
+ optional :repository, :message, 1, "gitaly.Repository"
71
+ end
72
+ add_message "gitaly.FindAllTagsResponse" do
73
+ repeated :tags, :message, 1, "gitaly.FindAllTagsResponse.Tag"
74
+ end
75
+ add_message "gitaly.FindAllTagsResponse.Tag" do
76
+ optional :name, :bytes, 1
77
+ optional :id, :string, 2
78
+ optional :target_commit, :message, 3, "gitaly.GitCommit"
79
+ optional :message, :bytes, 4
80
+ end
81
+ add_message "gitaly.RefExistsRequest" do
82
+ optional :repository, :message, 1, "gitaly.Repository"
83
+ optional :ref, :bytes, 2
84
+ end
85
+ add_message "gitaly.RefExistsResponse" do
86
+ optional :value, :bool, 1
87
+ end
88
+ end
89
+
90
+ module Gitaly
91
+ FindDefaultBranchNameRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindDefaultBranchNameRequest").msgclass
92
+ FindDefaultBranchNameResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindDefaultBranchNameResponse").msgclass
93
+ FindAllBranchNamesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindAllBranchNamesRequest").msgclass
94
+ FindAllBranchNamesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindAllBranchNamesResponse").msgclass
95
+ FindAllTagNamesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindAllTagNamesRequest").msgclass
96
+ FindAllTagNamesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindAllTagNamesResponse").msgclass
97
+ FindRefNameRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindRefNameRequest").msgclass
98
+ FindRefNameResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindRefNameResponse").msgclass
99
+ FindLocalBranchesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindLocalBranchesRequest").msgclass
100
+ FindLocalBranchesRequest::SortBy = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindLocalBranchesRequest.SortBy").enummodule
101
+ FindLocalBranchesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindLocalBranchesResponse").msgclass
102
+ FindLocalBranchResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindLocalBranchResponse").msgclass
103
+ FindLocalBranchCommitAuthor = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindLocalBranchCommitAuthor").msgclass
104
+ FindAllBranchesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindAllBranchesRequest").msgclass
105
+ FindAllBranchesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindAllBranchesResponse").msgclass
106
+ FindAllBranchesResponse::Branch = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindAllBranchesResponse.Branch").msgclass
107
+ FindAllTagsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindAllTagsRequest").msgclass
108
+ FindAllTagsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindAllTagsResponse").msgclass
109
+ FindAllTagsResponse::Tag = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindAllTagsResponse.Tag").msgclass
110
+ RefExistsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RefExistsRequest").msgclass
111
+ RefExistsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RefExistsResponse").msgclass
112
+ end
@@ -0,0 +1,31 @@
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 RefService
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.RefService'
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
+ rpc :FindAllBranches, FindAllBranchesRequest, stream(FindAllBranchesResponse)
25
+ rpc :FindAllTags, FindAllTagsRequest, stream(FindAllTagsResponse)
26
+ rpc :RefExists, RefExistsRequest, RefExistsResponse
27
+ end
28
+
29
+ Stub = Service.rpc_stub_class
30
+ end
31
+ end
@@ -0,0 +1,71 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: repository-service.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'shared_pb'
7
+ Google::Protobuf::DescriptorPool.generated_pool.build do
8
+ add_message "gitaly.RepositoryExistsRequest" do
9
+ optional :repository, :message, 1, "gitaly.Repository"
10
+ end
11
+ add_message "gitaly.RepositoryExistsResponse" do
12
+ optional :exists, :bool, 1
13
+ end
14
+ add_message "gitaly.RepackIncrementalRequest" do
15
+ optional :repository, :message, 1, "gitaly.Repository"
16
+ end
17
+ add_message "gitaly.RepackIncrementalResponse" do
18
+ end
19
+ add_message "gitaly.RepackFullRequest" do
20
+ optional :repository, :message, 1, "gitaly.Repository"
21
+ optional :create_bitmap, :bool, 2
22
+ end
23
+ add_message "gitaly.RepackFullResponse" do
24
+ end
25
+ add_message "gitaly.GarbageCollectRequest" do
26
+ optional :repository, :message, 1, "gitaly.Repository"
27
+ optional :create_bitmap, :bool, 2
28
+ end
29
+ add_message "gitaly.GarbageCollectResponse" do
30
+ end
31
+ add_message "gitaly.RepositorySizeRequest" do
32
+ optional :repository, :message, 1, "gitaly.Repository"
33
+ end
34
+ add_message "gitaly.RepositorySizeResponse" do
35
+ optional :size, :int64, 1
36
+ end
37
+ add_message "gitaly.ApplyGitattributesRequest" do
38
+ optional :repository, :message, 1, "gitaly.Repository"
39
+ optional :revision, :bytes, 2
40
+ end
41
+ add_message "gitaly.ApplyGitattributesResponse" do
42
+ end
43
+ add_message "gitaly.FetchRemoteRequest" do
44
+ optional :repository, :message, 1, "gitaly.Repository"
45
+ optional :remote, :string, 2
46
+ optional :force, :bool, 3
47
+ optional :no_tags, :bool, 4
48
+ optional :timeout, :int32, 5
49
+ optional :ssh_key, :string, 6
50
+ optional :known_hosts, :string, 7
51
+ end
52
+ add_message "gitaly.FetchRemoteResponse" do
53
+ end
54
+ end
55
+
56
+ module Gitaly
57
+ RepositoryExistsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RepositoryExistsRequest").msgclass
58
+ RepositoryExistsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RepositoryExistsResponse").msgclass
59
+ RepackIncrementalRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RepackIncrementalRequest").msgclass
60
+ RepackIncrementalResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RepackIncrementalResponse").msgclass
61
+ RepackFullRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RepackFullRequest").msgclass
62
+ RepackFullResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RepackFullResponse").msgclass
63
+ GarbageCollectRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GarbageCollectRequest").msgclass
64
+ GarbageCollectResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GarbageCollectResponse").msgclass
65
+ RepositorySizeRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RepositorySizeRequest").msgclass
66
+ RepositorySizeResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RepositorySizeResponse").msgclass
67
+ ApplyGitattributesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ApplyGitattributesRequest").msgclass
68
+ ApplyGitattributesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ApplyGitattributesResponse").msgclass
69
+ FetchRemoteRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FetchRemoteRequest").msgclass
70
+ FetchRemoteResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FetchRemoteResponse").msgclass
71
+ end
@@ -0,0 +1,30 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: repository-service.proto for package 'gitaly'
3
+
4
+ require 'grpc'
5
+ require 'repository-service_pb'
6
+
7
+ module Gitaly
8
+ module RepositoryService
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.RepositoryService'
16
+
17
+ rpc :RepositoryExists, RepositoryExistsRequest, RepositoryExistsResponse
18
+ rpc :RepackIncremental, RepackIncrementalRequest, RepackIncrementalResponse
19
+ rpc :RepackFull, RepackFullRequest, RepackFullResponse
20
+ rpc :GarbageCollect, GarbageCollectRequest, GarbageCollectResponse
21
+ rpc :RepositorySize, RepositorySizeRequest, RepositorySizeResponse
22
+ rpc :ApplyGitattributes, ApplyGitattributesRequest, ApplyGitattributesResponse
23
+ rpc :FetchRemote, FetchRemoteRequest, FetchRemoteResponse
24
+ # Deprecated, use the RepositoryExists RPC instead.
25
+ rpc :Exists, RepositoryExistsRequest, RepositoryExistsResponse
26
+ end
27
+
28
+ Stub = Service.rpc_stub_class
29
+ end
30
+ end
@@ -0,0 +1,42 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: shared.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/protobuf/timestamp_pb'
7
+ Google::Protobuf::DescriptorPool.generated_pool.build do
8
+ add_message "gitaly.Repository" do
9
+ optional :storage_name, :string, 2
10
+ optional :relative_path, :string, 3
11
+ optional :git_object_directory, :string, 4
12
+ repeated :git_alternate_object_directories, :string, 5
13
+ end
14
+ add_message "gitaly.GitCommit" do
15
+ optional :id, :string, 1
16
+ optional :subject, :bytes, 2
17
+ optional :body, :bytes, 3
18
+ optional :author, :message, 4, "gitaly.CommitAuthor"
19
+ optional :committer, :message, 5, "gitaly.CommitAuthor"
20
+ repeated :parent_ids, :string, 6
21
+ end
22
+ add_message "gitaly.CommitAuthor" do
23
+ optional :name, :bytes, 1
24
+ optional :email, :bytes, 2
25
+ optional :date, :message, 3, "google.protobuf.Timestamp"
26
+ end
27
+ add_message "gitaly.ExitStatus" do
28
+ optional :value, :int32, 1
29
+ end
30
+ add_message "gitaly.Branch" do
31
+ optional :name, :bytes, 1
32
+ optional :target_commit, :message, 2, "gitaly.GitCommit"
33
+ end
34
+ end
35
+
36
+ module Gitaly
37
+ Repository = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.Repository").msgclass
38
+ GitCommit = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GitCommit").msgclass
39
+ CommitAuthor = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitAuthor").msgclass
40
+ ExitStatus = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ExitStatus").msgclass
41
+ Branch = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.Branch").msgclass
42
+ end
@@ -0,0 +1,39 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: smarthttp.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'shared_pb'
7
+ Google::Protobuf::DescriptorPool.generated_pool.build do
8
+ add_message "gitaly.InfoRefsRequest" do
9
+ optional :repository, :message, 1, "gitaly.Repository"
10
+ end
11
+ add_message "gitaly.InfoRefsResponse" do
12
+ optional :data, :bytes, 1
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
+ optional :gl_repository, :string, 4
26
+ end
27
+ add_message "gitaly.PostReceivePackResponse" do
28
+ optional :data, :bytes, 1
29
+ end
30
+ end
31
+
32
+ module Gitaly
33
+ InfoRefsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.InfoRefsRequest").msgclass
34
+ InfoRefsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.InfoRefsResponse").msgclass
35
+ PostUploadPackRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PostUploadPackRequest").msgclass
36
+ PostUploadPackResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PostUploadPackResponse").msgclass
37
+ PostReceivePackRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PostReceivePackRequest").msgclass
38
+ PostReceivePackResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PostReceivePackResponse").msgclass
39
+ end
@@ -0,0 +1,29 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: smarthttp.proto for package 'gitaly'
3
+
4
+ require 'grpc'
5
+ require 'smarthttp_pb'
6
+
7
+ module Gitaly
8
+ module SmartHTTPService
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.SmartHTTPService'
16
+
17
+ # The response body for GET /info/refs?service=git-upload-pack
18
+ rpc :InfoRefsUploadPack, InfoRefsRequest, stream(InfoRefsResponse)
19
+ # The response body for GET /info/refs?service=git-receive-pack
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)
25
+ end
26
+
27
+ Stub = Service.rpc_stub_class
28
+ end
29
+ end
@@ -0,0 +1,36 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: ssh.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'shared_pb'
7
+ Google::Protobuf::DescriptorPool.generated_pool.build do
8
+ add_message "gitaly.SSHUploadPackRequest" do
9
+ optional :repository, :message, 1, "gitaly.Repository"
10
+ optional :stdin, :bytes, 2
11
+ repeated :git_config_options, :string, 4
12
+ end
13
+ add_message "gitaly.SSHUploadPackResponse" do
14
+ optional :stdout, :bytes, 1
15
+ optional :stderr, :bytes, 2
16
+ optional :exit_status, :message, 3, "gitaly.ExitStatus"
17
+ end
18
+ add_message "gitaly.SSHReceivePackRequest" do
19
+ optional :repository, :message, 1, "gitaly.Repository"
20
+ optional :stdin, :bytes, 2
21
+ optional :gl_id, :string, 3
22
+ optional :gl_repository, :string, 4
23
+ end
24
+ add_message "gitaly.SSHReceivePackResponse" do
25
+ optional :stdout, :bytes, 1
26
+ optional :stderr, :bytes, 2
27
+ optional :exit_status, :message, 3, "gitaly.ExitStatus"
28
+ end
29
+ end
30
+
31
+ module Gitaly
32
+ SSHUploadPackRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SSHUploadPackRequest").msgclass
33
+ SSHUploadPackResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SSHUploadPackResponse").msgclass
34
+ SSHReceivePackRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SSHReceivePackRequest").msgclass
35
+ SSHReceivePackResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SSHReceivePackResponse").msgclass
36
+ end
@@ -0,0 +1,25 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: ssh.proto for package 'gitaly'
3
+
4
+ require 'grpc'
5
+ require 'ssh_pb'
6
+
7
+ module Gitaly
8
+ module SSHService
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.SSHService'
16
+
17
+ # To forward 'git upload-pack' to Gitaly for SSH sessions
18
+ rpc :SSHUploadPack, stream(SSHUploadPackRequest), stream(SSHUploadPackResponse)
19
+ # To forward 'git receive-pack' to Gitaly for SSH sessions
20
+ rpc :SSHReceivePack, stream(SSHReceivePackRequest), stream(SSHReceivePackResponse)
21
+ end
22
+
23
+ Stub = Service.rpc_stub_class
24
+ end
25
+ end
@@ -0,0 +1,4 @@
1
+ # This file was auto-generated by _support/release
2
+ module Gitaly
3
+ VERSION = "0.30.0"
4
+ end
metadata ADDED
@@ -0,0 +1,124 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: gitaly-proto
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.30.0
5
+ platform: ruby
6
+ authors:
7
+ - Jacob Vosmaer
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2017-08-23 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: google-protobuf
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '3.1'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '3.1'
27
+ - !ruby/object:Gem::Dependency
28
+ name: grpc
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: bundler
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1.12'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.12'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rake
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '10.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '10.0'
69
+ description: Auto-generated gRPC client for gitaly.
70
+ email:
71
+ - jacob@gitlab.com
72
+ executables: []
73
+ extensions: []
74
+ extra_rdoc_files: []
75
+ files:
76
+ - ruby/.gitignore
77
+ - ruby/LICENSE.txt
78
+ - ruby/README.md
79
+ - ruby/lib/gitaly.rb
80
+ - ruby/lib/gitaly/blob_pb.rb
81
+ - ruby/lib/gitaly/blob_services_pb.rb
82
+ - ruby/lib/gitaly/commit_pb.rb
83
+ - ruby/lib/gitaly/commit_services_pb.rb
84
+ - ruby/lib/gitaly/deprecated-services_pb.rb
85
+ - ruby/lib/gitaly/deprecated-services_services_pb.rb
86
+ - ruby/lib/gitaly/diff_pb.rb
87
+ - ruby/lib/gitaly/diff_services_pb.rb
88
+ - ruby/lib/gitaly/notifications_pb.rb
89
+ - ruby/lib/gitaly/notifications_services_pb.rb
90
+ - ruby/lib/gitaly/ref_pb.rb
91
+ - ruby/lib/gitaly/ref_services_pb.rb
92
+ - ruby/lib/gitaly/repository-service_pb.rb
93
+ - ruby/lib/gitaly/repository-service_services_pb.rb
94
+ - ruby/lib/gitaly/shared_pb.rb
95
+ - ruby/lib/gitaly/smarthttp_pb.rb
96
+ - ruby/lib/gitaly/smarthttp_services_pb.rb
97
+ - ruby/lib/gitaly/ssh_pb.rb
98
+ - ruby/lib/gitaly/ssh_services_pb.rb
99
+ - ruby/lib/gitaly/version.rb
100
+ homepage: https://gitlab.com/gitlab-org/gitaly-proto
101
+ licenses:
102
+ - MIT
103
+ metadata: {}
104
+ post_install_message:
105
+ rdoc_options: []
106
+ require_paths:
107
+ - ruby/lib
108
+ required_ruby_version: !ruby/object:Gem::Requirement
109
+ requirements:
110
+ - - ">="
111
+ - !ruby/object:Gem::Version
112
+ version: '0'
113
+ required_rubygems_version: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ requirements: []
119
+ rubyforge_project:
120
+ rubygems_version: 2.5.1
121
+ signing_key:
122
+ specification_version: 4
123
+ summary: Auto-generated gRPC client for gitaly
124
+ test_files: []