gitaly 13.5.0.pre.rc1 → 13.8.0.pre.rc1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 162ff40313c109482e8b39aa281b9f9b04fc1c76ceeceec7bf77cbaef079a64e
4
- data.tar.gz: e07f51b337e57f22ec2b349a2bf4c4874ef5a4a7ed355f64d4f6e2ae58ce9c8b
3
+ metadata.gz: 76ee65ac1ded6bca90a09aa9ccc5227e23f28def552906d8cf856d82b46607e1
4
+ data.tar.gz: 59cd05f33a2e5214bf27e746775029bdec35335ad6cc5d07a1933938ad2cfdaa
5
5
  SHA512:
6
- metadata.gz: 21e31b227b86d087b376722f95ab4dfa4abf5a88a62c7712b495276af702f6159cb1689f9254975bdb39e087678a9df83b995fe6c626b2f623cf2dc899ea2497
7
- data.tar.gz: 38b7a28479a83faa8bc54975df7ca7372a049a98d3038c5ddcb6a6008a4c555b72246b51407a5bbd007f848daf9ca089a89eff8eb1788961c1d329d2d9bebb0c
6
+ metadata.gz: 46c4d836cb6eeb27e09753723180cbc8b808793ab9acf94a065679b44728f39377a441576522932addad3ccfac62bb9d4b5adae0367d39e6d682a66a8c60565b
7
+ data.tar.gz: be86ed150326fb9921af41b2d1a6641d0692af981d68e3268cbd20c49462c02ee794ad4c016e996bb99a51143e99796bc8ab6c0cc217daa4d86b854795b6c6bf
@@ -30,6 +30,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
30
30
  optional :revision, :bytes, 2
31
31
  optional :path, :bytes, 3
32
32
  optional :limit, :int64, 4
33
+ optional :max_size, :int64, 5
33
34
  end
34
35
  add_message "gitaly.TreeEntryResponse" do
35
36
  optional :type, :enum, 1, "gitaly.TreeEntryResponse.ObjectType"
@@ -17,6 +17,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
17
17
  optional :their_path, :bytes, 3
18
18
  optional :our_path, :bytes, 4
19
19
  optional :our_mode, :int32, 5
20
+ optional :ancestor_path, :bytes, 6
20
21
  end
21
22
  add_message "gitaly.ConflictFile" do
22
23
  oneof :conflict_file_payload do
@@ -84,6 +84,24 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
84
84
  add_message "gitaly.DiffStatsResponse" do
85
85
  repeated :stats, :message, 1, "gitaly.DiffStats"
86
86
  end
87
+ add_message "gitaly.FindChangedPathsRequest" do
88
+ optional :repository, :message, 1, "gitaly.Repository"
89
+ repeated :commits, :string, 2
90
+ end
91
+ add_message "gitaly.FindChangedPathsResponse" do
92
+ repeated :paths, :message, 1, "gitaly.ChangedPaths"
93
+ end
94
+ add_message "gitaly.ChangedPaths" do
95
+ optional :path, :bytes, 1
96
+ optional :status, :enum, 2, "gitaly.ChangedPaths.Status"
97
+ end
98
+ add_enum "gitaly.ChangedPaths.Status" do
99
+ value :ADDED, 0
100
+ value :MODIFIED, 1
101
+ value :DELETED, 2
102
+ value :TYPE_CHANGE, 3
103
+ value :COPIED, 4
104
+ end
87
105
  end
88
106
  end
89
107
 
@@ -100,4 +118,8 @@ module Gitaly
100
118
  DiffStatsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DiffStatsRequest").msgclass
101
119
  DiffStats = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DiffStats").msgclass
102
120
  DiffStatsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DiffStatsResponse").msgclass
121
+ FindChangedPathsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindChangedPathsRequest").msgclass
122
+ FindChangedPathsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindChangedPathsResponse").msgclass
123
+ ChangedPaths = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ChangedPaths").msgclass
124
+ ChangedPaths::Status = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ChangedPaths.Status").enummodule
103
125
  end
@@ -21,6 +21,8 @@ module Gitaly
21
21
  rpc :RawDiff, Gitaly::RawDiffRequest, stream(Gitaly::RawDiffResponse)
22
22
  rpc :RawPatch, Gitaly::RawPatchRequest, stream(Gitaly::RawPatchResponse)
