gitaly 13.5.0.pre.rc2 → 13.8.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c576e5b780532e6ef53e0e3b5199b85680a94ab94ed673f925128ec88b1b93e5
4
- data.tar.gz: d02d488943ad6e61b3e5260af258a9575919ba0afeb2a76e8d00d52f6f8c211b
3
+ metadata.gz: d972ca5f6684796f316fe21716dbc24eb3e582451952cbdf93e4bc27f0bb3a83
4
+ data.tar.gz: f7e02f047fc410f059245325bf9cbb0d806114f2b4d8525d5baa4785cb068ed5
5
5
  SHA512:
6
- metadata.gz: 49a62860f367a04f381d25b366d3a6da72c75e719c7917722320fe1f6fa02476e69bf61992605a7c655b561c05340ee7e251ee8663597ccc71f68af9e4e0f0da
7
- data.tar.gz: c07dd8c90c1deea214fe3d8b5a0959cca5a40dcee6c30fd684059338fb470baee05ec524aedb5b045e09b3775c1f6d5474d41b089258179057df04ef5c67e0c4
6
+ metadata.gz: 473a5c1a669b0b25ddf0ac2e79c71e1f97f62c97f34b0799b2089152a9f45970d0b064353eebc472e0cd78777f3241c77556ebc12cd056e97021feb72fb775e4
7
+ data.tar.gz: e19c93a33c380ff335ccb53f9773ff22fa8fe0840f32baf96872dfc16b43c74d4cf38ceb96cdb19c8180e06e50aa1e6e8142820517fe8b70a13ba7ca81f22aef
@@ -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
@@ -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
@@ -68,8 +68,10 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
68
68
  optional :known_hosts, :string, 7
69
69
  optional :no_prune, :bool, 9
70
70
  optional :remote_params, :message, 10, "gitaly.Remote"
71
+ optional :check_tags_changed, :bool, 11
71
72
  end
72
73
  add_message "gitaly.FetchRemoteResponse" do
74
+ optional :tags_changed, :bool, 1
73
75
  end
74
76
  add_message "gitaly.CreateRepositoryRequest" do
75
77
  optional :repository, :message, 1, "gitaly.Repository"
@@ -288,13 +290,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
288
290
  optional :http_authorization_header, :string, 3
289
291
  repeated :mirror_refmaps, :string, 4
290
292
  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
293
  add_message "gitaly.GetObjectDirectorySizeRequest" do
299
294
  optional :repository, :message, 1, "gitaly.Repository"
300
295
  end
@@ -416,8 +411,6 @@ module Gitaly
416
411
  SearchFilesByContentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SearchFilesByContentRequest").msgclass
417
412
  SearchFilesByContentResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SearchFilesByContentResponse").msgclass
418
413
  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
414
  GetObjectDirectorySizeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetObjectDirectorySizeRequest").msgclass
422
415
  GetObjectDirectorySizeResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetObjectDirectorySizeResponse").msgclass
423
416
  CloneFromPoolRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CloneFromPoolRequest").msgclass
@@ -26,6 +26,8 @@ module Gitaly
26
26
  rpc :CreateRepository, Gitaly::CreateRepositoryRequest, Gitaly::CreateRepositoryResponse
27
27
  rpc :GetArchive, Gitaly::GetArchiveRequest, stream(Gitaly::GetArchiveResponse)
28
28
  rpc :HasLocalBranches, Gitaly::HasLocalBranchesRequest, Gitaly::HasLocalBranchesResponse
29
+ # FetchSourceBranch fetches a branch from a second (potentially remote)
30
+ # repository into the given repository.
29
31
  rpc :FetchSourceBranch, Gitaly::FetchSourceBranchRequest, Gitaly::FetchSourceBranchResponse
30
32
  rpc :Fsck, Gitaly::FsckRequest, Gitaly::FsckResponse
31
33
  rpc :WriteRef, Gitaly::WriteRefRequest, Gitaly::WriteRefResponse
@@ -49,7 +51,6 @@ module Gitaly
49
51
  rpc :SearchFilesByName, Gitaly::SearchFilesByNameRequest, stream(Gitaly::SearchFilesByNameResponse)
50
52
  rpc :RestoreCustomHooks, stream(Gitaly::RestoreCustomHooksRequest), Gitaly::RestoreCustomHooksResponse
51
53
  rpc :BackupCustomHooks, Gitaly::BackupCustomHooksRequest, stream(Gitaly::BackupCustomHooksResponse)
52
- rpc :FetchHTTPRemote, Gitaly::FetchHTTPRemoteRequest, Gitaly::FetchHTTPRemoteResponse
53
54
  rpc :GetObjectDirectorySize, Gitaly::GetObjectDirectorySizeRequest, Gitaly::GetObjectDirectorySizeResponse
54
55
  rpc :CloneFromPool, Gitaly::CloneFromPoolRequest, Gitaly::CloneFromPoolResponse
55
56
  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
@@ -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.5.0-rc2'
5
+ VERSION = '13.8.0-rc2'
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.5.0.pre.rc2
4
+ version: 13.8.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-10-15 00:00:00.000000000 Z
11
+ date: 2021-01-12 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.3
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: []