gitaly 14.4.0.pre.rc43 → 14.6.0.pre.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. data/ruby/proto/gitaly/blob_pb.rb +2 -2
  3. data/ruby/proto/gitaly/blob_services_pb.rb +8 -8
  4. data/ruby/proto/gitaly/cleanup_pb.rb +2 -2
  5. data/ruby/proto/gitaly/cleanup_services_pb.rb +2 -2
  6. data/ruby/proto/gitaly/commit_pb.rb +2 -2
  7. data/ruby/proto/gitaly/commit_services_pb.rb +27 -27
  8. data/ruby/proto/gitaly/conflicts_pb.rb +2 -2
  9. data/ruby/proto/gitaly/conflicts_services_pb.rb +3 -3
  10. data/ruby/proto/gitaly/diff_pb.rb +2 -2
  11. data/ruby/proto/gitaly/diff_services_pb.rb +7 -7
  12. data/ruby/proto/gitaly/hook_pb.rb +2 -2
  13. data/ruby/proto/gitaly/hook_services_pb.rb +8 -10
  14. data/ruby/proto/gitaly/internal_pb.rb +1 -1
  15. data/ruby/proto/gitaly/internal_services_pb.rb +2 -2
  16. data/ruby/proto/gitaly/lint_pb.rb +1 -0
  17. data/ruby/proto/gitaly/namespace_pb.rb +1 -1
  18. data/ruby/proto/gitaly/namespace_services_pb.rb +5 -5
  19. data/ruby/proto/gitaly/objectpool_pb.rb +2 -10
  20. data/ruby/proto/gitaly/objectpool_services_pb.rb +8 -19
  21. data/ruby/proto/gitaly/operations_pb.rb +2 -2
  22. data/ruby/proto/gitaly/operations_services_pb.rb +16 -16
  23. data/ruby/proto/gitaly/praefect_pb.rb +32 -2
  24. data/ruby/proto/gitaly/praefect_services_pb.rb +7 -5
  25. data/ruby/proto/gitaly/ref_pb.rb +2 -12
  26. data/ruby/proto/gitaly/ref_services_pb.rb +19 -21
  27. data/ruby/proto/gitaly/remote_pb.rb +2 -2
  28. data/ruby/proto/gitaly/remote_services_pb.rb +4 -4
  29. data/ruby/proto/gitaly/repository-service_pb.rb +3 -20
  30. data/ruby/proto/gitaly/repository-service_services_pb.rb +41 -43
  31. data/ruby/proto/gitaly/server_pb.rb +1 -1
  32. data/ruby/proto/gitaly/server_services_pb.rb +3 -3
  33. data/ruby/proto/gitaly/shared_pb.rb +2 -2
  34. data/ruby/proto/gitaly/smarthttp_pb.rb +2 -2
  35. data/ruby/proto/gitaly/smarthttp_services_pb.rb +6 -6
  36. data/ruby/proto/gitaly/ssh_pb.rb +2 -2
  37. data/ruby/proto/gitaly/ssh_services_pb.rb +4 -4
  38. data/ruby/proto/gitaly/transaction_pb.rb +2 -2
  39. data/ruby/proto/gitaly/transaction_services_pb.rb +3 -3
  40. data/ruby/proto/gitaly/version.rb +1 -1
  41. data/ruby/proto/gitaly/wiki_pb.rb +2 -2
  42. data/ruby/proto/gitaly/wiki_services_pb.rb +6 -6
  43. metadata +6 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 86cd7cffc8d2d7ddb92df9c1358c96668bab98f186173413f7b8978e6b42ef32
4
- data.tar.gz: a1121d049ae738779f1b5a84e4fd6e2c9ac32a9c229b1851a1c899d5d5107690
3
+ metadata.gz: 5b201f1fddfda7672b5f7f11e28fabf4097806abc2e22586a7dbf3598cdafbb5
4
+ data.tar.gz: 39ebe5ad0fe81e22f44f4fd79eb6e955404444a196cee37e62002594bf78db36
5
5
  SHA512:
