gitaly 13.3.0.pre.rc1 → 13.3.0.pre.rc2

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of gitaly might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4f8cf1e3eed150c32218f71489fa83a7677574cb793ec3387839c8c91bcc6d11
4
- data.tar.gz: 21454a6acc4bc765968f9cf06bf929a9f23741cc2d0a33fb957c43d79efb2f88
3
+ metadata.gz: cdca792a99ee648ffc41df4d0576a9db5ca68ee6ae1367788abc8214a4409528
4
+ data.tar.gz: 82e4254e73f6256496eba57402098b8d54db57bc44b4ce6197589f8995f93095
5
5
  SHA512:
6
- metadata.gz: 6e83256a1728d9924a306f5a7d2816b5256f1eb5affa65c78c4f6238d7e3bca489b49c1d3c203dc685c9310c300b7a9921d426c39185e490098c288f02969327
7
- data.tar.gz: 70a66d6a35565f3c093bf02d1158cb8091e38dc56b80b3c3a9a544fed38e5b22fdf88b5ea70586201ab5c43e6edaa1f5cefa8080d0851ab22a707338fb046397
6
+ metadata.gz: '09da451ddc5be007ed1e8be399459e12b769e060163556aaee716bdba9328a0cac04b0ecf7e6105e3ab105ce140185936b7521c1819563198b908d257f40b456'
7
+ data.tar.gz: 03f402d2717322a49c90cd4e89397ddea955da0f8b8b024ade8934743bec61d35690bff103fe86927b280fe0f0b352c154b346144474c26048545200b2941faf
@@ -40,6 +40,16 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
40
40
  optional :stderr, :bytes, 2
41
41
  optional :exit_status, :message, 3, "gitaly.ExitStatus"
42
42
  end
43
+ add_message "gitaly.ReferenceTransactionHookRequest" do
44
+ optional :repository, :message, 1, "gitaly.Repository"
45
+ repeated :environment_variables, :string, 2
46
+ optional :stdin, :bytes, 3
47
+ end
48
+ add_message "gitaly.ReferenceTransactionHookResponse" do
49
+ optional :stdout, :bytes, 1
50
+ optional :stderr, :bytes, 2
51
+ optional :exit_status, :message, 3, "gitaly.ExitStatus"
52
+ end
43
53
  end
44
54
 
45
55
  module Gitaly
@@ -49,4 +59,6 @@ module Gitaly
49
59
  PostReceiveHookResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PostReceiveHookResponse").msgclass
50
60
  UpdateHookRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UpdateHookRequest").msgclass
51
61
  UpdateHookResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UpdateHookResponse").msgclass
62
+ ReferenceTransactionHookRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ReferenceTransactionHookRequest").msgclass
63
+ ReferenceTransactionHookResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ReferenceTransactionHookResponse").msgclass
52
64
  end
@@ -17,6 +17,7 @@ module Gitaly
17
17
  rpc :PreReceiveHook, stream(PreReceiveHookRequest), stream(PreReceiveHookResponse)
18
18
  rpc :PostReceiveHook, stream(PostReceiveHookRequest), stream(PostReceiveHookResponse)
19
19
  rpc :UpdateHook, UpdateHookRequest, stream(UpdateHookResponse)
20
+ rpc :ReferenceTransactionHook, stream(ReferenceTransactionHookRequest), stream(ReferenceTransactionHookResponse)
20
21
  end
21
22
 
22
23
  Stub = Service.rpc_stub_class
@@ -5,26 +5,28 @@ require 'google/protobuf'
5
5
 
6
6
  require 'lint_pb'
7
7
  require 'shared_pb'
8
- require 'google/protobuf/timestamp_pb'
9
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
10
- add_message "gitaly.EnableWritesRequest" do
9
+ add_message "gitaly.SetAuthoritativeStorageRequest" do
11
10
  optional :virtual_storage, :string, 1
11
+ optional :relative_path, :string, 2
12
+ optional :authoritative_storage, :string, 3
12
13
  end
13
- add_message "gitaly.EnableWritesResponse" do
14
+ add_message "gitaly.SetAuthoritativeStorageResponse" do
14
15
  end
15
16
  add_message "gitaly.DatalossCheckRequest" do
16
17
  optional :virtual_storage, :string, 1
17
18
  end
18
19
  add_message "gitaly.DatalossCheckResponse" do
