gitaly 13.3.0.pre.rc3 → 13.3.0.pre.rc4
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/blob_services_pb.rb +5 -5
- data/ruby/proto/gitaly/cleanup_pb.rb +16 -14
- data/ruby/proto/gitaly/cleanup_services_pb.rb +1 -1
- data/ruby/proto/gitaly/commit_pb.rb +307 -305
- data/ruby/proto/gitaly/commit_services_pb.rb +21 -21
- data/ruby/proto/gitaly/conflicts_pb.rb +45 -43
- data/ruby/proto/gitaly/conflicts_services_pb.rb +2 -2
- data/ruby/proto/gitaly/diff_pb.rb +90 -88
- data/ruby/proto/gitaly/diff_services_pb.rb +5 -5
- data/ruby/proto/gitaly/hook_pb.rb +53 -51
- data/ruby/proto/gitaly/hook_services_pb.rb +4 -4
- data/ruby/proto/gitaly/internal_pb.rb +9 -7
- data/ruby/proto/gitaly/internal_services_pb.rb +1 -1
- data/ruby/proto/gitaly/lint_pb.rb +18 -16
- data/ruby/proto/gitaly/namespace_pb.rb +35 -33
- data/ruby/proto/gitaly/namespace_services_pb.rb +4 -4
- data/ruby/proto/gitaly/objectpool_pb.rb +63 -61
- data/ruby/proto/gitaly/objectpool_services_pb.rb +8 -8
- data/ruby/proto/gitaly/operations_pb.rb +277 -275
- data/ruby/proto/gitaly/operations_services_pb.rb +15 -15
- data/ruby/proto/gitaly/praefect_pb.rb +60 -56
- data/ruby/proto/gitaly/praefect_services_pb.rb +5 -6
- data/ruby/proto/gitaly/ref_pb.rb +219 -217
- data/ruby/proto/gitaly/ref_services_pb.rb +18 -18
- data/ruby/proto/gitaly/remote_pb.rb +74 -72
- data/ruby/proto/gitaly/remote_services_pb.rb +7 -7
- data/ruby/proto/gitaly/repository-service_pb.rb +412 -409
- data/ruby/proto/gitaly/repository-service_services_pb.rb +42 -42
- data/ruby/proto/gitaly/server_pb.rb +32 -30
- data/ruby/proto/gitaly/server_services_pb.rb +2 -2
- data/ruby/proto/gitaly/shared_pb.rb +81 -79
- data/ruby/proto/gitaly/smarthttp_pb.rb +36 -34
- data/ruby/proto/gitaly/smarthttp_services_pb.rb +4 -4
- data/ruby/proto/gitaly/ssh_pb.rb +41 -39
- data/ruby/proto/gitaly/ssh_services_pb.rb +3 -3
- data/ruby/proto/gitaly/transaction_pb.rb +17 -15
- data/ruby/proto/gitaly/transaction_services_pb.rb +1 -1
- data/ruby/proto/gitaly/version.rb +1 -1
- data/ruby/proto/gitaly/wiki_pb.rb +128 -126
- data/ruby/proto/gitaly/wiki_services_pb.rb +8 -8
- metadata +2 -2
@@ -14,28 +14,28 @@ module Gitaly
|
|
14
14
|
self.unmarshal_class_method = :decode
|
15
15
|
self.service_name = 'gitaly.CommitService'
|
16
16
|
|
17
|
-
rpc :CommitIsAncestor, CommitIsAncestorRequest, CommitIsAncestorResponse
|
18
|
-
rpc :TreeEntry, TreeEntryRequest, stream(TreeEntryResponse)
|
19
|
-
rpc :CommitsBetween, CommitsBetweenRequest, stream(CommitsBetweenResponse)
|
20
|
-
rpc :CountCommits, CountCommitsRequest, CountCommitsResponse
|
21
|
-
rpc :CountDivergingCommits, CountDivergingCommitsRequest, CountDivergingCommitsResponse
|
22
|
-
rpc :GetTreeEntries, GetTreeEntriesRequest, stream(GetTreeEntriesResponse)
|
23
|
-
rpc :ListFiles, ListFilesRequest, stream(ListFilesResponse)
|
24
|
-
rpc :FindCommit, FindCommitRequest, FindCommitResponse
|
25
|
-
rpc :CommitStats, CommitStatsRequest, CommitStatsResponse
|
17
|
+
rpc :CommitIsAncestor, Gitaly::CommitIsAncestorRequest, Gitaly::CommitIsAncestorResponse
|
18
|
+
rpc :TreeEntry, Gitaly::TreeEntryRequest, stream(Gitaly::TreeEntryResponse)
|
19
|
+
rpc :CommitsBetween, Gitaly::CommitsBetweenRequest, stream(Gitaly::CommitsBetweenResponse)
|
20
|
+
rpc :CountCommits, Gitaly::CountCommitsRequest, Gitaly::CountCommitsResponse
|
21
|
+
rpc :CountDivergingCommits, Gitaly::CountDivergingCommitsRequest, Gitaly::CountDivergingCommitsResponse
|
22
|
+
rpc :GetTreeEntries, Gitaly::GetTreeEntriesRequest, stream(Gitaly::GetTreeEntriesResponse)
|
23
|
+
rpc :ListFiles, Gitaly::ListFilesRequest, stream(Gitaly::ListFilesResponse)
|
24
|
+
rpc :FindCommit, Gitaly::FindCommitRequest, Gitaly::FindCommitResponse
|
25
|
+
rpc :CommitStats, Gitaly::CommitStatsRequest, Gitaly::CommitStatsResponse
|
26
26
|
# Use a stream to paginate the result set
|
27
|
-
rpc :FindAllCommits, FindAllCommitsRequest, stream(FindAllCommitsResponse)
|
28
|
-
rpc :FindCommits, FindCommitsRequest, stream(FindCommitsResponse)
|
29
|
-
rpc :CommitLanguages, CommitLanguagesRequest, CommitLanguagesResponse
|
30
|
-
rpc :RawBlame, RawBlameRequest, stream(RawBlameResponse)
|
31
|
-
rpc :LastCommitForPath, LastCommitForPathRequest, LastCommitForPathResponse
|
32
|
-
rpc :ListLastCommitsForTree, ListLastCommitsForTreeRequest, stream(ListLastCommitsForTreeResponse)
|
33
|
-
rpc :CommitsByMessage, CommitsByMessageRequest, stream(CommitsByMessageResponse)
|
34
|
-
rpc :ListCommitsByOid, ListCommitsByOidRequest, stream(ListCommitsByOidResponse)
|
35
|
-
rpc :ListCommitsByRefName, ListCommitsByRefNameRequest, stream(ListCommitsByRefNameResponse)
|
36
|
-
rpc :FilterShasWithSignatures, stream(FilterShasWithSignaturesRequest), stream(FilterShasWithSignaturesResponse)
|
37
|
-
rpc :GetCommitSignatures, GetCommitSignaturesRequest, stream(GetCommitSignaturesResponse)
|
38
|
-
rpc :GetCommitMessages, GetCommitMessagesRequest, stream(GetCommitMessagesResponse)
|
27
|
+
rpc :FindAllCommits, Gitaly::FindAllCommitsRequest, stream(Gitaly::FindAllCommitsResponse)
|
28
|
+
rpc :FindCommits, Gitaly::FindCommitsRequest, stream(Gitaly::FindCommitsResponse)
|
29
|
+
rpc :CommitLanguages, Gitaly::CommitLanguagesRequest, Gitaly::CommitLanguagesResponse
|
30
|
+
rpc :RawBlame, Gitaly::RawBlameRequest, stream(Gitaly::RawBlameResponse)
|
31
|
+
rpc :LastCommitForPath, Gitaly::LastCommitForPathRequest, Gitaly::LastCommitForPathResponse
|
32
|
+
rpc :ListLastCommitsForTree, Gitaly::ListLastCommitsForTreeRequest, stream(Gitaly::ListLastCommitsForTreeResponse)
|
33
|
+
rpc :CommitsByMessage, Gitaly::CommitsByMessageRequest, stream(Gitaly::CommitsByMessageResponse)
|
34
|
+
rpc :ListCommitsByOid, Gitaly::ListCommitsByOidRequest, stream(Gitaly::ListCommitsByOidResponse)
|
35
|
+
rpc :ListCommitsByRefName, Gitaly::ListCommitsByRefNameRequest, stream(Gitaly::ListCommitsByRefNameResponse)
|
36
|
+
rpc :FilterShasWithSignatures, stream(Gitaly::FilterShasWithSignaturesRequest), stream(Gitaly::FilterShasWithSignaturesResponse)
|
37
|
+
rpc :GetCommitSignatures, Gitaly::GetCommitSignaturesRequest, stream(Gitaly::GetCommitSignaturesResponse)
|
38
|
+
rpc :GetCommitMessages, Gitaly::GetCommitMessagesRequest, stream(Gitaly::GetCommitMessagesResponse)
|
39
39
|
end
|
40
40
|
|
41
41
|
Stub = Service.rpc_stub_class
|
@@ -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
|
@@ -14,8 +14,8 @@ module Gitaly
|
|
14
14
|
self.unmarshal_class_method = :decode
|
15
15
|
self.service_name = 'gitaly.ConflictsService'
|
16
16
|
|
17
|
-
rpc :ListConflictFiles, ListConflictFilesRequest, stream(ListConflictFilesResponse)
|
18
|
-
rpc :ResolveConflicts, stream(ResolveConflictsRequest), ResolveConflictsResponse
|
17
|
+
rpc :ListConflictFiles, Gitaly::ListConflictFilesRequest, stream(Gitaly::ListConflictFilesResponse)
|
18
|
+
rpc :ResolveConflicts, stream(Gitaly::ResolveConflictsRequest), Gitaly::ResolveConflictsResponse
|
19
19
|
end
|
20
20
|
|
21
21
|
Stub = Service.rpc_stub_class
|
@@ -6,96 +6,98 @@ 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
|
-
|
84
|
-
|
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
|
+
optional :old_path, :bytes, 4
|
83
|
+
end
|
84
|
+
add_message "gitaly.DiffStatsResponse" do
|
85
|
+
repeated :stats, :message, 1, "gitaly.DiffStats"
|
86
|
+
end
|
85
87
|
end
|
86
88
|
end
|
87
89
|
|
88
90
|
module Gitaly
|
89
|
-
CommitDiffRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitDiffRequest").msgclass
|
90
|
-
CommitDiffResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitDiffResponse").msgclass
|
91
|
-
CommitDeltaRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitDeltaRequest").msgclass
|
92
|
-
CommitDelta = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitDelta").msgclass
|
93
|
-
CommitDeltaResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitDeltaResponse").msgclass
|
94
|
-
RawDiffRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RawDiffRequest").msgclass
|
95
|
-
RawDiffResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RawDiffResponse").msgclass
|
96
|
-
RawPatchRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RawPatchRequest").msgclass
|
97
|
-
RawPatchResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RawPatchResponse").msgclass
|
98
|
-
DiffStatsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DiffStatsRequest").msgclass
|
99
|
-
DiffStats = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DiffStats").msgclass
|
100
|
-
DiffStatsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DiffStatsResponse").msgclass
|
91
|
+
CommitDiffRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitDiffRequest").msgclass
|
92
|
+
CommitDiffResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitDiffResponse").msgclass
|
93
|
+
CommitDeltaRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitDeltaRequest").msgclass
|
94
|
+
CommitDelta = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitDelta").msgclass
|
95
|
+
CommitDeltaResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitDeltaResponse").msgclass
|
96
|
+
RawDiffRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RawDiffRequest").msgclass
|
97
|
+
RawDiffResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RawDiffResponse").msgclass
|
98
|
+
RawPatchRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RawPatchRequest").msgclass
|
99
|
+
RawPatchResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RawPatchResponse").msgclass
|
100
|
+
DiffStatsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DiffStatsRequest").msgclass
|
101
|
+
DiffStats = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DiffStats").msgclass
|
102
|
+
DiffStatsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DiffStatsResponse").msgclass
|
101
103
|
end
|
@@ -15,12 +15,12 @@ module Gitaly
|
|
15
15
|
self.service_name = 'gitaly.DiffService'
|
16
16
|
|
17
17
|
# Returns stream of CommitDiffResponse with patches chunked over messages
|
18
|
-
rpc :CommitDiff, CommitDiffRequest, stream(CommitDiffResponse)
|
18
|
+
rpc :CommitDiff, Gitaly::CommitDiffRequest, stream(Gitaly::CommitDiffResponse)
|
19
19
|
# Return a stream so we can divide the response in chunks of deltas
|
20
|
-
rpc :CommitDelta, CommitDeltaRequest, stream(CommitDeltaResponse)
|
21
|
-
rpc :RawDiff, RawDiffRequest, stream(RawDiffResponse)
|
22
|
-
rpc :RawPatch, RawPatchRequest, stream(RawPatchResponse)
|
23
|
-
rpc :DiffStats, DiffStatsRequest, stream(DiffStatsResponse)
|
20
|
+
rpc :CommitDelta, Gitaly::CommitDeltaRequest, stream(Gitaly::CommitDeltaResponse)
|
21
|
+
rpc :RawDiff, Gitaly::RawDiffRequest, stream(Gitaly::RawDiffResponse)
|
22
|
+
rpc :RawPatch, Gitaly::RawPatchRequest, stream(Gitaly::RawPatchResponse)
|
23
|
+
rpc :DiffStats, Gitaly::DiffStatsRequest, stream(Gitaly::DiffStatsResponse)
|
24
24
|
end
|
25
25
|
|
26
26
|
Stub = Service.rpc_stub_class
|
@@ -6,59 +6,61 @@ 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
|
-
|
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
|
+
repeated :git_push_options, :string, 5
|
15
|
+
end
|
16
|
+
add_message "gitaly.PreReceiveHookResponse" do
|
17
|
+
optional :stdout, :bytes, 1
|
18
|
+
optional :stderr, :bytes, 2
|
19
|
+
optional :exit_status, :message, 3, "gitaly.ExitStatus"
|
20
|
+
end
|
21
|
+
add_message "gitaly.PostReceiveHookRequest" do
|
22
|
+
optional :repository, :message, 1, "gitaly.Repository"
|
23
|
+
repeated :environment_variables, :string, 2
|
24
|
+
optional :stdin, :bytes, 3
|
25
|
+
repeated :git_push_options, :string, 4
|
26
|
+
end
|
27
|
+
add_message "gitaly.PostReceiveHookResponse" do
|
28
|
+
optional :stdout, :bytes, 1
|
29
|
+
optional :stderr, :bytes, 2
|
30
|
+
optional :exit_status, :message, 3, "gitaly.ExitStatus"
|
31
|
+
end
|
32
|
+
add_message "gitaly.UpdateHookRequest" do
|
33
|
+
optional :repository, :message, 1, "gitaly.Repository"
|
34
|
+
repeated :environment_variables, :string, 2
|
35
|
+
optional :ref, :bytes, 3
|
36
|
+
optional :old_value, :string, 4
|
37
|
+
optional :new_value, :string, 5
|
38
|
+
end
|
39
|
+
add_message "gitaly.UpdateHookResponse" do
|
40
|
+
optional :stdout, :bytes, 1
|
41
|
+
optional :stderr, :bytes, 2
|
42
|
+
optional :exit_status, :message, 3, "gitaly.ExitStatus"
|
43
|
+
end
|
44
|
+
add_message "gitaly.ReferenceTransactionHookRequest" do
|
45
|
+
optional :repository, :message, 1, "gitaly.Repository"
|
46
|
+
repeated :environment_variables, :string, 2
|
47
|
+
optional :stdin, :bytes, 3
|
48
|
+
end
|
49
|
+
add_message "gitaly.ReferenceTransactionHookResponse" do
|
50
|
+
optional :stdout, :bytes, 1
|
51
|
+
optional :stderr, :bytes, 2
|
52
|
+
optional :exit_status, :message, 3, "gitaly.ExitStatus"
|
53
|
+
end
|
52
54
|
end
|
53
55
|
end
|
54
56
|
|
55
57
|
module Gitaly
|
56
|
-
PreReceiveHookRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PreReceiveHookRequest").msgclass
|
57
|
-
PreReceiveHookResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PreReceiveHookResponse").msgclass
|
58
|
-
PostReceiveHookRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PostReceiveHookRequest").msgclass
|
59
|
-
PostReceiveHookResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PostReceiveHookResponse").msgclass
|
60
|
-
UpdateHookRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UpdateHookRequest").msgclass
|
61
|
-
UpdateHookResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UpdateHookResponse").msgclass
|
62
|
-
ReferenceTransactionHookRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ReferenceTransactionHookRequest").msgclass
|
63
|
-
ReferenceTransactionHookResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ReferenceTransactionHookResponse").msgclass
|
58
|
+
PreReceiveHookRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PreReceiveHookRequest").msgclass
|
59
|
+
PreReceiveHookResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PreReceiveHookResponse").msgclass
|
60
|
+
PostReceiveHookRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PostReceiveHookRequest").msgclass
|
61
|
+
PostReceiveHookResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PostReceiveHookResponse").msgclass
|
62
|
+
UpdateHookRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UpdateHookRequest").msgclass
|
63
|
+
UpdateHookResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UpdateHookResponse").msgclass
|
64
|
+
ReferenceTransactionHookRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ReferenceTransactionHookRequest").msgclass
|
65
|
+
ReferenceTransactionHookResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ReferenceTransactionHookResponse").msgclass
|
64
66
|
end
|