gitaly 12.10.0 → 13.0.0.pre.rc1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of gitaly might be problematic. Click here for more details.

@@ -6,71 +6,69 @@ require 'google/protobuf'
6
6
  require 'lint_pb'
7
7
  require 'shared_pb'
8
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
- add_file("objectpool.proto", :syntax => :proto3) do
10
- add_message "gitaly.CreateObjectPoolRequest" do
11
- optional :object_pool, :message, 1, "gitaly.ObjectPool"
12
- optional :origin, :message, 2, "gitaly.Repository"
13
- end
14
- add_message "gitaly.CreateObjectPoolResponse" do
15
- end
16
- add_message "gitaly.DeleteObjectPoolRequest" do
17
- optional :object_pool, :message, 1, "gitaly.ObjectPool"
18
- end
19
- add_message "gitaly.DeleteObjectPoolResponse" do
20
- end
21
- add_message "gitaly.LinkRepositoryToObjectPoolRequest" do
22
- optional :object_pool, :message, 1, "gitaly.ObjectPool"
23
- optional :repository, :message, 2, "gitaly.Repository"
24
- end
25
- add_message "gitaly.LinkRepositoryToObjectPoolResponse" do
26
- end
27
- add_message "gitaly.UnlinkRepositoryFromObjectPoolRequest" do
28
- optional :repository, :message, 1, "gitaly.Repository"
29
- optional :object_pool, :message, 2, "gitaly.ObjectPool"
30
- end
31
- add_message "gitaly.UnlinkRepositoryFromObjectPoolResponse" do
32
- end
33
- add_message "gitaly.ReduplicateRepositoryRequest" do
34
- optional :repository, :message, 1, "gitaly.Repository"
35
- end
36
- add_message "gitaly.ReduplicateRepositoryResponse" do
37
- end
38
- add_message "gitaly.DisconnectGitAlternatesRequest" do
39
- optional :repository, :message, 1, "gitaly.Repository"
40
- end
41
- add_message "gitaly.DisconnectGitAlternatesResponse" do
42
- end
43
- add_message "gitaly.FetchIntoObjectPoolRequest" do
44
- optional :origin, :message, 1, "gitaly.Repository"
45
- optional :object_pool, :message, 2, "gitaly.ObjectPool"
46
- optional :repack, :bool, 3
47
- end
48
- add_message "gitaly.FetchIntoObjectPoolResponse" do
49
- end
50
- add_message "gitaly.GetObjectPoolRequest" do
51
- optional :repository, :message, 1, "gitaly.Repository"
52
- end
53
- add_message "gitaly.GetObjectPoolResponse" do
54
- optional :object_pool, :message, 1, "gitaly.ObjectPool"
55
- end
9
+ add_message "gitaly.CreateObjectPoolRequest" do
10
+ optional :object_pool, :message, 1, "gitaly.ObjectPool"
11
+ optional :origin, :message, 2, "gitaly.Repository"
12
+ end
13
+ add_message "gitaly.CreateObjectPoolResponse" do
14
+ end
15
+ add_message "gitaly.DeleteObjectPoolRequest" do
16
+ optional :object_pool, :message, 1, "gitaly.ObjectPool"
17
+ end
18
+ add_message "gitaly.DeleteObjectPoolResponse" do
19
+ end
20
+ add_message "gitaly.LinkRepositoryToObjectPoolRequest" do
21
+ optional :object_pool, :message, 1, "gitaly.ObjectPool"
22
+ optional :repository, :message, 2, "gitaly.Repository"
23
+ end
24
+ add_message "gitaly.LinkRepositoryToObjectPoolResponse" do
25
+ end
26
+ add_message "gitaly.UnlinkRepositoryFromObjectPoolRequest" do
27
+ optional :repository, :message, 1, "gitaly.Repository"
28
+ optional :object_pool, :message, 2, "gitaly.ObjectPool"
29
+ end
30
+ add_message "gitaly.UnlinkRepositoryFromObjectPoolResponse" do
31
+ end
32
+ add_message "gitaly.ReduplicateRepositoryRequest" do
33
+ optional :repository, :message, 1, "gitaly.Repository"
34
+ end
35
+ add_message "gitaly.ReduplicateRepositoryResponse" do
36
+ end
37
+ add_message "gitaly.DisconnectGitAlternatesRequest" do
38
+ optional :repository, :message, 1, "gitaly.Repository"
39
+ end
40
+ add_message "gitaly.DisconnectGitAlternatesResponse" do
41
+ end
42
+ add_message "gitaly.FetchIntoObjectPoolRequest" do
43
+ optional :origin, :message, 1, "gitaly.Repository"
44
+ optional :object_pool, :message, 2, "gitaly.ObjectPool"
45
+ optional :repack, :bool, 3
46
+ end
47
+ add_message "gitaly.FetchIntoObjectPoolResponse" do
48
+ end
49
+ add_message "gitaly.GetObjectPoolRequest" do
50
+ optional :repository, :message, 1, "gitaly.Repository"
51
+ end
52
+ add_message "gitaly.GetObjectPoolResponse" do
53
+ optional :object_pool, :message, 1, "gitaly.ObjectPool"
56
54
  end
