diff --git a/.github/workflows/updater.yml b/.github/workflows/updater.yml index 6fe6d72..a9ca97a 100644 --- a/.github/workflows/updater.yml +++ b/.github/workflows/updater.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Fetch the source code - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: token: ${{ secrets.GITHUB_TOKEN }} - name: Run the updater script @@ -33,7 +33,7 @@ jobs: - name: Create Pull Request id: cpr if: ${{ env.PROCEED == 'true' }} - uses: peter-evans/create-pull-request@v3 + uses: peter-evans/create-pull-request@v4 with: token: ${{ secrets.GITHUB_TOKEN }} commit-message: Update to version ${{ env.VERSION }} diff --git a/README.md b/README.md index 6fe001b..1cea978 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,8 @@ It shall NOT be edited by hand. # Prowlarr for YunoHost -[![Integration level](https://dash.yunohost.org/integration/prowlarr.svg)](https://dash.yunohost.org/appci/app/prowlarr) ![Working status](https://ci-apps.yunohost.org/ci/badges/prowlarr.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/prowlarr.maintain.svg) +[![Integration level](https://dash.yunohost.org/integration/prowlarr.svg)](https://dash.yunohost.org/appci/app/prowlarr) ![Working status](https://ci-apps.yunohost.org/ci/badges/prowlarr.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/prowlarr.maintain.svg) + [![Install Prowlarr with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=prowlarr) *[Lire ce readme en français.](./README_fr.md)* @@ -15,9 +16,9 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in ## Overview -Complete management of your indexers for Radarr, Sonarr, Lidarr, ... +Complete management of your indexers for Radarr, Sonarr, Lidarr... -**Shipped version:** 1.0.0.2171~ynh1 +**Shipped version:** 1.3.2.2984~ynh1 ## Screenshots diff --git a/README_fr.md b/README_fr.md index d5b935c..a583f54 100644 --- a/README_fr.md +++ b/README_fr.md @@ -5,23 +5,24 @@ It shall NOT be edited by hand. # Prowlarr pour YunoHost -[![Niveau d'intégration](https://dash.yunohost.org/integration/prowlarr.svg)](https://dash.yunohost.org/appci/app/prowlarr) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/prowlarr.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/prowlarr.maintain.svg) +[![Niveau d’intégration](https://dash.yunohost.org/integration/prowlarr.svg)](https://dash.yunohost.org/appci/app/prowlarr) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/prowlarr.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/prowlarr.maintain.svg) + [![Installer Prowlarr avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=prowlarr) *[Read this readme in english.](./README.md)* -> *Ce package vous permet d'installer Prowlarr rapidement et simplement sur un serveur YunoHost. -Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l'installer et en profiter.* +> *Ce package vous permet d’installer Prowlarr rapidement et simplement sur un serveur YunoHost. +Si vous n’avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l’installer et en profiter.* -## Vue d'ensemble +## Vue d’ensemble -Gestion complète de vos indexeurs pour Radarr, Sonarr, Lidarr, ... +Gestion complète de vos indexeurs pour Radarr, Sonarr, Lidarr... -**Version incluse :** 1.0.0.2171~ynh1 +**Version incluse :** 1.3.2.2984~ynh1 -## Captures d'écran +## Captures d’écran -![Capture d'écran de Prowlarr](./doc/screenshots/screenshot.jpg) +![Capture d’écran de Prowlarr](./doc/screenshots/screenshot.jpg) ## Avertissements / informations importantes @@ -31,9 +32,9 @@ Gestion complète de vos indexeurs pour Radarr, Sonarr, Lidarr, ... ## Documentations et ressources -* Site officiel de l'app : -* Documentation officielle de l'admin : -* Dépôt de code officiel de l'app : +* Site officiel de l’app : +* Documentation officielle de l’admin : +* Dépôt de code officiel de l’app : * Documentation YunoHost pour cette app : * Signaler un bug : @@ -49,4 +50,4 @@ ou sudo yunohost app upgrade prowlarr -u https://github.com/YunoHost-Apps/prowlarr_ynh/tree/testing --debug ``` -**Plus d'infos sur le packaging d'applications :** +**Plus d’infos sur le packaging d’applications :** \ No newline at end of file diff --git a/conf/app.arm.src b/conf/app.arm.src index 0d0f6ce..ed4bf56 100644 --- a/conf/app.arm.src +++ b/conf/app.arm.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/Prowlarr/Prowlarr/releases/download/v1.0.0.2171/Prowlarr.develop.1.0.0.2171.linux-core-arm.tar.gz -SOURCE_SUM=2db406c91bfd40b26a2231530eadad9487b3a6d0de94c9792a56234591f26b4b +SOURCE_URL=https://github.com/Prowlarr/Prowlarr/releases/download/v1.3.2.2984/Prowlarr.develop.1.3.2.2984.linux-core-arm.tar.gz +SOURCE_SUM=d1ffd6b594f8ccff210c0b8fa58d81b8bf0eeda7af327377ac1392b32d0eecb9 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=true diff --git a/conf/app.arm64.src b/conf/app.arm64.src index 29ad913..d03e4c8 100644 --- a/conf/app.arm64.src +++ b/conf/app.arm64.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/Prowlarr/Prowlarr/releases/download/v1.0.0.2171/Prowlarr.develop.1.0.0.2171.linux-core-arm64.tar.gz -SOURCE_SUM=92db3aa4e29a055aebdee39b6bd517b0c2e7cc003911a95f664fafe4f2aa6cc4 +SOURCE_URL=https://github.com/Prowlarr/Prowlarr/releases/download/v1.3.2.2984/Prowlarr.develop.1.3.2.2984.linux-core-arm64.tar.gz +SOURCE_SUM=f798a7b0935545cc66a318a454950695b536557144fc4cb2d4e3116ff933a9b6 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=true diff --git a/conf/app.x64.src b/conf/app.x64.src index 65cdaff..0ec8513 100644 --- a/conf/app.x64.src +++ b/conf/app.x64.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/Prowlarr/Prowlarr/releases/download/v1.0.0.2171/Prowlarr.develop.1.0.0.2171.linux-core-x64.tar.gz -SOURCE_SUM=3980993cff30dc74b1a61f268393160ec8c6eee6d216c3eda44418ed3589d7df +SOURCE_URL=https://github.com/Prowlarr/Prowlarr/releases/download/v1.3.2.2984/Prowlarr.develop.1.3.2.2984.linux-core-x64.tar.gz +SOURCE_SUM=710218900c63a9399a481d6d66be6661f7f0b8ceae6f583663dcd2ca7b32b7f1 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=true diff --git a/conf/config.xml b/conf/config.xml index 665bd9f..8c72176 100644 --- a/conf/config.xml +++ b/conf/config.xml @@ -6,7 +6,12 @@ __PATH__ 127.0.0.1 __API_KEY__ - None + External BuiltIn develop + disabledForLocalAddresses + Prowlarr + False + + diff --git a/manifest.json b/manifest.json index 3e7b756..24707a7 100644 --- a/manifest.json +++ b/manifest.json @@ -3,10 +3,10 @@ "id": "prowlarr", "packaging_format": 1, "description": { - "en": "Complete management of your indexers for Radarr, Sonarr, Lidarr, ...", - "fr": "Gestion complète de vos indexeurs pour Radarr, Sonarr, Lidarr, ..." + "en": "Complete management of your indexers for Radarr, Sonarr, Lidarr...", + "fr": "Gestion complète de vos indexeurs pour Radarr, Sonarr, Lidarr..." }, - "version": "1.0.0.2171~ynh1", + "version": "1.3.2.2984~ynh1", "url": "https://prowlarr.com", "upstream": { "license": "GPL-3.0-only", @@ -20,7 +20,7 @@ "email": "tituspijean@outlook.com" }, "requirements": { - "yunohost": ">= 4.3" + "yunohost": ">= 11.0.9" }, "multi_instance": true, "services": [ diff --git a/scripts/change_url b/scripts/change_url index 2b8fca6..179512f 100755 --- a/scripts/change_url +++ b/scripts/change_url @@ -126,7 +126,7 @@ chown $app "$data_path/config.xml" #================================================= ynh_script_progression --message="Starting a systemd service..." --time --weight=1 -ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Application started" +ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="CommandExecutor: Starting" #================================================= # RELOAD NGINX diff --git a/scripts/install b/scripts/install index bd90ec2..0b74b18 100755 --- a/scripts/install +++ b/scripts/install @@ -171,7 +171,10 @@ yunohost service add $app --description="Prowlarr daemon" --log="$data_path/logs ynh_script_progression --message="Starting a systemd service..." --weight=2 # Start a systemd service -ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Application started" +ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="CommandExecutor: Starting" + +# FIXME Update config.xml checksum, for a mere file ending with or without a new line... +ynh_store_file_checksum --file="$data_path/config.xml" #================================================= # SETUP SSOWAT diff --git a/scripts/restore b/scripts/restore index a8ee45b..4f476fc 100755 --- a/scripts/restore +++ b/scripts/restore @@ -126,7 +126,10 @@ yunohost service add $app --description="Prowlarr daemon" --log="$data_path/logs #================================================= ynh_script_progression --message="Starting a systemd service..." --weight=2 -ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Application started" +ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="CommandExecutor: Starting" + +# FIXME Update config.xml checksum, for a mere file ending with or without a new line... +ynh_store_file_checksum --file="$data_path/config.xml" #================================================= # RESTORE THE LOGROTATE CONFIGURATION diff --git a/scripts/upgrade b/scripts/upgrade index 7912241..976e60b 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -165,7 +165,10 @@ yunohost service add $app --description="Prowlarr daemon" --log="$data_path/logs #================================================= ynh_script_progression --message="Starting a systemd service..." --weight=2 -ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Application started" +ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="CommandExecutor: Starting" + +# FIXME Update config.xml checksum, for a mere file ending with or without a new line... +ynh_store_file_checksum --file="$data_path/config.xml" #================================================= # RELOAD NGINX