1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/matomo_ynh.git synced 2024-09-03 19:45:56 +02:00
* 5.0.0

* Update manifest.toml

* Auto-update README

* cleaning

* Update manifest.toml

* cleaning

* Update tests.toml

---------

Co-authored-by: yunohost-bot <yunohost@yunohost.org>
This commit is contained in:
eric_G 2023-12-19 09:12:51 +01:00 committed by GitHub
parent db1bf4e486
commit 0c360b40cc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 14 additions and 8 deletions

View file

@ -21,7 +21,7 @@ Matomo is the leading Free/Libre open analytics platform. At the end of the five
Matomo aims to be a Free software alternative to Google Analytics and is already used on more than 1,400,000 websites. Privacy is built-in! Matomo aims to be a Free software alternative to Google Analytics and is already used on more than 1,400,000 websites. Privacy is built-in!
**Shipped version:** 4.16.0~ynh1 **Shipped version:** 5.0.0~ynh1
**Demo:** https://demo.matomo.org **Demo:** https://demo.matomo.org

View file

@ -20,7 +20,7 @@ Matomo est la principale plateforme d'analyse ouverte Free/Libre. À la fin du p
Matomo se veut une alternative logicielle gratuite à Google Analytics et est déjà utilisé sur plus de 1 400 000 sites Web. La confidentialité est intégrée ! Matomo se veut une alternative logicielle gratuite à Google Analytics et est déjà utilisé sur plus de 1 400 000 sites Web. La confidentialité est intégrée !
**Version incluse :** 4.16.0~ynh1 **Version incluse :** 5.0.0~ynh1
**Démo :** https://demo.matomo.org **Démo :** https://demo.matomo.org

View file

@ -5,9 +5,9 @@ name = "Matomo"
description.en = "Analytics platform for measuring Web statistics" description.en = "Analytics platform for measuring Web statistics"
description.fr = "Plateforme d'analyse de mesure de statistiques Web" description.fr = "Plateforme d'analyse de mesure de statistiques Web"
version = "4.16.0~ynh1" version = "5.0.0~ynh1"
maintainers = [] maintainers = ["eric_G"]
[upstream] [upstream]
license = "GPL-3.0-or-later" license = "GPL-3.0-or-later"
@ -51,8 +51,9 @@ ram.runtime = "50M"
[resources.sources] [resources.sources]
[resources.sources.main] [resources.sources.main]
url = "https://builds.matomo.org/matomo-4.16.0.tar.gz" url = "https://github.com/matomo-org/matomo/releases/download/5.0.0/matomo-5.0.0.tar.gz"
sha256 = "385653e35f795935b0d97340c8688d8b15ba85234a0b72320696b990cf4f0959" sha256 = "d72b74dced0a9a93295043646ba1fc4577aa4a7d282b46baf7898933f8bbff65"
autoupdate.strategy = "latest_github_tag"
[resources.system_user] [resources.system_user]

View file

@ -23,6 +23,9 @@ ynh_change_url_nginx_config
#================================================= #=================================================
ynh_script_progression --message="Setuping a cron..." --weight=1 ynh_script_progression --message="Setuping a cron..." --weight=1
path=$new_path
domain=$new_domain
ynh_add_config --template="cron" --destination="/etc/cron.d/$app" ynh_add_config --template="cron" --destination="/etc/cron.d/$app"
chown root: "/etc/cron.d/$app" chown root: "/etc/cron.d/$app"
chmod 644 "/etc/cron.d/$app" chmod 644 "/etc/cron.d/$app"

View file

@ -23,6 +23,7 @@ ynh_script_progression --message="Setting up source files..." --weight=4
# Download, check integrity, uncompress and patch the source from app.src # Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$install_dir" ynh_setup_source --dest_dir="$install_dir"
chmod -R o-rwx "$install_dir"
chown -R $app:www-data "$install_dir" chown -R $app:www-data "$install_dir"
#================================================= #=================================================

View file

@ -17,6 +17,7 @@ ynh_script_progression --message="Restoring the app main directory..." --weight=
ynh_restore_file --origin_path="$install_dir" ynh_restore_file --origin_path="$install_dir"
chmod -R o-rwx "$install_dir"
chown -R $app:www-data "$install_dir" chown -R $app:www-data "$install_dir"
#================================================= #=================================================
@ -31,7 +32,6 @@ ynh_mysql_connect_as --user=$db_user --password=$db_pwd --database=$db_name < ./
#================================================= #=================================================
ynh_script_progression --message="Restoring the PHP-FPM configuration..." --weight=2 ynh_script_progression --message="Restoring the PHP-FPM configuration..." --weight=2
# Restore the file first, so it can have a backup if different
ynh_restore_file --origin_path="/etc/php/$phpversion/fpm/pool.d/$app.conf" ynh_restore_file --origin_path="/etc/php/$phpversion/fpm/pool.d/$app.conf"
ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf" ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf"

View file

@ -37,6 +37,7 @@ then
fi fi
fi fi
chmod -R o-rwx "$install_dir"
chown -R $app:www-data "$install_dir" chown -R $app:www-data "$install_dir"
#================================================= #=================================================

View file

@ -6,4 +6,4 @@ test_format = 1.0
# Commits to test upgrade from # Commits to test upgrade from
# ------------------------------- # -------------------------------
test_upgrade_from.9edf3d60.name = "Upgrade from 4.4.0" test_upgrade_from.990d0ae6d5c98db4de9342bb19e3797c9df0da73.name = "Upgrade from 4.16.0"