19
- optional :virtual_storage, :string, 1
20
- optional :previous_writable_primary, :string, 2
21
- optional :current_primary, :string, 3
22
- optional :is_read_only, :bool, 4
23
- repeated :outdated_nodes, :message, 5, "gitaly.DatalossCheckResponse.Nodes"
20
+ optional :primary, :string, 1
21
+ repeated :repositories, :message, 2, "gitaly.DatalossCheckResponse.Repository"
24
22
  end
25
- add_message "gitaly.DatalossCheckResponse.Nodes" do
23
+ add_message "gitaly.DatalossCheckResponse.Repository" do
26
24
  optional :relative_path, :string, 1
27
- repeated :nodes, :string, 2
25
+ repeated :storages, :message, 2, "gitaly.DatalossCheckResponse.Repository.Storage"
26
+ end
27
+ add_message "gitaly.DatalossCheckResponse.Repository.Storage" do
28
+ optional :name, :string, 1
29
+ optional :behind_by, :int64, 2
28
30
  end
29
31
  add_message "gitaly.RepositoryReplicasRequest" do
30
32
  optional :repository, :message, 1, "gitaly.Repository"
@@ -53,11 +55,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
53
55
  end
54
56
 
55
57
  module Gitaly
56
- EnableWritesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.EnableWritesRequest").msgclass
57
- EnableWritesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.EnableWritesResponse").msgclass
58
+ SetAuthoritativeStorageRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SetAuthoritativeStorageRequest").msgclass
59
+ SetAuthoritativeStorageResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SetAuthoritativeStorageResponse").msgclass
58
60
  DatalossCheckRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DatalossCheckRequest").msgclass
59
61
  DatalossCheckResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DatalossCheckResponse").msgclass
60
- DatalossCheckResponse::Nodes = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DatalossCheckResponse.Nodes").msgclass
62
+ DatalossCheckResponse::Repository = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DatalossCheckResponse.Repository").msgclass
63
+ DatalossCheckResponse::Repository::Storage = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DatalossCheckResponse.Repository.Storage").msgclass
61
64
  RepositoryReplicasRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RepositoryReplicasRequest").msgclass
62
65
  RepositoryReplicasResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RepositoryReplicasResponse").msgclass
63
66
  RepositoryReplicasResponse::RepositoryDetails = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RepositoryReplicasResponse.RepositoryDetails").msgclass
@@ -23,9 +23,10 @@ module Gitaly
23
23
  # DatalossCheck checks for nodes which are not up to date with the previous writable primary.
24
24
  # This indicates possible data loss after a failover event.
25
25
  rpc :DatalossCheck, DatalossCheckRequest, DatalossCheckResponse
26
- # EnableWrites enables writes for a storage that was switched to a read-only mode
27
- # following a failover.
28
- rpc :EnableWrites, EnableWritesRequest, EnableWritesResponse
26
+ # SetAuthoritativeStorage sets the authoritative storage for a repository on a given virtual storage.
27
+ # This causes the current version of the repository on the authoritative storage to be considered the
28
+ # latest and overwrite any other version on the virtual storage.
29
+ rpc :SetAuthoritativeStorage, SetAuthoritativeStorageRequest, SetAuthoritativeStorageResponse
29
30
  end
30
31
 
31
32
  Stub = Service.rpc_stub_class
@@ -1,5 +1,5 @@
1
1
  # This file was auto-generated by release-tools
2
2
  # https://gitlab.com/gitlab-org/release-tools/-/blob/master/lib/release_tools/release/gitaly_release.rb
3
3
  module Gitaly
4
- VERSION = '13.3.0-rc1'
4
+ VERSION = '13.3.0-rc2'
5
5
  end
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: 13.3.0.pre.rc1
4
+ version: 13.3.0.pre.rc2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jacob Vosmaer
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-22 00:00:00.000000000 Z
11
+ date: 2020-07-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: grpc
@@ -78,7 +78,7 @@ homepage: https://gitlab.com/gitlab-org/gitaly
78
78
  licenses:
79
79
  - MIT
80
80
  metadata: {}
81
- post_install_message:
81
+ post_install_message:
82
82
  rdoc_options: []
83
83
  require_paths:
84
84
  - ruby/proto
@@ -94,7 +94,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
94
94
  version: 1.3.1
95
95
  requirements: []
96
96
  rubygems_version: 3.0.8
97
- signing_key:
97
+ signing_key:
98
98
  specification_version: 4
99
99
  summary: Auto-generated gRPC client for gitaly
100
100
  test_files: []