gitaly 14.1.0.pre.rc4 → 14.2.0.pre.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ruby/proto/gitaly/blob_services_pb.rb +7 -7
- data/ruby/proto/gitaly/cleanup_services_pb.rb +2 -2
- data/ruby/proto/gitaly/commit_pb.rb +8 -0
- data/ruby/proto/gitaly/commit_services_pb.rb +24 -24
- data/ruby/proto/gitaly/conflicts_services_pb.rb +3 -3
- data/ruby/proto/gitaly/diff_services_pb.rb +7 -7
- data/ruby/proto/gitaly/hook_services_pb.rb +6 -6
- data/ruby/proto/gitaly/internal_services_pb.rb +2 -2
- data/ruby/proto/gitaly/namespace_services_pb.rb +5 -5
- data/ruby/proto/gitaly/objectpool_services_pb.rb +9 -9
- data/ruby/proto/gitaly/operations_services_pb.rb +16 -16
- data/ruby/proto/gitaly/praefect_pb.rb +3 -17
- data/ruby/proto/gitaly/praefect_services_pb.rb +6 -11
- data/ruby/proto/gitaly/ref_pb.rb +15 -0
- data/ruby/proto/gitaly/ref_services_pb.rb +24 -19
- data/ruby/proto/gitaly/remote_services_pb.rb +7 -7
- data/ruby/proto/gitaly/repository-service_services_pb.rb +44 -44
- data/ruby/proto/gitaly/server_services_pb.rb +3 -3
- data/ruby/proto/gitaly/shared_pb.rb +4 -0
- data/ruby/proto/gitaly/smarthttp_services_pb.rb +5 -5
- data/ruby/proto/gitaly/ssh_services_pb.rb +4 -4
- data/ruby/proto/gitaly/transaction_services_pb.rb +3 -3
- data/ruby/proto/gitaly/version.rb +1 -1
- data/ruby/proto/gitaly/wiki_services_pb.rb +6 -6
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c4a301ad2f193abcc808f9f5df49d038e49862c0918f270f5d99d3332ef76b53
|
4
|
+
data.tar.gz: 9737e05d41137e60414ff5e1b45df7e81ab85ccb9406e0e5084707285adc1a38
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1664e5402d23121bbdb0f57fa01c87a7037d930bf2e73d94d794b5ca5842e01fb7705a6e17cbd296bcee23ad4705d81d137fbcd739a6b4c4f48d7a1fe28bcab5
|
7
|
+
data.tar.gz: 392512130a045102032203532136e0a1f2f5482485d10120944452455b67498ffe7f85779066ebcbb09c88d2a6901dbbb935f62e28854fc6cc3b869d5011cc49
|
@@ -8,7 +8,7 @@ module Gitaly
|
|
8
8
|
module BlobService
|
9
9
|
class Service
|
10
10
|
|
11
|
-
include GRPC::GenericService
|
11
|
+
include ::GRPC::GenericService
|
12
12
|
|
13
13
|
self.marshal_class_method = :encode
|
14
14
|
self.unmarshal_class_method = :decode
|
@@ -17,26 +17,26 @@ module Gitaly
|
|
17
17
|
# GetBlob returns the contents of a blob object referenced by its object
|
18
18
|
# ID. We use a stream to return a chunked arbitrarily large binary
|
19
19
|
# response
|
20
|
-
rpc :GetBlob, Gitaly::GetBlobRequest, stream(Gitaly::GetBlobResponse)
|
21
|
-
rpc :GetBlobs, Gitaly::GetBlobsRequest, stream(Gitaly::GetBlobsResponse)
|
20
|
+
rpc :GetBlob, ::Gitaly::GetBlobRequest, stream(::Gitaly::GetBlobResponse)
|
21
|
+
rpc :GetBlobs, ::Gitaly::GetBlobsRequest, stream(::Gitaly::GetBlobsResponse)
|
22
22
|
# ListBlobs will list all blobs reachable from a given set of revisions by
|
23
23
|
# doing a graph walk. It is not valid to pass revisions which do not resolve
|
24
24
|
# to an existing object.
|
25
|
-
rpc :ListBlobs, Gitaly::ListBlobsRequest, stream(Gitaly::ListBlobsResponse)
|
25
|
+
rpc :ListBlobs, ::Gitaly::ListBlobsRequest, stream(::Gitaly::ListBlobsResponse)
|
26
26
|
# GetLFSPointers retrieves LFS pointers from a given set of object IDs.
|
27
27
|
# This RPC filters all requested objects and only returns those which refer
|
28
28
|
# to a valid LFS pointer.
|
29
|
-
rpc :GetLFSPointers, Gitaly::GetLFSPointersRequest, stream(Gitaly::GetLFSPointersResponse)
|
29
|
+
rpc :GetLFSPointers, ::Gitaly::GetLFSPointersRequest, stream(::Gitaly::GetLFSPointersResponse)
|
30
30
|
# ListLFSPointers retrieves LFS pointers reachable from a given set of
|
31
31
|
# revisions by doing a graph walk. This includes both normal revisions like
|
32
32
|
# an object ID or branch, but also the pseudo-revisions "--all" and "--not"
|
33
33
|
# as documented in git-rev-parse(1). Revisions which don't directly or
|
34
34
|
# transitively reference any LFS pointers are ignored. It is not valid to
|
35
35
|
# pass revisions which do not resolve to an existing object.
|
36
|
-
rpc :ListLFSPointers, Gitaly::ListLFSPointersRequest, stream(Gitaly::ListLFSPointersResponse)
|
36
|
+
rpc :ListLFSPointers, ::Gitaly::ListLFSPointersRequest, stream(::Gitaly::ListLFSPointersResponse)
|
37
37
|
# ListAllLFSPointers retrieves all LFS pointers in the repository, including
|
38
38
|
# those not reachable by any reference.
|
39
|
-
rpc :ListAllLFSPointers, Gitaly::ListAllLFSPointersRequest, stream(Gitaly::ListAllLFSPointersResponse)
|
39
|
+
rpc :ListAllLFSPointers, ::Gitaly::ListAllLFSPointersRequest, stream(::Gitaly::ListAllLFSPointersResponse)
|
40
40
|
end
|
41
41
|
|
42
42
|
Stub = Service.rpc_stub_class
|
@@ -8,13 +8,13 @@ module Gitaly
|
|
8
8
|
module CleanupService
|
9
9
|
class Service
|
10
10
|
|
11
|
-
include GRPC::GenericService
|
11
|
+
include ::GRPC::GenericService
|
12
12
|
|
13
13
|
self.marshal_class_method = :encode
|
14
14
|
self.unmarshal_class_method = :decode
|
15
15
|
self.service_name = 'gitaly.CleanupService'
|
16
16
|
|
17
|
-
rpc :ApplyBfgObjectMapStream, stream(Gitaly::ApplyBfgObjectMapStreamRequest), stream(Gitaly::ApplyBfgObjectMapStreamResponse)
|
17
|
+
rpc :ApplyBfgObjectMapStream, stream(::Gitaly::ApplyBfgObjectMapStreamRequest), stream(::Gitaly::ApplyBfgObjectMapStreamResponse)
|
18
18
|
end
|
19
19
|
|
20
20
|
Stub = Service.rpc_stub_class
|
@@ -125,9 +125,16 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
125
125
|
optional :revision, :bytes, 2
|
126
126
|
optional :path, :bytes, 3
|
127
127
|
optional :recursive, :bool, 4
|
128
|
+
optional :sort, :enum, 5, "gitaly.GetTreeEntriesRequest.SortBy"
|
129
|
+
optional :pagination_params, :message, 6, "gitaly.PaginationParameter"
|
130
|
+
end
|
131
|
+
add_enum "gitaly.GetTreeEntriesRequest.SortBy" do
|
132
|
+
value :DEFAULT, 0
|
133
|
+
value :TREES_FIRST, 1
|
128
134
|
end
|
129
135
|
add_message "gitaly.GetTreeEntriesResponse" do
|
130
136
|
repeated :entries, :message, 1, "gitaly.TreeEntry"
|
137
|
+
optional :pagination_cursor, :message, 2, "gitaly.PaginationCursor"
|
131
138
|
end
|
132
139
|
add_message "gitaly.ListFilesRequest" do
|
133
140
|
optional :repository, :message, 1, "gitaly.Repository"
|
@@ -319,6 +326,7 @@ module Gitaly
|
|
319
326
|
TreeEntry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.TreeEntry").msgclass
|
320
327
|
TreeEntry::EntryType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.TreeEntry.EntryType").enummodule
|
321
328
|
GetTreeEntriesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetTreeEntriesRequest").msgclass
|
329
|
+
GetTreeEntriesRequest::SortBy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetTreeEntriesRequest.SortBy").enummodule
|
322
330
|
GetTreeEntriesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetTreeEntriesResponse").msgclass
|
323
331
|
ListFilesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListFilesRequest").msgclass
|
324
332
|
ListFilesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListFilesResponse").msgclass
|
@@ -8,7 +8,7 @@ module Gitaly
|
|
8
8
|
module CommitService
|
9
9
|
class Service
|
10
10
|
|
11
|
-
include GRPC::GenericService
|
11
|
+
include ::GRPC::GenericService
|
12
12
|
|
13
13
|
self.marshal_class_method = :encode
|
14
14
|
self.unmarshal_class_method = :decode
|
@@ -18,32 +18,32 @@ module Gitaly
|
|
18
18
|
# graph walk. This deprecates ListNewCommits, FindAllCommits, FindCommits
|
19
19
|
# (except Follow is not yet supported) and CommitsBetweenRequest. Any
|
20
20
|
# unknown revisions will cause the RPC to fail.
|
21
|
-
rpc :ListCommits, Gitaly::ListCommitsRequest, stream(Gitaly::ListCommitsResponse)
|
21
|
+
rpc :ListCommits, ::Gitaly::ListCommitsRequest, stream(::Gitaly::ListCommitsResponse)
|
22
22
|
# ListAllCommits lists all commits present in the repository, including
|
23
23
|
# those not reachable by any reference.
|
24
|
-
rpc :ListAllCommits, Gitaly::ListAllCommitsRequest, stream(Gitaly::ListAllCommitsResponse)
|
25
|
-
rpc :CommitIsAncestor, Gitaly::CommitIsAncestorRequest, Gitaly::CommitIsAncestorResponse
|
26
|
-
rpc :TreeEntry, Gitaly::TreeEntryRequest, stream(Gitaly::TreeEntryResponse)
|
27
|
-
rpc :CommitsBetween, Gitaly::CommitsBetweenRequest, stream(Gitaly::CommitsBetweenResponse)
|
28
|
-
rpc :CountCommits, Gitaly::CountCommitsRequest, Gitaly::CountCommitsResponse
|
29
|
-
rpc :CountDivergingCommits, Gitaly::CountDivergingCommitsRequest, Gitaly::CountDivergingCommitsResponse
|
30
|
-
rpc :GetTreeEntries, Gitaly::GetTreeEntriesRequest, stream(Gitaly::GetTreeEntriesResponse)
|
31
|
-
rpc :ListFiles, Gitaly::ListFilesRequest, stream(Gitaly::ListFilesResponse)
|
32
|
-
rpc :FindCommit, Gitaly::FindCommitRequest, Gitaly::FindCommitResponse
|
33
|
-
rpc :CommitStats, Gitaly::CommitStatsRequest, Gitaly::CommitStatsResponse
|
24
|
+
rpc :ListAllCommits, ::Gitaly::ListAllCommitsRequest, stream(::Gitaly::ListAllCommitsResponse)
|
25
|
+
rpc :CommitIsAncestor, ::Gitaly::CommitIsAncestorRequest, ::Gitaly::CommitIsAncestorResponse
|
26
|
+
rpc :TreeEntry, ::Gitaly::TreeEntryRequest, stream(::Gitaly::TreeEntryResponse)
|
27
|
+
rpc :CommitsBetween, ::Gitaly::CommitsBetweenRequest, stream(::Gitaly::CommitsBetweenResponse)
|
28
|
+
rpc :CountCommits, ::Gitaly::CountCommitsRequest, ::Gitaly::CountCommitsResponse
|
29
|
+
rpc :CountDivergingCommits, ::Gitaly::CountDivergingCommitsRequest, ::Gitaly::CountDivergingCommitsResponse
|
30
|
+
rpc :GetTreeEntries, ::Gitaly::GetTreeEntriesRequest, stream(::Gitaly::GetTreeEntriesResponse)
|
31
|
+
rpc :ListFiles, ::Gitaly::ListFilesRequest, stream(::Gitaly::ListFilesResponse)
|
32
|
+
rpc :FindCommit, ::Gitaly::FindCommitRequest, ::Gitaly::FindCommitResponse
|
33
|
+
rpc :CommitStats, ::Gitaly::CommitStatsRequest, ::Gitaly::CommitStatsResponse
|
34
34
|
# Use a stream to paginate the result set
|
35
|
-
rpc :FindAllCommits, Gitaly::FindAllCommitsRequest, stream(Gitaly::FindAllCommitsResponse)
|
36
|
-
rpc :FindCommits, Gitaly::FindCommitsRequest, stream(Gitaly::FindCommitsResponse)
|
37
|
-
rpc :CommitLanguages, Gitaly::CommitLanguagesRequest, Gitaly::CommitLanguagesResponse
|
38
|
-
rpc :RawBlame, Gitaly::RawBlameRequest, stream(Gitaly::RawBlameResponse)
|
39
|
-
rpc :LastCommitForPath, Gitaly::LastCommitForPathRequest, Gitaly::LastCommitForPathResponse
|
40
|
-
rpc :ListLastCommitsForTree, Gitaly::ListLastCommitsForTreeRequest, stream(Gitaly::ListLastCommitsForTreeResponse)
|
41
|
-
rpc :CommitsByMessage, Gitaly::CommitsByMessageRequest, stream(Gitaly::CommitsByMessageResponse)
|
42
|
-
rpc :ListCommitsByOid, Gitaly::ListCommitsByOidRequest, stream(Gitaly::ListCommitsByOidResponse)
|
43
|
-
rpc :ListCommitsByRefName, Gitaly::ListCommitsByRefNameRequest, stream(Gitaly::ListCommitsByRefNameResponse)
|
44
|
-
rpc :FilterShasWithSignatures, stream(Gitaly::FilterShasWithSignaturesRequest), stream(Gitaly::FilterShasWithSignaturesResponse)
|
45
|
-
rpc :GetCommitSignatures, Gitaly::GetCommitSignaturesRequest, stream(Gitaly::GetCommitSignaturesResponse)
|
46
|
-
rpc :GetCommitMessages, Gitaly::GetCommitMessagesRequest, stream(Gitaly::GetCommitMessagesResponse)
|
35
|
+
rpc :FindAllCommits, ::Gitaly::FindAllCommitsRequest, stream(::Gitaly::FindAllCommitsResponse)
|
36
|
+
rpc :FindCommits, ::Gitaly::FindCommitsRequest, stream(::Gitaly::FindCommitsResponse)
|
37
|
+
rpc :CommitLanguages, ::Gitaly::CommitLanguagesRequest, ::Gitaly::CommitLanguagesResponse
|
38
|
+
rpc :RawBlame, ::Gitaly::RawBlameRequest, stream(::Gitaly::RawBlameResponse)
|
39
|
+
rpc :LastCommitForPath, ::Gitaly::LastCommitForPathRequest, ::Gitaly::LastCommitForPathResponse
|
40
|
+
rpc :ListLastCommitsForTree, ::Gitaly::ListLastCommitsForTreeRequest, stream(::Gitaly::ListLastCommitsForTreeResponse)
|
41
|
+
rpc :CommitsByMessage, ::Gitaly::CommitsByMessageRequest, stream(::Gitaly::CommitsByMessageResponse)
|
42
|
+
rpc :ListCommitsByOid, ::Gitaly::ListCommitsByOidRequest, stream(::Gitaly::ListCommitsByOidResponse)
|
43
|
+
rpc :ListCommitsByRefName, ::Gitaly::ListCommitsByRefNameRequest, stream(::Gitaly::ListCommitsByRefNameResponse)
|
44
|
+
rpc :FilterShasWithSignatures, stream(::Gitaly::FilterShasWithSignaturesRequest), stream(::Gitaly::FilterShasWithSignaturesResponse)
|
45
|
+
rpc :GetCommitSignatures, ::Gitaly::GetCommitSignaturesRequest, stream(::Gitaly::GetCommitSignaturesResponse)
|
46
|
+
rpc :GetCommitMessages, ::Gitaly::GetCommitMessagesRequest, stream(::Gitaly::GetCommitMessagesResponse)
|
47
47
|
end
|
48
48
|
|
49
49
|
Stub = Service.rpc_stub_class
|
@@ -8,17 +8,17 @@ module Gitaly
|
|
8
8
|
module ConflictsService
|
9
9
|
class Service
|
10
10
|
|
11
|
-
include GRPC::GenericService
|
11
|
+
include ::GRPC::GenericService
|
12
12
|
|
13
13
|
self.marshal_class_method = :encode
|
14
14
|
self.unmarshal_class_method = :decode
|
15
15
|
self.service_name = 'gitaly.ConflictsService'
|
16
16
|
|
17
|
-
rpc :ListConflictFiles, Gitaly::ListConflictFilesRequest, stream(Gitaly::ListConflictFilesResponse)
|
17
|
+
rpc :ListConflictFiles, ::Gitaly::ListConflictFilesRequest, stream(::Gitaly::ListConflictFilesResponse)
|
18
18
|
# ResolveConflicts tries to resolve a conflicting merge with a set of
|
19
19
|
# user-provided merge resolutions. If resolving the conflict succeeds, the
|
20
20
|
# result will be a new merge commit.
|
21
|
-
rpc :ResolveConflicts, stream(Gitaly::ResolveConflictsRequest), Gitaly::ResolveConflictsResponse
|
21
|
+
rpc :ResolveConflicts, stream(::Gitaly::ResolveConflictsRequest), ::Gitaly::ResolveConflictsResponse
|
22
22
|
end
|
23
23
|
|
24
24
|
Stub = Service.rpc_stub_class
|
@@ -8,21 +8,21 @@ module Gitaly
|
|
8
8
|
module DiffService
|
9
9
|
class Service
|
10
10
|
|
11
|
-
include GRPC::GenericService
|
11
|
+
include ::GRPC::GenericService
|
12
12
|
|
13
13
|
self.marshal_class_method = :encode
|
14
14
|
self.unmarshal_class_method = :decode
|
15
15
|
self.service_name = 'gitaly.DiffService'
|
16
16
|
|
17
17
|
# Returns stream of CommitDiffResponse with patches chunked over messages
|
18
|
-
rpc :CommitDiff, Gitaly::CommitDiffRequest, stream(Gitaly::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, 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)
|
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
|
# Return a list of files changed along with the status of each file
|
25
|
-
rpc :FindChangedPaths, Gitaly::FindChangedPathsRequest, stream(Gitaly::FindChangedPathsResponse)
|
25
|
+
rpc :FindChangedPaths, ::Gitaly::FindChangedPathsRequest, stream(::Gitaly::FindChangedPathsResponse)
|
26
26
|
end
|
27
27
|
|
28
28
|
Stub = Service.rpc_stub_class
|
@@ -8,20 +8,20 @@ module Gitaly
|
|
8
8
|
module HookService
|
9
9
|
class Service
|
10
10
|
|
11
|
-
include GRPC::GenericService
|
11
|
+
include ::GRPC::GenericService
|
12
12
|
|
13
13
|
self.marshal_class_method = :encode
|
14
14
|
self.unmarshal_class_method = :decode
|
15
15
|
self.service_name = 'gitaly.HookService'
|
16
16
|
|
17
|
-
rpc :PreReceiveHook, stream(Gitaly::PreReceiveHookRequest), stream(Gitaly::PreReceiveHookResponse)
|
18
|
-
rpc :PostReceiveHook, stream(Gitaly::PostReceiveHookRequest), stream(Gitaly::PostReceiveHookResponse)
|
19
|
-
rpc :UpdateHook, Gitaly::UpdateHookRequest, stream(Gitaly::UpdateHookResponse)
|
20
|
-
rpc :ReferenceTransactionHook, stream(Gitaly::ReferenceTransactionHookRequest), stream(Gitaly::ReferenceTransactionHookResponse)
|
17
|
+
rpc :PreReceiveHook, stream(::Gitaly::PreReceiveHookRequest), stream(::Gitaly::PreReceiveHookResponse)
|
18
|
+
rpc :PostReceiveHook, stream(::Gitaly::PostReceiveHookRequest), stream(::Gitaly::PostReceiveHookResponse)
|
19
|
+
rpc :UpdateHook, ::Gitaly::UpdateHookRequest, stream(::Gitaly::UpdateHookResponse)
|
20
|
+
rpc :ReferenceTransactionHook, stream(::Gitaly::ReferenceTransactionHookRequest), stream(::Gitaly::ReferenceTransactionHookResponse)
|
21
21
|
# PackObjectsHook is meant to be called by git-upload-pack via the
|
22
22
|
# uploadpack.packObjectsHook mechanism. It generates a stream of packed
|
23
23
|
# Git objects.
|
24
|
-
rpc :PackObjectsHook, stream(Gitaly::PackObjectsHookRequest), stream(Gitaly::PackObjectsHookResponse)
|
24
|
+
rpc :PackObjectsHook, stream(::Gitaly::PackObjectsHookRequest), stream(::Gitaly::PackObjectsHookResponse)
|
25
25
|
end
|
26
26
|
|
27
27
|
Stub = Service.rpc_stub_class
|
@@ -10,7 +10,7 @@ module Gitaly
|
|
10
10
|
# only reachable by Praefect or other Gitalies
|
11
11
|
class Service
|
12
12
|
|
13
|
-
include GRPC::GenericService
|
13
|
+
include ::GRPC::GenericService
|
14
14
|
|
15
15
|
self.marshal_class_method = :encode
|
16
16
|
self.unmarshal_class_method = :decode
|
@@ -18,7 +18,7 @@ module Gitaly
|
|
18
18
|
|
19
19
|
# WalkRepos walks the storage and streams back all known git repos on the
|
20
20
|
# requested storage
|
21
|
-
rpc :WalkRepos, Gitaly::WalkReposRequest, stream(Gitaly::WalkReposResponse)
|
21
|
+
rpc :WalkRepos, ::Gitaly::WalkReposRequest, stream(::Gitaly::WalkReposResponse)
|
22
22
|
end
|
23
23
|
|
24
24
|
Stub = Service.rpc_stub_class
|
@@ -8,16 +8,16 @@ module Gitaly
|
|
8
8
|
module NamespaceService
|
9
9
|
class Service
|
10
10
|
|
11
|
-
include GRPC::GenericService
|
11
|
+
include ::GRPC::GenericService
|
12
12
|
|
13
13
|
self.marshal_class_method = :encode
|
14
14
|
self.unmarshal_class_method = :decode
|
15
15
|
self.service_name = 'gitaly.NamespaceService'
|
16
16
|
|
17
|
-
rpc :AddNamespace, Gitaly::AddNamespaceRequest, Gitaly::AddNamespaceResponse
|
18
|
-
rpc :RemoveNamespace, Gitaly::RemoveNamespaceRequest, Gitaly::RemoveNamespaceResponse
|
19
|
-
rpc :RenameNamespace, Gitaly::RenameNamespaceRequest, Gitaly::RenameNamespaceResponse
|
20
|
-
rpc :NamespaceExists, Gitaly::NamespaceExistsRequest, Gitaly::NamespaceExistsResponse
|
17
|
+
rpc :AddNamespace, ::Gitaly::AddNamespaceRequest, ::Gitaly::AddNamespaceResponse
|
18
|
+
rpc :RemoveNamespace, ::Gitaly::RemoveNamespaceRequest, ::Gitaly::RemoveNamespaceResponse
|
19
|
+
rpc :RenameNamespace, ::Gitaly::RenameNamespaceRequest, ::Gitaly::RenameNamespaceResponse
|
20
|
+
rpc :NamespaceExists, ::Gitaly::NamespaceExistsRequest, ::Gitaly::NamespaceExistsResponse
|
21
21
|
end
|
22
22
|
|
23
23
|
Stub = Service.rpc_stub_class
|
@@ -8,21 +8,21 @@ module Gitaly
|
|
8
8
|
module ObjectPoolService
|
9
9
|
class Service
|
10
10
|
|
11
|
-
include GRPC::GenericService
|
11
|
+
include ::GRPC::GenericService
|
12
12
|
|
13
13
|
self.marshal_class_method = :encode
|
14
14
|
self.unmarshal_class_method = :decode
|
15
15
|
self.service_name = 'gitaly.ObjectPoolService'
|
16
16
|
|
17
|
-
rpc :CreateObjectPool, Gitaly::CreateObjectPoolRequest, Gitaly::CreateObjectPoolResponse
|
18
|
-
rpc :DeleteObjectPool, Gitaly::DeleteObjectPoolRequest, Gitaly::DeleteObjectPoolResponse
|
17
|
+
rpc :CreateObjectPool, ::Gitaly::CreateObjectPoolRequest, ::Gitaly::CreateObjectPoolResponse
|
18
|
+
rpc :DeleteObjectPool, ::Gitaly::DeleteObjectPoolRequest, ::Gitaly::DeleteObjectPoolResponse
|
19
19
|
# Repositories are assumed to be stored on the same disk
|
20
|
-
rpc :LinkRepositoryToObjectPool, Gitaly::LinkRepositoryToObjectPoolRequest, Gitaly::LinkRepositoryToObjectPoolResponse
|
21
|
-
rpc :UnlinkRepositoryFromObjectPool, Gitaly::UnlinkRepositoryFromObjectPoolRequest, Gitaly::UnlinkRepositoryFromObjectPoolResponse
|
22
|
-
rpc :ReduplicateRepository, Gitaly::ReduplicateRepositoryRequest, Gitaly::ReduplicateRepositoryResponse
|
23
|
-
rpc :DisconnectGitAlternates, Gitaly::DisconnectGitAlternatesRequest, Gitaly::DisconnectGitAlternatesResponse
|
24
|
-
rpc :FetchIntoObjectPool, Gitaly::FetchIntoObjectPoolRequest, Gitaly::FetchIntoObjectPoolResponse
|
25
|
-
rpc :GetObjectPool, Gitaly::GetObjectPoolRequest, Gitaly::GetObjectPoolResponse
|
20
|
+
rpc :LinkRepositoryToObjectPool, ::Gitaly::LinkRepositoryToObjectPoolRequest, ::Gitaly::LinkRepositoryToObjectPoolResponse
|
21
|
+
rpc :UnlinkRepositoryFromObjectPool, ::Gitaly::UnlinkRepositoryFromObjectPoolRequest, ::Gitaly::UnlinkRepositoryFromObjectPoolResponse
|
22
|
+
rpc :ReduplicateRepository, ::Gitaly::ReduplicateRepositoryRequest, ::Gitaly::ReduplicateRepositoryResponse
|
23
|
+
rpc :DisconnectGitAlternates, ::Gitaly::DisconnectGitAlternatesRequest, ::Gitaly::DisconnectGitAlternatesResponse
|
24
|
+
rpc :FetchIntoObjectPool, ::Gitaly::FetchIntoObjectPoolRequest, ::Gitaly::FetchIntoObjectPoolResponse
|
25
|
+
rpc :GetObjectPool, ::Gitaly::GetObjectPoolRequest, ::Gitaly::GetObjectPoolResponse
|
26
26
|
end
|
27
27
|
|
28
28
|
Stub = Service.rpc_stub_class
|
@@ -12,23 +12,23 @@ module Gitaly
|
|
12
12
|
# '/allowed' endpoint.
|
13
13
|
class Service
|
14
14
|
|
15
|
-
include GRPC::GenericService
|
15
|
+
include ::GRPC::GenericService
|
16
16
|
|
17
17
|
self.marshal_class_method = :encode
|
18
18
|
self.unmarshal_class_method = :decode
|
19
19
|
self.service_name = 'gitaly.OperationService'
|
20
20
|
|
21
|
-
rpc :UserCreateBranch, Gitaly::UserCreateBranchRequest, Gitaly::UserCreateBranchResponse
|
22
|
-
rpc :UserUpdateBranch, Gitaly::UserUpdateBranchRequest, Gitaly::UserUpdateBranchResponse
|
23
|
-
rpc :UserDeleteBranch, Gitaly::UserDeleteBranchRequest, Gitaly::UserDeleteBranchResponse
|
21
|
+
rpc :UserCreateBranch, ::Gitaly::UserCreateBranchRequest, ::Gitaly::UserCreateBranchResponse
|
22
|
+
rpc :UserUpdateBranch, ::Gitaly::UserUpdateBranchRequest, ::Gitaly::UserUpdateBranchResponse
|
23
|
+
rpc :UserDeleteBranch, ::Gitaly::UserDeleteBranchRequest, ::Gitaly::UserDeleteBranchResponse
|
24
24
|
# UserCreateTag creates a new tag.
|
25
|
-
rpc :UserCreateTag, Gitaly::UserCreateTagRequest, Gitaly::UserCreateTagResponse
|
26
|
-
rpc :UserDeleteTag, Gitaly::UserDeleteTagRequest, Gitaly::UserDeleteTagResponse
|
25
|
+
rpc :UserCreateTag, ::Gitaly::UserCreateTagRequest, ::Gitaly::UserCreateTagResponse
|
26
|
+
rpc :UserDeleteTag, ::Gitaly::UserDeleteTagRequest, ::Gitaly::UserDeleteTagResponse
|
27
27
|
# UserMergeRef creates a merge commit and updates target_ref to point to that
|
28
28
|
# new commit. The first parent of the merge commit (the main line) is taken
|
29
29
|
# from first_parent_ref. The second parent is specified by its commit ID in source_sha.
|
30
30
|
# If target_ref already exists it will be overwritten.
|
31
|
-
rpc :UserMergeToRef, Gitaly::UserMergeToRefRequest, Gitaly::UserMergeToRefResponse
|
31
|
+
rpc :UserMergeToRef, ::Gitaly::UserMergeToRefRequest, ::Gitaly::UserMergeToRefResponse
|
32
32
|
# UserMergeBranch tries to merge the given commit into the target branch.
|
33
33
|
# The merge commit is created with the given user as author/committer and
|
34
34
|
# the given message.
|
@@ -38,20 +38,20 @@ module Gitaly
|
|
38
38
|
# requested merge, which will result in a response with the created merge
|
39
39
|
# commit ID. Only if a second message with `apply = true` is sent will the
|
40
40
|
# merge be applied.
|
41
|
-
rpc :UserMergeBranch, stream(Gitaly::UserMergeBranchRequest), stream(Gitaly::UserMergeBranchResponse)
|
41
|
+
rpc :UserMergeBranch, stream(::Gitaly::UserMergeBranchRequest), stream(::Gitaly::UserMergeBranchResponse)
|
42
42
|
# UserFFBranch tries to perform a fast-forward merge of the given branch to
|
43
43
|
# the given commit. If the merge is not a fast-forward merge, the request
|
44
44
|
# will fail. The RPC will return an empty response in case updating the
|
45
45
|
# reference fails e.g. because of a race.
|
46
|
-
rpc :UserFFBranch, Gitaly::UserFFBranchRequest, Gitaly::UserFFBranchResponse
|
46
|
+
rpc :UserFFBranch, ::Gitaly::UserFFBranchRequest, ::Gitaly::UserFFBranchResponse
|
47
47
|
# UserCherryPick tries to perform a cherry-pick of a given commit onto a
|
48
48
|
# branch.
|
49
|
-
rpc :UserCherryPick, Gitaly::UserCherryPickRequest, Gitaly::UserCherryPickResponse
|
49
|
+
rpc :UserCherryPick, ::Gitaly::UserCherryPickRequest, ::Gitaly::UserCherryPickResponse
|
50
50
|
# UserCommitFiles builds a commit from a stream of actions and updates the target branch to point to it.
|
51
51
|
# UserCommitFilesRequest with a UserCommitFilesRequestHeader must be sent as the first message of the stream.
|
52
52
|
# Following that, a variable number of actions can be sent to build a new commit. Each action consists of
|
53
53
|
# a header followed by content if used by the action.
|
54
|
-
rpc :UserCommitFiles, stream(Gitaly::UserCommitFilesRequest), Gitaly::UserCommitFilesResponse
|
54
|
+
rpc :UserCommitFiles, stream(::Gitaly::UserCommitFilesRequest), ::Gitaly::UserCommitFilesResponse
|
55
55
|
# UserRebaseConfirmable rebases the given remote branch onto a target
|
56
56
|
# branch. The remote branch may be part of another repository.
|
57
57
|
#
|
@@ -60,15 +60,15 @@ module Gitaly
|
|
60
60
|
# requested rebase, which will result in a response with the created rebase
|
61
61
|
# commit ID. Only if a second message with `apply = true` is sent will the
|
62
62
|
# rebase be applied.
|
63
|
-
rpc :UserRebaseConfirmable, stream(Gitaly::UserRebaseConfirmableRequest), stream(Gitaly::UserRebaseConfirmableResponse)
|
63
|
+
rpc :UserRebaseConfirmable, stream(::Gitaly::UserRebaseConfirmableRequest), stream(::Gitaly::UserRebaseConfirmableResponse)
|
64
64
|
# UserRevert tries to perform a revert of a given commit onto a branch.
|
65
|
-
rpc :UserRevert, Gitaly::UserRevertRequest, Gitaly::UserRevertResponse
|
65
|
+
rpc :UserRevert, ::Gitaly::UserRevertRequest, ::Gitaly::UserRevertResponse
|
66
66
|
# UserSquash squashes a range of commits into a single commit.
|
67
|
-
rpc :UserSquash, Gitaly::UserSquashRequest, Gitaly::UserSquashResponse
|
67
|
+
rpc :UserSquash, ::Gitaly::UserSquashRequest, ::Gitaly::UserSquashResponse
|
68
68
|
# UserApplyPatch applies patches to a given branch.
|
69
|
-
rpc :UserApplyPatch, stream(Gitaly::UserApplyPatchRequest), Gitaly::UserApplyPatchResponse
|
69
|
+
rpc :UserApplyPatch, stream(::Gitaly::UserApplyPatchRequest), ::Gitaly::UserApplyPatchResponse
|
70
70
|
# UserUpdateSubmodule updates a submodule to point to a new commit.
|
71
|
-
rpc :UserUpdateSubmodule, Gitaly::UserUpdateSubmoduleRequest, Gitaly::UserUpdateSubmoduleResponse
|
71
|
+
rpc :UserUpdateSubmodule, ::Gitaly::UserUpdateSubmoduleRequest, ::Gitaly::UserUpdateSubmoduleResponse
|
72
72
|
end
|
73
73
|
|
74
74
|
Stub = Service.rpc_stub_class
|
@@ -32,13 +32,15 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
32
32
|
add_message "gitaly.DatalossCheckResponse.Repository" do
|
33
33
|
optional :relative_path, :string, 1
|
34
34
|
repeated :storages, :message, 2, "gitaly.DatalossCheckResponse.Repository.Storage"
|
35
|
-
optional :
|
35
|
+
optional :unavailable, :bool, 3
|
36
36
|
optional :primary, :string, 4
|
37
37
|
end
|
38
38
|
add_message "gitaly.DatalossCheckResponse.Repository.Storage" do
|
39
39
|
optional :name, :string, 1
|
40
40
|
optional :behind_by, :int64, 2
|
41
41
|
optional :assigned, :bool, 3
|
42
|
+
optional :healthy, :bool, 4
|
43
|
+
optional :valid_primary, :bool, 5
|
42
44
|
end
|
43
45
|
add_message "gitaly.RepositoryReplicasRequest" do
|
44
46
|
optional :repository, :message, 1, "gitaly.Repository"
|
@@ -51,20 +53,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
51
53
|
optional :repository, :message, 1, "gitaly.Repository"
|
52
54
|
optional :checksum, :string, 2
|
53
55
|
end
|
54
|
-
add_message "gitaly.ConsistencyCheckRequest" do
|
55
|
-
optional :virtual_storage, :string, 1
|
56
|
-
optional :target_storage, :string, 2
|
57
|
-
optional :reference_storage, :string, 3
|
58
|
-
optional :disable_reconcilliation, :bool, 4
|
59
|
-
end
|
60
|
-
add_message "gitaly.ConsistencyCheckResponse" do
|
61
|
-
optional :repo_relative_path, :string, 1
|
62
|
-
optional :target_checksum, :string, 2
|
63
|
-
optional :reference_checksum, :string, 3
|
64
|
-
optional :repl_job_id, :uint64, 4
|
65
|
-
optional :reference_storage, :string, 5
|
66
|
-
repeated :errors, :string, 6
|
67
|
-
end
|
68
56
|
end
|
69
57
|
end
|
70
58
|
|
@@ -80,6 +68,4 @@ module Gitaly
|
|
80
68
|
RepositoryReplicasRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RepositoryReplicasRequest").msgclass
|
81
69
|
RepositoryReplicasResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RepositoryReplicasResponse").msgclass
|
82
70
|
RepositoryReplicasResponse::RepositoryDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RepositoryReplicasResponse.RepositoryDetails").msgclass
|
83
|
-
ConsistencyCheckRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ConsistencyCheckRequest").msgclass
|
84
|
-
ConsistencyCheckResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ConsistencyCheckResponse").msgclass
|
85
71
|
end
|
@@ -8,24 +8,19 @@ module Gitaly
|
|
8
8
|
module PraefectInfoService
|
9
9
|
class Service
|
10
10
|
|
11
|
-
include GRPC::GenericService
|
11
|
+
include ::GRPC::GenericService
|
12
12
|
|
13
13
|
self.marshal_class_method = :encode
|
14
14
|
self.unmarshal_class_method = :decode
|
15
15
|
self.service_name = 'gitaly.PraefectInfoService'
|
16
16
|
|
17
|
-
rpc :RepositoryReplicas, Gitaly::RepositoryReplicasRequest, Gitaly::RepositoryReplicasResponse
|
18
|
-
#
|
19
|
-
|
20
|
-
# back indicating which repos are consistent with the primary and which ones
|
21
|
-
# need repair.
|
22
|
-
rpc :ConsistencyCheck, Gitaly::ConsistencyCheckRequest, stream(Gitaly::ConsistencyCheckResponse)
|
23
|
-
# DatalossCheck checks for outdated repository replicas.
|
24
|
-
rpc :DatalossCheck, Gitaly::DatalossCheckRequest, Gitaly::DatalossCheckResponse
|
17
|
+
rpc :RepositoryReplicas, ::Gitaly::RepositoryReplicasRequest, ::Gitaly::RepositoryReplicasResponse
|
18
|
+
# DatalossCheck checks for unavailable repositories.
|
19
|
+
rpc :DatalossCheck, ::Gitaly::DatalossCheckRequest, ::Gitaly::DatalossCheckResponse
|
25
20
|
# SetAuthoritativeStorage sets the authoritative storage for a repository on a given virtual storage.
|
26
21
|
# This causes the current version of the repository on the authoritative storage to be considered the
|
27
22
|
# latest and overwrite any other version on the virtual storage.
|
28
|
-
rpc :SetAuthoritativeStorage, Gitaly::SetAuthoritativeStorageRequest, Gitaly::SetAuthoritativeStorageResponse
|
23
|
+
rpc :SetAuthoritativeStorage, ::Gitaly::SetAuthoritativeStorageRequest, ::Gitaly::SetAuthoritativeStorageResponse
|
29
24
|
# SetReplicationFactor assigns or unassigns host nodes from the repository to meet the desired replication factor.
|
30
25
|
# SetReplicationFactor returns an error when trying to set a replication factor that exceeds the storage node count
|
31
26
|
# in the virtual storage. An error is also returned when trying to set a replication factor below one. The primary node
|
@@ -34,7 +29,7 @@ module Gitaly
|
|
34
29
|
# This might cause the actual replication factor to be higher than desired if the replication factor is set during an upgrade
|
35
30
|
# from a Praefect node that does not yet know about a new node. As assignments of unconfigured storages are ignored, replication
|
36
31
|
# factor of repositories assigned to a storage node removed from the cluster is effectively decreased.
|
37
|
-
rpc :SetReplicationFactor, Gitaly::SetReplicationFactorRequest, Gitaly::SetReplicationFactorResponse
|
32
|
+
rpc :SetReplicationFactor, ::Gitaly::SetReplicationFactorRequest, ::Gitaly::SetReplicationFactorResponse
|
38
33
|
end
|
39
34
|
|
40
35
|
Stub = Service.rpc_stub_class
|
data/ruby/proto/gitaly/ref_pb.rb
CHANGED
@@ -154,6 +154,18 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
154
154
|
add_message "gitaly.ListTagNamesContainingCommitResponse" do
|
155
155
|
repeated :tag_names, :bytes, 2
|
156
156
|
end
|
157
|
+
add_message "gitaly.GetTagSignaturesRequest" do
|
158
|
+
optional :repository, :message, 1, "gitaly.Repository"
|
159
|
+
repeated :tag_revisions, :string, 2
|
160
|
+
end
|
161
|
+
add_message "gitaly.GetTagSignaturesResponse" do
|
162
|
+
repeated :signatures, :message, 1, "gitaly.GetTagSignaturesResponse.TagSignature"
|
163
|
+
end
|
164
|
+
add_message "gitaly.GetTagSignaturesResponse.TagSignature" do
|
165
|
+
optional :tag_id, :string, 1
|
166
|
+
optional :signature, :bytes, 2
|
167
|
+
optional :content, :bytes, 3
|
168
|
+
end
|
157
169
|
add_message "gitaly.GetTagMessagesRequest" do
|
158
170
|
optional :repository, :message, 1, "gitaly.Repository"
|
159
171
|
repeated :tag_ids, :string, 3
|
@@ -223,6 +235,9 @@ module Gitaly
|
|
223
235
|
ListBranchNamesContainingCommitResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListBranchNamesContainingCommitResponse").msgclass
|
224
236
|
ListTagNamesContainingCommitRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListTagNamesContainingCommitRequest").msgclass
|
225
237
|
ListTagNamesContainingCommitResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListTagNamesContainingCommitResponse").msgclass
|
238
|
+
GetTagSignaturesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetTagSignaturesRequest").msgclass
|
239
|
+
GetTagSignaturesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetTagSignaturesResponse").msgclass
|
240
|
+
GetTagSignaturesResponse::TagSignature = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetTagSignaturesResponse.TagSignature").msgclass
|
226
241
|
GetTagMessagesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetTagMessagesRequest").msgclass
|
227
242
|
GetTagMessagesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetTagMessagesResponse").msgclass
|
228
243
|
ListNewCommitsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListNewCommitsRequest").msgclass
|
@@ -8,35 +8,40 @@ module Gitaly
|
|
8
8
|
module RefService
|
9
9
|
class Service
|
10
10
|
|
11
|
-
include GRPC::GenericService
|
11
|
+
include ::GRPC::GenericService
|
12
12
|
|
13
13
|
self.marshal_class_method = :encode
|
14
14
|
self.unmarshal_class_method = :decode
|
15
15
|
self.service_name = 'gitaly.RefService'
|
16
16
|
|
17
|
-
rpc :FindDefaultBranchName, Gitaly::FindDefaultBranchNameRequest, Gitaly::FindDefaultBranchNameResponse
|
18
|
-
rpc :FindAllBranchNames, Gitaly::FindAllBranchNamesRequest, stream(Gitaly::FindAllBranchNamesResponse)
|
19
|
-
rpc :FindAllTagNames, Gitaly::FindAllTagNamesRequest, stream(Gitaly::FindAllTagNamesResponse)
|
17
|
+
rpc :FindDefaultBranchName, ::Gitaly::FindDefaultBranchNameRequest, ::Gitaly::FindDefaultBranchNameResponse
|
18
|
+
rpc :FindAllBranchNames, ::Gitaly::FindAllBranchNamesRequest, stream(::Gitaly::FindAllBranchNamesResponse)
|
19
|
+
rpc :FindAllTagNames, ::Gitaly::FindAllTagNamesRequest, stream(::Gitaly::FindAllTagNamesResponse)
|
20
20
|
# Find a Ref matching the given constraints. Response may be empty.
|
21
|
-
rpc :FindRefName, Gitaly::FindRefNameRequest, Gitaly::FindRefNameResponse
|
21
|
+
rpc :FindRefName, ::Gitaly::FindRefNameRequest, ::Gitaly::FindRefNameResponse
|
22
22
|
# Return a stream so we can divide the response in chunks of branches
|
23
|
-
rpc :FindLocalBranches, Gitaly::FindLocalBranchesRequest, stream(Gitaly::FindLocalBranchesResponse)
|
24
|
-
rpc :FindAllBranches, Gitaly::FindAllBranchesRequest, stream(Gitaly::FindAllBranchesResponse)
|
25
|
-
rpc :FindAllTags, Gitaly::FindAllTagsRequest, stream(Gitaly::FindAllTagsResponse)
|
26
|
-
rpc :FindTag, Gitaly::FindTagRequest, Gitaly::FindTagResponse
|
27
|
-
rpc :FindAllRemoteBranches, Gitaly::FindAllRemoteBranchesRequest, stream(Gitaly::FindAllRemoteBranchesResponse)
|
28
|
-
rpc :RefExists, Gitaly::RefExistsRequest, Gitaly::RefExistsResponse
|
23
|
+
rpc :FindLocalBranches, ::Gitaly::FindLocalBranchesRequest, stream(::Gitaly::FindLocalBranchesResponse)
|
24
|
+
rpc :FindAllBranches, ::Gitaly::FindAllBranchesRequest, stream(::Gitaly::FindAllBranchesResponse)
|
25
|
+
rpc :FindAllTags, ::Gitaly::FindAllTagsRequest, stream(::Gitaly::FindAllTagsResponse)
|
26
|
+
rpc :FindTag, ::Gitaly::FindTagRequest, ::Gitaly::FindTagResponse
|
27
|
+
rpc :FindAllRemoteBranches, ::Gitaly::FindAllRemoteBranchesRequest, stream(::Gitaly::FindAllRemoteBranchesResponse)
|
28
|
+
rpc :RefExists, ::Gitaly::RefExistsRequest, ::Gitaly::RefExistsResponse
|
29
29
|
# FindBranch finds a branch by its unqualified name (like "master") and
|
30
30
|
# returns the commit it currently points to.
|
31
|
-
rpc :FindBranch, Gitaly::FindBranchRequest, Gitaly::FindBranchResponse
|
32
|
-
rpc :DeleteRefs, Gitaly::DeleteRefsRequest, Gitaly::DeleteRefsResponse
|
33
|
-
rpc :ListBranchNamesContainingCommit, Gitaly::ListBranchNamesContainingCommitRequest, stream(Gitaly::ListBranchNamesContainingCommitResponse)
|
34
|
-
rpc :ListTagNamesContainingCommit, Gitaly::ListTagNamesContainingCommitRequest, stream(Gitaly::ListTagNamesContainingCommitResponse)
|
35
|
-
|
31
|
+
rpc :FindBranch, ::Gitaly::FindBranchRequest, ::Gitaly::FindBranchResponse
|
32
|
+
rpc :DeleteRefs, ::Gitaly::DeleteRefsRequest, ::Gitaly::DeleteRefsResponse
|
33
|
+
rpc :ListBranchNamesContainingCommit, ::Gitaly::ListBranchNamesContainingCommitRequest, stream(::Gitaly::ListBranchNamesContainingCommitResponse)
|
34
|
+
rpc :ListTagNamesContainingCommit, ::Gitaly::ListTagNamesContainingCommitRequest, stream(::Gitaly::ListTagNamesContainingCommitResponse)
|
35
|
+
# GetTagSignatures returns signatures for annotated tags resolved from a set of revisions. Revisions
|
36
|
+
# which don't resolve to an annotated tag are silently discarded. Revisions which cannot be resolved
|
37
|
+
# result in an error. Tags which are annotated but not signed will return a TagSignature response
|
38
|
+
# which has no signature, but its unsigned contents will still be returned.
|
39
|
+
rpc :GetTagSignatures, ::Gitaly::GetTagSignaturesRequest, stream(::Gitaly::GetTagSignaturesResponse)
|
40
|
+
rpc :GetTagMessages, ::Gitaly::GetTagMessagesRequest, stream(::Gitaly::GetTagMessagesResponse)
|
36
41
|
# Returns commits that are only reachable from the ref passed
|
37
|
-
rpc :ListNewCommits, Gitaly::ListNewCommitsRequest, stream(Gitaly::ListNewCommitsResponse)
|
38
|
-
rpc :ListNewBlobs, Gitaly::ListNewBlobsRequest, stream(Gitaly::ListNewBlobsResponse)
|
39
|
-
rpc :PackRefs, Gitaly::PackRefsRequest, Gitaly::PackRefsResponse
|
42
|
+
rpc :ListNewCommits, ::Gitaly::ListNewCommitsRequest, stream(::Gitaly::ListNewCommitsResponse)
|
43
|
+
rpc :ListNewBlobs, ::Gitaly::ListNewBlobsRequest, stream(::Gitaly::ListNewBlobsResponse)
|
44
|
+
rpc :PackRefs, ::Gitaly::PackRefsRequest, ::Gitaly::PackRefsResponse
|
40
45
|
end
|
41
46
|
|
42
47
|
Stub = Service.rpc_stub_class
|
@@ -8,28 +8,28 @@ module Gitaly
|
|
8
8
|
module RemoteService
|
9
9
|
class Service
|
10
10
|
|
11
|
-
include GRPC::GenericService
|
11
|
+
include ::GRPC::GenericService
|
12
12
|
|
13
13
|
self.marshal_class_method = :encode
|
14
14
|
self.unmarshal_class_method = :decode
|
15
15
|
self.service_name = 'gitaly.RemoteService'
|
16
16
|
|
17
|
-
rpc :AddRemote, Gitaly::AddRemoteRequest, Gitaly::AddRemoteResponse
|
18
|
-
rpc :FetchInternalRemote, Gitaly::FetchInternalRemoteRequest, Gitaly::FetchInternalRemoteResponse
|
19
|
-
rpc :RemoveRemote, Gitaly::RemoveRemoteRequest, Gitaly::RemoveRemoteResponse
|
17
|
+
rpc :AddRemote, ::Gitaly::AddRemoteRequest, ::Gitaly::AddRemoteResponse
|
18
|
+
rpc :FetchInternalRemote, ::Gitaly::FetchInternalRemoteRequest, ::Gitaly::FetchInternalRemoteResponse
|
19
|
+
rpc :RemoveRemote, ::Gitaly::RemoveRemoteRequest, ::Gitaly::RemoveRemoteResponse
|
20
20
|
# UpdateRemoteMirror compares the references in the target repository and its remote mirror
|
21
21
|
# repository. Any differences in the references are then addressed by pushing the differing
|
22
22
|
# references to the mirror. Created and modified references are updated, removed references are
|
23
23
|
# deleted from the mirror. UpdateRemoteMirror updates all tags. Branches are updated if they match
|
24
24
|
# the patterns specified in the requests.
|
25
|
-
rpc :UpdateRemoteMirror, stream(Gitaly::UpdateRemoteMirrorRequest), Gitaly::UpdateRemoteMirrorResponse
|
26
|
-
rpc :FindRemoteRepository, Gitaly::FindRemoteRepositoryRequest, Gitaly::FindRemoteRepositoryResponse
|
25
|
+
rpc :UpdateRemoteMirror, stream(::Gitaly::UpdateRemoteMirrorRequest), ::Gitaly::UpdateRemoteMirrorResponse
|
26
|
+
rpc :FindRemoteRepository, ::Gitaly::FindRemoteRepositoryRequest, ::Gitaly::FindRemoteRepositoryResponse
|
27
27
|
# FindRemoteRootRef tries to find the root reference of a remote
|
28
28
|
# repository. The root reference is the default branch as pointed to by
|
29
29
|
# the remotes HEAD reference. Returns an InvalidArgument error if the
|
30
30
|
# specified remote does not exist and a NotFound error in case no HEAD
|
31
31
|
# branch was found.
|
32
|
-
rpc :FindRemoteRootRef, Gitaly::FindRemoteRootRefRequest, Gitaly::FindRemoteRootRefResponse
|
32
|
+
rpc :FindRemoteRootRef, ::Gitaly::FindRemoteRootRefRequest, ::Gitaly::FindRemoteRootRefResponse
|
33
33
|
end
|
34
34
|
|
35
35
|
Stub = Service.rpc_stub_class
|
@@ -8,64 +8,64 @@ module Gitaly
|
|
8
8
|
module RepositoryService
|
9
9
|
class Service
|
10
10
|
|
11
|
-
include GRPC::GenericService
|
11
|
+
include ::GRPC::GenericService
|
12
12
|
|
13
13
|
self.marshal_class_method = :encode
|
14
14
|
self.unmarshal_class_method = :decode
|
15
15
|
self.service_name = 'gitaly.RepositoryService'
|
16
16
|
|
17
|
-
rpc :RepositoryExists, Gitaly::RepositoryExistsRequest, Gitaly::RepositoryExistsResponse
|
18
|
-
rpc :RepackIncremental, Gitaly::RepackIncrementalRequest, Gitaly::RepackIncrementalResponse
|
19
|
-
rpc :RepackFull, Gitaly::RepackFullRequest, Gitaly::RepackFullResponse
|
20
|
-
rpc :MidxRepack, Gitaly::MidxRepackRequest, Gitaly::MidxRepackResponse
|
21
|
-
rpc :GarbageCollect, Gitaly::GarbageCollectRequest, Gitaly::GarbageCollectResponse
|
22
|
-
rpc :WriteCommitGraph, Gitaly::WriteCommitGraphRequest, Gitaly::WriteCommitGraphResponse
|
23
|
-
rpc :RepositorySize, Gitaly::RepositorySizeRequest, Gitaly::RepositorySizeResponse
|
24
|
-
rpc :ApplyGitattributes, Gitaly::ApplyGitattributesRequest, Gitaly::ApplyGitattributesResponse
|
17
|
+
rpc :RepositoryExists, ::Gitaly::RepositoryExistsRequest, ::Gitaly::RepositoryExistsResponse
|
18
|
+
rpc :RepackIncremental, ::Gitaly::RepackIncrementalRequest, ::Gitaly::RepackIncrementalResponse
|
19
|
+
rpc :RepackFull, ::Gitaly::RepackFullRequest, ::Gitaly::RepackFullResponse
|
20
|
+
rpc :MidxRepack, ::Gitaly::MidxRepackRequest, ::Gitaly::MidxRepackResponse
|
21
|
+
rpc :GarbageCollect, ::Gitaly::GarbageCollectRequest, ::Gitaly::GarbageCollectResponse
|
22
|
+
rpc :WriteCommitGraph, ::Gitaly::WriteCommitGraphRequest, ::Gitaly::WriteCommitGraphResponse
|
23
|
+
rpc :RepositorySize, ::Gitaly::RepositorySizeRequest, ::Gitaly::RepositorySizeResponse
|
24
|
+
rpc :ApplyGitattributes, ::Gitaly::ApplyGitattributesRequest, ::Gitaly::ApplyGitattributesResponse
|
25
25
|
# FetchRemote fetches references from a remote repository into the local
|
26
26
|
# repository.
|
27
|
-
rpc :FetchRemote, Gitaly::FetchRemoteRequest, Gitaly::FetchRemoteResponse
|
28
|
-
rpc :CreateRepository, Gitaly::CreateRepositoryRequest, Gitaly::CreateRepositoryResponse
|
29
|
-
rpc :GetArchive, Gitaly::GetArchiveRequest, stream(Gitaly::GetArchiveResponse)
|
30
|
-
rpc :HasLocalBranches, Gitaly::HasLocalBranchesRequest, Gitaly::HasLocalBranchesResponse
|
27
|
+
rpc :FetchRemote, ::Gitaly::FetchRemoteRequest, ::Gitaly::FetchRemoteResponse
|
28
|
+
rpc :CreateRepository, ::Gitaly::CreateRepositoryRequest, ::Gitaly::CreateRepositoryResponse
|
29
|
+
rpc :GetArchive, ::Gitaly::GetArchiveRequest, stream(::Gitaly::GetArchiveResponse)
|
30
|
+
rpc :HasLocalBranches, ::Gitaly::HasLocalBranchesRequest, ::Gitaly::HasLocalBranchesResponse
|
31
31
|
# FetchSourceBranch fetches a branch from a second (potentially remote)
|
32
32
|
# repository into the given repository.
|
33
|
-
rpc :FetchSourceBranch, Gitaly::FetchSourceBranchRequest, Gitaly::FetchSourceBranchResponse
|
34
|
-
rpc :Fsck, Gitaly::FsckRequest, Gitaly::FsckResponse
|
35
|
-
rpc :WriteRef, Gitaly::WriteRefRequest, Gitaly::WriteRefResponse
|
36
|
-
rpc :FindMergeBase, Gitaly::FindMergeBaseRequest, Gitaly::FindMergeBaseResponse
|
37
|
-
rpc :CreateFork, Gitaly::CreateForkRequest, Gitaly::CreateForkResponse
|
38
|
-
rpc :IsRebaseInProgress, Gitaly::IsRebaseInProgressRequest, Gitaly::IsRebaseInProgressResponse
|
39
|
-
rpc :IsSquashInProgress, Gitaly::IsSquashInProgressRequest, Gitaly::IsSquashInProgressResponse
|
40
|
-
rpc :CreateRepositoryFromURL, Gitaly::CreateRepositoryFromURLRequest, Gitaly::CreateRepositoryFromURLResponse
|
41
|
-
rpc :CreateBundle, Gitaly::CreateBundleRequest, stream(Gitaly::CreateBundleResponse)
|
42
|
-
rpc :CreateRepositoryFromBundle, stream(Gitaly::CreateRepositoryFromBundleRequest), Gitaly::CreateRepositoryFromBundleResponse
|
33
|
+
rpc :FetchSourceBranch, ::Gitaly::FetchSourceBranchRequest, ::Gitaly::FetchSourceBranchResponse
|
34
|
+
rpc :Fsck, ::Gitaly::FsckRequest, ::Gitaly::FsckResponse
|
35
|
+
rpc :WriteRef, ::Gitaly::WriteRefRequest, ::Gitaly::WriteRefResponse
|
36
|
+
rpc :FindMergeBase, ::Gitaly::FindMergeBaseRequest, ::Gitaly::FindMergeBaseResponse
|
37
|
+
rpc :CreateFork, ::Gitaly::CreateForkRequest, ::Gitaly::CreateForkResponse
|
38
|
+
rpc :IsRebaseInProgress, ::Gitaly::IsRebaseInProgressRequest, ::Gitaly::IsRebaseInProgressResponse
|
39
|
+
rpc :IsSquashInProgress, ::Gitaly::IsSquashInProgressRequest, ::Gitaly::IsSquashInProgressResponse
|
40
|
+
rpc :CreateRepositoryFromURL, ::Gitaly::CreateRepositoryFromURLRequest, ::Gitaly::CreateRepositoryFromURLResponse
|
41
|
+
rpc :CreateBundle, ::Gitaly::CreateBundleRequest, stream(::Gitaly::CreateBundleResponse)
|
42
|
+
rpc :CreateRepositoryFromBundle, stream(::Gitaly::CreateRepositoryFromBundleRequest), ::Gitaly::CreateRepositoryFromBundleResponse
|
43
43
|
# GetConfig reads the target repository's gitconfig and streams its contents
|
44
44
|
# back. Returns a NotFound error in case no gitconfig was found.
|
45
|
-
rpc :GetConfig, Gitaly::GetConfigRequest, stream(Gitaly::GetConfigResponse)
|
46
|
-
rpc :SetConfig, Gitaly::SetConfigRequest, Gitaly::SetConfigResponse
|
47
|
-
rpc :DeleteConfig, Gitaly::DeleteConfigRequest, Gitaly::DeleteConfigResponse
|
48
|
-
rpc :FindLicense, Gitaly::FindLicenseRequest, Gitaly::FindLicenseResponse
|
49
|
-
rpc :GetInfoAttributes, Gitaly::GetInfoAttributesRequest, stream(Gitaly::GetInfoAttributesResponse)
|
50
|
-
rpc :CalculateChecksum, Gitaly::CalculateChecksumRequest, Gitaly::CalculateChecksumResponse
|
51
|
-
rpc :Cleanup, Gitaly::CleanupRequest, Gitaly::CleanupResponse
|
52
|
-
rpc :GetSnapshot, Gitaly::GetSnapshotRequest, stream(Gitaly::GetSnapshotResponse)
|
53
|
-
rpc :CreateRepositoryFromSnapshot, Gitaly::CreateRepositoryFromSnapshotRequest, Gitaly::CreateRepositoryFromSnapshotResponse
|
54
|
-
rpc :GetRawChanges, Gitaly::GetRawChangesRequest, stream(Gitaly::GetRawChangesResponse)
|
55
|
-
rpc :SearchFilesByContent, Gitaly::SearchFilesByContentRequest, stream(Gitaly::SearchFilesByContentResponse)
|
56
|
-
rpc :SearchFilesByName, Gitaly::SearchFilesByNameRequest, stream(Gitaly::SearchFilesByNameResponse)
|
57
|
-
rpc :RestoreCustomHooks, stream(Gitaly::RestoreCustomHooksRequest), Gitaly::RestoreCustomHooksResponse
|
58
|
-
rpc :BackupCustomHooks, Gitaly::BackupCustomHooksRequest, stream(Gitaly::BackupCustomHooksResponse)
|
59
|
-
rpc :GetObjectDirectorySize, Gitaly::GetObjectDirectorySizeRequest, Gitaly::GetObjectDirectorySizeResponse
|
60
|
-
rpc :CloneFromPool, Gitaly::CloneFromPoolRequest, Gitaly::CloneFromPoolResponse
|
61
|
-
rpc :CloneFromPoolInternal, Gitaly::CloneFromPoolInternalRequest, Gitaly::CloneFromPoolInternalResponse
|
45
|
+
rpc :GetConfig, ::Gitaly::GetConfigRequest, stream(::Gitaly::GetConfigResponse)
|
46
|
+
rpc :SetConfig, ::Gitaly::SetConfigRequest, ::Gitaly::SetConfigResponse
|
47
|
+
rpc :DeleteConfig, ::Gitaly::DeleteConfigRequest, ::Gitaly::DeleteConfigResponse
|
48
|
+
rpc :FindLicense, ::Gitaly::FindLicenseRequest, ::Gitaly::FindLicenseResponse
|
49
|
+
rpc :GetInfoAttributes, ::Gitaly::GetInfoAttributesRequest, stream(::Gitaly::GetInfoAttributesResponse)
|
50
|
+
rpc :CalculateChecksum, ::Gitaly::CalculateChecksumRequest, ::Gitaly::CalculateChecksumResponse
|
51
|
+
rpc :Cleanup, ::Gitaly::CleanupRequest, ::Gitaly::CleanupResponse
|
52
|
+
rpc :GetSnapshot, ::Gitaly::GetSnapshotRequest, stream(::Gitaly::GetSnapshotResponse)
|
53
|
+
rpc :CreateRepositoryFromSnapshot, ::Gitaly::CreateRepositoryFromSnapshotRequest, ::Gitaly::CreateRepositoryFromSnapshotResponse
|
54
|
+
rpc :GetRawChanges, ::Gitaly::GetRawChangesRequest, stream(::Gitaly::GetRawChangesResponse)
|
55
|
+
rpc :SearchFilesByContent, ::Gitaly::SearchFilesByContentRequest, stream(::Gitaly::SearchFilesByContentResponse)
|
56
|
+
rpc :SearchFilesByName, ::Gitaly::SearchFilesByNameRequest, stream(::Gitaly::SearchFilesByNameResponse)
|
57
|
+
rpc :RestoreCustomHooks, stream(::Gitaly::RestoreCustomHooksRequest), ::Gitaly::RestoreCustomHooksResponse
|
58
|
+
rpc :BackupCustomHooks, ::Gitaly::BackupCustomHooksRequest, stream(::Gitaly::BackupCustomHooksResponse)
|
59
|
+
rpc :GetObjectDirectorySize, ::Gitaly::GetObjectDirectorySizeRequest, ::Gitaly::GetObjectDirectorySizeResponse
|
60
|
+
rpc :CloneFromPool, ::Gitaly::CloneFromPoolRequest, ::Gitaly::CloneFromPoolResponse
|
61
|
+
rpc :CloneFromPoolInternal, ::Gitaly::CloneFromPoolInternalRequest, ::Gitaly::CloneFromPoolInternalResponse
|
62
62
|
# RemoveRepository will move the repository to `+gitaly/tmp/<relative_path>_removed` and
|
63
63
|
# eventually remove it. This ensures that even on networked filesystems the
|
64
64
|
# data is actually removed even if there's someone still handling the data.
|
65
|
-
rpc :RemoveRepository, Gitaly::RemoveRepositoryRequest, Gitaly::RemoveRepositoryResponse
|
66
|
-
rpc :RenameRepository, Gitaly::RenameRepositoryRequest, Gitaly::RenameRepositoryResponse
|
67
|
-
rpc :ReplicateRepository, Gitaly::ReplicateRepositoryRequest, Gitaly::ReplicateRepositoryResponse
|
68
|
-
rpc :OptimizeRepository, Gitaly::OptimizeRepositoryRequest, Gitaly::OptimizeRepositoryResponse
|
65
|
+
rpc :RemoveRepository, ::Gitaly::RemoveRepositoryRequest, ::Gitaly::RemoveRepositoryResponse
|
66
|
+
rpc :RenameRepository, ::Gitaly::RenameRepositoryRequest, ::Gitaly::RenameRepositoryResponse
|
67
|
+
rpc :ReplicateRepository, ::Gitaly::ReplicateRepositoryRequest, ::Gitaly::ReplicateRepositoryResponse
|
68
|
+
rpc :OptimizeRepository, ::Gitaly::OptimizeRepositoryRequest, ::Gitaly::OptimizeRepositoryResponse
|
69
69
|
end
|
70
70
|
|
71
71
|
Stub = Service.rpc_stub_class
|
@@ -8,14 +8,14 @@ module Gitaly
|
|
8
8
|
module ServerService
|
9
9
|
class Service
|
10
10
|
|
11
|
-
include GRPC::GenericService
|
11
|
+
include ::GRPC::GenericService
|
12
12
|
|
13
13
|
self.marshal_class_method = :encode
|
14
14
|
self.unmarshal_class_method = :decode
|
15
15
|
self.service_name = 'gitaly.ServerService'
|
16
16
|
|
17
|
-
rpc :ServerInfo, Gitaly::ServerInfoRequest, Gitaly::ServerInfoResponse
|
18
|
-
rpc :DiskStatistics, Gitaly::DiskStatisticsRequest, Gitaly::DiskStatisticsResponse
|
17
|
+
rpc :ServerInfo, ::Gitaly::ServerInfoRequest, ::Gitaly::ServerInfoResponse
|
18
|
+
rpc :DiskStatistics, ::Gitaly::DiskStatisticsRequest, ::Gitaly::DiskStatisticsResponse
|
19
19
|
end
|
20
20
|
|
21
21
|
Stub = Service.rpc_stub_class
|
@@ -67,6 +67,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
67
67
|
optional :page_token, :string, 1
|
68
68
|
optional :limit, :int32, 2
|
69
69
|
end
|
70
|
+
add_message "gitaly.PaginationCursor" do
|
71
|
+
optional :next_cursor, :string, 1
|
72
|
+
end
|
70
73
|
add_message "gitaly.GlobalOptions" do
|
71
74
|
optional :literal_pathspecs, :bool, 1
|
72
75
|
end
|
@@ -96,6 +99,7 @@ module Gitaly
|
|
96
99
|
User = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.User").msgclass
|
97
100
|
ObjectPool = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ObjectPool").msgclass
|
98
101
|
PaginationParameter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PaginationParameter").msgclass
|
102
|
+
PaginationCursor = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PaginationCursor").msgclass
|
99
103
|
GlobalOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GlobalOptions").msgclass
|
100
104
|
ObjectType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ObjectType").enummodule
|
101
105
|
SignatureType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SignatureType").enummodule
|
@@ -8,7 +8,7 @@ module Gitaly
|
|
8
8
|
module SmartHTTPService
|
9
9
|
class Service
|
10
10
|
|
11
|
-
include GRPC::GenericService
|
11
|
+
include ::GRPC::GenericService
|
12
12
|
|
13
13
|
self.marshal_class_method = :encode
|
14
14
|
self.unmarshal_class_method = :decode
|
@@ -17,15 +17,15 @@ module Gitaly
|
|
17
17
|
# The response body for GET /info/refs?service=git-upload-pack
|
18
18
|
# Will be invoked when the user executes a `git fetch`, meaning the server
|
19
19
|
# will upload the packs to that user. The user doesn't upload new objects.
|
20
|
-
rpc :InfoRefsUploadPack, Gitaly::InfoRefsRequest, stream(Gitaly::InfoRefsResponse)
|
20
|
+
rpc :InfoRefsUploadPack, ::Gitaly::InfoRefsRequest, stream(::Gitaly::InfoRefsResponse)
|
21
21
|
# The response body for GET /info/refs?service=git-receive-pack
|
22
22
|
# Will be invoked when the user executes a `git push`, but only advertises
|
23
23
|
# references to the user.
|
24
|
-
rpc :InfoRefsReceivePack, Gitaly::InfoRefsRequest, stream(Gitaly::InfoRefsResponse)
|
24
|
+
rpc :InfoRefsReceivePack, ::Gitaly::InfoRefsRequest, stream(::Gitaly::InfoRefsResponse)
|
25
25
|
# Request and response body for POST /upload-pack
|
26
|
-
rpc :PostUploadPack, stream(Gitaly::PostUploadPackRequest), stream(Gitaly::PostUploadPackResponse)
|
26
|
+
rpc :PostUploadPack, stream(::Gitaly::PostUploadPackRequest), stream(::Gitaly::PostUploadPackResponse)
|
27
27
|
# Request and response body for POST /receive-pack
|
28
|
-
rpc :PostReceivePack, stream(Gitaly::PostReceivePackRequest), stream(Gitaly::PostReceivePackResponse)
|
28
|
+
rpc :PostReceivePack, stream(::Gitaly::PostReceivePackRequest), stream(::Gitaly::PostReceivePackResponse)
|
29
29
|
end
|
30
30
|
|
31
31
|
Stub = Service.rpc_stub_class
|
@@ -8,18 +8,18 @@ module Gitaly
|
|
8
8
|
module SSHService
|
9
9
|
class Service
|
10
10
|
|
11
|
-
include GRPC::GenericService
|
11
|
+
include ::GRPC::GenericService
|
12
12
|
|
13
13
|
self.marshal_class_method = :encode
|
14
14
|
self.unmarshal_class_method = :decode
|
15
15
|
self.service_name = 'gitaly.SSHService'
|
16
16
|
|
17
17
|
# To forward 'git upload-pack' to Gitaly for SSH sessions
|
18
|
-
rpc :SSHUploadPack, stream(Gitaly::SSHUploadPackRequest), stream(Gitaly::SSHUploadPackResponse)
|
18
|
+
rpc :SSHUploadPack, stream(::Gitaly::SSHUploadPackRequest), stream(::Gitaly::SSHUploadPackResponse)
|
19
19
|
# To forward 'git receive-pack' to Gitaly for SSH sessions
|
20
|
-
rpc :SSHReceivePack, stream(Gitaly::SSHReceivePackRequest), stream(Gitaly::SSHReceivePackResponse)
|
20
|
+
rpc :SSHReceivePack, stream(::Gitaly::SSHReceivePackRequest), stream(::Gitaly::SSHReceivePackResponse)
|
21
21
|
# To forward 'git upload-archive' to Gitaly for SSH sessions
|
22
|
-
rpc :SSHUploadArchive, stream(Gitaly::SSHUploadArchiveRequest), stream(Gitaly::SSHUploadArchiveResponse)
|
22
|
+
rpc :SSHUploadArchive, stream(::Gitaly::SSHUploadArchiveRequest), stream(::Gitaly::SSHUploadArchiveResponse)
|
23
23
|
end
|
24
24
|
|
25
25
|
Stub = Service.rpc_stub_class
|
@@ -8,14 +8,14 @@ module Gitaly
|
|
8
8
|
module RefTransaction
|
9
9
|
class Service
|
10
10
|
|
11
|
-
include GRPC::GenericService
|
11
|
+
include ::GRPC::GenericService
|
12
12
|
|
13
13
|
self.marshal_class_method = :encode
|
14
14
|
self.unmarshal_class_method = :decode
|
15
15
|
self.service_name = 'gitaly.RefTransaction'
|
16
16
|
|
17
|
-
rpc :VoteTransaction, Gitaly::VoteTransactionRequest, Gitaly::VoteTransactionResponse
|
18
|
-
rpc :StopTransaction, Gitaly::StopTransactionRequest, Gitaly::StopTransactionResponse
|
17
|
+
rpc :VoteTransaction, ::Gitaly::VoteTransactionRequest, ::Gitaly::VoteTransactionResponse
|
18
|
+
rpc :StopTransaction, ::Gitaly::StopTransactionRequest, ::Gitaly::StopTransactionResponse
|
19
19
|
end
|
20
20
|
|
21
21
|
Stub = Service.rpc_stub_class
|
@@ -8,18 +8,18 @@ module Gitaly
|
|
8
8
|
module WikiService
|
9
9
|
class Service
|
10
10
|
|
11
|
-
include GRPC::GenericService
|
11
|
+
include ::GRPC::GenericService
|
12
12
|
|
13
13
|
self.marshal_class_method = :encode
|
14
14
|
self.unmarshal_class_method = :decode
|
15
15
|
self.service_name = 'gitaly.WikiService'
|
16
16
|
|
17
|
-
rpc :WikiWritePage, stream(Gitaly::WikiWritePageRequest), Gitaly::WikiWritePageResponse
|
18
|
-
rpc :WikiUpdatePage, stream(Gitaly::WikiUpdatePageRequest), Gitaly::WikiUpdatePageResponse
|
17
|
+
rpc :WikiWritePage, stream(::Gitaly::WikiWritePageRequest), ::Gitaly::WikiWritePageResponse
|
18
|
+
rpc :WikiUpdatePage, stream(::Gitaly::WikiUpdatePageRequest), ::Gitaly::WikiUpdatePageResponse
|
19
19
|
# WikiFindPage returns a stream because the page's raw_data field may be arbitrarily large.
|
20
|
-
rpc :WikiFindPage, Gitaly::WikiFindPageRequest, stream(Gitaly::WikiFindPageResponse)
|
21
|
-
rpc :WikiGetAllPages, Gitaly::WikiGetAllPagesRequest, stream(Gitaly::WikiGetAllPagesResponse)
|
22
|
-
rpc :WikiListPages, Gitaly::WikiListPagesRequest, stream(Gitaly::WikiListPagesResponse)
|
20
|
+
rpc :WikiFindPage, ::Gitaly::WikiFindPageRequest, stream(::Gitaly::WikiFindPageResponse)
|
21
|
+
rpc :WikiGetAllPages, ::Gitaly::WikiGetAllPagesRequest, stream(::Gitaly::WikiGetAllPagesResponse)
|
22
|
+
rpc :WikiListPages, ::Gitaly::WikiListPagesRequest, stream(::Gitaly::WikiListPagesResponse)
|
23
23
|
end
|
24
24
|
|
25
25
|
Stub = Service.rpc_stub_class
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gitaly
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 14.
|
4
|
+
version: 14.2.0.pre.rc1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jacob Vosmaer
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-07-
|
11
|
+
date: 2021-07-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: grpc
|
@@ -78,7 +78,7 @@ homepage: https://gitlab.com/gitlab-org/gitaly
|
|
78
78
|
licenses:
|
79
79
|
- MIT
|
80
80
|
metadata: {}
|
81
|
-
post_install_message:
|
81
|
+
post_install_message:
|
82
82
|
rdoc_options: []
|
83
83
|
require_paths:
|
84
84
|
- ruby/proto
|
@@ -93,8 +93,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
93
93
|
- !ruby/object:Gem::Version
|
94
94
|
version: 1.3.1
|
95
95
|
requirements: []
|
96
|
-
rubygems_version: 3.
|
97
|
-
signing_key:
|
96
|
+
rubygems_version: 3.1.4
|
97
|
+
signing_key:
|
98
98
|
specification_version: 4
|
99
99
|
summary: Auto-generated gRPC client for gitaly
|
100
100
|
test_files: []
|