From 10a42f7684acb8f248aaf77e034e24f058527066 Mon Sep 17 00:00:00 2001 From: BoostWillis <49578573+BoostWillis@users.noreply.github.com> Date: Sat, 12 Mar 2022 18:44:38 -0800 Subject: [PATCH 1/6] Point arm source to the correct tarball --- conf/app.arm.src | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/app.arm.src b/conf/app.arm.src index 3a99212..11eff3b 100644 --- a/conf/app.arm.src +++ b/conf/app.arm.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/Radarr/Radarr/releases/download/v4.0.5.5981/Radarr.master.4.0.5.5981.linux-core-arm64.tar.gz -SOURCE_SUM=20e14a96a7b2f5b88bf300a96c8c4c9d96794afbeb87a28c90da19ec6061b773 +SOURCE_URL=https://github.com/Radarr/Radarr/releases/download/v4.0.5.5981/Radarr.master.4.0.5.5981.linux-core-arm.tar.gz +SOURCE_SUM=e6d0c17db60830791174d518c8314b323812d0e708425deb6603607323d9a049 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=true From 41007a55a194305865c71b886b168e0bdb88be34 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Sun, 13 Mar 2022 17:38:05 +0100 Subject: [PATCH 2/6] Reorder asset handling for ARM vs ARM64 --- .github/workflows/updater.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/updater.sh b/.github/workflows/updater.sh index 4b1818b..1985f85 100644 --- a/.github/workflows/updater.sh +++ b/.github/workflows/updater.sh @@ -63,12 +63,12 @@ echo "Handling asset at $asset_url" # Here we base the source file name upon a unique keyword in the assets url (admin vs. update) # Leave $src empty to ignore the asset case $asset_url in - *"linux-core-arm"*) - src="app.arm" - ;; *"linux-core-arm64"*) src="app.arm64" ;; + *"linux-core-arm"*) + src="app.arm" + ;; *"linux-core-x64"*) src="app.x64" ;; From 67123e179984b71212b331b7882286865695c935 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Sun, 13 Mar 2022 17:40:58 +0100 Subject: [PATCH 3/6] Updater comments cleanup --- .github/workflows/updater.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/updater.sh b/.github/workflows/updater.sh index 1985f85..4119e88 100644 --- a/.github/workflows/updater.sh +++ b/.github/workflows/updater.sh @@ -6,8 +6,6 @@ # This script is meant to be run by GitHub Actions # The YunoHost-Apps organisation offers a template Action to run this script periodically -# Since each app is different, maintainers can adapt its contents so as to perform -# automatic actions when a new upstream release is detected. #================================================= # FETCHING LATEST RELEASE AND ITS ASSETS @@ -22,7 +20,7 @@ assets=($(curl --silent "https://api.github.com/repos/$repo/releases" | jq -r '[ # Later down the script, we assume the version has only digits and dots # Sometimes the release name starts with a "v", so let's filter it out. -# You may need more tweaks here if the upstream repository has different naming conventions. +# You may need more tweaks here if the upstream repository has different naming conventions. if [[ ${version:0:1} == "v" || ${version:0:1} == "V" ]]; then version=${version:1} fi @@ -52,7 +50,6 @@ echo "${#assets[@]} available asset(s)" #================================================= # Here we use the $assets variable to get the resources published in the upstream release. -# Here is an example for Grav, it has to be adapted in accordance with how the upstream releases look like. # Let's loop over the array of assets URLs for asset_url in ${assets[@]}; do From c66be0136e37167804371ca4214fa2cccc81b9fd Mon Sep 17 00:00:00 2001 From: tituspijean Date: Sun, 13 Mar 2022 17:48:29 +0100 Subject: [PATCH 4/6] Run updater: update arm64 source --- conf/app.arm64.src | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/conf/app.arm64.src b/conf/app.arm64.src index 169c8aa..3a99212 100644 --- a/conf/app.arm64.src +++ b/conf/app.arm64.src @@ -1,7 +1,5 @@ -SOURCE_URL=https://github.com/Radarr/Radarr/releases/download/v3.2.2.5080/Radarr.master.3.2.2.5080.linux-core-arm64.tar.gz -SOURCE_SUM=f4ebb4f0f2371cd40ee836bbe99324cf1d50954fa86aaf53afebea3d3d39c67c +SOURCE_URL=https://github.com/Radarr/Radarr/releases/download/v4.0.5.5981/Radarr.master.4.0.5.5981.linux-core-arm64.tar.gz +SOURCE_SUM=20e14a96a7b2f5b88bf300a96c8c4c9d96794afbeb87a28c90da19ec6061b773 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=true -SOURCE_EXTRACT=true -SOURCE_FILENAME=sonarr.tar.gz From 95e2efece3fa8fcee74ded6839e634b042d37000 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Sun, 13 Mar 2022 17:50:15 +0100 Subject: [PATCH 5/6] Bump package version --- manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.json b/manifest.json index 1a6e7f6..075289d 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "A movie collection manager for Usenet and BitTorrent users.", "fr": "Un gestionnaire de filmothèque pour utilisateurs de Usenet et BitTorrent." }, - "version": "4.0.5.5981~ynh1", + "version": "4.0.5.5981~ynh2", "url": "https://radarr.video", "upstream": { "license": "GPL-3.0-only", From 3627a1b79fb9053bd005fb01ff946ce77f280293 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sun, 13 Mar 2022 17:52:19 +0000 Subject: [PATCH 6/6] Auto-update README --- README.md | 2 +- README_fr.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3e151d8..375442f 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in A movie collection manager for Usenet and BitTorrent users. -**Shipped version:** 4.0.5.5981~ynh1 +**Shipped version:** 4.0.5.5981~ynh2 diff --git a/README_fr.md b/README_fr.md index dd4bc9c..f76bc2c 100644 --- a/README_fr.md +++ b/README_fr.md @@ -13,7 +13,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour Un gestionnaire de filmothèque pour utilisateurs de Usenet et BitTorrent. -**Version incluse :** 4.0.5.5981~ynh1 +**Version incluse :** 4.0.5.5981~ynh2