diff options
author | Pavlo Strokov <pstrokov@gitlab.com> | 2021-09-21 13:12:58 +0300 |
---|---|---|
committer | Pavlo Strokov <pstrokov@gitlab.com> | 2021-09-21 13:12:58 +0300 |
commit | 858ab5adcc2996f16e958160f3f31fe519300bc8 (patch) | |
tree | d077ec98ee77790407a87104b27006ca4d33c6a8 /ruby | |
parent | 938f378387b44ddfd91a57ffecdc9875d737e190 (diff) | |
parent | a305a1ea41b69759e8473660dc6fe6bcbee6504f (diff) |
Merge branch 'pks-drop-list-new-blobs' into 'master'
ref: Drop ListNewBlobs RPC
See merge request gitlab-org/gitaly!3893
Diffstat (limited to 'ruby')
-rw-r--r-- | ruby/proto/gitaly/ref_pb.rb | 10 | ||||
-rw-r--r-- | ruby/proto/gitaly/ref_services_pb.rb | 3 |
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 |