From 7b9d68d98310d03d038bb29b819c87177a4c1adc Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Fri, 22 Apr 2022 10:58:33 +0200 Subject: [PATCH 1/7] Update remove --- scripts/remove | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/remove b/scripts/remove index 65fe5bc..326e6f0 100644 --- a/scripts/remove +++ b/scripts/remove @@ -85,10 +85,10 @@ ynh_remove_app_dependencies #================================================= # REMOVE VARIOUS FILES #================================================= -ynh_script_progression --message="Removing various files..." --weight=1 +# ynh_script_progression --message="Removing various files..." --weight=1 -# Remove a cron file -ynh_secure_remove --file="/etc/cron.d/$app" +# # Remove a cron file +# ynh_secure_remove --file="/etc/cron.d/$app" #================================================= # GENERIC FINALIZATION From 82eef0c7856ce8d85553b5d75f6a02995699bc35 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Fri, 22 Apr 2022 10:58:48 +0200 Subject: [PATCH 2/7] Update remove --- scripts/remove | 8 -------- 1 file changed, 8 deletions(-) diff --git a/scripts/remove b/scripts/remove index 326e6f0..53b546e 100644 --- a/scripts/remove +++ b/scripts/remove @@ -82,14 +82,6 @@ ynh_script_progression --message="Removing dependencies..." --weight=1 # Remove metapackage and its dependencies ynh_remove_app_dependencies -#================================================= -# REMOVE VARIOUS FILES -#================================================= -# ynh_script_progression --message="Removing various files..." --weight=1 - -# # Remove a cron file -# ynh_secure_remove --file="/etc/cron.d/$app" - #================================================= # GENERIC FINALIZATION #================================================= From c8635aeb8281e8f5bb617c6cbf560b55330f26b6 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Wed, 4 May 2022 07:35:14 +0200 Subject: [PATCH 3/7] Update remove --- scripts/remove | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/scripts/remove b/scripts/remove index 53b546e..005fe10 100644 --- a/scripts/remove +++ b/scripts/remove @@ -82,6 +82,14 @@ ynh_script_progression --message="Removing dependencies..." --weight=1 # Remove metapackage and its dependencies ynh_remove_app_dependencies +================================================= +# REMOVE VARIOUS FILES +#================================================= +ynh_script_progression --message="Removing various files..." --weight=1 + +# Remove a cron file +ynh_secure_remove --file="/etc/cron.d/$app" + #================================================= # GENERIC FINALIZATION #================================================= From b34826f03162d918284618bb635ab5653340b5ef Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Wed, 4 May 2022 10:21:59 +0200 Subject: [PATCH 4/7] Update remove --- scripts/remove | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/remove b/scripts/remove index 005fe10..65fe5bc 100644 --- a/scripts/remove +++ b/scripts/remove @@ -82,7 +82,7 @@ ynh_script_progression --message="Removing dependencies..." --weight=1 # Remove metapackage and its dependencies ynh_remove_app_dependencies -================================================= +#================================================= # REMOVE VARIOUS FILES #================================================= ynh_script_progression --message="Removing various files..." --weight=1 From eb06cd309c50c70daca92090dc3131e825ffd847 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 6 Jun 2022 16:22:12 +0200 Subject: [PATCH 5/7] upgrade to upstream --- conf/app.src | 4 ++-- manifest.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/conf/app.src b/conf/app.src index 804f5cf..20a0e38 100644 --- a/conf/app.src +++ b/conf/app.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://git-gitea.tt-rss.org/fox/tt-rss/archive/2654b3c6be408113ede52180ae283afa72da5f3c.tar.gz -SOURCE_SUM=2e266d66f182d213509ec079454522b23f23da3e411de4b1f037793e97284db8 +SOURCE_URL=https://git-gitea.tt-rss.org/fox/tt-rss/archive/8ef816d8f8ee964d5ce54e28e1f2686caf9176fd.tar.gz +SOURCE_SUM=1e33e78d2ed58259b34fd7eb8d97d803a3e57aeecd3504d635af96a600b77296 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=true diff --git a/manifest.json b/manifest.json index 4d71173..753bf1e 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "News feed (RSS/Atom) reader and aggregator", "fr": "Lecteur de flux d’actualité utilisant les protocoles RSS et Atom" }, - "version": "20220414~ynh1", + "version": "20220606~ynh1", "url": "http://tt-rss.org", "upstream": { "license": "GPL-3.0-only", From 47e552de89c203fbdaeb63a7f1fb78dc0de98db1 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Mon, 6 Jun 2022 14:22:18 +0000 Subject: [PATCH 6/7] Auto-update README --- README.md | 21 +++++++++++---------- README_fr.md | 27 ++++++++++++++++----------- 2 files changed, 27 insertions(+), 21 deletions(-) diff --git a/README.md b/README.md index f2f50fa..167fecd 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ It shall NOT be edited by hand. # Tiny Tiny RSS for YunoHost -[![Integration level](https://dash.yunohost.org/integration/ttrss.svg)](https://dash.yunohost.org/appci/app/ttrss) ![](https://ci-apps.yunohost.org/ci/badges/ttrss.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/ttrss.maintain.svg) +[![Integration level](https://dash.yunohost.org/integration/ttrss.svg)](https://dash.yunohost.org/appci/app/ttrss) ![Working status](https://ci-apps.yunohost.org/ci/badges/ttrss.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/ttrss.maintain.svg) [![Install Tiny Tiny RSS with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=ttrss) *[Lire ce readme en français.](./README_fr.md)* @@ -27,13 +27,13 @@ Tiny Tiny RSS is a free and open source web-based news feed (RSS/Atom) reader an - podcasts, - flexible article filtering -**Shipped version:** 20220414~ynh1 +**Shipped version:** 20220606~ynh1 **Demo:** https://demo.yunohost.org/ttrss/ ## Screenshots -![](./doc/screenshots/screenshot.png) +![Screenshot of Tiny Tiny RSS](./doc/screenshots/screenshot.png) ## Disclaimers / important information @@ -43,21 +43,22 @@ Tiny Tiny RSS is a free and open source web-based news feed (RSS/Atom) reader an - password: `password` ## Documentation and resources -* Official app website: http://tt-rss.org -* Official admin documentation: https://git.tt-rss.org/git/tt-rss/wiki -* Upstream app code repository: https://git-gitea.tt-rss.org/fox/tt-rss -* YunoHost documentation for this app: https://yunohost.org/app_ttrss -* Report a bug: https://github.com/YunoHost-Apps/ttrss_ynh/issues +* Official app website: +* Official admin documentation: +* Upstream app code repository: +* YunoHost documentation for this app: +* Report a bug: ## Developer info Please send your pull request to the [testing branch](https://github.com/YunoHost-Apps/ttrss_ynh/tree/testing). To try the testing branch, please proceed like that. -``` + +``` bash sudo yunohost app install https://github.com/YunoHost-Apps/ttrss_ynh/tree/testing --debug or sudo yunohost app upgrade ttrss -u https://github.com/YunoHost-Apps/ttrss_ynh/tree/testing --debug ``` -**More info regarding app packaging:** https://yunohost.org/packaging_apps \ No newline at end of file +**More info regarding app packaging:** diff --git a/README_fr.md b/README_fr.md index 18d1153..78beebe 100644 --- a/README_fr.md +++ b/README_fr.md @@ -1,10 +1,14 @@ + + # Tiny Tiny RSS pour YunoHost -[![Niveau d'intégration](https://dash.yunohost.org/integration/ttrss.svg)](https://dash.yunohost.org/appci/app/ttrss) ![](https://ci-apps.yunohost.org/ci/badges/ttrss.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/ttrss.maintain.svg) +[![Niveau d'intégration](https://dash.yunohost.org/integration/ttrss.svg)](https://dash.yunohost.org/appci/app/ttrss) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/ttrss.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/ttrss.maintain.svg) [![Installer Tiny Tiny RSS avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=ttrss) *[Read this readme in english.](./README.md)* -*[Lire ce readme en français.](./README_fr.md)* > *Ce package vous permet d'installer Tiny Tiny RSS 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.* @@ -14,13 +18,13 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour Tiny Tiny RSS est un lecteur et agrégateur de flux d'actualités (RSS/Atom) en ligne gratuit et open source. -**Version incluse :** 20220414~ynh1 +**Version incluse :** 20220606~ynh1 **Démo :** https://demo.yunohost.org/ttrss/ ## Captures d'écran -![](./doc/screenshots/screenshot.png) +![Capture d'écran de Tiny Tiny RSS](./doc/screenshots/screenshot.png) ## Avertissements / informations importantes @@ -30,21 +34,22 @@ Tiny Tiny RSS est un lecteur et agrégateur de flux d'actualités (RSS/Atom) en - password: `password` ## Documentations et ressources -* Site officiel de l'app : http://tt-rss.org -* Documentation officielle de l'admin : https://git.tt-rss.org/git/tt-rss/wiki -* Dépôt de code officiel de l'app : https://git-gitea.tt-rss.org/fox/tt-rss -* Documentation YunoHost pour cette app : https://yunohost.org/app_ttrss -* Signaler un bug : https://github.com/YunoHost-Apps/ttrss_ynh/issues +* 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 : ## Informations pour les développeurs Merci de faire vos pull request sur la [branche testing](https://github.com/YunoHost-Apps/ttrss_ynh/tree/testing). Pour essayer la branche testing, procédez comme suit. -``` + +``` bash sudo yunohost app install https://github.com/YunoHost-Apps/ttrss_ynh/tree/testing --debug ou sudo yunohost app upgrade ttrss -u https://github.com/YunoHost-Apps/ttrss_ynh/tree/testing --debug ``` -**Plus d'infos sur le packaging d'applications :** https://yunohost.org/packaging_apps \ No newline at end of file +**Plus d'infos sur le packaging d'applications :** From 3cb4ea773fe340bc3046ae2cc83f27cdff217e76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 6 Jun 2022 19:06:50 +0200 Subject: [PATCH 7/7] Php8 (#129) * Auto-update README * PHP8 Co-authored-by: yunohost-bot --- manifest.json | 2 +- scripts/_common.sh | 4 ++-- scripts/install | 2 +- scripts/remove | 2 +- scripts/restore | 16 ++++++++-------- scripts/upgrade | 16 ++++++++-------- 6 files changed, 21 insertions(+), 21 deletions(-) diff --git a/manifest.json b/manifest.json index 753bf1e..e419830 100644 --- a/manifest.json +++ b/manifest.json @@ -26,7 +26,7 @@ "multi_instance": true, "services": [ "nginx", - "php7.3-fpm", + "php8.0-fpm", "mysql" ], "arguments": { diff --git a/scripts/_common.sh b/scripts/_common.sh index d77187a..6d0ca06 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -4,9 +4,9 @@ # COMMON VARIABLES #================================================= -YNH_PHP_VERSION="7.3" +YNH_PHP_VERSION="8.0" -pkg_dependencies="php${YNH_PHP_VERSION}-mysql php${YNH_PHP_VERSION}-json php${YNH_PHP_VERSION}-curl php${YNH_PHP_VERSION}-gd php${YNH_PHP_VERSION}-opcache \ +pkg_dependencies="php${YNH_PHP_VERSION}-mysql php${YNH_PHP_VERSION}-curl php${YNH_PHP_VERSION}-gd php${YNH_PHP_VERSION}-opcache \ php${YNH_PHP_VERSION}-fileinfo php${YNH_PHP_VERSION}-intl php${YNH_PHP_VERSION}-cli php${YNH_PHP_VERSION}-mbstring php${YNH_PHP_VERSION}-xml" #================================================= diff --git a/scripts/install b/scripts/install index bf91cb3..d07cfde 100644 --- a/scripts/install +++ b/scripts/install @@ -129,7 +129,7 @@ ynh_add_systemd_config #================================================= ynh_script_progression --message="Initializing database..." --weight=6 -ynh_mysql_connect_as --user="$db_name" --password="$db_pwd" --database="$db_name" \ +ynh_mysql_connect_as --user="$db_user" --password="$db_pwd" --database="$db_name" \ < "$final_path/schema/ttrss_schema_mysql.sql" sudo -u $app php${phpversion} ${final_path}/update.php --update-schema=force-yes diff --git a/scripts/remove b/scripts/remove index 65fe5bc..986e6dc 100644 --- a/scripts/remove +++ b/scripts/remove @@ -53,7 +53,7 @@ ynh_mysql_remove_db --db_user=$db_user --db_name=$db_name #================================================= # REMOVE APP MAIN DIR #================================================= -ynh_script_progression --message="Removing app main directory..." --weight=4 +ynh_script_progression --message="Removing the app main directory..." --weight=4 # Remove the app directory securely ynh_secure_remove --file="$final_path" diff --git a/scripts/restore b/scripts/restore index 7a5b057..57eccd3 100644 --- a/scripts/restore +++ b/scripts/restore @@ -66,6 +66,14 @@ chmod 750 "$final_path" chmod -R o-rwx "$final_path" chown -R $app:www-data "$final_path" +#================================================= +# REINSTALL DEPENDENCIES +#================================================= +ynh_script_progression --message="Reinstalling dependencies..." --weight=1 + +# Define and install dependencies +ynh_install_app_dependencies $pkg_dependencies + #================================================= # RESTORE THE PHP-FPM CONFIGURATION #================================================= @@ -75,14 +83,6 @@ ynh_restore_file --origin_path="/etc/php/$phpversion/fpm/pool.d/$app.conf" ynh_add_fpm_config -#================================================= -# REINSTALL DEPENDENCIES -#================================================= -ynh_script_progression --message="Reinstalling dependencies..." --weight=1 - -# Define and install dependencies -ynh_install_app_dependencies $pkg_dependencies - #================================================= # RESTORE THE MYSQL DATABASE #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index c93cb9b..186577f 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -110,14 +110,6 @@ chmod 750 "$final_path" chmod -R o-rwx "$final_path" chown -R $app:www-data "$final_path" -#================================================= -# NGINX CONFIGURATION -#================================================= -ynh_script_progression --message="Upgrading NGINX web server configuration..." --weight=2 - -# Create a dedicated NGINX config -ynh_add_nginx_config - #================================================= # UPGRADE DEPENDENCIES #================================================= @@ -133,6 +125,14 @@ ynh_script_progression --message="Upgrading PHP-FPM configuration..." --weight=2 # Create a dedicated PHP-FPM config ynh_add_fpm_config +#================================================= +# NGINX CONFIGURATION +#================================================= +ynh_script_progression --message="Upgrading NGINX web server configuration..." --weight=2 + +# Create a dedicated NGINX config +ynh_add_nginx_config + #================================================= # SPECIFIC UPGRADE #=================================================