23
23
  rpc :DiffStats, Gitaly::DiffStatsRequest, stream(Gitaly::DiffStatsResponse)
24
+ # Return a list of files changed along with the status of each file
25
+ rpc :FindChangedPaths, Gitaly::FindChangedPathsRequest, stream(Gitaly::FindChangedPathsResponse)
24
26
  end
25
27
 
26
28
  Stub = Service.rpc_stub_class
@@ -45,6 +45,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
45
45
  optional :repository, :message, 1, "gitaly.Repository"
46
46
  repeated :environment_variables, :string, 2
47
47
  optional :stdin, :bytes, 3
48
+ optional :state, :enum, 4, "gitaly.ReferenceTransactionHookRequest.State"
49
+ end
50
+ add_enum "gitaly.ReferenceTransactionHookRequest.State" do
51
+ value :PREPARED, 0
52
+ value :COMMITTED, 1
53
+ value :ABORTED, 2
48
54
  end
49
55
  add_message "gitaly.ReferenceTransactionHookResponse" do
50
56
  optional :stdout, :bytes, 1
@@ -62,5 +68,6 @@ module Gitaly
62
68
  UpdateHookRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UpdateHookRequest").msgclass
63
69
  UpdateHookResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UpdateHookResponse").msgclass
64
70
  ReferenceTransactionHookRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ReferenceTransactionHookRequest").msgclass
71
+ ReferenceTransactionHookRequest::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ReferenceTransactionHookRequest.State").enummodule
65
72
  ReferenceTransactionHookResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ReferenceTransactionHookResponse").msgclass
66
73
  end
@@ -76,6 +76,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
76
76
  optional :target_ref, :bytes, 5
77
77
  optional :message, :bytes, 6
78
78
  optional :first_parent_ref, :bytes, 7
79
+ optional :allow_conflicts, :bool, 8
79
80
  end
80
81
  add_message "gitaly.UserMergeToRefResponse" do
81
82
  optional :commit_id, :string, 1
@@ -23,6 +23,10 @@ module Gitaly
23
23
  rpc :UserMergeBranch, stream(Gitaly::UserMergeBranchRequest), stream(Gitaly::UserMergeBranchResponse)
24
24
  rpc :UserFFBranch, Gitaly::UserFFBranchRequest, Gitaly::UserFFBranchResponse
25
25
  rpc :UserCherryPick, Gitaly::UserCherryPickRequest, Gitaly::UserCherryPickResponse
26
+ # UserCommitFiles builds a commit from a stream of actions and updates the target branch to point to it.
27
+ # UserCommitFilesRequest with a UserCommitFilesRequestHeader must be sent as the first message of the stream.
28
+ # Following that, a variable number of actions can be sent to build a new commit. Each action consists of
29
+ # a header followed by content if used by the action.
26
30
  rpc :UserCommitFiles, stream(Gitaly::UserCommitFilesRequest), Gitaly::UserCommitFilesResponse
27
31
  rpc :UserRebaseConfirmable, stream(Gitaly::UserRebaseConfirmableRequest), stream(Gitaly::UserRebaseConfirmableResponse)
28
32
  rpc :UserRevert, Gitaly::UserRevertRequest, Gitaly::UserRevertResponse
@@ -7,6 +7,14 @@ require 'lint_pb'
7
7
  require 'shared_pb'
8
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
9
  add_file("praefect.proto", :syntax => :proto3) do
10
+ add_message "gitaly.SetReplicationFactorRequest" do
11
+ optional :virtual_storage, :string, 1
12
+ optional :relative_path, :string, 2
13
+ optional :replication_factor, :int32, 3
14
+ end
15
+ add_message "gitaly.SetReplicationFactorResponse" do
16
+ repeated :storages, :string, 1
17
+ end
10
18
  add_message "gitaly.SetAuthoritativeStorageRequest" do
11
19
  optional :virtual_storage, :string, 1
12
20
  optional :relative_path, :string, 2
@@ -19,17 +27,18 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
19
27
  optional :include_partially_replicated, :bool, 2
20
28
  end
21
29
  add_message "gitaly.DatalossCheckResponse" do
22
- optional :primary, :string, 1
23
30
  repeated :repositories, :message, 2, "gitaly.DatalossCheckResponse.Repository"
24
31
  end
25
32
  add_message "gitaly.DatalossCheckResponse.Repository" do
