gitaly 15.0.0.pre.rc3 → 15.1.0.pre.rc1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e33ca04571fc6455aad19ff895c6b2bc4324deae179ca578d091cd6ab4fcbac9
|
4
|
+
data.tar.gz: 6d7f95a725b2ce52e4d4e19efd5d1039c531e440600cf354b5a14a88a0da5bef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fb860a1a5f3dd8427608f7cbb6d027e7fb4c03db32498cd4c500a5230577990719a1479812353534a8d2768a93d9e65cdf1d9b7343e08dc9a9d3e0fe07c4592a
|
7
|
+
data.tar.gz: 71791da8a6b302e275755811d28ef7846fb57d2cd0de895fc98dc3c0c2099518e8aba91625f6edfe9f926bac2a26b69253608b1400318da6e474706b2d2c8523
|
@@ -12,6 +12,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
12
12
|
optional :user_id, :string, 3
|
13
13
|
optional :changes, :bytes, 4
|
14
14
|
end
|
15
|
+
add_message "gitaly.InvalidRefFormatError" do
|
16
|
+
repeated :refs, :bytes, 2
|
17
|
+
end
|
15
18
|
add_message "gitaly.NotAncestorError" do
|
16
19
|
optional :parent_revision, :bytes, 1
|
17
20
|
optional :child_revision, :bytes, 2
|
@@ -21,6 +24,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
21
24
|
add_message "gitaly.MergeConflictError" do
|
22
25
|
repeated :conflicting_files, :bytes, 1
|
23
26
|
end
|
27
|
+
add_message "gitaly.ReferencesLockedError" do
|
28
|
+
end
|
24
29
|
add_message "gitaly.ReferenceUpdateError" do
|
25
30
|
optional :reference_name, :bytes, 1
|
26
31
|
optional :old_oid, :string, 2
|
@@ -49,9 +54,11 @@ end
|
|
49
54
|
|
50
55
|
module Gitaly
|
51
56
|
AccessCheckError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.AccessCheckError").msgclass
|
57
|
+
InvalidRefFormatError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.InvalidRefFormatError").msgclass
|
52
58
|
NotAncestorError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.NotAncestorError").msgclass
|
53
59
|
ChangesAlreadyAppliedError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ChangesAlreadyAppliedError").msgclass
|
54
60
|
MergeConflictError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.MergeConflictError").msgclass
|
61
|
+
ReferencesLockedError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ReferencesLockedError").msgclass
|
55
62
|
ReferenceUpdateError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ReferenceUpdateError").msgclass
|
56
63
|
ResolveRevisionError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ResolveRevisionError").msgclass
|
57
64
|
LimitError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.LimitError").msgclass
|
@@ -37,6 +37,13 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
37
37
|
add_message "gitaly.UserDeleteBranchResponse" do
|
38
38
|
optional :pre_receive_error, :string, 1
|
39
39
|
end
|
40
|
+
add_message "gitaly.UserDeleteBranchError" do
|
41
|
+
oneof :error do
|
42
|
+
optional :access_check, :message, 1, "gitaly.AccessCheckError"
|
43
|
+
optional :reference_update, :message, 2, "gitaly.ReferenceUpdateError"
|
44
|
+
optional :custom_hook, :message, 3, "gitaly.CustomHookError"
|
45
|
+
end
|
46
|
+
end
|
40
47
|
add_message "gitaly.UserDeleteTagRequest" do
|
41
48
|
optional :repository, :message, 1, "gitaly.Repository"
|
42
49
|
optional :tag_name, :bytes, 2
|
@@ -298,6 +305,7 @@ module Gitaly
|
|
298
305
|
UserUpdateBranchResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserUpdateBranchResponse").msgclass
|
299
306
|
UserDeleteBranchRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserDeleteBranchRequest").msgclass
|
300
307
|
UserDeleteBranchResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserDeleteBranchResponse").msgclass
|
308
|
+
UserDeleteBranchError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserDeleteBranchError").msgclass
|
301
309
|
UserDeleteTagRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserDeleteTagRequest").msgclass
|
302
310
|
UserDeleteTagResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserDeleteTagResponse").msgclass
|
303
311
|
UserCreateTagRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCreateTagRequest").msgclass
|
@@ -22,7 +22,15 @@ module Gitaly
|
|
22
22
|
rpc :UserCreateBranch, ::Gitaly::UserCreateBranchRequest, ::Gitaly::UserCreateBranchResponse
|
23
23
|
# This comment is left unintentionally blank.
|
24
24
|
rpc :UserUpdateBranch, ::Gitaly::UserUpdateBranchRequest, ::Gitaly::UserUpdateBranchResponse
|
25
|
-
#
|
25
|
+
# UserDeleteBranch force-deletes a single branch in the context of a specific user. It executes
|
26
|
+
# hooks and contacts Rails to verify that the user is indeed allowed to delete that branch. The
|
27
|
+
# following known error conditions may happen:
|
28
|
+
#
|
29
|
+
# - Returns `InvalidArgument` in case either the branch name or user are not set.
|
30
|
+
# - Returns `FailedPrecondition` in case the branch does not exist.
|
31
|
+
# - Returns `OK` with a `PreReceiveError` in case custom hooks refused the update.
|
32
|
+
# - Returns `FailedPrecondition` in case updating the reference fails because of a concurrent
|
33
|
+
# write to the same reference.
|
26
34
|
rpc :UserDeleteBranch, ::Gitaly::UserDeleteBranchRequest, ::Gitaly::UserDeleteBranchResponse
|
27
35
|
# UserCreateTag creates a new tag.
|
28
36
|
rpc :UserCreateTag, ::Gitaly::UserCreateTagRequest, ::Gitaly::UserCreateTagResponse
|
data/ruby/proto/gitaly/ref_pb.rb
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: ref.proto
|
3
3
|
|
4
|
+
require 'errors_pb'
|
4
5
|
require 'google/protobuf/timestamp_pb'
|
5
6
|
require 'lint_pb'
|
6
7
|
require 'shared_pb'
|
@@ -131,6 +132,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
131
132
|
add_message "gitaly.DeleteRefsResponse" do
|
132
133
|
optional :git_error, :string, 1
|
133
134
|
end
|
135
|
+
add_message "gitaly.DeleteRefsError" do
|
136
|
+
oneof :error do
|
137
|
+
optional :invalid_format, :message, 1, "gitaly.InvalidRefFormatError"
|
138
|
+
optional :references_locked, :message, 2, "gitaly.ReferencesLockedError"
|
139
|
+
end
|
140
|
+
end
|
134
141
|
add_message "gitaly.ListBranchNamesContainingCommitRequest" do
|
135
142
|
optional :repository, :message, 1, "gitaly.Repository"
|
136
143
|
optional :commit_id, :string, 2
|
@@ -247,6 +254,7 @@ module Gitaly
|
|
247
254
|
FindBranchResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindBranchResponse").msgclass
|
248
255
|
DeleteRefsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DeleteRefsRequest").msgclass
|
249
256
|
DeleteRefsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DeleteRefsResponse").msgclass
|
257
|
+
DeleteRefsError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DeleteRefsError").msgclass
|
250
258
|
ListBranchNamesContainingCommitRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListBranchNamesContainingCommitRequest").msgclass
|
251
259
|
ListBranchNamesContainingCommitResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListBranchNamesContainingCommitResponse").msgclass
|
252
260
|
ListTagNamesContainingCommitRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListTagNamesContainingCommitRequest").msgclass
|
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.1.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-06-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: grpc
|
@@ -94,7 +94,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
94
94
|
- !ruby/object:Gem::Version
|
95
95
|
version: 1.3.1
|
96
96
|
requirements: []
|
97
|
-
rubygems_version: 3.
|
97
|
+
rubygems_version: 3.1.6
|
98
98
|
signing_key:
|
99
99
|
specification_version: 4
|
100
100
|
summary: Auto-generated gRPC client for gitaly
|