gitaly 13.6.1 → 13.8.0.pre.rc3

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: fd659e269b5487704ff7662870b48d3d785782bc0f45688129933953d11aaa7b
4
- data.tar.gz: 83cb14afd21cf73ca3ccdd4a477929dac6d326478a3e9181db42c2ac21c2cff3
3
+ metadata.gz: 0e5600ddc712b354d894f4aa64cf2c8f553d4ff6f6ba942a80b34be5639e0103
4
+ data.tar.gz: 6466a2ca6500442b240365e0630032cbbaa0458cb46f0aaadd464ed59ee84efc
5
5
  SHA512:
6
- metadata.gz: aae38036a5279e11146830f16c7206ca14b9ffdaa97dab46f8dbb44d61673cd3938956dc9dceadf0d939ad7dbaec135d4340bd4986e0bdfd8bd339b68d385c7c
7
- data.tar.gz: a33f3eaeeccc1d06562be333282883b7fd21dd9e45802721d0f7d994cc71a53bf0c57e6dce9cd827a3a667103dbe0ab56124fc754cc21d6a13b2e956097e4992
6
+ metadata.gz: 2ca5ee4b62ab3884f4613486c0b944068a0d10856d286167b926d54b074888819d1d58af34a66a796442032441450f8a5c54ddc6cb9f238239c1f4d009345961
7
+ data.tar.gz: c7c94dc649a1208adee683f2fba0cacfe62dd77cdf4798fe01769c8b2960d74ac1d7cda451be70bc12cca038730081d743ce4e4838466707dfc5caaacbde0f98
@@ -110,6 +110,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
110
110
  add_message "gitaly.FindCommitRequest" do
111
111
  optional :repository, :message, 1, "gitaly.Repository"
112
112
  optional :revision, :bytes, 2
113
+ optional :trailers, :bool, 3
113
114
  end
114
115
  add_message "gitaly.FindCommitResponse" do
115
116
  optional :commit, :message, 1, "gitaly.GitCommit"
@@ -163,6 +164,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
163
164
  optional :author, :bytes, 13
164
165
  optional :order, :enum, 14, "gitaly.FindCommitsRequest.Order"
165
166
  optional :global_options, :message, 15, "gitaly.GlobalOptions"
167
+ optional :trailers, :bool, 16
166
168
  end
167
169
  add_enum "gitaly.FindCommitsRequest.Order" do
168
170
  value :NONE, 0
@@ -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
@@ -21,12 +21,16 @@ module Gitaly
21
21
  rpc :UserDeleteTag, Gitaly::UserDeleteTagRequest, Gitaly::UserDeleteTagResponse
22
22
  rpc :UserMergeToRef, Gitaly::UserMergeToRefRequest, Gitaly::UserMergeToRefResponse
23
23
  rpc :UserMergeBranch, stream(Gitaly::UserMergeBranchRequest), stream(Gitaly::UserMergeBranchResponse)
24
+ # UserFFBranch tries to perform a fast-forward merge of the given branch to
25
+ # the given commit. If the merge is not a fast-forward merge, the request
26
+ # will fail. The RPC will return an empty response in case updating the
27
+ # reference fails e.g. because of a race.
24
28
  rpc :UserFFBranch, Gitaly::UserFFBranchRequest, Gitaly::UserFFBranchResponse
25
29
  rpc :UserCherryPick, Gitaly::UserCherryPickRequest, Gitaly::UserCherryPickResponse
26
30
  # UserCommitFiles builds a commit from a stream of actions and updates the target branch to point to it.
27
31
  # 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.
32
+ # Following that, a variable number of actions can be sent to build a new commit. Each action consists of
33
+ # a header followed by content if used by the action.
30
34
  rpc :UserCommitFiles, stream(Gitaly::UserCommitFilesRequest), Gitaly::UserCommitFilesResponse
31
35
  rpc :UserRebaseConfirmable, stream(Gitaly::UserRebaseConfirmableRequest), stream(Gitaly::UserRebaseConfirmableResponse)
32
36
  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"
@@ -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
@@ -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
@@ -25,6 +29,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
25
29
  optional :body_size, :int64, 7
26
30
  optional :signature_type, :enum, 8, "gitaly.SignatureType"
27
31
  optional :tree_id, :string, 9
32
+ repeated :trailers, :message, 10, "gitaly.CommitTrailer"
28
33
  end
29
34
  add_message "gitaly.CommitAuthor" do
30
35
  optional :name, :bytes, 1
@@ -81,6 +86,7 @@ end
81
86
 
82
87
  module Gitaly
83
88
  Repository = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.Repository").msgclass
89
+ CommitTrailer = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitTrailer").msgclass
84
90
  GitCommit = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GitCommit").msgclass
85
91
  CommitAuthor = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitAuthor").msgclass
86
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.6.1'
5
+ VERSION = '13.8.0-rc3'
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.6.1
4
+ version: 13.8.0.pre.rc3
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-11-24 00:00:00.000000000 Z
11
+ date: 2021-01-19 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
@@ -89,12 +89,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
89
89
  version: '0'
90
90
  required_rubygems_version: !ruby/object:Gem::Requirement
91
91
  requirements:
92
- - - ">="
92
+ - - ">"
93
93
  - !ruby/object:Gem::Version
94
- version: '0'
94
+ version: 1.3.1
95
95
  requirements: []
96
96
  rubygems_version: 3.1.4
97
- signing_key:
97
+ signing_key:
98
98
  specification_version: 4
99
99
  summary: Auto-generated gRPC client for gitaly
100
100
  test_files: []