diff options
author | Patrick Steinhardt <psteinhardt@gitlab.com> | 2021-08-20 09:07:47 +0300 |
---|---|---|
committer | Patrick Steinhardt <psteinhardt@gitlab.com> | 2021-08-20 13:18:32 +0300 |
commit | bdc2cabd484908225327a6ea2337055bb5a3487a (patch) | |
tree | ce39080628729e78b6df7c8c11bfb4c5c82da38b /ruby | |
parent | 48d7984d9912c935a2c2abba3b55593cf0be2d8e (diff) |
remote: Remove `RemoveRemote()` RPC
On-disk remotes have been deprecated, and no upstream callers remain
which use them anymore. Remove the `RemoveRemote()` RPC.
Changelog: removed
Diffstat (limited to 'ruby')
-rw-r--r-- | ruby/proto/gitaly/remote_pb.rb | 9 | ||||
-rw-r--r-- | ruby/proto/gitaly/remote_services_pb.rb | 1 |
2 files changed, 0 insertions, 10 deletions
diff --git a/ruby/proto/gitaly/remote_pb.rb b/ruby/proto/gitaly/remote_pb.rb index b9f415d7c..9f6cf4d85 100644 --- a/ruby/proto/gitaly/remote_pb.rb +++ b/ruby/proto/gitaly/remote_pb.rb @@ -15,13 +15,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do end add_message "gitaly.AddRemoteResponse" do end - add_message "gitaly.RemoveRemoteRequest" do - optional :repository, :message, 1, "gitaly.Repository" - optional :name, :string, 2 - end - add_message "gitaly.RemoveRemoteResponse" do - optional :result, :bool, 1 - end add_message "gitaly.FetchInternalRemoteRequest" do optional :repository, :message, 1, "gitaly.Repository" optional :remote_repository, :message, 2, "gitaly.Repository" @@ -78,8 +71,6 @@ end module Gitaly AddRemoteRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.AddRemoteRequest").msgclass AddRemoteResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.AddRemoteResponse").msgclass - RemoveRemoteRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RemoveRemoteRequest").msgclass - RemoveRemoteResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RemoveRemoteResponse").msgclass FetchInternalRemoteRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FetchInternalRemoteRequest").msgclass FetchInternalRemoteResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FetchInternalRemoteResponse").msgclass UpdateRemoteMirrorRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UpdateRemoteMirrorRequest").msgclass diff --git a/ruby/proto/gitaly/remote_services_pb.rb b/ruby/proto/gitaly/remote_services_pb.rb index f75fc196e..36b1240ec 100644 --- a/ruby/proto/gitaly/remote_services_pb.rb +++ b/ruby/proto/gitaly/remote_services_pb.rb @@ -16,7 +16,6 @@ module Gitaly rpc :AddRemote, ::Gitaly::AddRemoteRequest, ::Gitaly::AddRemoteResponse rpc :FetchInternalRemote, ::Gitaly::FetchInternalRemoteRequest, ::Gitaly::FetchInternalRemoteResponse - rpc :RemoveRemote, ::Gitaly::RemoveRemoteRequest, ::Gitaly::RemoveRemoteResponse # UpdateRemoteMirror compares the references in the target repository and its remote mirror # repository. Any differences in the references are then addressed by pushing the differing # references to the mirror. Created and modified references are updated, removed references are |