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,55 +6,53 @@ 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("conflicts.proto", :syntax => :proto3) do
10
- add_message "gitaly.ListConflictFilesRequest" do
11
- optional :repository, :message, 1, "gitaly.Repository"
12
- optional :our_commit_oid, :string, 2
13
- optional :their_commit_oid, :string, 3
14
- end
15
- add_message "gitaly.ConflictFileHeader" do
16
- optional :commit_oid, :string, 2
17
- optional :their_path, :bytes, 3
18
- optional :our_path, :bytes, 4
19
- optional :our_mode, :int32, 5
20
- end
21
- add_message "gitaly.ConflictFile" do
22
- oneof :conflict_file_payload do
23
- optional :header, :message, 1, "gitaly.ConflictFileHeader"
24
- optional :content, :bytes, 2
25
- end
26
- end
27
- add_message "gitaly.ListConflictFilesResponse" do
28
- repeated :files, :message, 1, "gitaly.ConflictFile"
29
- end
30
- add_message "gitaly.ResolveConflictsRequestHeader" do
31
- optional :repository, :message, 1, "gitaly.Repository"
32
- optional :our_commit_oid, :string, 2
33
- optional :target_repository, :message, 3, "gitaly.Repository"
34
- optional :their_commit_oid, :string, 4
35
- optional :source_branch, :bytes, 5
36
- optional :target_branch, :bytes, 6
37
- optional :commit_message, :bytes, 7
38
- optional :user, :message, 8, "gitaly.User"
39
- end
40
- add_message "gitaly.ResolveConflictsRequest" do
41
- oneof :resolve_conflicts_request_payload do
42
- optional :header, :message, 1, "gitaly.ResolveConflictsRequestHeader"
43
- optional :files_json, :bytes, 2
44
- end
9
+ add_message "gitaly.ListConflictFilesRequest" do
10
+ optional :repository, :message, 1, "gitaly.Repository"
11
+ optional :our_commit_oid, :string, 2
12
+ optional :their_commit_oid, :string, 3
13
+ end
14
+ add_message "gitaly.ConflictFileHeader" do
15
+ optional :commit_oid, :string, 2
16
+ optional :their_path, :bytes, 3
17
+ optional :our_path, :bytes, 4
18
+ optional :our_mode, :int32, 5
19
+ end
20
+ add_message "gitaly.ConflictFile" do
21
+ oneof :conflict_file_payload do
22
+ optional :header, :message, 1, "gitaly.ConflictFileHeader"
23
+ optional :content, :bytes, 2
45
24
  end
46
- add_message "gitaly.ResolveConflictsResponse" do
47
- optional :resolution_error, :string, 1
25
+ end
26
+ add_message "gitaly.ListConflictFilesResponse" do
27
+ repeated :files, :message, 1, "gitaly.ConflictFile"
28
+ end
29
+ add_message "gitaly.ResolveConflictsRequestHeader" do
30
+ optional :repository, :message, 1, "gitaly.Repository"
31
+ optional :our_commit_oid, :string, 2
32
+ optional :target_repository, :message, 3, "gitaly.Repository"
33
+ optional :their_commit_oid, :string, 4
34
+ optional :source_branch, :bytes, 5
35
+ optional :target_branch, :bytes, 6
36
+ optional :commit_message, :bytes, 7
37
+ optional :user, :message, 8, "gitaly.User"
38
+ end
39
+ add_message "gitaly.ResolveConflictsRequest" do
40
+ oneof :resolve_conflicts_request_payload do
41
+ optional :header, :message, 1, "gitaly.ResolveConflictsRequestHeader"
42
+ optional :files_json, :bytes, 2
48
43
  end
49
44
  end
45
+ add_message "gitaly.ResolveConflictsResponse" do
46
+ optional :resolution_error, :string, 1
47
+ end
50
48
  end
51
49
 
52
50
  module Gitaly