57
55
  end
58
56
 
59
57
  module Gitaly
60
- CreateObjectPoolRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CreateObjectPoolRequest").msgclass
61
- CreateObjectPoolResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CreateObjectPoolResponse").msgclass
62
- DeleteObjectPoolRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DeleteObjectPoolRequest").msgclass
63
- DeleteObjectPoolResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DeleteObjectPoolResponse").msgclass
64
- LinkRepositoryToObjectPoolRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.LinkRepositoryToObjectPoolRequest").msgclass
65
- LinkRepositoryToObjectPoolResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.LinkRepositoryToObjectPoolResponse").msgclass
66
- UnlinkRepositoryFromObjectPoolRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UnlinkRepositoryFromObjectPoolRequest").msgclass
67
- UnlinkRepositoryFromObjectPoolResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UnlinkRepositoryFromObjectPoolResponse").msgclass
68
- ReduplicateRepositoryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ReduplicateRepositoryRequest").msgclass
69
- ReduplicateRepositoryResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ReduplicateRepositoryResponse").msgclass
70
- DisconnectGitAlternatesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DisconnectGitAlternatesRequest").msgclass
71
- DisconnectGitAlternatesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DisconnectGitAlternatesResponse").msgclass
72
- FetchIntoObjectPoolRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FetchIntoObjectPoolRequest").msgclass
73
- FetchIntoObjectPoolResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FetchIntoObjectPoolResponse").msgclass
74
- GetObjectPoolRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetObjectPoolRequest").msgclass
75
- GetObjectPoolResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetObjectPoolResponse").msgclass
58
+ CreateObjectPoolRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CreateObjectPoolRequest").msgclass
59
+ CreateObjectPoolResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CreateObjectPoolResponse").msgclass
60
+ DeleteObjectPoolRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DeleteObjectPoolRequest").msgclass
61
+ DeleteObjectPoolResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DeleteObjectPoolResponse").msgclass
62
+ LinkRepositoryToObjectPoolRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.LinkRepositoryToObjectPoolRequest").msgclass
63
+ LinkRepositoryToObjectPoolResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.LinkRepositoryToObjectPoolResponse").msgclass
64
+ UnlinkRepositoryFromObjectPoolRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UnlinkRepositoryFromObjectPoolRequest").msgclass
65
+ UnlinkRepositoryFromObjectPoolResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UnlinkRepositoryFromObjectPoolResponse").msgclass
66
+ ReduplicateRepositoryRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ReduplicateRepositoryRequest").msgclass
67
+ ReduplicateRepositoryResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ReduplicateRepositoryResponse").msgclass
68
+ DisconnectGitAlternatesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DisconnectGitAlternatesRequest").msgclass
69
+ DisconnectGitAlternatesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DisconnectGitAlternatesResponse").msgclass
70
+ FetchIntoObjectPoolRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FetchIntoObjectPoolRequest").msgclass
71
+ FetchIntoObjectPoolResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FetchIntoObjectPoolResponse").msgclass
72
+ GetObjectPoolRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetObjectPoolRequest").msgclass
73
+ GetObjectPoolResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetObjectPoolResponse").msgclass
76
74
  end
@@ -6,288 +6,286 @@ require 'google/protobuf'
6
6
  require 'lint_pb'
7
7
  require 'shared_pb'
