gitaly 13.4.0.pre.rc1 → 13.7.0.pre.rc4

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: 36372ce1d255fd4d32cd40fa69400bbe908ffb5e53796d4375ba9a97c5f72837
4
- data.tar.gz: 12390840abc40644d871a7db5037ae37f44bdebf84a1c9a8aefb3b528d06bdb2
3
+ metadata.gz: 3165e27140dee3c81694472c74a9e74252e2d222b243d211588fa66544e3abb1
4
+ data.tar.gz: 908f128fd1b195933f305b6c8ed9a5d1503f2615b3563cef5f04edc5a44bcd87
5
5
  SHA512:
6
- metadata.gz: 7773c68a47537ea3dcccbc75595bcffa867383fa30874153d41d62af5f100258bbc2158f562e1a3d926804e8b35a69b71f5aa35c8661559522808e77403789f4
7
- data.tar.gz: dd3758e18dce2463974698077cbe60d060574f3379af3efebfea46498846a53bc17300057fc443b1d6520f5f398a8be8287a31f941496f9f078b0fb38c6aa65d
6
+ metadata.gz: 4b7bdbc864af4cd61bacfbc640d08e20777ff86a5c327edc31c8d4016e9bb41be70d4ff21f1a506c185fd7103c99ccbbe66a9bb4b318395d2916fb39189357fe
7
+ data.tar.gz: '08597179097e00e225595e57692bc97c853fb1f8ee85f9283f27e2f41419e7e58418919d096f0bc55cc91a959e6ea473fd8b0daea3d45b453202e47ce3cb6d34'
@@ -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
@@ -24,6 +24,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
24
24
  end
25
25
  add_message "gitaly.RepackFullResponse" do
26
26
  end
27
+ add_message "gitaly.MidxRepackRequest" do
28
+ optional :repository, :message, 1, "gitaly.Repository"
29
+ end
30
+ add_message "gitaly.MidxRepackResponse" do
31
+ end
27
32
  add_message "gitaly.GarbageCollectRequest" do
28
33
  optional :repository, :message, 1, "gitaly.Repository"
29
34
  optional :create_bitmap, :bool, 2
@@ -79,6 +84,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
79
84
  optional :path, :bytes, 5
80
85
  repeated :exclude, :bytes, 6
81
86
  optional :elide_path, :bool, 7
87
+ optional :include_lfs_blobs, :bool, 8
82
88
  end
83
89
  add_enum "gitaly.GetArchiveRequest.Format" do
84
90
  value :ZIP, 0
@@ -129,6 +135,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
129
135
  add_message "gitaly.CreateForkRequest" do
130
136
  optional :repository, :message, 1, "gitaly.Repository"
131
137
  optional :source_repository, :message, 2, "gitaly.Repository"
138
+ optional :pool, :message, 3, "gitaly.ObjectPool"
132
139
  end
133
140
  add_message "gitaly.CreateForkResponse" do
134
141
  end
@@ -282,13 +289,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
282
289
  optional :http_authorization_header, :string, 3
283
290
  repeated :mirror_refmaps, :string, 4
284
291
  end
285
- add_message "gitaly.FetchHTTPRemoteRequest" do
286
- optional :repository, :message, 1, "gitaly.Repository"
287
- optional :remote, :message, 2, "gitaly.Remote"
288
- optional :timeout, :int32, 3
289
- end
290
- add_message "gitaly.FetchHTTPRemoteResponse" do
291
- end
292
292
  add_message "gitaly.GetObjectDirectorySizeRequest" do
293
293
  optional :repository, :message, 1, "gitaly.Repository"
294
294
  end
@@ -341,6 +341,8 @@ module Gitaly
341
341
  RepackIncrementalResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RepackIncrementalResponse").msgclass
342
342
  RepackFullRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RepackFullRequest").msgclass
343
343
  RepackFullResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RepackFullResponse").msgclass
344
+ MidxRepackRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.MidxRepackRequest").msgclass
345
+ MidxRepackResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.MidxRepackResponse").msgclass
344
346
  GarbageCollectRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GarbageCollectRequest").msgclass
345
347
  GarbageCollectResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GarbageCollectResponse").msgclass
