From 80f5a8994634f728cff8e8afb3ce41ae403e46ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Tue, 2 Mar 2021 08:47:11 +0100 Subject: [PATCH] Testing (#30) * Upgrade to 1.10.3 --- README.md | 2 +- README_fr.md | 2 +- check_process | 8 +++----- conf/app.src | 4 ++-- manifest.json | 4 ++-- scripts/install | 3 +-- scripts/restore | 2 +- scripts/upgrade | 3 +-- 8 files changed, 12 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 5c39777..fab1e38 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in ## Overview Streama is a free self hosted media streaming server running on Java, that you can install on your Linux distribution. Its features are similar to those of Kodi and Plex and it is simply a matter of personal choice which one you would like to use. -**Shipped version:** 1.9.3 +**Shipped version:** 1.10.3 ## Screenshots diff --git a/README_fr.md b/README_fr.md index f1c3180..733bb48 100644 --- a/README_fr.md +++ b/README_fr.md @@ -11,7 +11,7 @@ Si vous n'avez pas YunoHost, consultez [le guide](https://yunohost.org/#/install ## Vue d'ensemble Streama est un serveur de streaming multimédia auto-hébergé gratuit fonctionnant sur Java, que vous pouvez installer sur votre distribution Linux. Ses fonctionnalités sont similaires à celles de Kodi et Plex et c'est simplement une question de choix personnel que vous souhaitez utiliser. -**Version incluse :** 1.9.3 +**Version incluse :** 1.10.3 ## Captures d'écran diff --git a/check_process b/check_process index eb0f54f..c11983d 100644 --- a/check_process +++ b/check_process @@ -1,8 +1,6 @@ # See here for more informations # https://github.com/YunoHost/package_check#syntax-check_process-file -# Move this file from check_process.default to check_process when you have filled it. - ;; Test complet ; Manifest domain="domain.tld" (DOMAIN) @@ -17,6 +15,7 @@ setup_private=1 setup_public=1 upgrade=1 + upgrade=1 from_commit=3a02114f50e785722bc592cbcc33f92bf070b1c1 backup_restore=1 multi_instance=0 port_already_use=0 @@ -25,7 +24,6 @@ Email= Notification=none ;;; Upgrade options - ; commit= - name= + ; commit=3a02114f50e785722bc592cbcc33f92bf070b1c1 + name=Upgrade to 1.9.3 (#28) manifest_arg=domain=DOMAIN&path=PATH&admin=USER&language=fr&is_public=1&password=pass&port=666& - diff --git a/conf/app.src b/conf/app.src index 79ea116..b5cad0a 100644 --- a/conf/app.src +++ b/conf/app.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/streamaserver/streama/releases/download/v1.9.3/streama-1.9.3.jar -SOURCE_SUM=efe96bc52413cada7653459fa3fb6c45a918da86338883ac04ceb844bb9223f1 +SOURCE_URL=https://github.com/streamaserver/streama/releases/download/v1.10.3/streama-1.10.3.jar +SOURCE_SUM=9d99acb55883e39be3604d5a1e8730c219acf59dfcdfbe8a36fb6ed1cbab615d SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=jar SOURCE_IN_SUBDIR=false diff --git a/manifest.json b/manifest.json index d1a4576..a3ae702 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Self hosted streaming media server", "fr": "Serveur de streaming auto-hébergé" }, - "version": "1.9.3~ynh1", + "version": "1.10.3~ynh1", "url": "https://streamaserver.org/", "license": "MIT", "maintainer": { @@ -14,7 +14,7 @@ "email": "liberodark@gmail.com" }, "requirements": { - "yunohost": ">= 4.0.0" + "yunohost": ">= 4.1.0" }, "multi_instance": false, "services": [ diff --git a/scripts/install b/scripts/install index 13000ea..d918c90 100644 --- a/scripts/install +++ b/scripts/install @@ -47,7 +47,6 @@ ynh_webpath_register --app=$app --domain=$domain --path_url=$path_url ynh_app_setting_set --app=$app --key=domain --value=$domain ynh_app_setting_set --app=$app --key=path --value=$path_url -ynh_app_setting_set --app=$app --key=is_public --value=$is_public #================================================= # FIND AND OPEN A PORT @@ -134,7 +133,7 @@ yunohost service add $app --description="Streama media system" --log="/var/log/$ 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="Grails application running at" +ynh_systemd_action --service_name=$app --action=start --log_path=systemd --line_match="Grails application running at" #================================================= # SETUP SSOWAT diff --git a/scripts/restore b/scripts/restore index d4e9ea2..ba74324 100644 --- a/scripts/restore +++ b/scripts/restore @@ -92,7 +92,7 @@ yunohost service add $app --description="Streama media system" --log="/var/log/$ #================================================= ynh_script_progression --message="Starting a systemd service..." --weight=2 -ynh_systemd_action --service_name=$app --action=start --log_path="systemd" --line_match="Grails application running at" +ynh_systemd_action --service_name=$app --action=start --log_path=systemd --line_match="Grails application running at" #================================================= # GENERIC FINALIZATION diff --git a/scripts/upgrade b/scripts/upgrade index fda1166..d38ff88 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -20,7 +20,6 @@ app=$YNH_APP_INSTANCE_NAME domain=$(ynh_app_setting_get --app=$app --key=domain) path_url=$(ynh_app_setting_get --app=$app --key=path) final_path=$(ynh_app_setting_get --app=$app --key=final_path) -is_public=$(ynh_app_setting_get --app=$app --key=is_public) port=$(ynh_app_setting_get --app=$app --key=port) #================================================= @@ -130,7 +129,7 @@ yunohost service add $app --description="Streama media system" --log="/var/log/$ ynh_script_progression --message="Starting a systemd service..." --weight=5 # Start a systemd service -ynh_systemd_action --service_name=$app --action=start --log_path="systemd" --line_match="Grails application running at" +ynh_systemd_action --service_name=$app --action=start --log_path=systemd --line_match="Grails application running at" #================================================= # RELOAD NGINX