8
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
- add_file("operations.proto", :syntax => :proto3) do
10
- add_message "gitaly.UserCreateBranchRequest" do
11
- optional :repository, :message, 1, "gitaly.Repository"
12
- optional :branch_name, :bytes, 2
13
- optional :user, :message, 3, "gitaly.User"
14
- optional :start_point, :bytes, 4
15
- end
16
- add_message "gitaly.UserCreateBranchResponse" do
17
- optional :branch, :message, 1, "gitaly.Branch"
18
- optional :pre_receive_error, :string, 2
19
- end
20
- add_message "gitaly.UserUpdateBranchRequest" do
21
- optional :repository, :message, 1, "gitaly.Repository"
22
- optional :branch_name, :bytes, 2
23
- optional :user, :message, 3, "gitaly.User"
24
- optional :newrev, :bytes, 4
25
- optional :oldrev, :bytes, 5
26
- end
27
- add_message "gitaly.UserUpdateBranchResponse" do
28
- optional :pre_receive_error, :string, 1
29
- end
30
- add_message "gitaly.UserDeleteBranchRequest" do
31
- optional :repository, :message, 1, "gitaly.Repository"
32
- optional :branch_name, :bytes, 2
33
- optional :user, :message, 3, "gitaly.User"
34
- end
35
- add_message "gitaly.UserDeleteBranchResponse" do
36
- optional :pre_receive_error, :string, 1
37
- end
38
- add_message "gitaly.UserDeleteTagRequest" do
39
- optional :repository, :message, 1, "gitaly.Repository"
40
- optional :tag_name, :bytes, 2
41
- optional :user, :message, 3, "gitaly.User"
42
- end
43
- add_message "gitaly.UserDeleteTagResponse" do
44
- optional :pre_receive_error, :string, 1
45
- end
46
- add_message "gitaly.UserCreateTagRequest" do
47
- optional :repository, :message, 1, "gitaly.Repository"
48
- optional :tag_name, :bytes, 2
49
- optional :user, :message, 3, "gitaly.User"
50
- optional :target_revision, :bytes, 4
51
- optional :message, :bytes, 5
52
- end
53
- add_message "gitaly.UserCreateTagResponse" do
54
- optional :tag, :message, 1, "gitaly.Tag"
55
- optional :exists, :bool, 2
56
- optional :pre_receive_error, :string, 3
57
- end
58
- add_message "gitaly.UserMergeBranchRequest" do
59
- optional :repository, :message, 1, "gitaly.Repository"
60
- optional :user, :message, 2, "gitaly.User"
61
- optional :commit_id, :string, 3
62
- optional :branch, :bytes, 4
63
- optional :message, :bytes, 5
64
- optional :apply, :bool, 6
65
- end
66
- add_message "gitaly.UserMergeBranchResponse" do
67
- optional :commit_id, :string, 1
68
- optional :branch_update, :message, 3, "gitaly.OperationBranchUpdate"
69
- optional :pre_receive_error, :string, 4
70
- end
71
- add_message "gitaly.UserMergeToRefRequest" do
72
- optional :repository, :message, 1, "gitaly.Repository"
73
- optional :user, :message, 2, "gitaly.User"
74
- optional :source_sha, :string, 3
75
- optional :branch, :bytes, 4
76
- optional :target_ref, :bytes, 5
77
- optional :message, :bytes, 6
78
- optional :first_parent_ref, :bytes, 7
79
- end
80
- add_message "gitaly.UserMergeToRefResponse" do
81
- optional :commit_id, :string, 1
82
- optional :pre_receive_error, :string, 2
83
- end
84
- add_message "gitaly.OperationBranchUpdate" do
85
- optional :commit_id, :string, 1
86
- optional :repo_created, :bool, 2
87
- optional :branch_created, :bool, 3
88
- end
89
- add_message "gitaly.UserFFBranchRequest" do
90
- optional :repository, :message, 1, "gitaly.Repository"
91
- optional :user, :message, 2, "gitaly.User"
92
- optional :commit_id, :string, 3
93
- optional :branch, :bytes, 4
94
- end
95
- add_message "gitaly.UserFFBranchResponse" do
96
- optional :branch_update, :message, 1, "gitaly.OperationBranchUpdate"
97
- optional :pre_receive_error, :string, 2
98
- end
99
- add_message "gitaly.UserCherryPickRequest" do
100
- optional :repository, :message, 1, "gitaly.Repository"
101
- optional :user, :message, 2, "gitaly.User"
102
- optional :commit, :message, 3, "gitaly.GitCommit"
103
- optional :branch_name, :bytes, 4
104
- optional :message, :bytes, 5
105
- optional :start_branch_name, :bytes, 6
106
- optional :start_repository, :message, 7, "gitaly.Repository"
107
- end
108
- add_message "gitaly.UserCherryPickResponse" do
109
- optional :branch_update, :message, 1, "gitaly.OperationBranchUpdate"
110
- optional :create_tree_error, :string, 2
111
- optional :commit_error, :string, 3
112
- optional :pre_receive_error, :string, 4
113
- optional :create_tree_error_code, :enum, 5, "gitaly.UserCherryPickResponse.CreateTreeError"
114
- end
115
- add_enum "gitaly.UserCherryPickResponse.CreateTreeError" do
116
- value :NONE, 0
117
- value :EMPTY, 1
118
- value :CONFLICT, 2
119
- end
120
- add_message "gitaly.UserRevertRequest" do
121
- optional :repository, :message, 1, "gitaly.Repository"
122
- optional :user, :message, 2, "gitaly.User"
123
- optional :commit, :message, 3, "gitaly.GitCommit"
124
- optional :branch_name, :bytes, 4
125
- optional :message, :bytes, 5
126
- optional :start_branch_name, :bytes, 6
127
- optional :start_repository, :message, 7, "gitaly.Repository"
128
- end
129
- add_message "gitaly.UserRevertResponse" do
130
- optional :branch_update, :message, 1, "gitaly.OperationBranchUpdate"
131
- optional :create_tree_error, :string, 2
132
- optional :commit_error, :string, 3
133
- optional :pre_receive_error, :string, 4
134
- optional :create_tree_error_code, :enum, 5, "gitaly.UserRevertResponse.CreateTreeError"
135
- end
136
- add_enum "gitaly.UserRevertResponse.CreateTreeError" do
137
- value :NONE, 0
138
- value :EMPTY, 1
139
- value :CONFLICT, 2
140
- end
141
- add_message "gitaly.UserCommitFilesActionHeader" do
142
- optional :action, :enum, 1, "gitaly.UserCommitFilesActionHeader.ActionType"
143
- optional :file_path, :bytes, 2
144
- optional :previous_path, :bytes, 3
145
- optional :base64_content, :bool, 4
146
- optional :execute_filemode, :bool, 5
147
- optional :infer_content, :bool, 6
148
- end
149
- add_enum "gitaly.UserCommitFilesActionHeader.ActionType" do
150
- value :CREATE, 0
151
- value :CREATE_DIR, 1
152
- value :UPDATE, 2
153
- value :MOVE, 3
154
- value :DELETE, 4
155
- value :CHMOD, 5
156
- end
157
- add_message "gitaly.UserCommitFilesAction" do
158
- oneof :user_commit_files_action_payload do
159
- optional :header, :message, 1, "gitaly.UserCommitFilesActionHeader"
160
- optional :content, :bytes, 2
161
- end
162
- end
163
- add_message "gitaly.UserCommitFilesRequestHeader" do
164
- optional :repository, :message, 1, "gitaly.Repository"
165
- optional :user, :message, 2, "gitaly.User"
166
- optional :branch_name, :bytes, 3
167
- optional :commit_message, :bytes, 4
168
- optional :commit_author_name, :bytes, 5
169
- optional :commit_author_email, :bytes, 6
170
- optional :start_branch_name, :bytes, 7
171
- optional :start_repository, :message, 8, "gitaly.Repository"
172
- optional :force, :bool, 9
173
- optional :start_sha, :string, 10
174
- end
175
- add_message "gitaly.UserCommitFilesRequest" do
176
- oneof :user_commit_files_request_payload do
177
- optional :header, :message, 1, "gitaly.UserCommitFilesRequestHeader"
178
- optional :action, :message, 2, "gitaly.UserCommitFilesAction"
179
- end
180
- end
181
- add_message "gitaly.UserCommitFilesResponse" do
182
- optional :branch_update, :message, 1, "gitaly.OperationBranchUpdate"
183
- optional :index_error, :string, 2
184
- optional :pre_receive_error, :string, 3
185
- end
186
- add_message "gitaly.UserRebaseConfirmableRequest" do
187
- oneof :user_rebase_confirmable_request_payload do
188
- optional :header, :message, 1, "gitaly.UserRebaseConfirmableRequest.Header"
189
- optional :apply, :bool, 2
190
- end
191
- end
192
- add_message "gitaly.UserRebaseConfirmableRequest.Header" do
193
- optional :repository, :message, 1, "gitaly.Repository"
194
- optional :user, :message, 2, "gitaly.User"
195
- optional :rebase_id, :string, 3
196
- optional :branch, :bytes, 4
197
- optional :branch_sha, :string, 5
198
- optional :remote_repository, :message, 6, "gitaly.Repository"
199
- optional :remote_branch, :bytes, 7
200
- repeated :git_push_options, :string, 8
201
- end
202
- add_message "gitaly.UserRebaseConfirmableResponse" do
203
- optional :pre_receive_error, :string, 3
204
- optional :git_error, :string, 4
205
- oneof :user_rebase_confirmable_response_payload do
206
- optional :rebase_sha, :string, 1
207
- optional :rebase_applied, :bool, 2
208
- end
209
- end
210
- add_message "gitaly.UserSquashRequest" do
211
- optional :repository, :message, 1, "gitaly.Repository"
212
- optional :user, :message, 2, "gitaly.User"
213
- optional :squash_id, :string, 3
214
- optional :start_sha, :string, 5
215
- optional :end_sha, :string, 6
216
- optional :author, :message, 7, "gitaly.User"
217
- optional :commit_message, :bytes, 8
218
- end
219
- add_message "gitaly.UserSquashResponse" do
220
- optional :squash_sha, :string, 1
221
- optional :git_error, :string, 3
222
- end
223
- add_message "gitaly.UserApplyPatchRequest" do
224
- oneof :user_apply_patch_request_payload do
225
- optional :header, :message, 1, "gitaly.UserApplyPatchRequest.Header"
226
- optional :patches, :bytes, 2
227
- end
9
+ add_message "gitaly.UserCreateBranchRequest" do
10
+ optional :repository, :message, 1, "gitaly.Repository"
11
+ optional :branch_name, :bytes, 2
12
+ optional :user, :message, 3, "gitaly.User"
13
+ optional :start_point, :bytes, 4
14
+ end
15
+ add_message "gitaly.UserCreateBranchResponse" do
16
+ optional :branch, :message, 1, "gitaly.Branch"
17
+ optional :pre_receive_error, :string, 2
18
+ end
19
+ add_message "gitaly.UserUpdateBranchRequest" do
20
+ optional :repository, :message, 1, "gitaly.Repository"
21
+ optional :branch_name, :bytes, 2
22
+ optional :user, :message, 3, "gitaly.User"
23
+ optional :newrev, :bytes, 4
24
+ optional :oldrev, :bytes, 5
25
+ end
26
+ add_message "gitaly.UserUpdateBranchResponse" do
27
+ optional :pre_receive_error, :string, 1
28
+ end
29
+ add_message "gitaly.UserDeleteBranchRequest" do
30
+ optional :repository, :message, 1, "gitaly.Repository"
31
+ optional :branch_name, :bytes, 2
32
+ optional :user, :message, 3, "gitaly.User"
33
+ end
34
+ add_message "gitaly.UserDeleteBranchResponse" do
35
+ optional :pre_receive_error, :string, 1
36
+ end
37
+ add_message "gitaly.UserDeleteTagRequest" do
38
+ optional :repository, :message, 1, "gitaly.Repository"
39
+ optional :tag_name, :bytes, 2
40
+ optional :user, :message, 3, "gitaly.User"
41
+ end
42
+ add_message "gitaly.UserDeleteTagResponse" do
43
+ optional :pre_receive_error, :string, 1
44
+ end
45
+ add_message "gitaly.UserCreateTagRequest" do
46
+ optional :repository, :message, 1, "gitaly.Repository"
47
+ optional :tag_name, :bytes, 2
48
+ optional :user, :message, 3, "gitaly.User"
49
+ optional :target_revision, :bytes, 4
50
+ optional :message, :bytes, 5
51
+ end
52
+ add_message "gitaly.UserCreateTagResponse" do
53
+ optional :tag, :message, 1, "gitaly.Tag"
54
+ optional :exists, :bool, 2
55
+ optional :pre_receive_error, :string, 3
56
+ end
57
+ add_message "gitaly.UserMergeBranchRequest" do
58
+ optional :repository, :message, 1, "gitaly.Repository"
59
+ optional :user, :message, 2, "gitaly.User"
60
+ optional :commit_id, :string, 3
61
+ optional :branch, :bytes, 4
62
+ optional :message, :bytes, 5
63
+ optional :apply, :bool, 6
64
+ end
65
+ add_message "gitaly.UserMergeBranchResponse" do
66
+ optional :commit_id, :string, 1
67
+ optional :branch_update, :message, 3, "gitaly.OperationBranchUpdate"
68
+ optional :pre_receive_error, :string, 4
69
+ end
70
+ add_message "gitaly.UserMergeToRefRequest" do
71
+ optional :repository, :message, 1, "gitaly.Repository"
72
+ optional :user, :message, 2, "gitaly.User"
73
+ optional :source_sha, :string, 3
74
+ optional :branch, :bytes, 4
75
+ optional :target_ref, :bytes, 5
76
+ optional :message, :bytes, 6
77
+ optional :first_parent_ref, :bytes, 7
78
+ end
79
+ add_message "gitaly.UserMergeToRefResponse" do
80
+ optional :commit_id, :string, 1
81
+ optional :pre_receive_error, :string, 2
82
+ end
83
+ add_message "gitaly.OperationBranchUpdate" do
84
+ optional :commit_id, :string, 1
85
+ optional :repo_created, :bool, 2
86
+ optional :branch_created, :bool, 3
87
+ end
88
+ add_message "gitaly.UserFFBranchRequest" do
89
+ optional :repository, :message, 1, "gitaly.Repository"
90
+ optional :user, :message, 2, "gitaly.User"
91
+ optional :commit_id, :string, 3
92
+ optional :branch, :bytes, 4
93
+ end
94
+ add_message "gitaly.UserFFBranchResponse" do
95
+ optional :branch_update, :message, 1, "gitaly.OperationBranchUpdate"
96
+ optional :pre_receive_error, :string, 2
97
+ end
98
+ add_message "gitaly.UserCherryPickRequest" do
99
+ optional :repository, :message, 1, "gitaly.Repository"
100
+ optional :user, :message, 2, "gitaly.User"
101
+ optional :commit, :message, 3, "gitaly.GitCommit"
102
+ optional :branch_name, :bytes, 4
103
+ optional :message, :bytes, 5
104
+ optional :start_branch_name, :bytes, 6
105
+ optional :start_repository, :message, 7, "gitaly.Repository"
106
+ end
107
+ add_message "gitaly.UserCherryPickResponse" do
108
+ optional :branch_update, :message, 1, "gitaly.OperationBranchUpdate"
109
+ optional :create_tree_error, :string, 2
110
+ optional :commit_error, :string, 3
111
+ optional :pre_receive_error, :string, 4
112
+ optional :create_tree_error_code, :enum, 5, "gitaly.UserCherryPickResponse.CreateTreeError"
113
+ end
114
+ add_enum "gitaly.UserCherryPickResponse.CreateTreeError" do
115
+ value :NONE, 0
116
+ value :EMPTY, 1
117
+ value :CONFLICT, 2
118
+ end
119
+ add_message "gitaly.UserRevertRequest" do
120
+ optional :repository, :message, 1, "gitaly.Repository"
121
+ optional :user, :message, 2, "gitaly.User"
122
+ optional :commit, :message, 3, "gitaly.GitCommit"
123
+ optional :branch_name, :bytes, 4
124
+ optional :message, :bytes, 5
125
+ optional :start_branch_name, :bytes, 6
126
+ optional :start_repository, :message, 7, "gitaly.Repository"
127
+ end
128
+ add_message "gitaly.UserRevertResponse" do
129
+ optional :branch_update, :message, 1, "gitaly.OperationBranchUpdate"
130
+ optional :create_tree_error, :string, 2
131
+ optional :commit_error, :string, 3
132
+ optional :pre_receive_error, :string, 4
133
+ optional :create_tree_error_code, :enum, 5, "gitaly.UserRevertResponse.CreateTreeError"
134
+ end
135
+ add_enum "gitaly.UserRevertResponse.CreateTreeError" do
136
+ value :NONE, 0
137
+ value :EMPTY, 1
138
+ value :CONFLICT, 2
139
+ end
140
+ add_message "gitaly.UserCommitFilesActionHeader" do
141
+ optional :action, :enum, 1, "gitaly.UserCommitFilesActionHeader.ActionType"
142
+ optional :file_path, :bytes, 2
143
+ optional :previous_path, :bytes, 3
144
+ optional :base64_content, :bool, 4
145
+ optional :execute_filemode, :bool, 5
146
+ optional :infer_content, :bool, 6
147
+ end
148
+ add_enum "gitaly.UserCommitFilesActionHeader.ActionType" do
149
+ value :CREATE, 0
150
+ value :CREATE_DIR, 1
151
+ value :UPDATE, 2
152
+ value :MOVE, 3
153
+ value :DELETE, 4
154
+ value :CHMOD, 5
155
+ end
156
+ add_message "gitaly.UserCommitFilesAction" do
157
+ oneof :user_commit_files_action_payload do
158
+ optional :header, :message, 1, "gitaly.UserCommitFilesActionHeader"
159
+ optional :content, :bytes, 2
228
160
  end
