gitaly 15.1.0.pre.rc1 → 15.2.0.pre.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ruby/proto/gitaly/commit_pb.rb +1 -0
- data/ruby/proto/gitaly/diff_pb.rb +20 -0
- data/ruby/proto/gitaly/errors_pb.rb +1 -0
- data/ruby/proto/gitaly/hook_pb.rb +3 -0
- data/ruby/proto/gitaly/operations_pb.rb +1 -3
- data/ruby/proto/gitaly/operations_services_pb.rb +8 -3
- data/ruby/proto/gitaly/repository_pb.rb +8 -0
- data/ruby/proto/gitaly/repository_services_pb.rb +3 -0
- data/ruby/proto/gitaly/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f550caef4d5b486a8b55c72c9f141975b45bd7006683d0f47f7e09b72534fae0
|
4
|
+
data.tar.gz: f24b3251383e530e3a71f3a09585c766202b8cb6e56ab92e27c017c908082abe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dcf531f12aaaef584924e4710f92c1eeaf0b1c607c9d955772a5ec8a4d60bdb150ea88f792589357b1bb5967ec4997cf83b946ee8a0bb3fa262c32bc8b958253
|
7
|
+
data.tar.gz: 827c0c336fe4fa181e076eb1732f3ccfb006b1fef2cc51e9f27a0fad5a77844c9a97ab040600be08d7a2107c1559bd1fd4dc654433e2e16e390d75c8b9318f62
|
@@ -120,6 +120,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
120
120
|
optional :recursive, :bool, 4
|
121
121
|
optional :sort, :enum, 5, "gitaly.GetTreeEntriesRequest.SortBy"
|
122
122
|
optional :pagination_params, :message, 6, "gitaly.PaginationParameter"
|
123
|
+
optional :skip_flat_paths, :bool, 7
|
123
124
|
end
|
124
125
|
add_enum "gitaly.GetTreeEntriesRequest.SortBy" do
|
125
126
|
value :DEFAULT, 0
|
@@ -92,6 +92,21 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
92
92
|
add_message "gitaly.FindChangedPathsRequest" do
|
93
93
|
optional :repository, :message, 1, "gitaly.Repository"
|
94
94
|
repeated :commits, :string, 2
|
95
|
+
repeated :requests, :message, 3, "gitaly.FindChangedPathsRequest.Request"
|
96
|
+
end
|
97
|
+
add_message "gitaly.FindChangedPathsRequest.Request" do
|
98
|
+
oneof :type do
|
99
|
+
optional :tree_request, :message, 1, "gitaly.FindChangedPathsRequest.Request.TreeRequest"
|
100
|
+
optional :commit_request, :message, 2, "gitaly.FindChangedPathsRequest.Request.CommitRequest"
|
101
|
+
end
|
102
|
+
end
|
103
|
+
add_message "gitaly.FindChangedPathsRequest.Request.TreeRequest" do
|
104
|
+
optional :left_tree_revision, :string, 1
|
105
|
+
optional :right_tree_revision, :string, 2
|
106
|
+
end
|
107
|
+
add_message "gitaly.FindChangedPathsRequest.Request.CommitRequest" do
|
108
|
+
optional :commit_revision, :string, 1
|
109
|
+
repeated :parent_commit_revisions, :string, 2
|
95
110
|
end
|
96
111
|
add_message "gitaly.FindChangedPathsResponse" do
|
97
112
|
repeated :paths, :message, 1, "gitaly.ChangedPaths"
|
@@ -99,6 +114,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
99
114
|
add_message "gitaly.ChangedPaths" do
|
100
115
|
optional :path, :bytes, 1
|
101
116
|
optional :status, :enum, 2, "gitaly.ChangedPaths.Status"
|
117
|
+
optional :old_mode, :int32, 3
|
118
|
+
optional :new_mode, :int32, 4
|
102
119
|
end
|
103
120
|
add_enum "gitaly.ChangedPaths.Status" do
|
104
121
|
value :ADDED, 0
|
@@ -125,6 +142,9 @@ module Gitaly
|
|
125
142
|
DiffStats = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DiffStats").msgclass
|
126
143
|
DiffStatsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DiffStatsResponse").msgclass
|
127
144
|
FindChangedPathsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindChangedPathsRequest").msgclass
|
145
|
+
FindChangedPathsRequest::Request = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindChangedPathsRequest.Request").msgclass
|
146
|
+
FindChangedPathsRequest::Request::TreeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindChangedPathsRequest.Request.TreeRequest").msgclass
|
147
|
+
FindChangedPathsRequest::Request::CommitRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindChangedPathsRequest.Request.CommitRequest").msgclass
|
128
148
|
FindChangedPathsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindChangedPathsResponse").msgclass
|
129
149
|
ChangedPaths = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ChangedPaths").msgclass
|
130
150
|
ChangedPaths::Status = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ChangedPaths.Status").enummodule
|
@@ -23,6 +23,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
23
23
|
end
|
24
24
|
add_message "gitaly.MergeConflictError" do
|
25
25
|
repeated :conflicting_files, :bytes, 1
|
26
|
+
repeated :conflicting_commit_ids, :string, 2
|
26
27
|
end
|
27
28
|
add_message "gitaly.ReferencesLockedError" do
|
28
29
|
end
|
@@ -60,6 +60,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
60
60
|
add_message "gitaly.PackObjectsHookWithSidechannelRequest" do
|
61
61
|
optional :repository, :message, 1, "gitaly.Repository"
|
62
62
|
repeated :args, :string, 2
|
63
|
+
optional :gl_id, :string, 3
|
64
|
+
optional :gl_username, :string, 5
|
65
|
+
optional :git_protocol, :string, 6
|
63
66
|
end
|
64
67
|
add_message "gitaly.PackObjectsHookWithSidechannelResponse" do
|
65
68
|
end
|
@@ -77,13 +77,13 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
77
77
|
add_message "gitaly.UserMergeBranchResponse" do
|
78
78
|
optional :commit_id, :string, 1
|
79
79
|
optional :branch_update, :message, 3, "gitaly.OperationBranchUpdate"
|
80
|
-
optional :pre_receive_error, :string, 4
|
81
80
|
end
|
82
81
|
add_message "gitaly.UserMergeBranchError" do
|
83
82
|
oneof :error do
|
84
83
|
optional :access_check, :message, 1, "gitaly.AccessCheckError"
|
85
84
|
optional :reference_update, :message, 2, "gitaly.ReferenceUpdateError"
|
86
85
|
optional :custom_hook, :message, 3, "gitaly.CustomHookError"
|
86
|
+
optional :merge_conflict, :message, 4, "gitaly.MergeConflictError"
|
87
87
|
end
|
88
88
|
end
|
89
89
|
add_message "gitaly.UserMergeToRefRequest" do
|
@@ -99,7 +99,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
99
99
|
end
|
100
100
|
add_message "gitaly.UserMergeToRefResponse" do
|
101
101
|
optional :commit_id, :string, 1
|
102
|
-
optional :pre_receive_error, :string, 2
|
103
102
|
end
|
104
103
|
add_message "gitaly.OperationBranchUpdate" do
|
105
104
|
optional :commit_id, :string, 1
|
@@ -252,7 +251,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
252
251
|
end
|
253
252
|
add_message "gitaly.UserSquashResponse" do
|
254
253
|
optional :squash_sha, :string, 1
|
255
|
-
optional :git_error, :string, 3
|
256
254
|
end
|
257
255
|
add_message "gitaly.UserRebaseConfirmableError" do
|
258
256
|
oneof :error do
|
@@ -28,9 +28,14 @@ module Gitaly
|
|
28
28
|
#
|
29
29
|
# - Returns `InvalidArgument` in case either the branch name or user are not set.
|
30
30
|
# - Returns `FailedPrecondition` in case the branch does not exist.
|
31
|
-
# - Returns `OK` with a `PreReceiveError` in case custom hooks refused the update.
|
32
|
-
#
|
33
|
-
#
|
31
|
+
# - Returns `OK` with a `PreReceiveError` in case custom hooks refused the update. If the
|
32
|
+
# `gitaly_user_delete_branch_structured_errors` feature flag is enabled this error case will
|
33
|
+
# instead return `PermissionDenied` with either a `CustomHook` or AccessCheck` structured
|
34
|
+
# error.
|
35
|
+
# - Returns `FailedPrecondition` in case updating the reference fails because
|
36
|
+
# of a concurrent write to the same reference. If the
|
37
|
+
# `gitaly_user_delete_branch_structured_errors` feature flag is set this error case will
|
38
|
+
# instead return `FailedPrecondition` with a `ReferenceUpdate` structured error.
|
34
39
|
rpc :UserDeleteBranch, ::Gitaly::UserDeleteBranchRequest, ::Gitaly::UserDeleteBranchResponse
|
35
40
|
# UserCreateTag creates a new tag.
|
36
41
|
rpc :UserCreateTag, ::Gitaly::UserCreateTagRequest, ::Gitaly::UserCreateTagResponse
|
@@ -321,6 +321,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
321
321
|
end
|
322
322
|
add_message "gitaly.SetFullPathResponse" do
|
323
323
|
end
|
324
|
+
add_message "gitaly.FullPathRequest" do
|
325
|
+
optional :repository, :message, 1, "gitaly.Repository"
|
326
|
+
end
|
327
|
+
add_message "gitaly.FullPathResponse" do
|
328
|
+
optional :path, :string, 1
|
329
|
+
end
|
324
330
|
end
|
325
331
|
end
|
326
332
|
|
@@ -412,4 +418,6 @@ module Gitaly
|
|
412
418
|
PruneUnreachableObjectsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PruneUnreachableObjectsResponse").msgclass
|
413
419
|
SetFullPathRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SetFullPathRequest").msgclass
|
414
420
|
SetFullPathResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SetFullPathResponse").msgclass
|
421
|
+
FullPathRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FullPathRequest").msgclass
|
422
|
+
FullPathResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FullPathResponse").msgclass
|
415
423
|
end
|
@@ -123,6 +123,9 @@ module Gitaly
|
|
123
123
|
# an admin inspects the repository's gitconfig such that he can easily see
|
124
124
|
# what the repository name is.
|
125
125
|
rpc :SetFullPath, ::Gitaly::SetFullPathRequest, ::Gitaly::SetFullPathResponse
|
126
|
+
# FullPath reads the "gitlab.fullpath" configuration from the repository's
|
127
|
+
# gitconfig. Returns an error in case the full path has not been configured.
|
128
|
+
rpc :FullPath, ::Gitaly::FullPathRequest, ::Gitaly::FullPathResponse
|
126
129
|
end
|
127
130
|
|
128
131
|
Stub = Service.rpc_stub_class
|
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: 15.
|
4
|
+
version: 15.2.0.pre.rc1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jacob Vosmaer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-07-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: grpc
|