From c3a78ab56d205dd91f1d62c825bfcf4cc3fc27a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 1 Feb 2021 11:40:43 +0100 Subject: [PATCH] 1.2.13 (#13) * Upgrade to version 1.2.13 --- README.md | 4 ++-- README_fr.md | 4 ++-- check_process | 5 +++-- conf/arm64.src | 4 ++-- conf/armv5.src | 4 ++-- conf/armv6.src | 4 ++-- conf/armv7.src | 4 ++-- conf/i386.src | 4 ++-- conf/x86_64.src | 4 ++-- issue_template.md | 2 +- manifest.json | 2 +- pull_request_template.md | 4 +--- scripts/change_url | 2 +- scripts/install | 6 +++--- scripts/restore | 2 +- scripts/upgrade | 2 +- 16 files changed, 28 insertions(+), 29 deletions(-) diff --git a/README.md b/README.md index 84249ac..2fe1d21 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Simple Torrent for YunoHost [![Integration level](https://dash.yunohost.org/integration/simple-torrent.svg)](https://dash.yunohost.org/appci/app/simple-torrent) ![](https://ci-apps.yunohost.org/ci/badges/simple-torrent.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/simple-torrent.maintain.svg) -[![Install Simple Torrent with YunoHost](https://install-app.yunohost.org/install-with-yunohost.png)](https://install-app.yunohost.org/?app=simple-torrent/) +[![Install Simple Torrent with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=simple-torrent/) *[Lire ce readme en français.](./README_fr.md)* @@ -12,7 +12,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in Simple Torrent is a self-hosted remote torrent client, written in Go (golang). Started torrents remotely, download sets of files on the local disk of the server, which are then retrievable or streamable via HTTP. -**Shipped version:** 1.2.12 +**Shipped version:** 1.2.13 ## Screenshots diff --git a/README_fr.md b/README_fr.md index 483567a..dd28087 100644 --- a/README_fr.md +++ b/README_fr.md @@ -1,7 +1,7 @@ # Simple Torrent pour YunoHost [![Niveau d'intégration](https://dash.yunohost.org/integration/simple-torrent.svg)](https://dash.yunohost.org/appci/app/simpletorrent) ![](https://ci-apps.yunohost.org/ci/badges/simple-torrent.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/simple-torrent.maintain.svg) -[![Installer Simple Torrent avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.png)](https://install-app.yunohost.org/?app=simple-torrent) +[![Installer Simple Torrent avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=simple-torrent) *[Read this readme in english.](./README.md)* @@ -12,7 +12,7 @@ Si vous n'avez pas YunoHost, consultez [le guide](https://yunohost.org/#/install Simple Torrent est un client torrent distant auto-hébergé, écrit en Go (golang). Démarrez des torrents à distance, téléchargez des ensembles de fichiers sur le disque local du serveur, qui sont ensuite récupérables ou diffusables via HTTP. -**Version incluse :** 1.2.12 +**Version incluse :** 1.2.13 ## Captures d'écran diff --git a/check_process b/check_process index 0eba1ee..660246a 100644 --- a/check_process +++ b/check_process @@ -14,6 +14,7 @@ setup_private=1 setup_public=1 upgrade=1 + upgrade=1 from_commit=295026023fdb74f5bf210093f5b0622bae2982f3 backup_restore=1 multi_instance=1 port_already_use=1 @@ -22,6 +23,6 @@ Email= Notification=none ;;; Upgrade options - ; commit=CommitHash - name=Name and date of the commit. + ; commit=295026023fdb74f5bf210093f5b0622bae2982f3 + name= Upgrade to 1.2.12 (#10) manifest_arg=domain=DOMAIN&path=PATH&admin=USER&language=fr&is_public=1&password=pass&port=4533& \ No newline at end of file diff --git a/conf/arm64.src b/conf/arm64.src index 38948ab..05ea6bc 100644 --- a/conf/arm64.src +++ b/conf/arm64.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/boypt/simple-torrent/releases/download/1.2.12/cloud-torrent_linux_arm64.gz -SOURCE_SUM=07fa3e60ba92523775757c7ddbc6573a204f88e071f00e9a6768c6f0a20df35b +SOURCE_URL=https://github.com/boypt/simple-torrent/releases/download/1.2.13/cloud-torrent_linux_arm64.gz +SOURCE_SUM=4fa31de45eb211a983631a86937d6eb0a23d66b650e0cfdf2b729bee526fc989 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=gz SOURCE_IN_SUBDIR=false diff --git a/conf/armv5.src b/conf/armv5.src index 9963755..2d1e9eb 100644 --- a/conf/armv5.src +++ b/conf/armv5.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/boypt/simple-torrent/releases/download/1.2.12/cloud-torrent_linux_arm_armv5.gz -SOURCE_SUM=4c4c2195d947264d6fd5b9c12ae0d1cacad1525c70b0fa62527ca14d0e996d27 +SOURCE_URL=https://github.com/boypt/simple-torrent/releases/download/1.2.13/cloud-torrent_linux_arm_armv5.gz +SOURCE_SUM=7b599a43f8812c334b4e4351f5ee25a3b997461e23ee3645b9761a86513e2317 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=gz SOURCE_IN_SUBDIR=false diff --git a/conf/armv6.src b/conf/armv6.src index b2f4470..cffd088 100644 --- a/conf/armv6.src +++ b/conf/armv6.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/boypt/simple-torrent/releases/download/1.2.12/cloud-torrent_linux_arm_armv6.gz -SOURCE_SUM=ecd34fe5dbb4d2f61cb25fc44ee640a9d890097ab6e0a8cdf9196168c5cb57cd +SOURCE_URL=https://github.com/boypt/simple-torrent/releases/download/1.2.13/cloud-torrent_linux_arm_armv6.gz +SOURCE_SUM=b70622874babf36502015f95e07673d213833bae00b669c83f94a4d6a8382962 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=gz SOURCE_IN_SUBDIR=false diff --git a/conf/armv7.src b/conf/armv7.src index 3ac685f..ae14532 100644 --- a/conf/armv7.src +++ b/conf/armv7.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/boypt/simple-torrent/releases/download/1.2.12/cloud-torrent_linux_arm_armv7.gz -SOURCE_SUM=fef0e37c4c329573811d710e654d1120c8b00c6c63740fd90ba34cdb2b06fc35 +SOURCE_URL=https://github.com/boypt/simple-torrent/releases/download/1.2.13/cloud-torrent_linux_arm_armv7.gz +SOURCE_SUM=bdf08ef52379ce9a5f3a90374905dd2058bbbbfe49f4ab09388373a5cf204dba SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=gz SOURCE_IN_SUBDIR=false diff --git a/conf/i386.src b/conf/i386.src index d60d192..38f5c0d 100644 --- a/conf/i386.src +++ b/conf/i386.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/boypt/simple-torrent/releases/download/1.2.12/cloud-torrent_linux_386.gz -SOURCE_SUM=86ec6a93cdffd467efecffc0f24121a01a9875dcb9524916bf105a25efbddfd8 +SOURCE_URL=https://github.com/boypt/simple-torrent/releases/download/1.2.13/cloud-torrent_linux_386.gz +SOURCE_SUM=645030137bc028a649f09a5878001cd3144032773f1f461beb79323ebc322218 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=gz SOURCE_IN_SUBDIR=false diff --git a/conf/x86_64.src b/conf/x86_64.src index 1769cd0..07948ec 100644 --- a/conf/x86_64.src +++ b/conf/x86_64.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/boypt/simple-torrent/releases/download/1.2.12/cloud-torrent_linux_amd64.gz -SOURCE_SUM=e279e7d829ba5b5f5d8e28a464d7815a11eb303d440198136f71986f28a00ff2 +SOURCE_URL=https://github.com/boypt/simple-torrent/releases/download/1.2.13/cloud-torrent_linux_amd64.gz +SOURCE_SUM=34e0a7c7f6ce91ae30eddac27358fe3085524d37da0349fd916e2f4f046bfa46 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=gz SOURCE_IN_SUBDIR=false diff --git a/issue_template.md b/issue_template.md index 6684e4c..352c67a 100644 --- a/issue_template.md +++ b/issue_template.md @@ -8,7 +8,7 @@ about: Create a report to help us debug, it would be nice to fill the template a 1. *Read this whole template first.* 2. *Determine if you are on the right place:* - *If you were performing an action on the app from the webadmin or the CLI (install, update, backup, restore, change_url...), you are on the right place!* - - *Otherwise, the issue may be due to Navidrome itself. Refer to its documentation or repository for help.* + - *Otherwise, the issue may be due to Simple Torrent itself. Refer to its documentation or repository for help.* - *If you have a doubt, post here, we will figure it out together.* 3. *Delete the italic comments as you write over them below, and remove this guide.* --- diff --git a/manifest.json b/manifest.json index 5c5580c..e6b3334 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Self-hosted remote torrent client", "fr": "Client torrent distant auto-hébergé" }, - "version": "1.2.12~ynh2", + "version": "1.2.13~ynh1", "url": "https://github.com/boypt/simple-torrent", "license": "AGPL-3.0-only", "maintainer": { diff --git a/pull_request_template.md b/pull_request_template.md index 418a71b..6c28fc5 100644 --- a/pull_request_template.md +++ b/pull_request_template.md @@ -13,6 +13,4 @@ ## Package_check results --- -*If you have access to [App Continuous Integration for packagers](https://yunohost.org/#/packaging_apps_ci) you can provide a link to the package_check results like below, replacing '-NUM-' in this link by the PR number and USERNAME by your username on the ci-apps-dev. Or you provide a screenshot or a pastebin of the results* - -[![Build Status](https://ci-apps-dev.yunohost.org/jenkins/job/simple-torrent_ynh%20PR-NUM-%20(USERNAME)/badge/icon)](https://ci-apps-dev.yunohost.org/jenkins/job/simple-torrent_ynh%20PR-NUM-%20(USERNAME)/) +* An automatic package_check will be launch at https://ci-apps-dev.yunohost.org/, when you add a specific comment to your Pull Request: "!testme", "!gogogadgetoci" or "By the power of systemd, I invoke The Great App CI to test this Pull Request!"* diff --git a/scripts/change_url b/scripts/change_url index 3a0963a..f843b20 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -109,7 +109,7 @@ fi ynh_script_progression --message="Starting a systemd service..." --weight=1 # Start a systemd service -ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" +ynh_systemd_action --service_name=$app --action=start --log_path=systemd #================================================= # RELOAD NGINX diff --git a/scripts/install b/scripts/install index e64c2ed..2caec23 100644 --- a/scripts/install +++ b/scripts/install @@ -151,17 +151,17 @@ yunohost service add $app --description="Self-hosted remote torrent client" --ne ynh_script_progression --message="Starting a systemd service..." --weight=2 # Start a systemd service -ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log" +ynh_systemd_action --service_name=$app --action=start --log_path=systemd #================================================= # SETUP SSOWAT #================================================= -ynh_script_progression --message="Configuring SSOwat..." --weight=1 +ynh_script_progression --message="Configuring permissions..." --weight=1 # Make app public if necessary or protect it if [ $is_public -eq 1 ] then - ynh_permission_update --permission "main" --add "visitors" + ynh_permission_update --permission="main" --add="visitors" fi #================================================= diff --git a/scripts/restore b/scripts/restore index 5aa74e4..fb13577 100644 --- a/scripts/restore +++ b/scripts/restore @@ -108,7 +108,7 @@ yunohost service add $app --description="Self-hosted remote torrent client" --ne #================================================= ynh_script_progression --message="Starting a systemd service..." --weight=1 -ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log" +ynh_systemd_action --service_name=$app --action=start --log_path=systemd #================================================= # GENERIC FINALIZATION diff --git a/scripts/upgrade b/scripts/upgrade index d9089c0..98be45c 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -139,7 +139,7 @@ yunohost service add $app --description="Self-hosted remote torrent client" --ne #================================================= ynh_script_progression --message="Starting a systemd service..." --weight=1 -ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log" +ynh_systemd_action --service_name=$app --action=start --log_path=systemd #================================================= # RELOAD NGINX