229
- add_message "gitaly.UserApplyPatchRequest.Header" do
230
- optional :repository, :message, 1, "gitaly.Repository"
231
- optional :user, :message, 2, "gitaly.User"
232
- optional :target_branch, :bytes, 3
161
+ end
162
+ add_message "gitaly.UserCommitFilesRequestHeader" do
163
+ optional :repository, :message, 1, "gitaly.Repository"
164
+ optional :user, :message, 2, "gitaly.User"
165
+ optional :branch_name, :bytes, 3
166
+ optional :commit_message, :bytes, 4
167
+ optional :commit_author_name, :bytes, 5
168
+ optional :commit_author_email, :bytes, 6
169
+ optional :start_branch_name, :bytes, 7
170
+ optional :start_repository, :message, 8, "gitaly.Repository"
171
+ optional :force, :bool, 9
172
+ optional :start_sha, :string, 10
173
+ end
174
+ add_message "gitaly.UserCommitFilesRequest" do
175
+ oneof :user_commit_files_request_payload do
176
+ optional :header, :message, 1, "gitaly.UserCommitFilesRequestHeader"
177
+ optional :action, :message, 2, "gitaly.UserCommitFilesAction"
233
178
  end
234
- add_message "gitaly.UserApplyPatchResponse" do
235
- optional :branch_update, :message, 1, "gitaly.OperationBranchUpdate"
179
+ end
180
+ add_message "gitaly.UserCommitFilesResponse" do
181
+ optional :branch_update, :message, 1, "gitaly.OperationBranchUpdate"
182
+ optional :index_error, :string, 2
183
+ optional :pre_receive_error, :string, 3
184
+ end
185
+ add_message "gitaly.UserRebaseConfirmableRequest" do
186
+ oneof :user_rebase_confirmable_request_payload do
187
+ optional :header, :message, 1, "gitaly.UserRebaseConfirmableRequest.Header"
188
+ optional :apply, :bool, 2
236
189
  end
