From f3c83ce23f6a89922c7e0a51b98602dbe8ccf75a872bbd037ec605f46bf6aa7c Mon Sep 17 00:00:00 2001 From: Dominik Heidler Date: Wed, 20 Jul 2022 09:16:14 +0000 Subject: [PATCH] - Don't download sentry-cli OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/element-web?expand=0&rev=11 --- element-web.changes | 5 +++++ npm-packages-offline-cache.tar.gz | 4 ++-- prepare.sh | 9 ++++++--- 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/element-web.changes b/element-web.changes index 9f7a0ee..078df62 100644 --- a/element-web.changes +++ b/element-web.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jul 20 09:15:27 UTC 2022 - Dominik Heidler + +- Don't download sentry-cli + ------------------------------------------------------------------- Thu Jul 7 12:25:19 UTC 2022 - Dominik Heidler diff --git a/npm-packages-offline-cache.tar.gz b/npm-packages-offline-cache.tar.gz index 59f7a47..fa97b95 100644 --- a/npm-packages-offline-cache.tar.gz +++ b/npm-packages-offline-cache.tar.gz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:03bed4d432d3f7bae8650edb60e7235a43cf77564f33d2f03ea82e7330e3165a -size 116057100 +oid sha256:d595b57906c76cce613b7589133e557ae0034ed873874c1556f17bb0117c382a +size 88928979 diff --git a/prepare.sh b/prepare.sh index b851ce4..3ae9b05 100644 --- a/prepare.sh +++ b/prepare.sh @@ -32,14 +32,17 @@ tar xvf matrix-analytics-events-0.0.1.tgz --strip-components=1 -C package/ tar czf matrix-analytics-events-0.0.1.tgz package/ rm -r package -# fill sentry-cli cache with binaries for all architecutres +# fill sentry-cli cache with mock binaries for all architecutres cd sentry-cli sentry_cli_version=$(ls ../@sentry-cli-*.tgz | sed -e 's/.*cli-//' -e 's/.tgz//') for arch in i686 x86_64 aarch64 armv7 ; do url="https://downloads.sentry-cdn.com/sentry-cli/${sentry_cli_version}/sentry-cli-Linux-${arch}" - filehash=$(echo -n "$url" | md5sum | cut -c1-6) + filehash=$(echo -n "$url" | md5sum | cut -c1-6) target="${filehash}-sentry-cli-Linux-${arch/_/-}" - wget -O "$target" "$url" + #wget -O "$target" "$url" + echo '#!/bin/bash' > "$target" + echo '' >> "$target" + echo "echo ${sentry_cli_version}" >> "$target" chmod +x "$target" done cd ..