gitaly 13.8.0.pre.rc3 → 13.9.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: 0e5600ddc712b354d894f4aa64cf2c8f553d4ff6f6ba942a80b34be5639e0103
4
- data.tar.gz: 6466a2ca6500442b240365e0630032cbbaa0458cb46f0aaadd464ed59ee84efc
3
+ metadata.gz: 2952d3b962c0f387fc9189671395f06bb81d1eded151be299f50f56aa643f646
4
+ data.tar.gz: a2f7a018b419842794270c97499832724c4bf04eb157be74f5670d1612215b92
5
5
  SHA512:
6
- metadata.gz: 2ca5ee4b62ab3884f4613486c0b944068a0d10856d286167b926d54b074888819d1d58af34a66a796442032441450f8a5c54ddc6cb9f238239c1f4d009345961
7
- data.tar.gz: c7c94dc649a1208adee683f2fba0cacfe62dd77cdf4798fe01769c8b2960d74ac1d7cda451be70bc12cca038730081d743ce4e4838466707dfc5caaacbde0f98
6
+ metadata.gz: 18c9de9d6460843a2c18c2ced652dee761b3e44149fa7a8bc3dc8c509c42bce0937c02569943678da7ca1c26423b7626542c9b7b9df160b0cefa3b0b3a9a5c00
7
+ data.tar.gz: 9505babed4510da300774ba07e3af8109b70e4ac3ae9d516e739507b13dc31020fc2ba6719bf8b40f32aa132d081d36c96d6b3de23e0d2efee2df12df14cbe22
@@ -5,6 +5,7 @@ require 'google/protobuf'
5
5
 
6
6
  require 'lint_pb'
7
7
  require 'shared_pb'
8
+ require 'google/protobuf/timestamp_pb'
8
9
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
10
  add_file("conflicts.proto", :syntax => :proto3) do
10
11
  add_message "gitaly.ListConflictFilesRequest" do
@@ -37,6 +38,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
37
38
  optional :target_branch, :bytes, 6
38
39
  optional :commit_message, :bytes, 7
39
40
  optional :user, :message, 8, "gitaly.User"
41
+ optional :timestamp, :message, 9, "google.protobuf.Timestamp"
40
42
  end
41
43
  add_message "gitaly.ResolveConflictsRequest" do
42
44
  oneof :resolve_conflicts_request_payload do
@@ -16,7 +16,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
16
16
  end
17
17
  add_enum "gitaly.OperationMsg.Scope" do
18
18
  value :REPOSITORY, 0
19
- value :SERVER, 1
20
19
  value :STORAGE, 2
21
20
  end
22
21
  end
@@ -5,6 +5,7 @@ require 'google/protobuf'
5
5
 
6
6
  require 'lint_pb'
7
7
  require 'shared_pb'
8
+ require 'google/protobuf/timestamp_pb'
8
9
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
10
  add_file("operations.proto", :syntax => :proto3) do
10
11
  add_message "gitaly.UserCreateBranchRequest" do
@@ -49,6 +50,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
49
50
  optional :user, :message, 3, "gitaly.User"
50
51
  optional :target_revision, :bytes, 4
51
52
  optional :message, :bytes, 5
53
+ optional :timestamp, :message, 7, "google.protobuf.Timestamp"
52
54
  end
53
55
  add_message "gitaly.UserCreateTagResponse" do
54
56
  optional :tag, :message, 1, "gitaly.Tag"
@@ -61,6 +63,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
61
63
  optional :commit_id, :string, 3
62
64
  optional :branch, :bytes, 4
63
65
  optional :message, :bytes, 5
66
+ optional :timestamp, :message, 7, "google.protobuf.Timestamp"
64
67
  optional :apply, :bool, 6
65
68
  end
66
69
  add_message "gitaly.UserMergeBranchResponse" do
@@ -77,6 +80,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
77
80
  optional :message, :bytes, 6
78
81
  optional :first_parent_ref, :bytes, 7
79
82
  optional :allow_conflicts, :bool, 8
83
+ optional :timestamp, :message, 9, "google.protobuf.Timestamp"
80
84
  end
81
85
  add_message "gitaly.UserMergeToRefResponse" do
82
86
  optional :commit_id, :string, 1
@@ -106,6 +110,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
106
110
  optional :start_branch_name, :bytes, 6
107
111
  optional :start_repository, :message, 7, "gitaly.Repository"
108
112
  optional :dry_run, :bool, 8