53
- ListConflictFilesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListConflictFilesRequest").msgclass
54
- ConflictFileHeader = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ConflictFileHeader").msgclass
55
- ConflictFile = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ConflictFile").msgclass
56
- ListConflictFilesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListConflictFilesResponse").msgclass
57
- ResolveConflictsRequestHeader = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ResolveConflictsRequestHeader").msgclass
58
- ResolveConflictsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ResolveConflictsRequest").msgclass
59
- ResolveConflictsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ResolveConflictsResponse").msgclass
51
+ ListConflictFilesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListConflictFilesRequest").msgclass
52
+ ConflictFileHeader = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ConflictFileHeader").msgclass
53
+ ConflictFile = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ConflictFile").msgclass
54
+ ListConflictFilesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListConflictFilesResponse").msgclass
55
+ ResolveConflictsRequestHeader = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ResolveConflictsRequestHeader").msgclass
56
+ ResolveConflictsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ResolveConflictsRequest").msgclass
57
+ ResolveConflictsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ResolveConflictsResponse").msgclass
60
58
  end
@@ -6,97 +6,95 @@ 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("diff.proto", :syntax => :proto3) do
10
- add_message "gitaly.CommitDiffRequest" do
11
- optional :repository, :message, 1, "gitaly.Repository"
12
- optional :left_commit_id, :string, 2
13
- optional :right_commit_id, :string, 3
14
- optional :ignore_whitespace_change, :bool, 4
15
- repeated :paths, :bytes, 5
16
- optional :collapse_diffs, :bool, 6
17
- optional :enforce_limits, :bool, 7
18
- optional :max_files, :int32, 8
19
- optional :max_lines, :int32, 9
20
- optional :max_bytes, :int32, 10
21
- optional :max_patch_bytes, :int32, 14
22
- optional :safe_max_files, :int32, 11
23
- optional :safe_max_lines, :int32, 12
24
- optional :safe_max_bytes, :int32, 13
25
- end
26
- add_message "gitaly.CommitDiffResponse" do
27
- optional :from_path, :bytes, 1
28
- optional :to_path, :bytes, 2
29
- optional :from_id, :string, 3
30
- optional :to_id, :string, 4
31
- optional :old_mode, :int32, 5
32
- optional :new_mode, :int32, 6
33
- optional :binary, :bool, 7
34
- optional :raw_patch_data, :bytes, 9
35
- optional :end_of_patch, :bool, 10
36
- optional :overflow_marker, :bool, 11
37
- optional :collapsed, :bool, 12
38
- optional :too_large, :bool, 13
39
- end
40
- add_message "gitaly.CommitDeltaRequest" do
41
- optional :repository, :message, 1, "gitaly.Repository"
42
- optional :left_commit_id, :string, 2
43
- optional :right_commit_id, :string, 3
44
- repeated :paths, :bytes, 4
45
- end
46
- add_message "gitaly.CommitDelta" do
47
- optional :from_path, :bytes, 1
48
- optional :to_path, :bytes, 2
49
- optional :from_id, :string, 3
50
- optional :to_id, :string, 4
51
- optional :old_mode, :int32, 5
52
- optional :new_mode, :int32, 6
53
- end
54
- add_message "gitaly.CommitDeltaResponse" do
55
- repeated :deltas, :message, 1, "gitaly.CommitDelta"
56
- end
57
- add_message "gitaly.RawDiffRequest" do
58
- optional :repository, :message, 1, "gitaly.Repository"
59
- optional :left_commit_id, :string, 2
60
- optional :right_commit_id, :string, 3
61
- end
62
- add_message "gitaly.RawDiffResponse" do
63
- optional :data, :bytes, 1
64
- end
65
- add_message "gitaly.RawPatchRequest" do
66
- optional :repository, :message, 1, "gitaly.Repository"
67
- optional :left_commit_id, :string, 2
68
- optional :right_commit_id, :string, 3
69
- end
70
- add_message "gitaly.RawPatchResponse" do
71
- optional :data, :bytes, 1
72
- end
73
- add_message "gitaly.DiffStatsRequest" do
74
- optional :repository, :message, 1, "gitaly.Repository"
75
- optional :left_commit_id, :string, 2
76
- optional :right_commit_id, :string, 3
77
- end
78
- add_message "gitaly.DiffStats" do
79
- optional :path, :bytes, 1
80
- optional :additions, :int32, 2
81
- optional :deletions, :int32, 3
82
- end
83
- add_message "gitaly.DiffStatsResponse" do
84
- repeated :stats, :message, 1, "gitaly.DiffStats"
85
- end
9
+ add_message "gitaly.CommitDiffRequest" do
10
+ optional :repository, :message, 1, "gitaly.Repository"
11
+ optional :left_commit_id, :string, 2
12
+ optional :right_commit_id, :string, 3
13
+ optional :ignore_whitespace_change, :bool, 4
14
+ repeated :paths, :bytes, 5
15
+ optional :collapse_diffs, :bool, 6
16
+ optional :enforce_limits, :bool, 7
17
+ optional :max_files, :int32, 8
18
+ optional :max_lines, :int32, 9
19
+ optional :max_bytes, :int32, 10
20
+ optional :max_patch_bytes, :int32, 14
21
+ optional :safe_max_files, :int32, 11
22
+ optional :safe_max_lines, :int32, 12
23
+ optional :safe_max_bytes, :int32, 13
24
+ end
25
+ add_message "gitaly.CommitDiffResponse" do
26
+ optional :from_path, :bytes, 1
27
+ optional :to_path, :bytes, 2
28
+ optional :from_id, :string, 3
29
+ optional :to_id, :string, 4
30
+ optional :old_mode, :int32, 5
31
+ optional :new_mode, :int32, 6
32
+ optional :binary, :bool, 7
33
+ optional :raw_patch_data, :bytes, 9
34
+ optional :end_of_patch, :bool, 10
35
+ optional :overflow_marker, :bool, 11
36
+ optional :collapsed, :bool, 12
37
+ optional :too_large, :bool, 13
38
+ end
39
+ add_message "gitaly.CommitDeltaRequest" do
40
+ optional :repository, :message, 1, "gitaly.Repository"
41
+ optional :left_commit_id, :string, 2
42
+ optional :right_commit_id, :string, 3
43
+ repeated :paths, :bytes, 4
44
+ end
45
+ add_message "gitaly.CommitDelta" do
46
+ optional :from_path, :bytes, 1
47
+ optional :to_path, :bytes, 2
48
+ optional :from_id, :string, 3
49
+ optional :to_id, :string, 4
50
+ optional :old_mode, :int32, 5
51
+ optional :new_mode, :int32, 6
52
+ end
53
+ add_message "gitaly.CommitDeltaResponse" do
54
+ repeated :deltas, :message, 1, "gitaly.CommitDelta"
55
+ end
56
+ add_message "gitaly.RawDiffRequest" do
57
+ optional :repository, :message, 1, "gitaly.Repository"
58
+ optional :left_commit_id, :string, 2
59
+ optional :right_commit_id, :string, 3
60
+ end
61
+ add_message "gitaly.RawDiffResponse" do
62
+ optional :data, :bytes, 1
63
+ end
64
+ add_message "gitaly.RawPatchRequest" do
65
+ optional :repository, :message, 1, "gitaly.Repository"
66
+ optional :left_commit_id, :string, 2
67
+ optional :right_commit_id, :string, 3
68
+ end
69
+ add_message "gitaly.RawPatchResponse" do
70
+ optional :data, :bytes, 1
71
+ end
72
+ add_message "gitaly.DiffStatsRequest" do
73
+ optional :repository, :message, 1, "gitaly.Repository"
74
+ optional :left_commit_id, :string, 2
75
+ optional :right_commit_id, :string, 3
76
+ end
77
+ add_message "gitaly.DiffStats" do
78
+ optional :path, :bytes, 1
79
+ optional :additions, :int32, 2
80
+ optional :deletions, :int32, 3
81
+ end
82
+ add_message "gitaly.DiffStatsResponse" do
83
+ repeated :stats, :message, 1, "gitaly.DiffStats"
86
84
  end