237
- add_message "gitaly.UserUpdateSubmoduleRequest" do
238
- optional :repository, :message, 1, "gitaly.Repository"
239
- optional :user, :message, 2, "gitaly.User"
240
- optional :commit_sha, :string, 3
241
- optional :branch, :bytes, 4
242
- optional :submodule, :bytes, 5
243
- optional :commit_message, :bytes, 6
190
+ end
191
+ add_message "gitaly.UserRebaseConfirmableRequest.Header" do
192
+ optional :repository, :message, 1, "gitaly.Repository"
193
+ optional :user, :message, 2, "gitaly.User"
194
+ optional :rebase_id, :string, 3
195
+ optional :branch, :bytes, 4
196
+ optional :branch_sha, :string, 5
197
+ optional :remote_repository, :message, 6, "gitaly.Repository"
198
+ optional :remote_branch, :bytes, 7
199
+ repeated :git_push_options, :string, 8
200
+ end
201
+ add_message "gitaly.UserRebaseConfirmableResponse" do
202
+ optional :pre_receive_error, :string, 3
203
+ optional :git_error, :string, 4
204
+ oneof :user_rebase_confirmable_response_payload do
205
+ optional :rebase_sha, :string, 1
206
+ optional :rebase_applied, :bool, 2
244
207
  end
