Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/ruby
diff options
context:
space:
mode:
authorPatrick Steinhardt <psteinhardt@gitlab.com>2021-09-21 10:58:16 +0300
committerPatrick Steinhardt <psteinhardt@gitlab.com>2021-09-21 11:49:37 +0300
commita305a1ea41b69759e8473660dc6fe6bcbee6504f (patch)
tree4301defebeffb7d53cf237c551c8bd7784d7e9a8 /ruby
parent5b7382e0251176923f258aa8f8c23a8084f6cae9 (diff)
ref: Drop ListNewBlobs RPC
The `ListNewBlobs()` RPC call has been replaced by the more flexible alternative `ListBlobs()`, which can do the same but across multiple new refs at once. The last callsite in Rails has been removed in 0bc19a62ac3 (gitaly_client: Remove unused `#list_new_blobs` function, 2021-09-15), so it is not used anywhere anymore. Remove the RPC call. Changelog: deprecated
Diffstat (limited to 'ruby')
-rw-r--r--ruby/proto/gitaly/ref_pb.rb10
-rw-r--r--ruby/proto/gitaly/ref_services_pb.rb3
2 files changed, 0 insertions, 13 deletions
diff --git a/ruby/proto/gitaly/ref_pb.rb b/ruby/proto/gitaly/ref_pb.rb
index 8591226cc..730cdd10b 100644
--- a/ruby/proto/gitaly/ref_pb.rb
+++ b/ruby/proto/gitaly/ref_pb.rb
@@ -9,14 +9,6 @@ require 'blob_pb'
require 'google/protobuf/timestamp_pb'
Google::Protobuf::DescriptorPool.generated_pool.build do
add_file("ref.proto", :syntax => :proto3) do
- add_message "gitaly.ListNewBlobsRequest" do
- optional :repository, :message, 1, "gitaly.Repository"
- optional :commit_id, :string, 2
- optional :limit, :uint32, 3
- end
- add_message "gitaly.ListNewBlobsResponse" do
- repeated :new_blob_objects, :message, 1, "gitaly.NewBlobObject"
- end
add_message "gitaly.FindDefaultBranchNameRequest" do
optional :repository, :message, 1, "gitaly.Repository"
end
@@ -211,8 +203,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
end
module Gitaly
- ListNewBlobsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListNewBlobsRequest").msgclass
- ListNewBlobsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListNewBlobsResponse").msgclass
FindDefaultBranchNameRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindDefaultBranchNameRequest").msgclass
FindDefaultBranchNameResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindDefaultBranchNameResponse").msgclass
FindAllBranchNamesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindAllBranchNamesRequest").msgclass
diff --git a/ruby/proto/gitaly/ref_services_pb.rb b/ruby/proto/gitaly/ref_services_pb.rb
index 978eed004..d9de2e9e4 100644
--- a/ruby/proto/gitaly/ref_services_pb.rb
+++ b/ruby/proto/gitaly/ref_services_pb.rb
@@ -39,9 +39,6 @@ module Gitaly
rpc :GetTagMessages, Gitaly::GetTagMessagesRequest, stream(Gitaly::GetTagMessagesResponse)
# Returns commits that are only reachable from the ref passed
rpc :ListNewCommits, Gitaly::ListNewCommitsRequest, stream(Gitaly::ListNewCommitsResponse)
- # ListNewBlobs is equivalent to ListBlobs with `["--not", "--all", "--not",
- # commit_id]`. This RPC call will be removed in v14.4.
- rpc :ListNewBlobs, Gitaly::ListNewBlobsRequest, stream(Gitaly::ListNewBlobsResponse)
rpc :PackRefs, Gitaly::PackRefsRequest, Gitaly::PackRefsResponse
# ListRefs returns a stream of all references in the repository. By default, pseudo-revisions like HEAD
# will not be returned by this RPC. Any symbolic references will be resolved to the object ID it is