6
- metadata.gz: '092558c8b29bb832bd26ffb6dc95a1724be8cc1d3ebae679163fc0f460e0855cdda29e6c7df2f471f8a3b51c08297e662f8d266853df3a43c8674f5e02429024'
7
- data.tar.gz: 1c16e54ceffc250bde7716dadb33c15388efdada93e1611896793bcf437057202d0ee035e156c18b9a377690ae40444eac3b63a74a094282dd95e95ec40be6a7
6
+ metadata.gz: 5072b5ef0e6223e4cb46ea1a672026d256b41ee76969a6b03e8ae828baebcfdb8615806675f4f8a4da8d8c2318f2acff2431bd7bb57120d8155f82215334a205
7
+ data.tar.gz: 05462deaf89ecc1d54ca4c583456554be7381d45435ab71610d66c7c58912908acbfeb5cd9d7e8944b2d6b982dfdbb06735a9cb11d0b5865284ecb42c72f66df
@@ -1,10 +1,10 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: blob.proto
3
3
 
4
- require 'google/protobuf'
5
-
6
4
  require 'lint_pb'
7
5
  require 'shared_pb'
6
+ require 'google/protobuf'
7
+
8
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
9
  add_file("blob.proto", :syntax => :proto3) do
10
10
  add_message "gitaly.GetBlobRequest" do
@@ -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,29 +17,29 @@ 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
  # ListAllBlobs retrieves all blobs pointers in the repository, including
27
27
  # those not reachable by any reference.
28
- rpc :ListAllBlobs, Gitaly::ListAllBlobsRequest, stream(Gitaly::ListAllBlobsResponse)
28
+ rpc :ListAllBlobs, ::Gitaly::ListAllBlobsRequest, stream(::Gitaly::ListAllBlobsResponse)
29
29
  # GetLFSPointers retrieves LFS pointers from a given set of object IDs.
30
30
  # This RPC filters all requested objects and only returns those which refer
31
31
  # to a valid LFS pointer.
32
- rpc :GetLFSPointers, Gitaly::GetLFSPointersRequest, stream(Gitaly::GetLFSPointersResponse)
32
+ rpc :GetLFSPointers, ::Gitaly::GetLFSPointersRequest, stream(::Gitaly::GetLFSPointersResponse)
33
33
  # ListLFSPointers retrieves LFS pointers reachable from a given set of
34
34
  # revisions by doing a graph walk. This includes both normal revisions like
35
35
  # an object ID or branch, but also the pseudo-revisions "--all" and "--not"
36
36
  # as documented in git-rev-parse(1). Revisions which don't directly or
37
37
  # transitively reference any LFS pointers are ignored. It is not valid to
38
38
  # pass revisions which do not resolve to an existing object.
39
- rpc :ListLFSPointers, Gitaly::ListLFSPointersRequest, stream(Gitaly::ListLFSPointersResponse)
39
+ rpc :ListLFSPointers, ::Gitaly::ListLFSPointersRequest, stream(::Gitaly::ListLFSPointersResponse)
40
40
  # ListAllLFSPointers retrieves all LFS pointers in the repository, including
41
41
  # those not reachable by any reference.
42
- rpc :ListAllLFSPointers, Gitaly::ListAllLFSPointersRequest, stream(Gitaly::ListAllLFSPointersResponse)
42
+ rpc :ListAllLFSPointers, ::Gitaly::ListAllLFSPointersRequest, stream(::Gitaly::ListAllLFSPointersResponse)
43
43
  end
44
44
 
45
45
  Stub = Service.rpc_stub_class
@@ -1,10 +1,10 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: cleanup.proto
3
3
 
4
- require 'google/protobuf'
5
-
6
4
  require 'lint_pb'
7
5
  require 'shared_pb'
6
+ require 'google/protobuf'
7
+
8
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
9
  add_file("cleanup.proto", :syntax => :proto3) do
10
10
  add_message "gitaly.ApplyBfgObjectMapStreamRequest" do
@@ -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
@@ -1,11 +1,11 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: commit.proto
3
3
 
4
- require 'google/protobuf'
5
-
6
4
  require 'lint_pb'