26
33
  optional :relative_path, :string, 1
27
34
  repeated :storages, :message, 2, "gitaly.DatalossCheckResponse.Repository.Storage"
28
35
  optional :read_only, :bool, 3
36
+ optional :primary, :string, 4
29
37
  end
30
38
  add_message "gitaly.DatalossCheckResponse.Repository.Storage" do
31
39
  optional :name, :string, 1
32
40
  optional :behind_by, :int64, 2
41
+ optional :assigned, :bool, 3
33
42
  end
34
43
  add_message "gitaly.RepositoryReplicasRequest" do
35
44
  optional :repository, :message, 1, "gitaly.Repository"
@@ -59,6 +68,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
59
68
  end
60
69
 
61
70
  module Gitaly
71
+ SetReplicationFactorRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SetReplicationFactorRequest").msgclass
72
+ SetReplicationFactorResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SetReplicationFactorResponse").msgclass
62
73
  SetAuthoritativeStorageRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SetAuthoritativeStorageRequest").msgclass
63
74
  SetAuthoritativeStorageResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SetAuthoritativeStorageResponse").msgclass
64
75
  DatalossCheckRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DatalossCheckRequest").msgclass
@@ -26,6 +26,15 @@ module Gitaly
26
26
  # This causes the current version of the repository on the authoritative storage to be considered the
27
27
  # latest and overwrite any other version on the virtual storage.
28
28
  rpc :SetAuthoritativeStorage, Gitaly::SetAuthoritativeStorageRequest, Gitaly::SetAuthoritativeStorageResponse
29
+ # SetReplicationFactor assigns or unassigns host nodes from the repository to meet the desired replication factor.
30
+ # SetReplicationFactor returns an error when trying to set a replication factor that exceeds the storage node count
31
+ # in the virtual storage. An error is also returned when trying to set a replication factor below one. The primary node
32
+ # won't be unassigned as it needs a copy of the repository to accept writes. Likewise, the primary is the first storage
33
+ # that gets assigned when setting a replication factor for a repository. Assignments of unconfigured storages are ignored.
34
+ # This might cause the actual replication factor to be higher than desired if the replication factor is set during an upgrade
35
+ # from a Praefect node that does not yet know about a new node. As assignments of unconfigured storages are ignored, replication
36
+ # factor of repositories assigned to a storage node removed from the cluster is effectively decreased.
37
+ rpc :SetReplicationFactor, Gitaly::SetReplicationFactorRequest, Gitaly::SetReplicationFactorResponse
29
38
  end
30
39
 
31
40
  Stub = Service.rpc_stub_class
@@ -288,13 +288,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
288
288
  optional :http_authorization_header, :string, 3
289
289
  repeated :mirror_refmaps, :string, 4
290
290
  end
291
- add_message "gitaly.FetchHTTPRemoteRequest" do
292
- optional :repository, :message, 1, "gitaly.Repository"
293
- optional :remote, :message, 2, "gitaly.Remote"
294
- optional :timeout, :int32, 3
295
- end
296
- add_message "gitaly.FetchHTTPRemoteResponse" do
297
- end
298
291
  add_message "gitaly.GetObjectDirectorySizeRequest" do
299
292
  optional :repository, :message, 1, "gitaly.Repository"
300
293
  end
@@ -416,8 +409,6 @@ module Gitaly
416
409
  SearchFilesByContentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SearchFilesByContentRequest").msgclass
417
410
  SearchFilesByContentResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SearchFilesByContentResponse").msgclass
418
411
  Remote = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.Remote").msgclass
419
- FetchHTTPRemoteRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FetchHTTPRemoteRequest").msgclass
420
- FetchHTTPRemoteResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FetchHTTPRemoteResponse").msgclass
421
412
  GetObjectDirectorySizeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetObjectDirectorySizeRequest").msgclass
422
413
  GetObjectDirectorySizeResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetObjectDirectorySizeResponse").msgclass
423
414
  CloneFromPoolRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CloneFromPoolRequest").msgclass
@@ -49,7 +49,6 @@ module Gitaly
49
49
  rpc :SearchFilesByName, Gitaly::SearchFilesByNameRequest, stream(Gitaly::SearchFilesByNameResponse)
50
50
  rpc :RestoreCustomHooks, stream(Gitaly::RestoreCustomHooksRequest), Gitaly::RestoreCustomHooksResponse