87
85
  end
88
86
 
89
87
  module Gitaly
90
- CommitDiffRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitDiffRequest").msgclass
91
- CommitDiffResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitDiffResponse").msgclass
92
- CommitDeltaRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitDeltaRequest").msgclass
93
- CommitDelta = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitDelta").msgclass
94
- CommitDeltaResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitDeltaResponse").msgclass
95
- RawDiffRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RawDiffRequest").msgclass
96
- RawDiffResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RawDiffResponse").msgclass
97
- RawPatchRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RawPatchRequest").msgclass
98
- RawPatchResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RawPatchResponse").msgclass
99
- DiffStatsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DiffStatsRequest").msgclass
100
- DiffStats = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DiffStats").msgclass
101
- DiffStatsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DiffStatsResponse").msgclass
88
+ CommitDiffRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitDiffRequest").msgclass
89
+ CommitDiffResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitDiffResponse").msgclass
90
+ CommitDeltaRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitDeltaRequest").msgclass
91
+ CommitDelta = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitDelta").msgclass
92
+ CommitDeltaResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitDeltaResponse").msgclass
93
+ RawDiffRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RawDiffRequest").msgclass
94
+ RawDiffResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RawDiffResponse").msgclass
95
+ RawPatchRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RawPatchRequest").msgclass
96
+ RawPatchResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RawPatchResponse").msgclass
97
+ DiffStatsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DiffStatsRequest").msgclass
98
+ DiffStats = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DiffStats").msgclass
99
+ DiffStatsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DiffStatsResponse").msgclass
102
100
  end