7
5
  require 'shared_pb'
8
6
  require 'google/protobuf/timestamp_pb'
7
+ require 'google/protobuf'
8
+
9
9
  Google::Protobuf::DescriptorPool.generated_pool.build do
10
10
  add_file("commit.proto", :syntax => :proto3) do
11
11
  add_message "gitaly.ListCommitsRequest" do
@@ -8,42 +8,42 @@ 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
15
15
  self.service_name = 'gitaly.CommitService'
16
16
 
17
17
  # ListCommits lists all commits reachable via a set of references by doing a
18
- # graph walk. This deprecates ListNewCommits, FindAllCommits, FindCommits
19
- # (except Follow is not yet supported) and CommitsBetweenRequest. Any
20
- # unknown revisions will cause the RPC to fail.
21
- rpc :ListCommits, Gitaly::ListCommitsRequest, stream(Gitaly::ListCommitsResponse)
18
+ # graph walk. This deprecates FindAllCommits, FindCommits (except Follow is
19
+ # not yet supported) and CommitsBetweenRequest. Any unknown revisions will
20
+ # cause the RPC to fail.
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
@@ -1,11 +1,11 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: conflicts.proto
3
3
 
4
- require 'google/protobuf'
5
-
6
4
  require 'lint_pb'
7
5
  require 'shared_pb'
8
6
  require 'google/protobuf/timestamp_pb'
7
+ require 'google/protobuf'
8
+
9
9
  Google::Protobuf::DescriptorPool.generated_pool.build do
10
10
  add_file("conflicts.proto", :syntax => :proto3) do
11
11
  add_message "gitaly.ListConflictFilesRequest" do
@@ -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
@@ -1,10 +1,10 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: diff.proto
3
3
 
4
- require 'google/protobuf'
5
-
6
4
  require 'lint_pb'
7
5
  require 'shared_pb'
6
+ require 'google/protobuf'
7
+
8
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
9
  add_file("diff.proto", :syntax => :proto3) do
10
10
  add_message "gitaly.CommitDiffRequest" do
@@ -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
@@ -1,10 +1,10 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: hook.proto
3
3
 
4
- require 'google/protobuf'
5
-
6
4
  require 'lint_pb'
7
5
  require 'shared_pb'
6
+ require 'google/protobuf'
7
+
8
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
9
  add_file("hook.proto", :syntax => :proto3) do
10
10
  add_message "gitaly.PreReceiveHookRequest" do
@@ -8,23 +8,21 @@ 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)
21
- # PackObjectsHook is meant to be called by git-upload-pack via the
22
- # uploadpack.packObjectsHook mechanism. It generates a stream of packed
23
- # Git objects.
24
- rpc :PackObjectsHook, stream(Gitaly::PackObjectsHookRequest), stream(Gitaly::PackObjectsHookResponse)
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
+ # PackObjectsHook has been replaced by PackObjectsHookWithSidechannel. Remove in 15.0.
22
+ rpc :PackObjectsHook, stream(::Gitaly::PackObjectsHookRequest), stream(::Gitaly::PackObjectsHookResponse)
25
23
  # PackObjectsHookWithSidechannel is an optimized version of PackObjectsHook that uses
26
24
  # a unix socket side channel.
27
- rpc :PackObjectsHookWithSidechannel, Gitaly::PackObjectsHookWithSidechannelRequest, Gitaly::PackObjectsHookWithSidechannelResponse
25
+ rpc :PackObjectsHookWithSidechannel, ::Gitaly::PackObjectsHookWithSidechannelRequest, ::Gitaly::PackObjectsHookWithSidechannelResponse
28
26
  end
29
27
 
30
28
  Stub = Service.rpc_stub_class
@@ -1,9 +1,9 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: internal.proto
3
3
 
4
+ require 'lint_pb'
4
5
  require 'google/protobuf'
5
6
 
6
- require 'lint_pb'
7
7
  Google::Protobuf::DescriptorPool.generated_pool.build do
8
8
  add_file("internal.proto", :syntax => :proto3) do
9
9
  add_message "gitaly.WalkReposRequest" do