51
51
  rpc :BackupCustomHooks, Gitaly::BackupCustomHooksRequest, stream(Gitaly::BackupCustomHooksResponse)
52
- rpc :FetchHTTPRemote, Gitaly::FetchHTTPRemoteRequest, Gitaly::FetchHTTPRemoteResponse
53
52
  rpc :GetObjectDirectorySize, Gitaly::GetObjectDirectorySizeRequest, Gitaly::GetObjectDirectorySizeResponse
54
53
  rpc :CloneFromPool, Gitaly::CloneFromPoolRequest, Gitaly::CloneFromPoolResponse
55
54
  rpc :CloneFromPoolInternal, Gitaly::CloneFromPoolInternalRequest, Gitaly::CloneFromPoolInternalResponse
@@ -15,6 +15,10 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
15
15
  optional :gl_repository, :string, 6
16
16
  optional :gl_project_path, :string, 8
17
17
  end
18
+ add_message "gitaly.CommitTrailer" do
19
+ optional :key, :bytes, 1
20
+ optional :value, :bytes, 2
21
+ end
18
22
  add_message "gitaly.GitCommit" do
19
23
  optional :id, :string, 1
20
24
  optional :subject, :bytes, 2
@@ -24,6 +28,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
24
28
  repeated :parent_ids, :string, 6
25
29
  optional :body_size, :int64, 7
26
30
  optional :signature_type, :enum, 8, "gitaly.SignatureType"
31
+ optional :tree_id, :string, 9
32
+ repeated :trailers, :message, 10, "gitaly.CommitTrailer"
27
33
  end
28
34
  add_message "gitaly.CommitAuthor" do
29
35
  optional :name, :bytes, 1
@@ -80,6 +86,7 @@ end
80
86
 
81
87
  module Gitaly
82
88
  Repository = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.Repository").msgclass
89
+ CommitTrailer = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitTrailer").msgclass
83
90
  GitCommit = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GitCommit").msgclass
84
91
  CommitAuthor = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitAuthor").msgclass
85
92
  ExitStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ExitStatus").msgclass
@@ -19,6 +19,13 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
19
19
  add_enum "gitaly.VoteTransactionResponse.TransactionState" do
20
20
  value :COMMIT, 0
21
21
  value :ABORT, 1
22
+ value :STOP, 2
23
+ end
24
+ add_message "gitaly.StopTransactionRequest" do
25
+ optional :repository, :message, 1, "gitaly.Repository"
26
+ optional :transaction_id, :uint64, 2
27
+ end
28
+ add_message "gitaly.StopTransactionResponse" do
22
29
  end
23
30
  end
24
31
  end
@@ -27,4 +34,6 @@ module Gitaly
27
34
  VoteTransactionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.VoteTransactionRequest").msgclass
28
35
  VoteTransactionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.VoteTransactionResponse").msgclass
29
36
  VoteTransactionResponse::TransactionState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.VoteTransactionResponse.TransactionState").enummodule
37
+ StopTransactionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.StopTransactionRequest").msgclass
38
+ StopTransactionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.StopTransactionResponse").msgclass
30
39
  end
@@ -15,6 +15,7 @@ module Gitaly
15
15
  self.service_name = 'gitaly.RefTransaction'
16
16
 
17
17
  rpc :VoteTransaction, Gitaly::VoteTransactionRequest, Gitaly::VoteTransactionResponse
18
+ rpc :StopTransaction, Gitaly::StopTransactionRequest, Gitaly::StopTransactionResponse
18
19
  end
19
20
 
20
21
  Stub = Service.rpc_stub_class
@@ -1,5 +1,6 @@
1
- # This file was auto-generated by release-tools
2
- # https://gitlab.com/gitlab-org/release-tools/-/blob/master/lib/release_tools/release/gitaly_release.rb
1
+ # This file was auto-generated by the Release Tools project
2
+ # (https://gitlab.com/gitlab-org/release-tools/), and should not be
3
+ # modified.
3
4
  module Gitaly
4
- VERSION = '13.5.0-rc1'
5
+ VERSION = '13.8.0-rc1'
5
6
  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.5.0.pre.rc1
4
+ version: 13.8.0.pre.rc1
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-10-01 00:00:00.000000000 Z
11
+ date: 2021-01-05 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: []