@@ -6,48 +6,46 @@ 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("hook.proto", :syntax => :proto3) do
10
- add_message "gitaly.PreReceiveHookRequest" do
11
- optional :repository, :message, 1, "gitaly.Repository"
12
- repeated :environment_variables, :string, 2
13
- optional :stdin, :bytes, 4
14
- end
15
- add_message "gitaly.PreReceiveHookResponse" do
16
- optional :stdout, :bytes, 1
17
- optional :stderr, :bytes, 2
18
- optional :exit_status, :message, 3, "gitaly.ExitStatus"
19
- end
20
- add_message "gitaly.PostReceiveHookRequest" do
21
- optional :repository, :message, 1, "gitaly.Repository"
22
- repeated :environment_variables, :string, 2
23
- optional :stdin, :bytes, 3
24
- repeated :git_push_options, :string, 4
25
- end
26
- add_message "gitaly.PostReceiveHookResponse" do
27
- optional :stdout, :bytes, 1
28
- optional :stderr, :bytes, 2
29
- optional :exit_status, :message, 3, "gitaly.ExitStatus"
30
- end
31
- add_message "gitaly.UpdateHookRequest" do
32
- optional :repository, :message, 1, "gitaly.Repository"
33
- repeated :environment_variables, :string, 2
34
- optional :ref, :bytes, 3
35
- optional :old_value, :string, 4
36
- optional :new_value, :string, 5
37
- end
38
- add_message "gitaly.UpdateHookResponse" do
39
- optional :stdout, :bytes, 1
40
- optional :stderr, :bytes, 2
41
- optional :exit_status, :message, 3, "gitaly.ExitStatus"
42
- end
9
+ add_message "gitaly.PreReceiveHookRequest" do
10
+ optional :repository, :message, 1, "gitaly.Repository"
11
+ repeated :environment_variables, :string, 2
12
+ optional :stdin, :bytes, 4
13
+ end
14
+ add_message "gitaly.PreReceiveHookResponse" do
15
+ optional :stdout, :bytes, 1
16
+ optional :stderr, :bytes, 2
17
+ optional :exit_status, :message, 3, "gitaly.ExitStatus"
18
+ end
19
+ add_message "gitaly.PostReceiveHookRequest" do
20
+ optional :repository, :message, 1, "gitaly.Repository"
21
+ repeated :environment_variables, :string, 2
22
+ optional :stdin, :bytes, 3
23
+ repeated :git_push_options, :string, 4
24
+ end
25
+ add_message "gitaly.PostReceiveHookResponse" do
26
+ optional :stdout, :bytes, 1
27
+ optional :stderr, :bytes, 2
28
+ optional :exit_status, :message, 3, "gitaly.ExitStatus"
29
+ end
30
+ add_message "gitaly.UpdateHookRequest" do
31
+ optional :repository, :message, 1, "gitaly.Repository"
32
+ repeated :environment_variables, :string, 2
33
+ optional :ref, :bytes, 3
34
+ optional :old_value, :string, 4
35
+ optional :new_value, :string, 5
36
+ end
37
+ add_message "gitaly.UpdateHookResponse" do
38
+ optional :stdout, :bytes, 1
39
+ optional :stderr, :bytes, 2
40
+ optional :exit_status, :message, 3, "gitaly.ExitStatus"
43
41
  end
