mirror of
https://github.com/YunoHost-Apps/ttrss_ynh.git
synced 2024-10-01 13:34:46 +02:00
Testing (#142)
* Auto-update README * Upgrade to upstream * Auto-update README * Bullseye (#141) * Fix * Fix * Auto-update README Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: yunohost-bot <yunohost@yunohost.org>
This commit is contained in:
parent
ed9ca9555a
commit
9a9708f719
7 changed files with 11 additions and 12 deletions
|
@ -28,7 +28,7 @@ Tiny Tiny RSS is a free and open source web-based news feed (RSS/Atom) reader an
|
||||||
- flexible article filtering
|
- flexible article filtering
|
||||||
|
|
||||||
|
|
||||||
**Shipped version:** 20220812~ynh1
|
**Shipped version:** 20220824~ynh1
|
||||||
|
|
||||||
|
|
||||||
**Demo:** https://srv.tt-rss.org/tt-rss/
|
**Demo:** https://srv.tt-rss.org/tt-rss/
|
||||||
|
|
|
@ -28,7 +28,7 @@ Tiny Tiny RSS est un lecteur et agrégateur de flux de nouvelles (RSS/Atom) bas
|
||||||
- filtrage flexible des articles
|
- filtrage flexible des articles
|
||||||
|
|
||||||
|
|
||||||
**Version incluse :** 20220812~ynh1
|
**Version incluse :** 20220824~ynh1
|
||||||
|
|
||||||
|
|
||||||
**Démo :** https://srv.tt-rss.org/tt-rss/
|
**Démo :** https://srv.tt-rss.org/tt-rss/
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
SOURCE_URL=https://git-gitea.tt-rss.org/fox/tt-rss/archive/ed2cbeffcc456a86726b52d37c977a35b895968c.tar.gz
|
SOURCE_URL=https://git-gitea.tt-rss.org/fox/tt-rss/archive/c0e77241d34f494c98b877df655fc5a5c5a9cb14.tar.gz
|
||||||
SOURCE_SUM=a4a606b25a7c615089929fae5c247373787971b3879030a3247da0a52037743c
|
SOURCE_SUM=4614f537e669177b0e57a34d4a1514126f1bb6a48ab4c675f0a0f633000c604a
|
||||||
SOURCE_SUM_PRG=sha256sum
|
SOURCE_SUM_PRG=sha256sum
|
||||||
SOURCE_FORMAT=tar.gz
|
SOURCE_FORMAT=tar.gz
|
||||||
SOURCE_IN_SUBDIR=true
|
SOURCE_IN_SUBDIR=true
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"en": "News feed (RSS/Atom) reader and aggregator",
|
"en": "News feed (RSS/Atom) reader and aggregator",
|
||||||
"fr": "Lecteur de flux d’actualité utilisant les protocoles RSS et Atom"
|
"fr": "Lecteur de flux d’actualité utilisant les protocoles RSS et Atom"
|
||||||
},
|
},
|
||||||
"version": "20220812~ynh1",
|
"version": "20220824~ynh1",
|
||||||
"url": "http://tt-rss.org",
|
"url": "http://tt-rss.org",
|
||||||
"upstream": {
|
"upstream": {
|
||||||
"license": "GPL-3.0-only",
|
"license": "GPL-3.0-only",
|
||||||
|
@ -21,7 +21,7 @@
|
||||||
"email": ""
|
"email": ""
|
||||||
},
|
},
|
||||||
"requirements": {
|
"requirements": {
|
||||||
"yunohost": ">= 4.3.0"
|
"yunohost": ">= 11.0.9"
|
||||||
},
|
},
|
||||||
"multi_instance": true,
|
"multi_instance": true,
|
||||||
"services": [
|
"services": [
|
||||||
|
|
|
@ -153,7 +153,7 @@ yunohost service add $app --description="News feed reader and aggregator" --log=
|
||||||
ynh_script_progression --message="Starting a systemd service..." --weight=1
|
ynh_script_progression --message="Starting a systemd service..." --weight=1
|
||||||
|
|
||||||
# Start a systemd service
|
# Start a systemd service
|
||||||
ynh_systemd_action --service_name=$app --action="start"
|
ynh_systemd_action --service_name=$app --action="start" --log_path="systemd"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SETUP SSOWAT
|
# SETUP SSOWAT
|
||||||
|
|
|
@ -114,7 +114,7 @@ yunohost service add $app --description="News feed reader and aggregator" --log=
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Starting a systemd service..."
|
ynh_script_progression --message="Starting a systemd service..."
|
||||||
|
|
||||||
ynh_systemd_action --service_name=$app --action="start"
|
ynh_systemd_action --service_name=$app --action="start" --log_path="systemd"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# GENERIC FINALIZATION
|
# GENERIC FINALIZATION
|
||||||
|
|
|
@ -27,7 +27,6 @@ phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
|
||||||
#=================================================
|
#=================================================
|
||||||
# CHECK VERSION
|
# CHECK VERSION
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Checking version..."
|
|
||||||
|
|
||||||
upgrade_type=$(ynh_check_app_version_changed)
|
upgrade_type=$(ynh_check_app_version_changed)
|
||||||
|
|
||||||
|
@ -53,7 +52,7 @@ ynh_abort_if_errors
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Stopping a systemd service..."
|
ynh_script_progression --message="Stopping a systemd service..."
|
||||||
|
|
||||||
ynh_systemd_action --service_name=$app --action="stop"
|
ynh_systemd_action --service_name=$app --action="stop" --log_path="systemd"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# ENSURE DOWNWARD COMPATIBILITY
|
# ENSURE DOWNWARD COMPATIBILITY
|
||||||
|
@ -154,7 +153,7 @@ then
|
||||||
domain_path=https://$domain$path_url
|
domain_path=https://$domain$path_url
|
||||||
ynh_add_config --template="../conf/config.php" --destination="$final_path/config.php"
|
ynh_add_config --template="../conf/config.php" --destination="$final_path/config.php"
|
||||||
|
|
||||||
ynh_script_progression --message="Upgrading ttrss database..." --weight=2
|
ynh_script_progression --message="Upgrading the database..." --weight=2
|
||||||
ynh_exec_as $app php${phpversion} ${final_path}/update.php --update-schema=force-yes
|
ynh_exec_as $app php${phpversion} ${final_path}/update.php --update-schema=force-yes
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -183,7 +182,7 @@ yunohost service add $app --description="News feed reader and aggregator" --log=
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Starting a systemd service..." --weight=1
|
ynh_script_progression --message="Starting a systemd service..." --weight=1
|
||||||
|
|
||||||
ynh_systemd_action --service_name=$app --action="start"
|
ynh_systemd_action --service_name=$app --action="start" --log_path="systemd"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# RELOAD NGINX
|
# RELOAD NGINX
|
||||||
|
|
Loading…
Reference in a new issue