Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37563448
en ru br
ALT Linux repos
S:7.4.3-alt6

Group :: System/Servers
RPM: pve-manager

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: pve-manager-rs-apt.patch
Download


--- pve-manager/PVE/API2/APT.pm.rs	2021-09-27 11:25:36.875951023 +0000
+++ pve-manager/PVE/API2/APT.pm	2021-09-27 11:31:47.345302776 +0000
@@ -19,7 +19,7 @@ use PVE::INotify;
 use PVE::Exception;
 use PVE::RESTHandler;
 use PVE::RPCEnvironment;
-use PVE::RS::APT::Repositories;
+#use PVE::RS::APT::Repositories;
 use PVE::API2Tools;
 
 use JSON;
@@ -671,7 +671,7 @@ __PACKAGE__->register_method({
     code => sub {
 	my ($param) = @_;
 
-	return PVE::RS::APT::Repositories::repositories();
+#	return PVE::RS::APT::Repositories::repositories();
     }});
 
 __PACKAGE__->register_method({
@@ -706,7 +706,7 @@ __PACKAGE__->register_method({
     code => sub {
 	my ($param) = @_;
 
-	PVE::RS::APT::Repositories::add_repository($param->{handle}, $param->{digest});
+#	PVE::RS::APT::Repositories::add_repository($param->{handle}, $param->{digest});
     }});
 
 __PACKAGE__->register_method({
@@ -754,12 +754,12 @@ __PACKAGE__->register_method({
 	    enabled => $param->{enabled},
 	};
 
-	PVE::RS::APT::Repositories::change_repository(
-	    $param->{path},
-	    $param->{index},
-	    $options,
-	    $param->{digest}
-	);
+#	PVE::RS::APT::Repositories::change_repository(
+#	    $param->{path},
+#	    $param->{index},
+#	    $options,
+#	    $param->{digest}
+#	);
     }});
 
 __PACKAGE__->register_method({
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin