mirror of
https://github.com/YunoHost-Apps/matomo_ynh.git
synced 2024-09-03 19:45:56 +02:00
Testing (#83)
* 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:
parent
3c43805228
commit
177c557b0e
5 changed files with 15 additions and 9 deletions
|
@ -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!
|
||||
|
||||
|
||||
**Shipped version:** 4.11.0~ynh2
|
||||
**Shipped version:** 4.11.0~ynh3
|
||||
|
||||
|
||||
**Demo:** https://demo.matomo.org
|
||||
|
||||
|
|
|
@ -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!
|
||||
|
||||
|
||||
**Version incluse :** 4.11.0~ynh2
|
||||
**Version incluse :** 4.11.0~ynh3
|
||||
|
||||
|
||||
**Démo :** https://demo.matomo.org
|
||||
|
||||
|
|
|
@ -6,14 +6,15 @@
|
|||
"en": "Open source analytics platform for measuring Web statistics",
|
||||
"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",
|
||||
"upstream": {
|
||||
"license": "GPL-3.0-or-later",
|
||||
"website": "https://matomo.org",
|
||||
"demo": "https://demo.matomo.org",
|
||||
"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",
|
||||
"maintainer": {
|
||||
|
@ -21,12 +22,12 @@
|
|||
"email": "anmol@datamol.org"
|
||||
},
|
||||
"requirements": {
|
||||
"yunohost": ">= 4.3.0"
|
||||
"yunohost": ">= 11.0.9"
|
||||
},
|
||||
"multi_instance": true,
|
||||
"services": [
|
||||
"nginx",
|
||||
"php7.3-fpm",
|
||||
"php8.0-fpm",
|
||||
"mysql"
|
||||
],
|
||||
"arguments": {
|
||||
|
|
|
@ -4,8 +4,10 @@
|
|||
# COMMON VARIABLES
|
||||
#=================================================
|
||||
|
||||
YNH_PHP_VERSION=8.0
|
||||
|
||||
# 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
|
||||
|
|
|
@ -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)
|
||||
fpm_footprint=$(ynh_app_setting_get --app=$app --key=fpm_footprint)
|
||||
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)
|
||||
|
||||
|
@ -111,7 +112,7 @@ then
|
|||
ynh_setup_source --dest_dir="$final_path"
|
||||
else
|
||||
# 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"
|
||||
ynh_exec_as $app php${phpversion} $final_path/console core:update -n
|
||||
|
|
Loading…
Reference in a new issue