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

* Auto-update README

* Upgrade to php8 (#82)

* Auto-update README

* [autopatch] Add Common Platform Enumeration id to `manifest.json` (#81)

* Testing (#80)

* 4.11.0

* Auto-update README

Co-authored-by: yunohost-bot <yunohost@yunohost.org>

* [autopatch] Add Common Platform Enumeration id to `manifest.json`

Co-authored-by: yalh76 <yalh@yahoo.com>
Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com>
Co-authored-by: Yunohost-Bot <>

* Auto-update README

* Auto-update README

* Update manifest.json

* Auto-update README

* fix upgrade : Missing phpversion var definition, later used around line 117

* Update upgrade

Co-authored-by: yunohost-bot <yunohost@yunohost.org>
Co-authored-by: YunoHost Bot <yunohost-bot@users.noreply.github.com>
Co-authored-by: yalh76 <yalh@yahoo.com>
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
This commit is contained in:
Éric Gaspar 2022-08-17 19:51:03 +02:00 committed by GitHub
parent 3c43805228
commit 177c557b0e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 15 additions and 9 deletions

View file

@ -22,7 +22,8 @@ Matomo is a full-featured PHP MySQL software program that you download and insta
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.11.0~ynh2 **Shipped version:** 4.11.0~ynh3
**Demo:** https://demo.matomo.org **Demo:** https://demo.matomo.org

View file

@ -22,7 +22,8 @@ Matomo is a full-featured PHP MySQL software program that you download and insta
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!
**Version incluse :** 4.11.0~ynh2 **Version incluse :** 4.11.0~ynh3
**Démo :** https://demo.matomo.org **Démo :** https://demo.matomo.org

View file

@ -6,14 +6,15 @@
"en": "Open source analytics platform for measuring Web statistics", "en": "Open source analytics platform for measuring Web statistics",
"fr": "Plateforme d'analyse open source de mesure de statistiques Web" "fr": "Plateforme d'analyse open source de mesure de statistiques Web"
}, },
"version": "4.11.0~ynh2", "version": "4.11.0~ynh3",
"url": "https://matomo.org", "url": "https://matomo.org",
"upstream": { "upstream": {
"license": "GPL-3.0-or-later", "license": "GPL-3.0-or-later",
"website": "https://matomo.org", "website": "https://matomo.org",
"demo": "https://demo.matomo.org", "demo": "https://demo.matomo.org",
"admindoc": "https://matomo.org/docs", "admindoc": "https://matomo.org/docs",
"code": "https://github.com/matomo-org/matomo" "code": "https://github.com/matomo-org/matomo",
"cpe": "cpe:2.3:a:matomo:matomo"
}, },
"license": "GPL-3.0-or-later", "license": "GPL-3.0-or-later",
"maintainer": { "maintainer": {
@ -21,12 +22,12 @@
"email": "anmol@datamol.org" "email": "anmol@datamol.org"
}, },
"requirements": { "requirements": {
"yunohost": ">= 4.3.0" "yunohost": ">= 11.0.9"
}, },
"multi_instance": true, "multi_instance": true,
"services": [ "services": [
"nginx", "nginx",
"php7.3-fpm", "php8.0-fpm",
"mysql" "mysql"
], ],
"arguments": { "arguments": {

View file

@ -4,8 +4,10 @@
# COMMON VARIABLES # COMMON VARIABLES
#================================================= #=================================================
YNH_PHP_VERSION=8.0
# dependencies used by the app # dependencies used by the app
pkg_dependencies="php$YNH_DEFAULT_PHP_VERSION-curl php$YNH_DEFAULT_PHP_VERSION-gd php$YNH_DEFAULT_PHP_VERSION-cli php$YNH_DEFAULT_PHP_VERSION-mysql php$YNH_DEFAULT_PHP_VERSION-xml php$YNH_DEFAULT_PHP_VERSION-mbstring" pkg_dependencies="php$YNH_PHP_VERSION-curl php$YNH_PHP_VERSION-gd php$YNH_PHP_VERSION-cli php$YNH_PHP_VERSION-mysql php$YNH_PHP_VERSION-xml php$YNH_PHP_VERSION-mbstring"
#================================================= #=================================================
# PERSONAL HELPERS # PERSONAL HELPERS

View file

@ -23,6 +23,7 @@ final_path=$(ynh_app_setting_get --app=$app --key=final_path)
db_name=$(ynh_app_setting_get --app=$app --key=db_name) db_name=$(ynh_app_setting_get --app=$app --key=db_name)
fpm_footprint=$(ynh_app_setting_get --app=$app --key=fpm_footprint) fpm_footprint=$(ynh_app_setting_get --app=$app --key=fpm_footprint)
fpm_usage=$(ynh_app_setting_get --app=$app --key=fpm_usage) fpm_usage=$(ynh_app_setting_get --app=$app --key=fpm_usage)
phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
email=$(ynh_user_get_info --username=$admin --key=mail) email=$(ynh_user_get_info --username=$admin --key=mail)
@ -111,7 +112,7 @@ then
ynh_setup_source --dest_dir="$final_path" ynh_setup_source --dest_dir="$final_path"
else else
# 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="$final_path" --keep="$final_path/config/config.ini.php" ynh_setup_source --dest_dir="$final_path" --keep="config/config.ini.php"
chown -R $app:www-data "$final_path" chown -R $app:www-data "$final_path"
ynh_exec_as $app php${phpversion} $final_path/console core:update -n ynh_exec_as $app php${phpversion} $final_path/console core:update -n