Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package deno for openSUSE:Factory checked in at 2023-05-18 15:19:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/deno (Old) and /work/SRC/openSUSE:Factory/.deno.new.1533 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "deno" Thu May 18 15:19:37 2023 rev:18 rq:1087713 version:1.33.3 Changes: -------- --- /work/SRC/openSUSE:Factory/deno/deno.changes 2023-05-13 17:17:52.490461747 +0200 +++ /work/SRC/openSUSE:Factory/.deno.new.1533/deno.changes 2023-05-18 15:19:50.666045127 +0200 @@ -1,0 +2,7 @@ +Wed May 17 19:57:07 UTC 2023 - Avindra Goolcharan <avin...@opensuse.org> + +- add deno-disable-update-check.patch + * this stops deno from automatically checking for an update + whenever a script is run + +------------------------------------------------------------------- New: ---- deno-disable-update-check.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ deno.spec ++++++ --- /var/tmp/diff_new_pack.zp2eqS/_old 2023-05-18 15:19:51.578050719 +0200 +++ /var/tmp/diff_new_pack.zp2eqS/_new 2023-05-18 15:19:51.582050743 +0200 @@ -29,6 +29,7 @@ Source1: vendor.tar.xz Source2: cargo_config Source99: revendor_source.sh +Patch0: deno-disable-update-check.patch # PATCH-FIX-OPENSUSE - Disable LTO (to reduce req memory) %ifarch %{arm} aarch64 Patch1: deno-disable-lto.patch ++++++ deno-disable-update-check.patch ++++++ diff --git a/cli/tools/run.rs.1 b/cli/tools/run.rs index 99312d5..e733306 100644 --- a/cli/tools/run.rs.1 +++ b/cli/tools/run.rs @@ -38,13 +38,6 @@ To grant permissions, set them before the script argument. For example: let http_client = factory.http_client(); let cli_options = factory.cli_options(); - // Run a background task that checks for available upgrades. If an earlier - // run of this background task found a new version of Deno. - super::upgrade::check_for_upgrades( - http_client.clone(), - deno_dir.upgrade_check_file_path(), - ); - let main_module = cli_options.resolve_main_module()?; let permissions = PermissionsContainer::new(Permissions::from_options(