346
348
  WriteCommitGraphRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.WriteCommitGraphRequest").msgclass
@@ -408,8 +410,6 @@ module Gitaly
408
410
  SearchFilesByContentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SearchFilesByContentRequest").msgclass
409
411
  SearchFilesByContentResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SearchFilesByContentResponse").msgclass
410
412
  Remote = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.Remote").msgclass
411
- FetchHTTPRemoteRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FetchHTTPRemoteRequest").msgclass
412
- FetchHTTPRemoteResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FetchHTTPRemoteResponse").msgclass
413
413
  GetObjectDirectorySizeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetObjectDirectorySizeRequest").msgclass
414
414
  GetObjectDirectorySizeResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetObjectDirectorySizeResponse").msgclass
415
415
  CloneFromPoolRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CloneFromPoolRequest").msgclass
@@ -17,6 +17,7 @@ module Gitaly
17
17
  rpc :RepositoryExists, Gitaly::RepositoryExistsRequest, Gitaly::RepositoryExistsResponse
18
18
  rpc :RepackIncremental, Gitaly::RepackIncrementalRequest, Gitaly::RepackIncrementalResponse
19
19
  rpc :RepackFull, Gitaly::RepackFullRequest, Gitaly::RepackFullResponse
20
+ rpc :MidxRepack, Gitaly::MidxRepackRequest, Gitaly::MidxRepackResponse
20
21
  rpc :GarbageCollect, Gitaly::GarbageCollectRequest, Gitaly::GarbageCollectResponse
21
22
  rpc :WriteCommitGraph, Gitaly::WriteCommitGraphRequest, Gitaly::WriteCommitGraphResponse
22
23
  rpc :RepositorySize, Gitaly::RepositorySizeRequest, Gitaly::RepositorySizeResponse
@@ -48,7 +49,6 @@ module Gitaly
48
49
  rpc :SearchFilesByName, Gitaly::SearchFilesByNameRequest, stream(Gitaly::SearchFilesByNameResponse)
49
50
  rpc :RestoreCustomHooks, stream(Gitaly::RestoreCustomHooksRequest), Gitaly::RestoreCustomHooksResponse
50
51
  rpc :BackupCustomHooks, Gitaly::BackupCustomHooksRequest, stream(Gitaly::BackupCustomHooksResponse)
51
- rpc :FetchHTTPRemote, Gitaly::FetchHTTPRemoteRequest, Gitaly::FetchHTTPRemoteResponse
52
52
  rpc :GetObjectDirectorySize, Gitaly::GetObjectDirectorySizeRequest, Gitaly::GetObjectDirectorySizeResponse
53
53
  rpc :CloneFromPool, Gitaly::CloneFromPoolRequest, Gitaly::CloneFromPoolResponse
54
54
  rpc :CloneFromPoolInternal, Gitaly::CloneFromPoolInternalRequest, Gitaly::CloneFromPoolInternalResponse
@@ -24,6 +24,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
24
24
  repeated :parent_ids, :string, 6
25
25
  optional :body_size, :int64, 7
26
26
  optional :signature_type, :enum, 8, "gitaly.SignatureType"
27
+ optional :tree_id, :string, 9
27
28
  end
28
29
  add_message "gitaly.CommitAuthor" do
29
30
  optional :name, :bytes, 1
@@ -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
@@ -2,5 +2,5 @@
2
2
  # (https://gitlab.com/gitlab-org/release-tools/), and should not be
3
3
  # modified.
4
4
  module Gitaly
5
- VERSION = '13.4.0-rc1'
5
+ VERSION = '13.7.0-rc4'
6
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.4.0.pre.rc1
4
+ version: 13.7.0.pre.rc4
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-09-01 00:00:00.000000000 Z
11
+ date: 2020-12-11 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
@@ -93,8 +93,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
93
93
  - !ruby/object:Gem::Version
94
94
  version: 1.3.1
95
95
  requirements: []
96
- rubygems_version: 3.0.8
97
- signing_key:
96
+ rubygems_version: 3.1.4
97
+ signing_key:
98
98
  specification_version: 4
99
99
  summary: Auto-generated gRPC client for gitaly
100
100
  test_files: []