44
42
  end
45
43
 
46
44
  module Gitaly
47
- PreReceiveHookRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PreReceiveHookRequest").msgclass
48
- PreReceiveHookResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PreReceiveHookResponse").msgclass
49
- PostReceiveHookRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PostReceiveHookRequest").msgclass
50
- PostReceiveHookResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PostReceiveHookResponse").msgclass
51
- UpdateHookRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UpdateHookRequest").msgclass
52
- UpdateHookResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UpdateHookResponse").msgclass
45
+ PreReceiveHookRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PreReceiveHookRequest").msgclass
46
+ PreReceiveHookResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PreReceiveHookResponse").msgclass
47
+ PostReceiveHookRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PostReceiveHookRequest").msgclass
48
+ PostReceiveHookResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PostReceiveHookResponse").msgclass
49
+ UpdateHookRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UpdateHookRequest").msgclass
50
+ UpdateHookResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UpdateHookResponse").msgclass
53
51
  end
@@ -6,17 +6,15 @@ 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("internal.proto", :syntax => :proto3) do
10
- add_message "gitaly.WalkReposRequest" do
11
- optional :storage_name, :string, 1
12
- end
13
- add_message "gitaly.WalkReposResponse" do
14
- optional :relative_path, :string, 1
15
- end
9
+ add_message "gitaly.WalkReposRequest" do
10
+ optional :storage_name, :string, 1
11
+ end
12
+ add_message "gitaly.WalkReposResponse" do
13
+ optional :relative_path, :string, 1
16
14
  end
17
15
  end
18
16
 
19
17
  module Gitaly
20
- WalkReposRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.WalkReposRequest").msgclass
21
- WalkReposResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.WalkReposResponse").msgclass
18
+ WalkReposRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.WalkReposRequest").msgclass
19
+ WalkReposResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.WalkReposResponse").msgclass
22
20
  end
@@ -4,26 +4,24 @@
4
4
  require 'google/protobuf'
5
5
 
6
6
  Google::Protobuf::DescriptorPool.generated_pool.build do
7
- add_file("lint.proto", :syntax => :proto3) do
8
- add_message "gitaly.OperationMsg" do
9
- optional :op, :enum, 1, "gitaly.OperationMsg.Operation"
10
- optional :scope_level, :enum, 2, "gitaly.OperationMsg.Scope"
11
- end
12
- add_enum "gitaly.OperationMsg.Operation" do
13
- value :UNKNOWN, 0
14
- value :MUTATOR, 1
15
- value :ACCESSOR, 2
16
- end
17
- add_enum "gitaly.OperationMsg.Scope" do
18
- value :REPOSITORY, 0
19
- value :SERVER, 1
20
- value :STORAGE, 2
21
- end
7
+ add_message "gitaly.OperationMsg" do
8
+ optional :op, :enum, 1, "gitaly.OperationMsg.Operation"
9
+ optional :scope_level, :enum, 2, "gitaly.OperationMsg.Scope"
10
+ end
11
+ add_enum "gitaly.OperationMsg.Operation" do
12
+ value :UNKNOWN, 0
13
+ value :MUTATOR, 1
14
+ value :ACCESSOR, 2
15
+ end
16
+ add_enum "gitaly.OperationMsg.Scope" do
17
+ value :REPOSITORY, 0
18
+ value :SERVER, 1
19
+ value :STORAGE, 2
22
20
  end