113
+ optional :timestamp, :message, 9, "google.protobuf.Timestamp"
109
114
  end
110
115
  add_message "gitaly.UserCherryPickResponse" do
111
116
  optional :branch_update, :message, 1, "gitaly.OperationBranchUpdate"
@@ -128,6 +133,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
128
133
  optional :start_branch_name, :bytes, 6
129
134
  optional :start_repository, :message, 7, "gitaly.Repository"
130
135
  optional :dry_run, :bool, 8
136
+ optional :timestamp, :message, 9, "google.protobuf.Timestamp"
131
137
  end
132
138
  add_message "gitaly.UserRevertResponse" do
133
139
  optional :branch_update, :message, 1, "gitaly.OperationBranchUpdate"
@@ -174,6 +180,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
174
180
  optional :start_repository, :message, 8, "gitaly.Repository"
175
181
  optional :force, :bool, 9
176
182
  optional :start_sha, :string, 10
183
+ optional :timestamp, :message, 11, "google.protobuf.Timestamp"
177
184
  end
178
185
  add_message "gitaly.UserCommitFilesRequest" do
179
186
  oneof :user_commit_files_request_payload do
@@ -201,6 +208,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
201
208
  optional :remote_repository, :message, 6, "gitaly.Repository"
202
209
  optional :remote_branch, :bytes, 7
203
210
  repeated :git_push_options, :string, 8
211
+ optional :timestamp, :message, 9, "google.protobuf.Timestamp"
204
212
  end
205
213
  add_message "gitaly.UserRebaseConfirmableResponse" do
206
214
  optional :pre_receive_error, :string, 3
@@ -218,6 +226,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
218
226
  optional :end_sha, :string, 6
219
227
  optional :author, :message, 7, "gitaly.User"
220
228
  optional :commit_message, :bytes, 8
229
+ optional :timestamp, :message, 9, "google.protobuf.Timestamp"
221
230
  end
222
231
  add_message "gitaly.UserSquashResponse" do
223
232
  optional :squash_sha, :string, 1
@@ -233,6 +242,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
233
242
  optional :repository, :message, 1, "gitaly.Repository"
234
243
  optional :user, :message, 2, "gitaly.User"
235
244
  optional :target_branch, :bytes, 3
245
+ optional :timestamp, :message, 4, "google.protobuf.Timestamp"
236
246
  end
237
247
  add_message "gitaly.UserApplyPatchResponse" do
238
248
  optional :branch_update, :message, 1, "gitaly.OperationBranchUpdate"
@@ -244,6 +254,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
244
254
  optional :branch, :bytes, 4
245
255
  optional :submodule, :bytes, 5
246
256
  optional :commit_message, :bytes, 6
257
+ optional :timestamp, :message, 7, "google.protobuf.Timestamp"
247
258
  end
248
259
  add_message "gitaly.UserUpdateSubmoduleResponse" do
249
260
  optional :branch_update, :message, 1, "gitaly.OperationBranchUpdate"
@@ -6,6 +6,10 @@ require 'operations_pb'
6
6
 
7
7
  module Gitaly
8
8
  module OperationService
9
+ # OperationService provides an interface for performing mutating git
10
+ # operations on a repository on behalf of a user. The user's operation is
11
+ # treated as untrusted. Any reference update is thus checked against GitLab's
12
+ # '/allowed' endpoint.
9
13
  class Service
10
14
 
11
15
  include GRPC::GenericService
@@ -17,25 +21,53 @@ module Gitaly
17
21
  rpc :UserCreateBranch, Gitaly::UserCreateBranchRequest, Gitaly::UserCreateBranchResponse
18
22
  rpc :UserUpdateBranch, Gitaly::UserUpdateBranchRequest, Gitaly::UserUpdateBranchResponse
19
23
  rpc :UserDeleteBranch, Gitaly::UserDeleteBranchRequest, Gitaly::UserDeleteBranchResponse
24
+ # UserCreateTag creates a new tag.
20
25
  rpc :UserCreateTag, Gitaly::UserCreateTagRequest, Gitaly::UserCreateTagResponse
21
26
  rpc :UserDeleteTag, Gitaly::UserDeleteTagRequest, Gitaly::UserDeleteTagResponse
27
+ # UserMergeRef creates a merge commit and updates target_ref to point to that
28
+ # new commit. The first parent of the merge commit (the main line) is taken
29
+ # from first_parent_ref. The second parent is specified by its commit ID in source_sha.
30
+ # If target_ref already exists it will be overwritten.
22
31
  rpc :UserMergeToRef, Gitaly::UserMergeToRefRequest, Gitaly::UserMergeToRefResponse