245
- add_message "gitaly.UserUpdateSubmoduleResponse" do
246
- optional :branch_update, :message, 1, "gitaly.OperationBranchUpdate"
247
- optional :pre_receive_error, :string, 2
248
- optional :commit_error, :string, 4
208
+ end
209
+ add_message "gitaly.UserSquashRequest" do
210
+ optional :repository, :message, 1, "gitaly.Repository"
211
+ optional :user, :message, 2, "gitaly.User"
212
+ optional :squash_id, :string, 3
213
+ optional :start_sha, :string, 5
214
+ optional :end_sha, :string, 6
215
+ optional :author, :message, 7, "gitaly.User"
216
+ optional :commit_message, :bytes, 8
217
+ end
218
+ add_message "gitaly.UserSquashResponse" do
219
+ optional :squash_sha, :string, 1
220
+ optional :git_error, :string, 3
221
+ end
222
+ add_message "gitaly.UserApplyPatchRequest" do
223
+ oneof :user_apply_patch_request_payload do
224
+ optional :header, :message, 1, "gitaly.UserApplyPatchRequest.Header"
225
+ optional :patches, :bytes, 2
249
226
  end
250
227
  end
228
+ add_message "gitaly.UserApplyPatchRequest.Header" do
229
+ optional :repository, :message, 1, "gitaly.Repository"
230
+ optional :user, :message, 2, "gitaly.User"
231
+ optional :target_branch, :bytes, 3
232
+ end
233
+ add_message "gitaly.UserApplyPatchResponse" do
234
+ optional :branch_update, :message, 1, "gitaly.OperationBranchUpdate"
235
+ end
236
+ add_message "gitaly.UserUpdateSubmoduleRequest" do
237
+ optional :repository, :message, 1, "gitaly.Repository"
238
+ optional :user, :message, 2, "gitaly.User"
239
+ optional :commit_sha, :string, 3
240
+ optional :branch, :bytes, 4
241
+ optional :submodule, :bytes, 5
242
+ optional :commit_message, :bytes, 6
243
+ end
244
+ add_message "gitaly.UserUpdateSubmoduleResponse" do
245
+ optional :branch_update, :message, 1, "gitaly.OperationBranchUpdate"
246
+ optional :pre_receive_error, :string, 2
247
+ optional :commit_error, :string, 4
248
+ end
251
249
  end
