gitaly 14.10.0.pre.rc1 → 15.0.0.pre.rc2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/ruby/proto/gitaly/commit_pb.rb +1 -1
- data/ruby/proto/gitaly/conflicts_pb.rb +1 -1
- data/ruby/proto/gitaly/errors_pb.rb +14 -0
- data/ruby/proto/gitaly/hook_pb.rb +0 -11
- data/ruby/proto/gitaly/hook_services_pb.rb +0 -2
- data/ruby/proto/gitaly/internal_pb.rb +1 -1
- data/ruby/proto/gitaly/operations_pb.rb +11 -2
- data/ruby/proto/gitaly/praefect_pb.rb +19 -0
- data/ruby/proto/gitaly/praefect_services_pb.rb +3 -0
- data/ruby/proto/gitaly/ref_pb.rb +1 -1
- data/ruby/proto/gitaly/{repository-service_pb.rb → repository_pb.rb} +2 -2
- data/ruby/proto/gitaly/{repository-service_services_pb.rb → repository_services_pb.rb} +2 -2
- data/ruby/proto/gitaly/version.rb +1 -1
- data/ruby/proto/gitaly.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c7314e721c1446413c74605d6e1a4d0f71e3cc2c3f298e631675a960f8798b9b
|
4
|
+
data.tar.gz: 0d4660c5effa6c7437b946c99f75810edbb8ba7640d09257ca82122aeb2b22e7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 70e8307d998ebce708648e3a53d13e7500f56bbf4f6aaf04a3b6b581ad4393f531d59c3e130c069120bfc8cd778128dcfa159f042c83b097347e53b1595c9db2
|
7
|
+
data.tar.gz: 63c0d62f5e6585508aeaf406866615ec80891f8a672f670ff081c4d208ea434d2f904e413b817c9bea45e3db151e1445e8b6877dd3e4f3c7879c8fe90b1383e6
|
@@ -1,9 +1,9 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: commit.proto
|
3
3
|
|
4
|
+
require 'google/protobuf/timestamp_pb'
|
4
5
|
require 'lint_pb'
|
5
6
|
require 'shared_pb'
|
6
|
-
require 'google/protobuf/timestamp_pb'
|
7
7
|
require 'google/protobuf'
|
8
8
|
|
9
9
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
@@ -1,9 +1,9 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: conflicts.proto
|
3
3
|
|
4
|
+
require 'google/protobuf/timestamp_pb'
|
4
5
|
require 'lint_pb'
|
5
6
|
require 'shared_pb'
|
6
|
-
require 'google/protobuf/timestamp_pb'
|
7
7
|
require 'google/protobuf'
|
8
8
|
|
9
9
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
@@ -1,6 +1,7 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: errors.proto
|
3
3
|
|
4
|
+
require 'google/protobuf/duration_pb'
|
4
5
|
require 'google/protobuf'
|
5
6
|
|
6
7
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
@@ -11,6 +12,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
11
12
|
optional :user_id, :string, 3
|
12
13
|
optional :changes, :bytes, 4
|
13
14
|
end
|
15
|
+
add_message "gitaly.NotAncestorError" do
|
16
|
+
optional :parent_revision, :bytes, 1
|
17
|
+
optional :child_revision, :bytes, 2
|
18
|
+
end
|
19
|
+
add_message "gitaly.ChangesAlreadyAppliedError" do
|
20
|
+
end
|
14
21
|
add_message "gitaly.MergeConflictError" do
|
15
22
|
repeated :conflicting_files, :bytes, 1
|
16
23
|
end
|
@@ -22,12 +29,19 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
22
29
|
add_message "gitaly.ResolveRevisionError" do
|
23
30
|
optional :revision, :bytes, 1
|
24
31
|
end
|
32
|
+
add_message "gitaly.LimitError" do
|
33
|
+
optional :error_message, :string, 1
|
34
|
+
optional :retry_after, :message, 2, "google.protobuf.Duration"
|
35
|
+
end
|
25
36
|
end
|
26
37
|
end
|
27
38
|
|
28
39
|
module Gitaly
|
29
40
|
AccessCheckError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.AccessCheckError").msgclass
|
41
|
+
NotAncestorError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.NotAncestorError").msgclass
|
42
|
+
ChangesAlreadyAppliedError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ChangesAlreadyAppliedError").msgclass
|
30
43
|
MergeConflictError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.MergeConflictError").msgclass
|
31
44
|
ReferenceUpdateError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ReferenceUpdateError").msgclass
|
32
45
|
ResolveRevisionError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ResolveRevisionError").msgclass
|
46
|
+
LimitError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.LimitError").msgclass
|
33
47
|
end
|
@@ -57,15 +57,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
57
57
|
optional :stderr, :bytes, 2
|
58
58
|
optional :exit_status, :message, 3, "gitaly.ExitStatus"
|
59
59
|
end
|
60
|
-
add_message "gitaly.PackObjectsHookRequest" do
|
61
|
-
optional :repository, :message, 1, "gitaly.Repository"
|
62
|
-
repeated :args, :string, 2
|
63
|
-
optional :stdin, :bytes, 3
|
64
|
-
end
|
65
|
-
add_message "gitaly.PackObjectsHookResponse" do
|
66
|
-
optional :stdout, :bytes, 1
|
67
|
-
optional :stderr, :bytes, 2
|
68
|
-
end
|
69
60
|
add_message "gitaly.PackObjectsHookWithSidechannelRequest" do
|
70
61
|
optional :repository, :message, 1, "gitaly.Repository"
|
71
62
|
repeated :args, :string, 2
|
@@ -85,8 +76,6 @@ module Gitaly
|
|
85
76
|
ReferenceTransactionHookRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ReferenceTransactionHookRequest").msgclass
|
86
77
|
ReferenceTransactionHookRequest::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ReferenceTransactionHookRequest.State").enummodule
|
87
78
|
ReferenceTransactionHookResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ReferenceTransactionHookResponse").msgclass
|
88
|
-
PackObjectsHookRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PackObjectsHookRequest").msgclass
|
89
|
-
PackObjectsHookResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PackObjectsHookResponse").msgclass
|
90
79
|
PackObjectsHookWithSidechannelRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PackObjectsHookWithSidechannelRequest").msgclass
|
91
80
|
PackObjectsHookWithSidechannelResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PackObjectsHookWithSidechannelResponse").msgclass
|
92
81
|
end
|
@@ -18,8 +18,6 @@ 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 has been replaced by PackObjectsHookWithSidechannel. Remove in 15.0.
|
22
|
-
rpc :PackObjectsHook, stream(::Gitaly::PackObjectsHookRequest), stream(::Gitaly::PackObjectsHookResponse)
|
23
21
|
# PackObjectsHookWithSidechannel is an optimized version of PackObjectsHook that uses
|
24
22
|
# a unix socket side channel.
|
25
23
|
rpc :PackObjectsHookWithSidechannel, ::Gitaly::PackObjectsHookWithSidechannelRequest, ::Gitaly::PackObjectsHookWithSidechannelResponse
|
@@ -1,10 +1,10 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: operations.proto
|
3
3
|
|
4
|
-
require 'lint_pb'
|
5
|
-
require 'shared_pb'
|
6
4
|
require 'errors_pb'
|
7
5
|
require 'google/protobuf/timestamp_pb'
|
6
|
+
require 'lint_pb'
|
7
|
+
require 'shared_pb'
|
8
8
|
require 'google/protobuf'
|
9
9
|
|
10
10
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
@@ -131,6 +131,14 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
131
131
|
value :EMPTY, 1
|
132
132
|
value :CONFLICT, 2
|
133
133
|
end
|
134
|
+
add_message "gitaly.UserCherryPickError" do
|
135
|
+
oneof :error do
|
136
|
+
optional :cherry_pick_conflict, :message, 1, "gitaly.MergeConflictError"
|
137
|
+
optional :target_branch_diverged, :message, 2, "gitaly.NotAncestorError"
|
138
|
+
optional :changes_already_applied, :message, 3, "gitaly.ChangesAlreadyAppliedError"
|
139
|
+
optional :access_check, :message, 4, "gitaly.AccessCheckError"
|
140
|
+
end
|
141
|
+
end
|
134
142
|
add_message "gitaly.UserRevertRequest" do
|
135
143
|
optional :repository, :message, 1, "gitaly.Repository"
|
136
144
|
optional :user, :message, 2, "gitaly.User"
|
@@ -304,6 +312,7 @@ module Gitaly
|
|
304
312
|
UserCherryPickRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCherryPickRequest").msgclass
|
305
313
|
UserCherryPickResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCherryPickResponse").msgclass
|
306
314
|
UserCherryPickResponse::CreateTreeError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCherryPickResponse.CreateTreeError").enummodule
|
315
|
+
UserCherryPickError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCherryPickError").msgclass
|
307
316
|
UserRevertRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserRevertRequest").msgclass
|
308
317
|
UserRevertResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserRevertResponse").msgclass
|
309
318
|
UserRevertResponse::CreateTreeError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserRevertResponse.CreateTreeError").enummodule
|
@@ -1,12 +1,27 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: praefect.proto
|
3
3
|
|
4
|
+
require 'google/protobuf/timestamp_pb'
|
4
5
|
require 'lint_pb'
|
5
6
|
require 'shared_pb'
|
6
7
|
require 'google/protobuf'
|
7
8
|
|
8
9
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
10
|
add_file("praefect.proto", :syntax => :proto3) do
|
11
|
+
add_message "gitaly.MarkUnverifiedRequest" do
|
12
|
+
oneof :selector do
|
13
|
+
optional :repository_id, :int64, 1
|
14
|
+
optional :virtual_storage, :string, 2
|
15
|
+
optional :storage, :message, 3, "gitaly.MarkUnverifiedRequest.Storage"
|
16
|
+
end
|
17
|
+
end
|
18
|
+
add_message "gitaly.MarkUnverifiedRequest.Storage" do
|
19
|
+
optional :virtual_storage, :string, 1
|
20
|
+
optional :storage, :string, 2
|
21
|
+
end
|
22
|
+
add_message "gitaly.MarkUnverifiedResponse" do
|
23
|
+
optional :replicas_marked, :int64, 1
|
24
|
+
end
|
10
25
|
add_message "gitaly.GetRepositoryMetadataRequest" do
|
11
26
|
oneof :query do
|
12
27
|
optional :repository_id, :int64, 1
|
@@ -32,6 +47,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
32
47
|
optional :generation, :int64, 4
|
33
48
|
optional :healthy, :bool, 5
|
34
49
|
optional :valid_primary, :bool, 6
|
50
|
+
optional :verified_at, :message, 7, "google.protobuf.Timestamp"
|
35
51
|
end
|
36
52
|
add_message "gitaly.SetReplicationFactorRequest" do
|
37
53
|
optional :virtual_storage, :string, 1
|
@@ -83,6 +99,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
83
99
|
end
|
84
100
|
|
85
101
|
module Gitaly
|
102
|
+
MarkUnverifiedRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.MarkUnverifiedRequest").msgclass
|
103
|
+
MarkUnverifiedRequest::Storage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.MarkUnverifiedRequest.Storage").msgclass
|
104
|
+
MarkUnverifiedResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.MarkUnverifiedResponse").msgclass
|
86
105
|
GetRepositoryMetadataRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetRepositoryMetadataRequest").msgclass
|
87
106
|
GetRepositoryMetadataRequest::Path = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetRepositoryMetadataRequest.Path").msgclass
|
88
107
|
GetRepositoryMetadataResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetRepositoryMetadataResponse").msgclass
|
@@ -21,6 +21,9 @@ module Gitaly
|
|
21
21
|
# This causes the current version of the repository on the authoritative storage to be considered the
|
22
22
|
# latest and overwrite any other version on the virtual storage.
|
23
23
|
rpc :SetAuthoritativeStorage, ::Gitaly::SetAuthoritativeStorageRequest, ::Gitaly::SetAuthoritativeStorageResponse
|
24
|
+
# MarkUnverified marks replicas as unverified. This will trigger verification as Praefect's metadata
|
25
|
+
# verifier prioritizes unverified replicas.
|
26
|
+
rpc :MarkUnverified, ::Gitaly::MarkUnverifiedRequest, ::Gitaly::MarkUnverifiedResponse
|
24
27
|
# SetReplicationFactor assigns or unassigns host nodes from the repository to meet the desired replication factor.
|
25
28
|
# SetReplicationFactor returns an error when trying to set a replication factor that exceeds the storage node count
|
26
29
|
# in the virtual storage. An error is also returned when trying to set a replication factor below one. The primary node
|
data/ruby/proto/gitaly/ref_pb.rb
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: ref.proto
|
3
3
|
|
4
|
+
require 'google/protobuf/timestamp_pb'
|
4
5
|
require 'lint_pb'
|
5
6
|
require 'shared_pb'
|
6
|
-
require 'google/protobuf/timestamp_pb'
|
7
7
|
require 'google/protobuf'
|
8
8
|
|
9
9
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
@@ -1,12 +1,12 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# source: repository
|
2
|
+
# source: repository.proto
|
3
3
|
|
4
4
|
require 'lint_pb'
|
5
5
|
require 'shared_pb'
|
6
6
|
require 'google/protobuf'
|
7
7
|
|
8
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
|
-
add_file("repository
|
9
|
+
add_file("repository.proto", :syntax => :proto3) do
|
10
10
|
add_message "gitaly.RepositoryExistsRequest" do
|
11
11
|
optional :repository, :message, 1, "gitaly.Repository"
|
12
12
|
end
|
@@ -1,8 +1,8 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# Source: repository
|
2
|
+
# Source: repository.proto for package 'gitaly'
|
3
3
|
|
4
4
|
require 'grpc'
|
5
|
-
require '
|
5
|
+
require 'repository_pb'
|
6
6
|
|
7
7
|
module Gitaly
|
8
8
|
module RepositoryService
|
data/ruby/proto/gitaly.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gitaly
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 15.0.0.pre.rc2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jacob Vosmaer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-04
|
11
|
+
date: 2022-05-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: grpc
|
@@ -61,8 +61,8 @@ files:
|
|
61
61
|
- ruby/proto/gitaly/ref_services_pb.rb
|
62
62
|
- ruby/proto/gitaly/remote_pb.rb
|
63
63
|
- ruby/proto/gitaly/remote_services_pb.rb
|
64
|
-
- ruby/proto/gitaly/
|
65
|
-
- ruby/proto/gitaly/
|
64
|
+
- ruby/proto/gitaly/repository_pb.rb
|
65
|
+
- ruby/proto/gitaly/repository_services_pb.rb
|
66
66
|
- ruby/proto/gitaly/server_pb.rb
|
67
67
|
- ruby/proto/gitaly/server_services_pb.rb
|
68
68
|
- ruby/proto/gitaly/shared_pb.rb
|