@@ -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
@@ -1,6 +1,7 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: lint.proto
3
3
 
4
+ require 'google/protobuf/descriptor_pb'
4
5
  require 'google/protobuf'
5
6
 
6
7
  Google::Protobuf::DescriptorPool.generated_pool.build do
@@ -1,9 +1,9 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: namespace.proto
3
3
 
4
+ require 'lint_pb'
4
5
  require 'google/protobuf'
5
6
 
6
- require 'lint_pb'
7
7
  Google::Protobuf::DescriptorPool.generated_pool.build do
8
8
  add_file("namespace.proto", :syntax => :proto3) do
9
9
  add_message "gitaly.AddNamespaceRequest" do
@@ -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
@@ -1,10 +1,10 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: objectpool.proto
3
3
 
4
- require 'google/protobuf'
5
-
6
4
  require 'lint_pb'
7
5
  require 'shared_pb'
6
+ require 'google/protobuf'
7
+
8
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
9
  add_file("objectpool.proto", :syntax => :proto3) do
10
10
  add_message "gitaly.CreateObjectPoolRequest" do
@@ -24,12 +24,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
24
24
  end
25
25
  add_message "gitaly.LinkRepositoryToObjectPoolResponse" do
26
26
  end
27
- add_message "gitaly.UnlinkRepositoryFromObjectPoolRequest" do
28
- optional :repository, :message, 1, "gitaly.Repository"
29
- optional :object_pool, :message, 2, "gitaly.ObjectPool"
30
- end
31
- add_message "gitaly.UnlinkRepositoryFromObjectPoolResponse" do
32
- end
33
27
  add_message "gitaly.ReduplicateRepositoryRequest" do
34
28
  optional :repository, :message, 1, "gitaly.Repository"
35
29
  end
@@ -63,8 +57,6 @@ module Gitaly
63
57
  DeleteObjectPoolResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DeleteObjectPoolResponse").msgclass
64
58
  LinkRepositoryToObjectPoolRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.LinkRepositoryToObjectPoolRequest").msgclass
65
59
  LinkRepositoryToObjectPoolResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.LinkRepositoryToObjectPoolResponse").msgclass
66
- UnlinkRepositoryFromObjectPoolRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UnlinkRepositoryFromObjectPoolRequest").msgclass
67
- UnlinkRepositoryFromObjectPoolResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UnlinkRepositoryFromObjectPoolResponse").msgclass
68
60
  ReduplicateRepositoryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ReduplicateRepositoryRequest").msgclass
69
61
  ReduplicateRepositoryResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ReduplicateRepositoryResponse").msgclass
70
62
  DisconnectGitAlternatesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DisconnectGitAlternatesRequest").msgclass
@@ -8,31 +8,20 @@ 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
- # UnlinkRepositoryFromObjectPool does not unlink the repository from the
22
- # object pool as you'd think, but all it really does is to remove the object
23
- # pool's remote pointing to the repository. And even this is a no-op given
24
- # that we'd try to remove the remote by the repository's `GlRepository()`
25
- # name, which we never create in the first place. To unlink repositories
26
- # from an object pool, you'd really want to execute DisconnectGitAlternates
27
- # to remove the repository's link to the pool's object database.
28
- #
29
- # This function is never called by anyone and highly misleading. It's thus
30
- # deprecated and will be removed in v14.4.
31
- rpc :UnlinkRepositoryFromObjectPool, Gitaly::UnlinkRepositoryFromObjectPoolRequest, Gitaly::UnlinkRepositoryFromObjectPoolResponse
32
- rpc :ReduplicateRepository, Gitaly::ReduplicateRepositoryRequest, Gitaly::ReduplicateRepositoryResponse
33
- rpc :DisconnectGitAlternates, Gitaly::DisconnectGitAlternatesRequest, Gitaly::DisconnectGitAlternatesResponse
34
- rpc :FetchIntoObjectPool, Gitaly::FetchIntoObjectPoolRequest, Gitaly::FetchIntoObjectPoolResponse
35
- rpc :GetObjectPool, Gitaly::GetObjectPoolRequest, Gitaly::GetObjectPoolResponse
20
+ rpc :LinkRepositoryToObjectPool, ::Gitaly::LinkRepositoryToObjectPoolRequest, ::Gitaly::LinkRepositoryToObjectPoolResponse
21
+ rpc :ReduplicateRepository, ::Gitaly::ReduplicateRepositoryRequest, ::Gitaly::ReduplicateRepositoryResponse
22
+ rpc :DisconnectGitAlternates, ::Gitaly::DisconnectGitAlternatesRequest, ::Gitaly::DisconnectGitAlternatesResponse
23
+ rpc :FetchIntoObjectPool, ::Gitaly::FetchIntoObjectPoolRequest, ::Gitaly::FetchIntoObjectPoolResponse
24
+ rpc :GetObjectPool, ::Gitaly::GetObjectPoolRequest, ::Gitaly::GetObjectPoolResponse
36
25
  end