252
250
 
253
251
  module Gitaly
254
- UserCreateBranchRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCreateBranchRequest").msgclass
255
- UserCreateBranchResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCreateBranchResponse").msgclass
256
- UserUpdateBranchRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserUpdateBranchRequest").msgclass
257
- UserUpdateBranchResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserUpdateBranchResponse").msgclass
258
- UserDeleteBranchRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserDeleteBranchRequest").msgclass
259
- UserDeleteBranchResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserDeleteBranchResponse").msgclass
260
- UserDeleteTagRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserDeleteTagRequest").msgclass
261
- UserDeleteTagResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserDeleteTagResponse").msgclass
262
- UserCreateTagRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCreateTagRequest").msgclass
263
- UserCreateTagResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCreateTagResponse").msgclass
264
- UserMergeBranchRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserMergeBranchRequest").msgclass
265
- UserMergeBranchResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserMergeBranchResponse").msgclass
266
- UserMergeToRefRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserMergeToRefRequest").msgclass
267
- UserMergeToRefResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserMergeToRefResponse").msgclass
268
- OperationBranchUpdate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.OperationBranchUpdate").msgclass
269
- UserFFBranchRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserFFBranchRequest").msgclass
270
- UserFFBranchResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserFFBranchResponse").msgclass
271
- UserCherryPickRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCherryPickRequest").msgclass
272
- UserCherryPickResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCherryPickResponse").msgclass
273
- UserCherryPickResponse::CreateTreeError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCherryPickResponse.CreateTreeError").enummodule
274
- UserRevertRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserRevertRequest").msgclass
275
- UserRevertResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserRevertResponse").msgclass
276
- UserRevertResponse::CreateTreeError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserRevertResponse.CreateTreeError").enummodule
277
- UserCommitFilesActionHeader = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCommitFilesActionHeader").msgclass
278
- UserCommitFilesActionHeader::ActionType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCommitFilesActionHeader.ActionType").enummodule
279
- UserCommitFilesAction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCommitFilesAction").msgclass
280
- UserCommitFilesRequestHeader = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCommitFilesRequestHeader").msgclass
281
- UserCommitFilesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCommitFilesRequest").msgclass
282
- UserCommitFilesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCommitFilesResponse").msgclass
283
- UserRebaseConfirmableRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserRebaseConfirmableRequest").msgclass
284
- UserRebaseConfirmableRequest::Header = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserRebaseConfirmableRequest.Header").msgclass
285
- UserRebaseConfirmableResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserRebaseConfirmableResponse").msgclass
286
- UserSquashRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserSquashRequest").msgclass
287
- UserSquashResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserSquashResponse").msgclass
288
- UserApplyPatchRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserApplyPatchRequest").msgclass
289
- UserApplyPatchRequest::Header = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserApplyPatchRequest.Header").msgclass
290
- UserApplyPatchResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserApplyPatchResponse").msgclass
291
- UserUpdateSubmoduleRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserUpdateSubmoduleRequest").msgclass
292
- UserUpdateSubmoduleResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserUpdateSubmoduleResponse").msgclass
252
+ UserCreateBranchRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCreateBranchRequest").msgclass
253
+ UserCreateBranchResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCreateBranchResponse").msgclass
254
+ UserUpdateBranchRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserUpdateBranchRequest").msgclass
255
+ UserUpdateBranchResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserUpdateBranchResponse").msgclass
256
+ UserDeleteBranchRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserDeleteBranchRequest").msgclass
257
+ UserDeleteBranchResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserDeleteBranchResponse").msgclass
258
+ UserDeleteTagRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserDeleteTagRequest").msgclass
259
+ UserDeleteTagResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserDeleteTagResponse").msgclass
260
+ UserCreateTagRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCreateTagRequest").msgclass
261
+ UserCreateTagResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCreateTagResponse").msgclass
262
+ UserMergeBranchRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserMergeBranchRequest").msgclass
263
+ UserMergeBranchResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserMergeBranchResponse").msgclass
264
+ UserMergeToRefRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserMergeToRefRequest").msgclass
265
+ UserMergeToRefResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserMergeToRefResponse").msgclass
266
+ OperationBranchUpdate = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.OperationBranchUpdate").msgclass
267
+ UserFFBranchRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserFFBranchRequest").msgclass
268
+ UserFFBranchResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserFFBranchResponse").msgclass
269
+ UserCherryPickRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCherryPickRequest").msgclass
270
+ UserCherryPickResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCherryPickResponse").msgclass
271
+ UserCherryPickResponse::CreateTreeError = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCherryPickResponse.CreateTreeError").enummodule
272
+ UserRevertRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserRevertRequest").msgclass
273
+ UserRevertResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserRevertResponse").msgclass
274
+ UserRevertResponse::CreateTreeError = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserRevertResponse.CreateTreeError").enummodule
275
+ UserCommitFilesActionHeader = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCommitFilesActionHeader").msgclass
276
+ UserCommitFilesActionHeader::ActionType = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCommitFilesActionHeader.ActionType").enummodule
277
+ UserCommitFilesAction = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCommitFilesAction").msgclass
278
+ UserCommitFilesRequestHeader = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCommitFilesRequestHeader").msgclass
279
+ UserCommitFilesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCommitFilesRequest").msgclass
280
+ UserCommitFilesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCommitFilesResponse").msgclass
281
+ UserRebaseConfirmableRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserRebaseConfirmableRequest").msgclass
282
+ UserRebaseConfirmableRequest::Header = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserRebaseConfirmableRequest.Header").msgclass
283
+ UserRebaseConfirmableResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserRebaseConfirmableResponse").msgclass
284
+ UserSquashRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserSquashRequest").msgclass
285
+ UserSquashResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserSquashResponse").msgclass
286
+ UserApplyPatchRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserApplyPatchRequest").msgclass
287
+ UserApplyPatchRequest::Header = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserApplyPatchRequest.Header").msgclass
288
+ UserApplyPatchResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserApplyPatchResponse").msgclass
289
+ UserUpdateSubmoduleRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserUpdateSubmoduleRequest").msgclass
290
+ UserUpdateSubmoduleResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserUpdateSubmoduleResponse").msgclass
293
291
  end