From 373f1bcced5baa04791a39c7fa3080b0894dde14 Mon Sep 17 00:00:00 2001 From: Jeff Dickey <216188+jdx@users.noreply.github.com> Date: Tue, 12 Dec 2023 14:59:57 -0600 Subject: [PATCH] plugin: skip eager loading of plugin data when installing --- src/plugins/external_plugin.rs | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/plugins/external_plugin.rs b/src/plugins/external_plugin.rs index 5440cc8ea5..71fcf33263 100644 --- a/src/plugins/external_plugin.rs +++ b/src/plugins/external_plugin.rs @@ -117,19 +117,6 @@ impl ExternalPlugin { git.update(Some(ref_.to_string()))?; } - pr.set_message("loading plugin remote versions"); - if self.has_list_all_script() { - self.list_remote_versions(&config.settings)?; - } - if self.has_list_alias_script() { - pr.set_message("getting plugin aliases"); - self.get_aliases(&config.settings)?; - } - if self.has_list_legacy_filenames_script() { - pr.set_message("getting plugin legacy filenames"); - self.legacy_filenames(&config.settings)?; - } - let sha = git.current_sha_short()?; pr.finish_with_message(format!( "{repo_url}#{}", @@ -231,9 +218,6 @@ impl ExternalPlugin { }) } - fn has_list_all_script(&self) -> bool { - self.script_man.script_exists(&Script::ListAll) - } fn has_list_alias_script(&self) -> bool { self.script_man.script_exists(&Script::ListAliases) }