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
diff options
context:
space:
mode:
authorPatrick Steinhardt <psteinhardt@gitlab.com>2021-03-04 16:19:54 +0300
committerPatrick Steinhardt <psteinhardt@gitlab.com>2021-03-04 16:32:10 +0300
commitbe78aa30386ba68e6020afe60a257af74accdba1 (patch)
treeda39af5579849797e33deaf497813a33eee95f49 /proto/go/gitalypb/remote.pb.go
parentfd9079b22a78483f9ccc655ca9b2650dc2a642db (diff)
proto: Remove RemoteService.ListRemotes RPC
Almost two years ago, we've grown a new `RemoteService/ListRemotes` RPC. fd1fae703 (Merge branch 'list-git-remotes' into 'master', 2019-04-10). The intent of this RPC is to list all remotes which are currently set up in a given repository, where the use case is to avoid recreating remotes in case they already do exist. That usecase has never materialized though: Rails ensures that a remote exists by simply recreating it every time it's needed. Thus, no users have surfaced since its introduction. We're currently in the process of deprecating use of remotes altogether in Gitaly: they require on-disk state which is hard to track. They require Rails to maintain additional state in Gitaly without providing much of a benefit. And ultimately, Rails always has all info about a given remote at hand anyway at any point in time because otherwise it wouldn't be able to recreate remotes. Instead, Rails will be migrated to use anonymous remotes instead by only providing an URL, a refspec and credentials. We then directly fetch via these parameters without creating any remotes. Let's thus drop the `ListRemotes` RPC: we do not want to encourage anybody to start using it now that remotes are about to go away.
Diffstat (limited to 'proto/go/gitalypb/remote.pb.go')
-rw-r--r--proto/go/gitalypb/remote.pb.go164
1 files changed, 50 insertions, 114 deletions
diff --git a/proto/go/gitalypb/remote.pb.go b/proto/go/gitalypb/remote.pb.go
index 4401ddc73..761a6ab20 100644
--- a/proto/go/gitalypb/remote.pb.go
+++ b/proto/go/gitalypb/remote.pb.go
@@ -740,57 +740,56 @@ func init() {
func init() { proto.RegisterFile("remote.proto", fileDescriptor_eefc82927d57d89b) }
var fileDescriptor_eefc82927d57d89b = []byte{
- // 798 bytes of a gzipped FileDescriptorProto
- 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d5, 0xac, 0x82, 0x7a,
+ 0x50, 0x4e, 0xd0, 0x06, 0x34, 0xeb, 0x7a, 0xb5, 0xa2, 0x19, 0x37, 0xd6, 0xc6, 0x2c, 0xe5, 0x79,
+ 0x0d, 0x85, 0xb8, 0x9a, 0xa2, 0xea, 0x7c, 0x4a, 0x57, 0x84, 0xdc, 0xd8, 0x4d, 0x76, 0x2e, 0x41,
+ 0x62, 0x40, 0x57, 0x97, 0x11, 0xed, 0x4d, 0xef, 0xae, 0x94, 0x2e, 0xc3, 0x5c, 0x17, 0xb2, 0x98,
+ 0xa4, 0xae, 0xa0, 0x21, 0x6c, 0x27, 0xad, 0x13, 0x9a, 0xb7, 0xbf, 0x7a, 0x99, 0x8d, 0x9b, 0xeb,
+ 0x83, 0x64, 0xb2, 0xec, 0xe5, 0x45, 0x5d, 0xcb, 0xaa, 0x45, 0x15, 0x7d, 0x80, 0xd2, 0x95, 0xad,
+ 0x40, 0xb5, 0x04, 0x90, 0x85, 0xf5, 0x34, 0xf6, 0xd6, 0x44, 0x2c, 0x34, 0xa4, 0xb6, 0xee, 0xbc,
+ 0xe3, 0xb1, 0x9e, 0xd3, 0x6e, 0x74, 0xc8, 0xa8, 0x29, 0x3e, 0x0f, 0x08, 0xed, 0x37, 0x05, 0x42,
+ 0x33, 0xfa, 0x4f, 0x68, 0xf6, 0x89, 0x3c, 0x07, 0xed, 0x76, 0x3a, 0x32, 0xdd, 0xfd, 0x1d, 0x00,
+ 0x00, 0xff, 0xff, 0x16, 0xd3, 0x6e, 0xfb, 0x6c, 0x08, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
@@ -811,7 +810,6 @@ type RemoteServiceClient interface {
UpdateRemoteMirror(ctx context.Context, opts ...grpc.CallOption) (RemoteService_UpdateRemoteMirrorClient, error)
FindRemoteRepository(ctx context.Context, in *FindRemoteRepositoryRequest, opts ...grpc.CallOption) (*FindRemoteRepositoryResponse, error)
FindRemoteRootRef(ctx context.Context, in *FindRemoteRootRefRequest, opts ...grpc.CallOption) (*FindRemoteRootRefResponse, error)
- ListRemotes(ctx context.Context, in *ListRemotesRequest, opts ...grpc.CallOption) (RemoteService_ListRemotesClient, error)
}
type remoteServiceClient struct {
@@ -901,38 +899,6 @@ func (c *remoteServiceClient) FindRemoteRootRef(ctx context.Context, in *FindRem
return out, nil
}
-func (c *remoteServiceClient) ListRemotes(ctx context.Context, in *ListRemotesRequest, opts ...grpc.CallOption) (RemoteService_ListRemotesClient, error) {
- stream, err := c.cc.NewStream(ctx, &_RemoteService_serviceDesc.Streams[1], "/gitaly.RemoteService/ListRemotes", opts...)
- if err != nil {
- return nil, err
- }
- x := &remoteServiceListRemotesClient{stream}
- if err := x.ClientStream.SendMsg(in); err != nil {
- return nil, err
- }
- if err := x.ClientStream.CloseSend(); err != nil {
- return nil, err
- }
- return x, nil
-}
-
-type RemoteService_ListRemotesClient interface {
- Recv() (*ListRemotesResponse, error)
- grpc.ClientStream
-}
-
-type remoteServiceListRemotesClient struct {
- grpc.ClientStream
-}
-
-func (x *remoteServiceListRemotesClient) Recv() (*ListRemotesResponse, error) {
- m := new(ListRemotesResponse)
- if err := x.ClientStream.RecvMsg(m); err != nil {
- return nil, err
- }
- return m, nil
-}
-
// RemoteServiceServer is the server API for RemoteService service.
type RemoteServiceServer interface {
AddRemote(context.Context, *AddRemoteRequest) (*AddRemoteResponse, error)
@@ -941,7 +907,6 @@ type RemoteServiceServer interface {
UpdateRemoteMirror(RemoteService_UpdateRemoteMirrorServer) error
FindRemoteRepository(context.Context, *FindRemoteRepositoryRequest) (*FindRemoteRepositoryResponse, error)
FindRemoteRootRef(context.Context, *FindRemoteRootRefRequest) (*FindRemoteRootRefResponse, error)
- ListRemotes(*ListRemotesRequest, RemoteService_ListRemotesServer) error
}
// UnimplementedRemoteServiceServer can be embedded to have forward compatible implementations.
@@ -966,9 +931,6 @@ func (*UnimplementedRemoteServiceServer) FindRemoteRepository(ctx context.Contex
func (*UnimplementedRemoteServiceServer) FindRemoteRootRef(ctx context.Context, req *FindRemoteRootRefRequest) (*FindRemoteRootRefResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method FindRemoteRootRef not implemented")
}
-func (*UnimplementedRemoteServiceServer) ListRemotes(req *ListRemotesRequest, srv RemoteService_ListRemotesServer) error {
- return status.Errorf(codes.Unimplemented, "method ListRemotes not implemented")
-}
func RegisterRemoteServiceServer(s *grpc.Server, srv RemoteServiceServer) {
s.RegisterService(&_RemoteService_serviceDesc, srv)
@@ -1090,27 +1052,6 @@ func _RemoteService_FindRemoteRootRef_Handler(srv interface{}, ctx context.Conte
return interceptor(ctx, in, info, handler)
}
-func _RemoteService_ListRemotes_Handler(srv interface{}, stream grpc.ServerStream) error {
- m := new(ListRemotesRequest)
- if err := stream.RecvMsg(m); err != nil {
- return err
- }
- return srv.(RemoteServiceServer).ListRemotes(m, &remoteServiceListRemotesServer{stream})
-}
-
-type RemoteService_ListRemotesServer interface {
- Send(*ListRemotesResponse) error
- grpc.ServerStream
-}
-
-type remoteServiceListRemotesServer struct {
- grpc.ServerStream
-}
-
-func (x *remoteServiceListRemotesServer) Send(m *ListRemotesResponse) error {
- return x.ServerStream.SendMsg(m)
-}
-
var _RemoteService_serviceDesc = grpc.ServiceDesc{
ServiceName: "gitaly.RemoteService",
HandlerType: (*RemoteServiceServer)(nil),
@@ -1142,11 +1083,6 @@ var _RemoteService_serviceDesc = grpc.ServiceDesc{
Handler: _RemoteService_UpdateRemoteMirror_Handler,
ClientStreams: true,
},
- {
- StreamName: "ListRemotes",
- Handler: _RemoteService_ListRemotes_Handler,
- ServerStreams: true,
- },
},
Metadata: "remote.proto",
}