gitaly 14.3.0.pre.rc1 → 14.8.0.pre.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ruby/proto/gitaly/blob_pb.rb +2 -2
- data/ruby/proto/gitaly/cleanup_pb.rb +2 -2
- data/ruby/proto/gitaly/commit_pb.rb +2 -13
- data/ruby/proto/gitaly/commit_services_pb.rb +2 -4
- data/ruby/proto/gitaly/conflicts_pb.rb +2 -2
- data/ruby/proto/gitaly/diff_pb.rb +2 -2
- data/ruby/proto/gitaly/errors_pb.rb +25 -0
- data/ruby/proto/gitaly/hook_pb.rb +2 -2
- data/ruby/proto/gitaly/hook_services_pb.rb +1 -3
- data/ruby/proto/gitaly/internal_pb.rb +1 -1
- data/ruby/proto/gitaly/lint_pb.rb +1 -0
- data/ruby/proto/gitaly/namespace_pb.rb +1 -1
- data/ruby/proto/gitaly/objectpool_pb.rb +2 -10
- data/ruby/proto/gitaly/objectpool_services_pb.rb +0 -1
- data/ruby/proto/gitaly/operations_pb.rb +10 -2
- data/ruby/proto/gitaly/praefect_pb.rb +32 -2
- data/ruby/proto/gitaly/praefect_services_pb.rb +2 -0
- data/ruby/proto/gitaly/ref_pb.rb +28 -23
- data/ruby/proto/gitaly/ref_services_pb.rb +4 -3
- data/ruby/proto/gitaly/remote_pb.rb +2 -11
- data/ruby/proto/gitaly/remote_services_pb.rb +0 -1
- data/ruby/proto/gitaly/repository-service_pb.rb +11 -56
- data/ruby/proto/gitaly/repository-service_services_pb.rb +6 -15
- data/ruby/proto/gitaly/server_pb.rb +1 -1
- data/ruby/proto/gitaly/shared_pb.rb +2 -2
- data/ruby/proto/gitaly/smarthttp_pb.rb +11 -2
- data/ruby/proto/gitaly/smarthttp_services_pb.rb +2 -0
- data/ruby/proto/gitaly/ssh_pb.rb +11 -2
- data/ruby/proto/gitaly/ssh_services_pb.rb +2 -0
- data/ruby/proto/gitaly/transaction_pb.rb +9 -2
- data/ruby/proto/gitaly/version.rb +1 -1
- data/ruby/proto/gitaly/wiki_pb.rb +2 -2
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d6a0e960a9a47e961c118d983f1278556d4f957c8ce591ecb64d3c5a1be4977d
|
4
|
+
data.tar.gz: 439fd0710abf51bb6c37e0d9bcf94b3958189f926bb84d45d5450d2ea6d5b51f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 60e310504e179b7c19def36248e6fa4ffba4c108ede7014aea618d4b92bde9edd3c2e35632915aa6ea234bb020ee90c0a93ccd7e965d61b486a457da1be5ce42
|
7
|
+
data.tar.gz: 611974eafb48812ca7ea5e3211a5950ae5659c293c857cc34989011ed9f01f02816b891bda4ca0be17fbcbc010055161ab579a75dd55bb5d1004a313efce369a
|
@@ -1,10 +1,10 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: blob.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'lint_pb'
|
7
5
|
require 'shared_pb'
|
6
|
+
require 'google/protobuf'
|
7
|
+
|
8
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
9
|
add_file("blob.proto", :syntax => :proto3) do
|
10
10
|
add_message "gitaly.GetBlobRequest" do
|
@@ -1,10 +1,10 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: cleanup.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'lint_pb'
|
7
5
|
require 'shared_pb'
|
6
|
+
require 'google/protobuf'
|
7
|
+
|
8
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
9
|
add_file("cleanup.proto", :syntax => :proto3) do
|
10
10
|
add_message "gitaly.ApplyBfgObjectMapStreamRequest" do
|
@@ -1,11 +1,11 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: commit.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'lint_pb'
|
7
5
|
require 'shared_pb'
|
8
6
|
require 'google/protobuf/timestamp_pb'
|
7
|
+
require 'google/protobuf'
|
8
|
+
|
9
9
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
10
10
|
add_file("commit.proto", :syntax => :proto3) do
|
11
11
|
add_message "gitaly.ListCommitsRequest" do
|
@@ -73,15 +73,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
73
73
|
value :TREE, 2
|
74
74
|
value :TAG, 3
|
75
75
|
end
|
76
|
-
add_message "gitaly.CommitsBetweenRequest" do
|
77
|
-
optional :repository, :message, 1, "gitaly.Repository"
|
78
|
-
optional :from, :bytes, 2
|
79
|
-
optional :to, :bytes, 3
|
80
|
-
optional :pagination_params, :message, 4, "gitaly.PaginationParameter"
|
81
|
-
end
|
82
|
-
add_message "gitaly.CommitsBetweenResponse" do
|
83
|
-
repeated :commits, :message, 1, "gitaly.GitCommit"
|
84
|
-
end
|
85
76
|
add_message "gitaly.CountCommitsRequest" do
|
86
77
|
optional :repository, :message, 1, "gitaly.Repository"
|
87
78
|
optional :revision, :bytes, 2
|
@@ -317,8 +308,6 @@ module Gitaly
|
|
317
308
|
TreeEntryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.TreeEntryRequest").msgclass
|
318
309
|
TreeEntryResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.TreeEntryResponse").msgclass
|
319
310
|
TreeEntryResponse::ObjectType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.TreeEntryResponse.ObjectType").enummodule
|
320
|
-
CommitsBetweenRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitsBetweenRequest").msgclass
|
321
|
-
CommitsBetweenResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitsBetweenResponse").msgclass
|
322
311
|
CountCommitsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CountCommitsRequest").msgclass
|
323
312
|
CountCommitsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CountCommitsResponse").msgclass
|
324
313
|
CountDivergingCommitsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CountDivergingCommitsRequest").msgclass
|
@@ -15,16 +15,14 @@ module Gitaly
|
|
15
15
|
self.service_name = 'gitaly.CommitService'
|
16
16
|
|
17
17
|
# ListCommits lists all commits reachable via a set of references by doing a
|
18
|
-
# graph walk. This deprecates
|
19
|
-
#
|
20
|
-
# unknown revisions will cause the RPC to fail.
|
18
|
+
# graph walk. This deprecates FindAllCommits and FindCommits (except Follow
|
19
|
+
# is not yet supported). Any unknown revisions will cause the RPC to fail.
|
21
20
|
rpc :ListCommits, ::Gitaly::ListCommitsRequest, stream(::Gitaly::ListCommitsResponse)
|
22
21
|
# ListAllCommits lists all commits present in the repository, including
|
23
22
|
# those not reachable by any reference.
|
24
23
|
rpc :ListAllCommits, ::Gitaly::ListAllCommitsRequest, stream(::Gitaly::ListAllCommitsResponse)
|
25
24
|
rpc :CommitIsAncestor, ::Gitaly::CommitIsAncestorRequest, ::Gitaly::CommitIsAncestorResponse
|
26
25
|
rpc :TreeEntry, ::Gitaly::TreeEntryRequest, stream(::Gitaly::TreeEntryResponse)
|
27
|
-
rpc :CommitsBetween, ::Gitaly::CommitsBetweenRequest, stream(::Gitaly::CommitsBetweenResponse)
|
28
26
|
rpc :CountCommits, ::Gitaly::CountCommitsRequest, ::Gitaly::CountCommitsResponse
|
29
27
|
rpc :CountDivergingCommits, ::Gitaly::CountDivergingCommitsRequest, ::Gitaly::CountDivergingCommitsResponse
|
30
28
|
rpc :GetTreeEntries, ::Gitaly::GetTreeEntriesRequest, stream(::Gitaly::GetTreeEntriesResponse)
|
@@ -1,11 +1,11 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: conflicts.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'lint_pb'
|
7
5
|
require 'shared_pb'
|
8
6
|
require 'google/protobuf/timestamp_pb'
|
7
|
+
require 'google/protobuf'
|
8
|
+
|
9
9
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
10
10
|
add_file("conflicts.proto", :syntax => :proto3) do
|
11
11
|
add_message "gitaly.ListConflictFilesRequest" do
|
@@ -1,10 +1,10 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: diff.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'lint_pb'
|
7
5
|
require 'shared_pb'
|
6
|
+
require 'google/protobuf'
|
7
|
+
|
8
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
9
|
add_file("diff.proto", :syntax => :proto3) do
|
10
10
|
add_message "gitaly.CommitDiffRequest" do
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: errors.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
+
add_file("errors.proto", :syntax => :proto3) do
|
8
|
+
add_message "gitaly.AccessCheckError" do
|
9
|
+
optional :error_message, :string, 1
|
10
|
+
optional :protocol, :string, 2
|
11
|
+
optional :user_id, :string, 3
|
12
|
+
optional :changes, :bytes, 4
|
13
|
+
end
|
14
|
+
add_message "gitaly.ReferenceUpdateError" do
|
15
|
+
optional :reference_name, :bytes, 1
|
16
|
+
optional :old_oid, :string, 2
|
17
|
+
optional :new_oid, :string, 3
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
22
|
+
module Gitaly
|
23
|
+
AccessCheckError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.AccessCheckError").msgclass
|
24
|
+
ReferenceUpdateError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ReferenceUpdateError").msgclass
|
25
|
+
end
|
@@ -1,10 +1,10 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: hook.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'lint_pb'
|
7
5
|
require 'shared_pb'
|
6
|
+
require 'google/protobuf'
|
7
|
+
|
8
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
9
|
add_file("hook.proto", :syntax => :proto3) do
|
10
10
|
add_message "gitaly.PreReceiveHookRequest" do
|
@@ -18,9 +18,7 @@ module Gitaly
|
|
18
18
|
rpc :PostReceiveHook, stream(::Gitaly::PostReceiveHookRequest), stream(::Gitaly::PostReceiveHookResponse)
|
19
19
|
rpc :UpdateHook, ::Gitaly::UpdateHookRequest, stream(::Gitaly::UpdateHookResponse)
|
20
20
|
rpc :ReferenceTransactionHook, stream(::Gitaly::ReferenceTransactionHookRequest), stream(::Gitaly::ReferenceTransactionHookResponse)
|
21
|
-
# PackObjectsHook
|
22
|
-
# uploadpack.packObjectsHook mechanism. It generates a stream of packed
|
23
|
-
# Git objects.
|
21
|
+
# PackObjectsHook has been replaced by PackObjectsHookWithSidechannel. Remove in 15.0.
|
24
22
|
rpc :PackObjectsHook, stream(::Gitaly::PackObjectsHookRequest), stream(::Gitaly::PackObjectsHookResponse)
|
25
23
|
# PackObjectsHookWithSidechannel is an optimized version of PackObjectsHook that uses
|
26
24
|
# a unix socket side channel.
|
@@ -1,9 +1,9 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: internal.proto
|
3
3
|
|
4
|
+
require 'lint_pb'
|
4
5
|
require 'google/protobuf'
|
5
6
|
|
6
|
-
require 'lint_pb'
|
7
7
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
8
8
|
add_file("internal.proto", :syntax => :proto3) do
|
9
9
|
add_message "gitaly.WalkReposRequest" do
|
@@ -1,9 +1,9 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: namespace.proto
|
3
3
|
|
4
|
+
require 'lint_pb'
|
4
5
|
require 'google/protobuf'
|
5
6
|
|
6
|
-
require 'lint_pb'
|
7
7
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
8
8
|
add_file("namespace.proto", :syntax => :proto3) do
|
9
9
|
add_message "gitaly.AddNamespaceRequest" do
|
@@ -1,10 +1,10 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: objectpool.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'lint_pb'
|
7
5
|
require 'shared_pb'
|
6
|
+
require 'google/protobuf'
|
7
|
+
|
8
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
9
|
add_file("objectpool.proto", :syntax => :proto3) do
|
10
10
|
add_message "gitaly.CreateObjectPoolRequest" do
|
@@ -24,12 +24,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
24
24
|
end
|
25
25
|
add_message "gitaly.LinkRepositoryToObjectPoolResponse" do
|
26
26
|
end
|
27
|
-
add_message "gitaly.UnlinkRepositoryFromObjectPoolRequest" do
|
28
|
-
optional :repository, :message, 1, "gitaly.Repository"
|
29
|
-
optional :object_pool, :message, 2, "gitaly.ObjectPool"
|
30
|
-
end
|
31
|
-
add_message "gitaly.UnlinkRepositoryFromObjectPoolResponse" do
|
32
|
-
end
|
33
27
|
add_message "gitaly.ReduplicateRepositoryRequest" do
|
34
28
|
optional :repository, :message, 1, "gitaly.Repository"
|
35
29
|
end
|
@@ -63,8 +57,6 @@ module Gitaly
|
|
63
57
|
DeleteObjectPoolResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DeleteObjectPoolResponse").msgclass
|
64
58
|
LinkRepositoryToObjectPoolRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.LinkRepositoryToObjectPoolRequest").msgclass
|
65
59
|
LinkRepositoryToObjectPoolResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.LinkRepositoryToObjectPoolResponse").msgclass
|
66
|
-
UnlinkRepositoryFromObjectPoolRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UnlinkRepositoryFromObjectPoolRequest").msgclass
|
67
|
-
UnlinkRepositoryFromObjectPoolResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UnlinkRepositoryFromObjectPoolResponse").msgclass
|
68
60
|
ReduplicateRepositoryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ReduplicateRepositoryRequest").msgclass
|
69
61
|
ReduplicateRepositoryResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ReduplicateRepositoryResponse").msgclass
|
70
62
|
DisconnectGitAlternatesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DisconnectGitAlternatesRequest").msgclass
|
@@ -18,7 +18,6 @@ module Gitaly
|
|
18
18
|
rpc :DeleteObjectPool, ::Gitaly::DeleteObjectPoolRequest, ::Gitaly::DeleteObjectPoolResponse
|
19
19
|
# Repositories are assumed to be stored on the same disk
|
20
20
|
rpc :LinkRepositoryToObjectPool, ::Gitaly::LinkRepositoryToObjectPoolRequest, ::Gitaly::LinkRepositoryToObjectPoolResponse
|
21
|
-
rpc :UnlinkRepositoryFromObjectPool, ::Gitaly::UnlinkRepositoryFromObjectPoolRequest, ::Gitaly::UnlinkRepositoryFromObjectPoolResponse
|
22
21
|
rpc :ReduplicateRepository, ::Gitaly::ReduplicateRepositoryRequest, ::Gitaly::ReduplicateRepositoryResponse
|
23
22
|
rpc :DisconnectGitAlternates, ::Gitaly::DisconnectGitAlternatesRequest, ::Gitaly::DisconnectGitAlternatesResponse
|
24
23
|
rpc :FetchIntoObjectPool, ::Gitaly::FetchIntoObjectPoolRequest, ::Gitaly::FetchIntoObjectPoolResponse
|
@@ -1,11 +1,12 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: operations.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'lint_pb'
|
7
5
|
require 'shared_pb'
|
6
|
+
require 'errors_pb'
|
8
7
|
require 'google/protobuf/timestamp_pb'
|
8
|
+
require 'google/protobuf'
|
9
|
+
|
9
10
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
10
11
|
add_file("operations.proto", :syntax => :proto3) do
|
11
12
|
add_message "gitaly.UserCreateBranchRequest" do
|
@@ -71,6 +72,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
71
72
|
optional :branch_update, :message, 3, "gitaly.OperationBranchUpdate"
|
72
73
|
optional :pre_receive_error, :string, 4
|
73
74
|
end
|
75
|
+
add_message "gitaly.UserMergeBranchError" do
|
76
|
+
oneof :error do
|
77
|
+
optional :access_check, :message, 1, "gitaly.AccessCheckError"
|
78
|
+
optional :reference_update, :message, 2, "gitaly.ReferenceUpdateError"
|
79
|
+
end
|
80
|
+
end
|
74
81
|
add_message "gitaly.UserMergeToRefRequest" do
|
75
82
|
optional :repository, :message, 1, "gitaly.Repository"
|
76
83
|
optional :user, :message, 2, "gitaly.User"
|
@@ -277,6 +284,7 @@ module Gitaly
|
|
277
284
|
UserCreateTagResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCreateTagResponse").msgclass
|
278
285
|
UserMergeBranchRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserMergeBranchRequest").msgclass
|
279
286
|
UserMergeBranchResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserMergeBranchResponse").msgclass
|
287
|
+
UserMergeBranchError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserMergeBranchError").msgclass
|
280
288
|
UserMergeToRefRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserMergeToRefRequest").msgclass
|
281
289
|
UserMergeToRefResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserMergeToRefResponse").msgclass
|
282
290
|
OperationBranchUpdate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.OperationBranchUpdate").msgclass
|
@@ -1,12 +1,38 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: praefect.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'lint_pb'
|
7
5
|
require 'shared_pb'
|
6
|
+
require 'google/protobuf'
|
7
|
+
|
8
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
9
|
add_file("praefect.proto", :syntax => :proto3) do
|
10
|
+
add_message "gitaly.GetRepositoryMetadataRequest" do
|
11
|
+
oneof :query do
|
12
|
+
optional :repository_id, :int64, 1
|
13
|
+
optional :path, :message, 2, "gitaly.GetRepositoryMetadataRequest.Path"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
add_message "gitaly.GetRepositoryMetadataRequest.Path" do
|
17
|
+
optional :virtual_storage, :string, 1
|
18
|
+
optional :relative_path, :string, 2
|
19
|
+
end
|
20
|
+
add_message "gitaly.GetRepositoryMetadataResponse" do
|
21
|
+
optional :repository_id, :int64, 1
|
22
|
+
optional :virtual_storage, :string, 2
|
23
|
+
optional :relative_path, :string, 3
|
24
|
+
optional :replica_path, :string, 4
|
25
|
+
optional :primary, :string, 5
|
26
|
+
optional :generation, :int64, 6
|
27
|
+
repeated :replicas, :message, 7, "gitaly.GetRepositoryMetadataResponse.Replica"
|
28
|
+
end
|
29
|
+
add_message "gitaly.GetRepositoryMetadataResponse.Replica" do
|
30
|
+
optional :storage, :string, 1
|
31
|
+
optional :assigned, :bool, 2
|
32
|
+
optional :generation, :int64, 4
|
33
|
+
optional :healthy, :bool, 5
|
34
|
+
optional :valid_primary, :bool, 6
|
35
|
+
end
|
10
36
|
add_message "gitaly.SetReplicationFactorRequest" do
|
11
37
|
optional :virtual_storage, :string, 1
|
12
38
|
optional :relative_path, :string, 2
|
@@ -57,6 +83,10 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
57
83
|
end
|
58
84
|
|
59
85
|
module Gitaly
|
86
|
+
GetRepositoryMetadataRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetRepositoryMetadataRequest").msgclass
|
87
|
+
GetRepositoryMetadataRequest::Path = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetRepositoryMetadataRequest.Path").msgclass
|
88
|
+
GetRepositoryMetadataResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetRepositoryMetadataResponse").msgclass
|
89
|
+
GetRepositoryMetadataResponse::Replica = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetRepositoryMetadataResponse.Replica").msgclass
|
60
90
|
SetReplicationFactorRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SetReplicationFactorRequest").msgclass
|
61
91
|
SetReplicationFactorResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SetReplicationFactorResponse").msgclass
|
62
92
|
SetAuthoritativeStorageRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SetAuthoritativeStorageRequest").msgclass
|
@@ -30,6 +30,8 @@ module Gitaly
|
|
30
30
|
# from a Praefect node that does not yet know about a new node. As assignments of unconfigured storages are ignored, replication
|
31
31
|
# factor of repositories assigned to a storage node removed from the cluster is effectively decreased.
|
32
32
|
rpc :SetReplicationFactor, ::Gitaly::SetReplicationFactorRequest, ::Gitaly::SetReplicationFactorResponse
|
33
|
+
# GetRepositoryMetadata returns the cluster metadata for a repository. Returns NotFound if the repository does not exist.
|
34
|
+
rpc :GetRepositoryMetadata, ::Gitaly::GetRepositoryMetadataRequest, ::Gitaly::GetRepositoryMetadataResponse
|
33
35
|
end
|
34
36
|
|
35
37
|
Stub = Service.rpc_stub_class
|
data/ruby/proto/gitaly/ref_pb.rb
CHANGED
@@ -1,22 +1,13 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: ref.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'lint_pb'
|
7
5
|
require 'shared_pb'
|
8
|
-
require 'blob_pb'
|
9
6
|
require 'google/protobuf/timestamp_pb'
|
7
|
+
require 'google/protobuf'
|
8
|
+
|
10
9
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
11
10
|
add_file("ref.proto", :syntax => :proto3) do
|
12
|
-
add_message "gitaly.ListNewBlobsRequest" do
|
13
|
-
optional :repository, :message, 1, "gitaly.Repository"
|
14
|
-
optional :commit_id, :string, 2
|
15
|
-
optional :limit, :uint32, 3
|
16
|
-
end
|
17
|
-
add_message "gitaly.ListNewBlobsResponse" do
|
18
|
-
repeated :new_blob_objects, :message, 1, "gitaly.NewBlobObject"
|
19
|
-
end
|
20
11
|
add_message "gitaly.FindDefaultBranchNameRequest" do
|
21
12
|
optional :repository, :message, 1, "gitaly.Repository"
|
22
13
|
end
|
@@ -84,6 +75,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
84
75
|
add_message "gitaly.FindAllTagsRequest" do
|
85
76
|
optional :repository, :message, 1, "gitaly.Repository"
|
86
77
|
optional :sort_by, :message, 2, "gitaly.FindAllTagsRequest.SortBy"
|
78
|
+
optional :pagination_params, :message, 3, "gitaly.PaginationParameter"
|
87
79
|
end
|
88
80
|
add_message "gitaly.FindAllTagsRequest.SortBy" do
|
89
81
|
optional :key, :enum, 1, "gitaly.FindAllTagsRequest.SortBy.Key"
|
@@ -175,13 +167,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
175
167
|
optional :message, :bytes, 2
|
176
168
|
optional :tag_id, :string, 3
|
177
169
|
end
|
178
|
-
add_message "gitaly.ListNewCommitsRequest" do
|
179
|
-
optional :repository, :message, 1, "gitaly.Repository"
|
180
|
-
optional :commit_id, :string, 2
|
181
|
-
end
|
182
|
-
add_message "gitaly.ListNewCommitsResponse" do
|
183
|
-
repeated :commits, :message, 1, "gitaly.GitCommit"
|
184
|
-
end
|
185
170
|
add_message "gitaly.FindAllRemoteBranchesRequest" do
|
186
171
|
optional :repository, :message, 1, "gitaly.Repository"
|
187
172
|
optional :remote_name, :string, 2
|
@@ -191,7 +176,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
191
176
|
end
|
192
177
|
add_message "gitaly.PackRefsRequest" do
|
193
178
|
optional :repository, :message, 1, "gitaly.Repository"
|
194
|
-
optional :all_refs, :bool, 2
|
195
179
|
end
|
196
180
|
add_message "gitaly.PackRefsResponse" do
|
197
181
|
end
|
@@ -199,6 +183,17 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
199
183
|
optional :repository, :message, 1, "gitaly.Repository"
|
200
184
|
repeated :patterns, :bytes, 2
|
201
185
|
optional :head, :bool, 3
|
186
|
+
optional :sort_by, :message, 4, "gitaly.ListRefsRequest.SortBy"
|
187
|
+
end
|
188
|
+
add_message "gitaly.ListRefsRequest.SortBy" do
|
189
|
+
optional :key, :enum, 1, "gitaly.ListRefsRequest.SortBy.Key"
|
190
|
+
optional :direction, :enum, 2, "gitaly.SortDirection"
|
191
|
+
end
|
192
|
+
add_enum "gitaly.ListRefsRequest.SortBy.Key" do
|
193
|
+
value :REFNAME, 0
|
194
|
+
value :CREATORDATE, 1
|
195
|
+
value :AUTHORDATE, 2
|
196
|
+
value :COMMITTERDATE, 3
|
202
197
|
end
|
203
198
|
add_message "gitaly.ListRefsResponse" do
|
204
199
|
repeated :references, :message, 1, "gitaly.ListRefsResponse.Reference"
|
@@ -207,12 +202,20 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
207
202
|
optional :name, :bytes, 1
|
208
203
|
optional :target, :string, 2
|
209
204
|
end
|
205
|
+
add_message "gitaly.FindRefsByOIDRequest" do
|
206
|
+
optional :repository, :message, 1, "gitaly.Repository"
|
207
|
+
optional :oid, :string, 2
|
208
|
+
repeated :ref_patterns, :string, 3
|
209
|
+
optional :sort_field, :string, 4
|
210
|
+
optional :limit, :uint32, 5
|
211
|
+
end
|
212
|
+
add_message "gitaly.FindRefsByOIDResponse" do
|
213
|
+
repeated :refs, :string, 1
|
214
|
+
end
|
210
215
|
end
|
211
216
|
end
|
212
217
|
|
213
218
|
module Gitaly
|
214
|
-
ListNewBlobsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListNewBlobsRequest").msgclass
|
215
|
-
ListNewBlobsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListNewBlobsResponse").msgclass
|
216
219
|
FindDefaultBranchNameRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindDefaultBranchNameRequest").msgclass
|
217
220
|
FindDefaultBranchNameResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindDefaultBranchNameResponse").msgclass
|
218
221
|
FindAllBranchNamesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindAllBranchNamesRequest").msgclass
|
@@ -253,13 +256,15 @@ module Gitaly
|
|
253
256
|
GetTagSignaturesResponse::TagSignature = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetTagSignaturesResponse.TagSignature").msgclass
|
254
257
|
GetTagMessagesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetTagMessagesRequest").msgclass
|
255
258
|
GetTagMessagesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetTagMessagesResponse").msgclass
|
256
|
-
ListNewCommitsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListNewCommitsRequest").msgclass
|
257
|
-
ListNewCommitsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListNewCommitsResponse").msgclass
|
258
259
|
FindAllRemoteBranchesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindAllRemoteBranchesRequest").msgclass
|
259
260
|
FindAllRemoteBranchesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindAllRemoteBranchesResponse").msgclass
|
260
261
|
PackRefsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PackRefsRequest").msgclass
|
261
262
|
PackRefsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PackRefsResponse").msgclass
|
262
263
|
ListRefsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListRefsRequest").msgclass
|
264
|
+
ListRefsRequest::SortBy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListRefsRequest.SortBy").msgclass
|
265
|
+
ListRefsRequest::SortBy::Key = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListRefsRequest.SortBy.Key").enummodule
|
263
266
|
ListRefsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListRefsResponse").msgclass
|
264
267
|
ListRefsResponse::Reference = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListRefsResponse.Reference").msgclass
|
268
|
+
FindRefsByOIDRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindRefsByOIDRequest").msgclass
|
269
|
+
FindRefsByOIDResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindRefsByOIDResponse").msgclass
|
265
270
|
end
|
@@ -37,14 +37,15 @@ module Gitaly
|
|
37
37
|
# which has no signature, but its unsigned contents will still be returned.
|
38
38
|
rpc :GetTagSignatures, ::Gitaly::GetTagSignaturesRequest, stream(::Gitaly::GetTagSignaturesResponse)
|
39
39
|
rpc :GetTagMessages, ::Gitaly::GetTagMessagesRequest, stream(::Gitaly::GetTagMessagesResponse)
|
40
|
-
# Returns commits that are only reachable from the ref passed
|
41
|
-
rpc :ListNewCommits, ::Gitaly::ListNewCommitsRequest, stream(::Gitaly::ListNewCommitsResponse)
|
42
|
-
rpc :ListNewBlobs, ::Gitaly::ListNewBlobsRequest, stream(::Gitaly::ListNewBlobsResponse)
|
43
40
|
rpc :PackRefs, ::Gitaly::PackRefsRequest, ::Gitaly::PackRefsResponse
|
44
41
|
# ListRefs returns a stream of all references in the repository. By default, pseudo-revisions like HEAD
|
45
42
|
# will not be returned by this RPC. Any symbolic references will be resolved to the object ID it is
|
46
43
|
# pointing at.
|
47
44
|
rpc :ListRefs, ::Gitaly::ListRefsRequest, stream(::Gitaly::ListRefsResponse)
|
45
|
+
# FindRefsByOID returns an array of fully qualified reference names that point to an object ID.
|
46
|
+
# It returns nothing if the object ID doesn't exist, or doesn't point to
|
47
|
+
# any branches or tags. Prefixes can be also be used as the object ID.
|
48
|
+
rpc :FindRefsByOID, ::Gitaly::FindRefsByOIDRequest, ::Gitaly::FindRefsByOIDResponse
|
48
49
|
end
|
49
50
|
|
50
51
|
Stub = Service.rpc_stub_class
|
@@ -1,19 +1,12 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: remote.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'lint_pb'
|
7
5
|
require 'shared_pb'
|
6
|
+
require 'google/protobuf'
|
7
|
+
|
8
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
9
|
add_file("remote.proto", :syntax => :proto3) do
|
10
|
-
add_message "gitaly.FetchInternalRemoteRequest" do
|
11
|
-
optional :repository, :message, 1, "gitaly.Repository"
|
12
|
-
optional :remote_repository, :message, 2, "gitaly.Repository"
|
13
|
-
end
|
14
|
-
add_message "gitaly.FetchInternalRemoteResponse" do
|
15
|
-
optional :result, :bool, 1
|
16
|
-
end
|
17
10
|
add_message "gitaly.UpdateRemoteMirrorRequest" do
|
18
11
|
optional :repository, :message, 1, "gitaly.Repository"
|
19
12
|
optional :remote, :message, 7, "gitaly.UpdateRemoteMirrorRequest.Remote"
|
@@ -48,8 +41,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
48
41
|
end
|
49
42
|
|
50
43
|
module Gitaly
|
51
|
-
FetchInternalRemoteRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FetchInternalRemoteRequest").msgclass
|
52
|
-
FetchInternalRemoteResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FetchInternalRemoteResponse").msgclass
|
53
44
|
UpdateRemoteMirrorRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UpdateRemoteMirrorRequest").msgclass
|
54
45
|
UpdateRemoteMirrorRequest::Remote = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UpdateRemoteMirrorRequest.Remote").msgclass
|
55
46
|
UpdateRemoteMirrorResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UpdateRemoteMirrorResponse").msgclass
|
@@ -14,7 +14,6 @@ module Gitaly
|
|
14
14
|
self.unmarshal_class_method = :decode
|
15
15
|
self.service_name = 'gitaly.RemoteService'
|
16
16
|
|
17
|
-
rpc :FetchInternalRemote, ::Gitaly::FetchInternalRemoteRequest, ::Gitaly::FetchInternalRemoteResponse
|
18
17
|
# UpdateRemoteMirror compares the references in the target repository and its remote mirror
|
19
18
|
# repository. Any differences in the references are then addressed by pushing the differing
|
20
19
|
# references to the mirror. Created and modified references are updated, removed references are
|
@@ -1,10 +1,10 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: repository-service.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'lint_pb'
|
7
5
|
require 'shared_pb'
|
6
|
+
require 'google/protobuf'
|
7
|
+
|
8
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
9
|
add_file("repository-service.proto", :syntax => :proto3) do
|
10
10
|
add_message "gitaly.RepositoryExistsRequest" do
|
@@ -62,6 +62,13 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
62
62
|
end
|
63
63
|
add_message "gitaly.ApplyGitattributesResponse" do
|
64
64
|
end
|
65
|
+
add_message "gitaly.FetchBundleRequest" do
|
66
|
+
optional :repository, :message, 1, "gitaly.Repository"
|
67
|
+
optional :data, :bytes, 2
|
68
|
+
optional :update_head, :bool, 3
|
69
|
+
end
|
70
|
+
add_message "gitaly.FetchBundleResponse" do
|
71
|
+
end
|
65
72
|
add_message "gitaly.FetchRemoteRequest" do
|
66
73
|
optional :repository, :message, 1, "gitaly.Repository"
|
67
74
|
optional :force, :bool, 3
|
@@ -143,13 +150,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
143
150
|
end
|
144
151
|
add_message "gitaly.CreateForkResponse" do
|
145
152
|
end
|
146
|
-
add_message "gitaly.IsSquashInProgressRequest" do
|
147
|
-
optional :repository, :message, 1, "gitaly.Repository"
|
148
|
-
optional :squash_id, :string, 2
|
149
|
-
end
|
150
|
-
add_message "gitaly.IsSquashInProgressResponse" do
|
151
|
-
optional :in_progress, :bool, 1
|
152
|
-
end
|
153
153
|
add_message "gitaly.CreateRepositoryFromURLRequest" do
|
154
154
|
optional :repository, :message, 1, "gitaly.Repository"
|
155
155
|
optional :url, :string, 2
|
@@ -175,26 +175,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
175
175
|
add_message "gitaly.GetConfigResponse" do
|
176
176
|
optional :data, :bytes, 1
|
177
177
|
end
|
178
|
-
add_message "gitaly.SetConfigRequest" do
|
179
|
-
optional :repository, :message, 1, "gitaly.Repository"
|
180
|
-
repeated :entries, :message, 2, "gitaly.SetConfigRequest.Entry"
|
181
|
-
end
|
182
|
-
add_message "gitaly.SetConfigRequest.Entry" do
|
183
|
-
optional :key, :string, 1
|
184
|
-
oneof :value do
|
185
|
-
optional :value_str, :string, 2
|
186
|
-
optional :value_int32, :int32, 3
|
187
|
-
optional :value_bool, :bool, 4
|
188
|
-
end
|
189
|
-
end
|
190
|
-
add_message "gitaly.SetConfigResponse" do
|
191
|
-
end
|
192
|
-
add_message "gitaly.DeleteConfigRequest" do
|
193
|
-
optional :repository, :message, 1, "gitaly.Repository"
|
194
|
-
repeated :keys, :string, 2
|
195
|
-
end
|
196
|
-
add_message "gitaly.DeleteConfigResponse" do
|
197
|
-
end
|
198
178
|
add_message "gitaly.RestoreCustomHooksRequest" do
|
199
179
|
optional :repository, :message, 1, "gitaly.Repository"
|
200
180
|
optional :data, :bytes, 2
|
@@ -255,8 +235,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
255
235
|
add_message "gitaly.GetRawChangesResponse.RawChange" do
|
256
236
|
optional :blob_id, :string, 1
|
257
237
|
optional :size, :int64, 2
|
258
|
-
optional :new_path, :string, 3
|
259
|
-
optional :old_path, :string, 4
|
260
238
|
optional :operation, :enum, 5, "gitaly.GetRawChangesResponse.RawChange.Operation"
|
261
239
|
optional :raw_operation, :string, 6
|
262
240
|
optional :old_mode, :int32, 7
|
@@ -304,20 +282,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
304
282
|
add_message "gitaly.GetObjectDirectorySizeResponse" do
|
305
283
|
optional :size, :int64, 1
|
306
284
|
end
|
307
|
-
add_message "gitaly.CloneFromPoolRequest" do
|
308
|
-
optional :repository, :message, 1, "gitaly.Repository"
|
309
|
-
optional :pool, :message, 2, "gitaly.ObjectPool"
|
310
|
-
optional :remote, :message, 3, "gitaly.Remote"
|
311
|
-
end
|
312
|
-
add_message "gitaly.CloneFromPoolResponse" do
|
313
|
-
end
|
314
|
-
add_message "gitaly.CloneFromPoolInternalRequest" do
|
315
|
-
optional :repository, :message, 1, "gitaly.Repository"
|
316
|
-
optional :pool, :message, 2, "gitaly.ObjectPool"
|
317
|
-
optional :source_repository, :message, 3, "gitaly.Repository"
|
318
|
-
end
|
319
|
-
add_message "gitaly.CloneFromPoolInternalResponse" do
|
320
|
-
end
|
321
285
|
add_message "gitaly.RemoveRepositoryRequest" do
|
322
286
|
optional :repository, :message, 1, "gitaly.Repository"
|
323
287
|
end
|
@@ -369,6 +333,8 @@ module Gitaly
|
|
369
333
|
RepositorySizeResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RepositorySizeResponse").msgclass
|
370
334
|
ApplyGitattributesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ApplyGitattributesRequest").msgclass
|
371
335
|
ApplyGitattributesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ApplyGitattributesResponse").msgclass
|
336
|
+
FetchBundleRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FetchBundleRequest").msgclass
|
337
|
+
FetchBundleResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FetchBundleResponse").msgclass
|
372
338
|
FetchRemoteRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FetchRemoteRequest").msgclass
|
373
339
|
FetchRemoteResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FetchRemoteResponse").msgclass
|
374
340
|
CreateRepositoryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CreateRepositoryRequest").msgclass
|
@@ -388,8 +354,6 @@ module Gitaly
|
|
388
354
|
FindMergeBaseResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindMergeBaseResponse").msgclass
|
389
355
|
CreateForkRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CreateForkRequest").msgclass
|
390
356
|
CreateForkResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CreateForkResponse").msgclass
|
391
|
-
IsSquashInProgressRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.IsSquashInProgressRequest").msgclass
|
392
|
-
IsSquashInProgressResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.IsSquashInProgressResponse").msgclass
|
393
357
|
CreateRepositoryFromURLRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CreateRepositoryFromURLRequest").msgclass
|
394
358
|
CreateRepositoryFromURLResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CreateRepositoryFromURLResponse").msgclass
|
395
359
|
CreateBundleRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CreateBundleRequest").msgclass
|
@@ -398,11 +362,6 @@ module Gitaly
|
|
398
362
|
CreateBundleFromRefListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CreateBundleFromRefListResponse").msgclass
|
399
363
|
GetConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetConfigRequest").msgclass
|
400
364
|
GetConfigResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetConfigResponse").msgclass
|
401
|
-
SetConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SetConfigRequest").msgclass
|
402
|
-
SetConfigRequest::Entry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SetConfigRequest.Entry").msgclass
|
403
|
-
SetConfigResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SetConfigResponse").msgclass
|
404
|
-
DeleteConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DeleteConfigRequest").msgclass
|
405
|
-
DeleteConfigResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DeleteConfigResponse").msgclass
|
406
365
|
RestoreCustomHooksRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RestoreCustomHooksRequest").msgclass
|
407
366
|
RestoreCustomHooksResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RestoreCustomHooksResponse").msgclass
|
408
367
|
BackupCustomHooksRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.BackupCustomHooksRequest").msgclass
|
@@ -430,10 +389,6 @@ module Gitaly
|
|
430
389
|
Remote = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.Remote").msgclass
|
431
390
|
GetObjectDirectorySizeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetObjectDirectorySizeRequest").msgclass
|
432
391
|
GetObjectDirectorySizeResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetObjectDirectorySizeResponse").msgclass
|
433
|
-
CloneFromPoolRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CloneFromPoolRequest").msgclass
|
434
|
-
CloneFromPoolResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CloneFromPoolResponse").msgclass
|
435
|
-
CloneFromPoolInternalRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CloneFromPoolInternalRequest").msgclass
|
436
|
-
CloneFromPoolInternalResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CloneFromPoolInternalResponse").msgclass
|
437
392
|
RemoveRepositoryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RemoveRepositoryRequest").msgclass
|
438
393
|
RemoveRepositoryResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RemoveRepositoryResponse").msgclass
|
439
394
|
RenameRepositoryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RenameRepositoryRequest").msgclass
|
@@ -35,27 +35,20 @@ module Gitaly
|
|
35
35
|
rpc :WriteRef, ::Gitaly::WriteRefRequest, ::Gitaly::WriteRefResponse
|
36
36
|
rpc :FindMergeBase, ::Gitaly::FindMergeBaseRequest, ::Gitaly::FindMergeBaseResponse
|
37
37
|
rpc :CreateFork, ::Gitaly::CreateForkRequest, ::Gitaly::CreateForkResponse
|
38
|
-
# IsSquashInProgress is deprecated and will always return false.
|
39
|
-
rpc :IsSquashInProgress, ::Gitaly::IsSquashInProgressRequest, ::Gitaly::IsSquashInProgressResponse
|
40
38
|
rpc :CreateRepositoryFromURL, ::Gitaly::CreateRepositoryFromURLRequest, ::Gitaly::CreateRepositoryFromURLResponse
|
41
39
|
# CreateBundle creates a bundle from all refs
|
42
40
|
rpc :CreateBundle, ::Gitaly::CreateBundleRequest, stream(::Gitaly::CreateBundleResponse)
|
43
|
-
# CreateBundleFromRefList creates a bundle from a stream of ref patterns
|
41
|
+
# CreateBundleFromRefList creates a bundle from a stream of ref patterns.
|
42
|
+
# When the bundle would be empty the FailedPrecondition error code is returned.
|
44
43
|
rpc :CreateBundleFromRefList, stream(::Gitaly::CreateBundleFromRefListRequest), stream(::Gitaly::CreateBundleFromRefListResponse)
|
44
|
+
# FetchBundle fetches references from a bundle into the local repository.
|
45
|
+
# Refs will be mirrored to the target repository with the refspec
|
46
|
+
# "+refs/*:refs/*" and refs that do not exist in the bundle will be removed.
|
47
|
+
rpc :FetchBundle, stream(::Gitaly::FetchBundleRequest), ::Gitaly::FetchBundleResponse
|
45
48
|
rpc :CreateRepositoryFromBundle, stream(::Gitaly::CreateRepositoryFromBundleRequest), ::Gitaly::CreateRepositoryFromBundleResponse
|
46
49
|
# GetConfig reads the target repository's gitconfig and streams its contents
|
47
50
|
# back. Returns a NotFound error in case no gitconfig was found.
|
48
51
|
rpc :GetConfig, ::Gitaly::GetConfigRequest, stream(::Gitaly::GetConfigResponse)
|
49
|
-
# SetConfig writes a set of config entries into the target repository's
|
50
|
-
# gitconfig. This RPC is deprecated with no general replacement: modifying
|
51
|
-
# the on-disk gitconfig is not supported anymore. The only usecase that is
|
52
|
-
# still supported is writing "gitlab.fullpath" via the new `SetFullPath()`
|
53
|
-
# RPC.
|
54
|
-
rpc :SetConfig, ::Gitaly::SetConfigRequest, ::Gitaly::SetConfigResponse
|
55
|
-
# DeleteConfig deletes a set of config entries from the target repository's
|
56
|
-
# gitconfig. This RPC is deprecated with no replacement: modifying the
|
57
|
-
# on-disk gitconfig is not supported anymore.
|
58
|
-
rpc :DeleteConfig, ::Gitaly::DeleteConfigRequest, ::Gitaly::DeleteConfigResponse
|
59
52
|
rpc :FindLicense, ::Gitaly::FindLicenseRequest, ::Gitaly::FindLicenseResponse
|
60
53
|
rpc :GetInfoAttributes, ::Gitaly::GetInfoAttributesRequest, stream(::Gitaly::GetInfoAttributesResponse)
|
61
54
|
rpc :CalculateChecksum, ::Gitaly::CalculateChecksumRequest, ::Gitaly::CalculateChecksumResponse
|
@@ -68,8 +61,6 @@ module Gitaly
|
|
68
61
|
rpc :RestoreCustomHooks, stream(::Gitaly::RestoreCustomHooksRequest), ::Gitaly::RestoreCustomHooksResponse
|
69
62
|
rpc :BackupCustomHooks, ::Gitaly::BackupCustomHooksRequest, stream(::Gitaly::BackupCustomHooksResponse)
|
70
63
|
rpc :GetObjectDirectorySize, ::Gitaly::GetObjectDirectorySizeRequest, ::Gitaly::GetObjectDirectorySizeResponse
|
71
|
-
rpc :CloneFromPool, ::Gitaly::CloneFromPoolRequest, ::Gitaly::CloneFromPoolResponse
|
72
|
-
rpc :CloneFromPoolInternal, ::Gitaly::CloneFromPoolInternalRequest, ::Gitaly::CloneFromPoolInternalResponse
|
73
64
|
# RemoveRepository will move the repository to `+gitaly/tmp/<relative_path>_removed` and
|
74
65
|
# eventually remove it. This ensures that even on networked filesystems the
|
75
66
|
# data is actually removed even if there's someone still handling the data.
|
@@ -1,9 +1,9 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: server.proto
|
3
3
|
|
4
|
+
require 'lint_pb'
|
4
5
|
require 'google/protobuf'
|
5
6
|
|
6
|
-
require 'lint_pb'
|
7
7
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
8
8
|
add_file("server.proto", :syntax => :proto3) do
|
9
9
|
add_message "gitaly.ServerInfoRequest" do
|
@@ -1,10 +1,10 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: shared.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'google/protobuf/timestamp_pb'
|
7
5
|
require 'lint_pb'
|
6
|
+
require 'google/protobuf'
|
7
|
+
|
8
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
9
|
add_file("shared.proto", :syntax => :proto3) do
|
10
10
|
add_message "gitaly.Repository" do
|
@@ -1,10 +1,10 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: smarthttp.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'lint_pb'
|
7
5
|
require 'shared_pb'
|
6
|
+
require 'google/protobuf'
|
7
|
+
|
8
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
9
|
add_file("smarthttp.proto", :syntax => :proto3) do
|
10
10
|
add_message "gitaly.InfoRefsRequest" do
|
@@ -24,6 +24,13 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
24
24
|
add_message "gitaly.PostUploadPackResponse" do
|
25
25
|
optional :data, :bytes, 1
|
26
26
|
end
|
27
|
+
add_message "gitaly.PostUploadPackWithSidechannelRequest" do
|
28
|
+
optional :repository, :message, 1, "gitaly.Repository"
|
29
|
+
repeated :git_config_options, :string, 2
|
30
|
+
optional :git_protocol, :string, 3
|
31
|
+
end
|
32
|
+
add_message "gitaly.PostUploadPackWithSidechannelResponse" do
|
33
|
+
end
|
27
34
|
add_message "gitaly.PostReceivePackRequest" do
|
28
35
|
optional :repository, :message, 1, "gitaly.Repository"
|
29
36
|
optional :data, :bytes, 2
|
@@ -44,6 +51,8 @@ module Gitaly
|
|
44
51
|
InfoRefsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.InfoRefsResponse").msgclass
|
45
52
|
PostUploadPackRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PostUploadPackRequest").msgclass
|
46
53
|
PostUploadPackResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PostUploadPackResponse").msgclass
|
54
|
+
PostUploadPackWithSidechannelRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PostUploadPackWithSidechannelRequest").msgclass
|
55
|
+
PostUploadPackWithSidechannelResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PostUploadPackWithSidechannelResponse").msgclass
|
47
56
|
PostReceivePackRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PostReceivePackRequest").msgclass
|
48
57
|
PostReceivePackResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PostReceivePackResponse").msgclass
|
49
58
|
end
|
@@ -24,6 +24,8 @@ module Gitaly
|
|
24
24
|
rpc :InfoRefsReceivePack, ::Gitaly::InfoRefsRequest, stream(::Gitaly::InfoRefsResponse)
|
25
25
|
# Request and response body for POST /upload-pack
|
26
26
|
rpc :PostUploadPack, stream(::Gitaly::PostUploadPackRequest), stream(::Gitaly::PostUploadPackResponse)
|
27
|
+
# Request and response body for POST /upload-pack using sidechannel protocol
|
28
|
+
rpc :PostUploadPackWithSidechannel, ::Gitaly::PostUploadPackWithSidechannelRequest, ::Gitaly::PostUploadPackWithSidechannelResponse
|
27
29
|
# Request and response body for POST /receive-pack
|
28
30
|
rpc :PostReceivePack, stream(::Gitaly::PostReceivePackRequest), stream(::Gitaly::PostReceivePackResponse)
|
29
31
|
end
|
data/ruby/proto/gitaly/ssh_pb.rb
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: ssh.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'lint_pb'
|
7
5
|
require 'shared_pb'
|
6
|
+
require 'google/protobuf'
|
7
|
+
|
8
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
9
|
add_file("ssh.proto", :syntax => :proto3) do
|
10
10
|
add_message "gitaly.SSHUploadPackRequest" do
|
@@ -18,6 +18,13 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
18
18
|
optional :stderr, :bytes, 2
|
19
19
|
optional :exit_status, :message, 3, "gitaly.ExitStatus"
|
20
20
|
end
|
21
|
+
add_message "gitaly.SSHUploadPackWithSidechannelRequest" do
|
22
|
+
optional :repository, :message, 1, "gitaly.Repository"
|
23
|
+
repeated :git_config_options, :string, 2
|
24
|
+
optional :git_protocol, :string, 3
|
25
|
+
end
|
26
|
+
add_message "gitaly.SSHUploadPackWithSidechannelResponse" do
|
27
|
+
end
|
21
28
|
add_message "gitaly.SSHReceivePackRequest" do
|
22
29
|
optional :repository, :message, 1, "gitaly.Repository"
|
23
30
|
optional :stdin, :bytes, 2
|
@@ -47,6 +54,8 @@ end
|
|
47
54
|
module Gitaly
|
48
55
|
SSHUploadPackRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SSHUploadPackRequest").msgclass
|
49
56
|
SSHUploadPackResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SSHUploadPackResponse").msgclass
|
57
|
+
SSHUploadPackWithSidechannelRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SSHUploadPackWithSidechannelRequest").msgclass
|
58
|
+
SSHUploadPackWithSidechannelResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SSHUploadPackWithSidechannelResponse").msgclass
|
50
59
|
SSHReceivePackRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SSHReceivePackRequest").msgclass
|
51
60
|
SSHReceivePackResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SSHReceivePackResponse").msgclass
|
52
61
|
SSHUploadArchiveRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SSHUploadArchiveRequest").msgclass
|
@@ -16,6 +16,8 @@ module Gitaly
|
|
16
16
|
|
17
17
|
# To forward 'git upload-pack' to Gitaly for SSH sessions
|
18
18
|
rpc :SSHUploadPack, stream(::Gitaly::SSHUploadPackRequest), stream(::Gitaly::SSHUploadPackResponse)
|
19
|
+
# To forward 'git upload-pack' to Gitaly for SSH sessions, via sidechannels
|
20
|
+
rpc :SSHUploadPackWithSidechannel, ::Gitaly::SSHUploadPackWithSidechannelRequest, ::Gitaly::SSHUploadPackWithSidechannelResponse
|
19
21
|
# To forward 'git receive-pack' to Gitaly for SSH sessions
|
20
22
|
rpc :SSHReceivePack, stream(::Gitaly::SSHReceivePackRequest), stream(::Gitaly::SSHReceivePackResponse)
|
21
23
|
# To forward 'git upload-archive' to Gitaly for SSH sessions
|
@@ -1,10 +1,10 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: transaction.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'lint_pb'
|
7
5
|
require 'shared_pb'
|
6
|
+
require 'google/protobuf'
|
7
|
+
|
8
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
9
|
add_file("transaction.proto", :syntax => :proto3) do
|
10
10
|
add_message "gitaly.VoteTransactionRequest" do
|
@@ -12,6 +12,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
12
12
|
optional :transaction_id, :uint64, 2
|
13
13
|
optional :node, :string, 3
|
14
14
|
optional :reference_updates_hash, :bytes, 4
|
15
|
+
optional :phase, :enum, 5, "gitaly.VoteTransactionRequest.Phase"
|
16
|
+
end
|
17
|
+
add_enum "gitaly.VoteTransactionRequest.Phase" do
|
18
|
+
value :UNKNOWN_PHASE, 0
|
19
|
+
value :PREPARED_PHASE, 1
|
20
|
+
value :COMMITTED_PHASE, 2
|
15
21
|
end
|
16
22
|
add_message "gitaly.VoteTransactionResponse" do
|
17
23
|
optional :state, :enum, 1, "gitaly.VoteTransactionResponse.TransactionState"
|
@@ -32,6 +38,7 @@ end
|
|
32
38
|
|
33
39
|
module Gitaly
|
34
40
|
VoteTransactionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.VoteTransactionRequest").msgclass
|
41
|
+
VoteTransactionRequest::Phase = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.VoteTransactionRequest.Phase").enummodule
|
35
42
|
VoteTransactionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.VoteTransactionResponse").msgclass
|
36
43
|
VoteTransactionResponse::TransactionState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.VoteTransactionResponse.TransactionState").enummodule
|
37
44
|
StopTransactionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.StopTransactionRequest").msgclass
|
@@ -1,10 +1,10 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: wiki.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'lint_pb'
|
7
5
|
require 'shared_pb'
|
6
|
+
require 'google/protobuf'
|
7
|
+
|
8
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
9
|
add_file("wiki.proto", :syntax => :proto3) do
|
10
10
|
add_message "gitaly.WikiCommitDetails" do
|
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: 14.
|
4
|
+
version: 14.8.0.pre.rc1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jacob Vosmaer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: grpc
|
@@ -43,6 +43,7 @@ files:
|
|
43
43
|
- ruby/proto/gitaly/conflicts_services_pb.rb
|
44
44
|
- ruby/proto/gitaly/diff_pb.rb
|
45
45
|
- ruby/proto/gitaly/diff_services_pb.rb
|
46
|
+
- ruby/proto/gitaly/errors_pb.rb
|
46
47
|
- ruby/proto/gitaly/hook_pb.rb
|
47
48
|
- ruby/proto/gitaly/hook_services_pb.rb
|
48
49
|
- ruby/proto/gitaly/internal_pb.rb
|
@@ -93,7 +94,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
93
94
|
- !ruby/object:Gem::Version
|
94
95
|
version: 1.3.1
|
95
96
|
requirements: []
|
96
|
-
rubygems_version: 3.2.
|
97
|
+
rubygems_version: 3.2.29
|
97
98
|
signing_key:
|
98
99
|
specification_version: 4
|
99
100
|
summary: Auto-generated gRPC client for gitaly
|