32
+ # UserMergeBranch tries to merge the given commit into the target branch.
33
+ # The merge commit is created with the given user as author/committer and
34
+ # the given message.
35
+ #
36
+ # This RPC requires confirmation to make any user-visible changes to the
37
+ # repository. The first request sent shall contain details about the
38
+ # requested merge, which will result in a response with the created merge
39
+ # commit ID. Only if a second message with `apply = true` is sent will the
40
+ # merge be applied.
23
41
  rpc :UserMergeBranch, stream(Gitaly::UserMergeBranchRequest), stream(Gitaly::UserMergeBranchResponse)
24
42
  # UserFFBranch tries to perform a fast-forward merge of the given branch to
25
43
  # the given commit. If the merge is not a fast-forward merge, the request
26
44
  # will fail. The RPC will return an empty response in case updating the
27
45
  # reference fails e.g. because of a race.
28
46
  rpc :UserFFBranch, Gitaly::UserFFBranchRequest, Gitaly::UserFFBranchResponse
47
+ # UserCherryPick tries to perform a cherry-pick of a given commit onto a
48
+ # branch.
29
49
  rpc :UserCherryPick, Gitaly::UserCherryPickRequest, Gitaly::UserCherryPickResponse
30
50
  # UserCommitFiles builds a commit from a stream of actions and updates the target branch to point to it.
31
51
  # UserCommitFilesRequest with a UserCommitFilesRequestHeader must be sent as the first message of the stream.
32
52
  # Following that, a variable number of actions can be sent to build a new commit. Each action consists of
33
53
  # a header followed by content if used by the action.
34
54
  rpc :UserCommitFiles, stream(Gitaly::UserCommitFilesRequest), Gitaly::UserCommitFilesResponse
55
+ # UserRebaseConfirmable rebases the given remote branch onto a target
56
+ # branch. The remote branch may be part of another repository.
57
+ #
58
+ # This RPC requires confirmation to make any user-visible changes to the
59
+ # repository. The first request sent shall contains details about the
60
+ # requested rebase, which will result in a response with the created rebase
61
+ # commit ID. Only if a second message with `apply = true` is sent will the
62
+ # rebase be applied.
35
63
  rpc :UserRebaseConfirmable, stream(Gitaly::UserRebaseConfirmableRequest), stream(Gitaly::UserRebaseConfirmableResponse)
64
+ # UserRevert tries to perform a revert of a given commit onto a branch.
36
65
  rpc :UserRevert, Gitaly::UserRevertRequest, Gitaly::UserRevertResponse
66
+ # UserSquash squashes a range of commits into a single commit.
37
67
  rpc :UserSquash, Gitaly::UserSquashRequest, Gitaly::UserSquashResponse
68
+ # UserApplyPatch applies patches to a given branch.
38
69
  rpc :UserApplyPatch, stream(Gitaly::UserApplyPatchRequest), Gitaly::UserApplyPatchResponse
70
+ # UserUpdateSubmodule updates a submodule to point to a new commit.
39
71
  rpc :UserUpdateSubmodule, Gitaly::UserUpdateSubmoduleRequest, Gitaly::UserUpdateSubmoduleResponse
40
72
  end
41
73
 
@@ -22,6 +22,8 @@ module Gitaly
22
22
  rpc :WriteCommitGraph, Gitaly::WriteCommitGraphRequest, Gitaly::WriteCommitGraphResponse
23
23
  rpc :RepositorySize, Gitaly::RepositorySizeRequest, Gitaly::RepositorySizeResponse
24
24
  rpc :ApplyGitattributes, Gitaly::ApplyGitattributesRequest, Gitaly::ApplyGitattributesResponse
25
+ # FetchRemote fetches references from a remote repository into the local
26
+ # repository.
25
27
  rpc :FetchRemote, Gitaly::FetchRemoteRequest, Gitaly::FetchRemoteResponse
26
28
  rpc :CreateRepository, Gitaly::CreateRepositoryRequest, Gitaly::CreateRepositoryResponse
27
29
  rpc :GetArchive, Gitaly::GetArchiveRequest, stream(Gitaly::GetArchiveResponse)
@@ -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.8.0-rc3'
5
+ VERSION = '13.9.0-rc1'
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.8.0.pre.rc3
4
+ version: 13.9.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: 2021-01-19 00:00:00.000000000 Z
11
+ date: 2021-01-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: grpc