23
21
  end
24
22
 
25
23
  module Gitaly
26
- OperationMsg = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.OperationMsg").msgclass
27
- OperationMsg::Operation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.OperationMsg.Operation").enummodule
28
- OperationMsg::Scope = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.OperationMsg.Scope").enummodule
24
+ OperationMsg = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.OperationMsg").msgclass
25
+ OperationMsg::Operation = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.OperationMsg.Operation").enummodule
26
+ OperationMsg::Scope = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.OperationMsg.Scope").enummodule
29
27
  end
@@ -6,43 +6,41 @@ 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("namespace.proto", :syntax => :proto3) do
10
- add_message "gitaly.AddNamespaceRequest" do
11
- optional :storage_name, :string, 1
12
- optional :name, :string, 2
13
- end
14
- add_message "gitaly.RemoveNamespaceRequest" do
15
- optional :storage_name, :string, 1
16
- optional :name, :string, 2
17
- end
18
- add_message "gitaly.RenameNamespaceRequest" do
19
- optional :storage_name, :string, 1
20
- optional :from, :string, 2
21
- optional :to, :string, 3
22
- end
23
- add_message "gitaly.NamespaceExistsRequest" do
24
- optional :storage_name, :string, 1
25
- optional :name, :string, 2
26
- end
27
- add_message "gitaly.NamespaceExistsResponse" do
28
- optional :exists, :bool, 1
29
- end
30
- add_message "gitaly.AddNamespaceResponse" do
31
- end
32
- add_message "gitaly.RemoveNamespaceResponse" do
33
- end
34
- add_message "gitaly.RenameNamespaceResponse" do
35
- end
9
+ add_message "gitaly.AddNamespaceRequest" do
10
+ optional :storage_name, :string, 1
11
+ optional :name, :string, 2
12
+ end
13
+ add_message "gitaly.RemoveNamespaceRequest" do
14
+ optional :storage_name, :string, 1
15
+ optional :name, :string, 2
16
+ end
17
+ add_message "gitaly.RenameNamespaceRequest" do
18
+ optional :storage_name, :string, 1
19
+ optional :from, :string, 2
20
+ optional :to, :string, 3
21
+ end
22
+ add_message "gitaly.NamespaceExistsRequest" do
23
+ optional :storage_name, :string, 1
24
+ optional :name, :string, 2
25
+ end
26
+ add_message "gitaly.NamespaceExistsResponse" do
27
+ optional :exists, :bool, 1
28
+ end
29
+ add_message "gitaly.AddNamespaceResponse" do
30
+ end
31
+ add_message "gitaly.RemoveNamespaceResponse" do
32
+ end
33
+ add_message "gitaly.RenameNamespaceResponse" do
36
34
  end
37
35
  end
38
36
 
39
37
  module Gitaly
40
- AddNamespaceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.AddNamespaceRequest").msgclass
41
- RemoveNamespaceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RemoveNamespaceRequest").msgclass
42
- RenameNamespaceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RenameNamespaceRequest").msgclass
43
- NamespaceExistsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.NamespaceExistsRequest").msgclass
44
- NamespaceExistsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.NamespaceExistsResponse").msgclass
45
- AddNamespaceResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.AddNamespaceResponse").msgclass
46
- RemoveNamespaceResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RemoveNamespaceResponse").msgclass
47
- RenameNamespaceResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RenameNamespaceResponse").msgclass
38
+ AddNamespaceRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.AddNamespaceRequest").msgclass
39
+ RemoveNamespaceRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RemoveNamespaceRequest").msgclass
40
+ RenameNamespaceRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RenameNamespaceRequest").msgclass
41
+ NamespaceExistsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.NamespaceExistsRequest").msgclass
42
+ NamespaceExistsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.NamespaceExistsResponse").msgclass
43
+ AddNamespaceResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.AddNamespaceResponse").msgclass
44
+ RemoveNamespaceResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RemoveNamespaceResponse").msgclass
45
+ RenameNamespaceResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RenameNamespaceResponse").msgclass
48
46
  end