37
26
 
38
27
  Stub = Service.rpc_stub_class
@@ -1,12 +1,12 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: operations.proto
3
3
 
4
- require 'google/protobuf'
5
-
6
4
  require 'lint_pb'
7
5
  require 'shared_pb'
8
6
  require 'errors_pb'
9
7
  require 'google/protobuf/timestamp_pb'
8
+ require 'google/protobuf'
9
+
10
10
  Google::Protobuf::DescriptorPool.generated_pool.build do
11
11
  add_file("operations.proto", :syntax => :proto3) do
12
12
  add_message "gitaly.UserCreateBranchRequest" do
@@ -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
@@ -1,12 +1,38 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: praefect.proto
3
3
 
4
- require 'google/protobuf'
5
-
6
4
  require 'lint_pb'
7
5
  require 'shared_pb'
6
+ require 'google/protobuf'
7
+
8
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
9
  add_file("praefect.proto", :syntax => :proto3) do
10
+ add_message "gitaly.GetRepositoryMetadataRequest" do
11
+ oneof :query do
12
+ optional :repository_id, :int64, 1
13
+ optional :path, :message, 2, "gitaly.GetRepositoryMetadataRequest.Path"
14
+ end
15
+ end
16
+ add_message "gitaly.GetRepositoryMetadataRequest.Path" do
17
+ optional :virtual_storage, :string, 1
18
+ optional :relative_path, :string, 2
19
+ end
20
+ add_message "gitaly.GetRepositoryMetadataResponse" do
21
+ optional :repository_id, :int64, 1
22
+ optional :virtual_storage, :string, 2
23
+ optional :relative_path, :string, 3
24
+ optional :replica_path, :string, 4
25
+ optional :primary, :string, 5
26
+ optional :generation, :int64, 6
27
+ repeated :replicas, :message, 7, "gitaly.GetRepositoryMetadataResponse.Replica"
28
+ end
29
+ add_message "gitaly.GetRepositoryMetadataResponse.Replica" do
30
+ optional :storage, :string, 1
31
+ optional :assigned, :bool, 2
32
+ optional :generation, :int64, 4
33
+ optional :healthy, :bool, 5
34
+ optional :valid_primary, :bool, 6
35
+ end
10
36
  add_message "gitaly.SetReplicationFactorRequest" do
11
37
  optional :virtual_storage, :string, 1
12
38
  optional :relative_path, :string, 2
@@ -57,6 +83,10 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
57
83
  end
58
84
 
59
85
  module Gitaly
86
+ GetRepositoryMetadataRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetRepositoryMetadataRequest").msgclass
87
+ GetRepositoryMetadataRequest::Path = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetRepositoryMetadataRequest.Path").msgclass
88
+ GetRepositoryMetadataResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetRepositoryMetadataResponse").msgclass
89
+ GetRepositoryMetadataResponse::Replica = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetRepositoryMetadataResponse.Replica").msgclass
60
90
  SetReplicationFactorRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SetReplicationFactorRequest").msgclass
61
91
  SetReplicationFactorResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SetReplicationFactorResponse").msgclass
62
92
  SetAuthoritativeStorageRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SetAuthoritativeStorageRequest").msgclass