gitaly 12.9.0.pre.rc4 → 12.10.0
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.
- checksums.yaml +4 -4
- data/ruby/proto/gitaly/blob_pb.rb +76 -74
- data/ruby/proto/gitaly/cleanup_pb.rb +16 -14
- data/ruby/proto/gitaly/commit_pb.rb +295 -293
- data/ruby/proto/gitaly/conflicts_pb.rb +45 -43
- data/ruby/proto/gitaly/diff_pb.rb +89 -87
- data/ruby/proto/gitaly/hook_pb.rb +40 -39
- data/ruby/proto/gitaly/internal_pb.rb +9 -7
- data/ruby/proto/gitaly/lint_pb.rb +18 -16
- data/ruby/proto/gitaly/namespace_pb.rb +35 -33
- data/ruby/proto/gitaly/objectpool_pb.rb +63 -61
- data/ruby/proto/gitaly/operations_pb.rb +275 -273
- data/ruby/proto/gitaly/praefect_pb.rb +38 -13
- data/ruby/proto/gitaly/praefect_services_pb.rb +9 -0
- data/ruby/proto/gitaly/ref_pb.rb +218 -216
- data/ruby/proto/gitaly/remote_pb.rb +72 -70
- data/ruby/proto/gitaly/repository-service_pb.rb +395 -393
- data/ruby/proto/gitaly/server_pb.rb +31 -29
- data/ruby/proto/gitaly/shared_pb.rb +72 -70
- data/ruby/proto/gitaly/smarthttp_pb.rb +36 -34
- data/ruby/proto/gitaly/ssh_pb.rb +41 -39
- data/ruby/proto/gitaly/version.rb +1 -1
- data/ruby/proto/gitaly/wiki_pb.rb +128 -126
- metadata +4 -4
@@ -6,53 +6,55 @@ require 'google/protobuf'
|
|
6
6
|
require 'lint_pb'
|
7
7
|
require 'shared_pb'
|
8
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
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
|
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
|
24
14
|
end
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
optional :
|
42
|
-
optional :
|
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
|
45
|
+
end
|
46
|
+
add_message "gitaly.ResolveConflictsResponse" do
|
47
|
+
optional :resolution_error, :string, 1
|
43
48
|
end
|
44
|
-
end
|
45
|
-
add_message "gitaly.ResolveConflictsResponse" do
|
46
|
-
optional :resolution_error, :string, 1
|
47
49
|
end
|
48
50
|
end
|
49
51
|
|
50
52
|
module Gitaly
|
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
|
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
|
58
60
|
end
|
@@ -6,95 +6,97 @@ require 'google/protobuf'
|
|
6
6
|
require 'lint_pb'
|
7
7
|
require 'shared_pb'
|
8
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
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
|
84
86
|
end
|
85
87
|
end
|
86
88
|
|
87
89
|
module Gitaly
|
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
|
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
|
100
102
|
end
|
@@ -6,47 +6,48 @@ require 'google/protobuf'
|
|
6
6
|
require 'lint_pb'
|
7
7
|
require 'shared_pb'
|
8
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
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
|
42
43
|
end
|
43
44
|
end
|
44
45
|
|
45
46
|
module Gitaly
|
46
|
-
PreReceiveHookRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PreReceiveHookRequest").msgclass
|
47
|
-
PreReceiveHookResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PreReceiveHookResponse").msgclass
|
48
|
-
PostReceiveHookRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PostReceiveHookRequest").msgclass
|
49
|
-
PostReceiveHookResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PostReceiveHookResponse").msgclass
|
50
|
-
UpdateHookRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UpdateHookRequest").msgclass
|
51
|
-
UpdateHookResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UpdateHookResponse").msgclass
|
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
|
52
53
|
end
|
@@ -6,15 +6,17 @@ require 'google/protobuf'
|
|
6
6
|
require 'lint_pb'
|
7
7
|
require 'shared_pb'
|
8
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
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
|
14
16
|
end
|
15
17
|
end
|
16
18
|
|
17
19
|
module Gitaly
|
18
|
-
WalkReposRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.WalkReposRequest").msgclass
|
19
|
-
WalkReposResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.WalkReposResponse").msgclass
|
20
|
+
WalkReposRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.WalkReposRequest").msgclass
|
21
|
+
WalkReposResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.WalkReposResponse").msgclass
|
20
22
|
end
|
@@ -4,24 +4,26 @@
|
|
4
4
|
require 'google/protobuf'
|
5
5
|
|
6
6
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
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
|
20
22
|
end
|
21
23
|
end
|
22
24
|
|
23
25
|
module Gitaly
|
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
|
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
|
27
29
|
end
|
@@ -6,41 +6,43 @@ require 'google/protobuf'
|
|
6
6
|
require 'lint_pb'
|
7
7
|
require 'shared_pb'
|
8
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
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
|
34
36
|
end
|
35
37
|
end
|
36
38
|
|
37
39
|
module Gitaly
|
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
|
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
|
46
48
|
end
|