mirror of
https://github.com/YunoHost-Apps/pluxml_ynh.git
synced 2024-09-03 20:16:02 +02:00
Merge pull request #46 from YunoHost-Apps/testing
Merge testing into master
This commit is contained in:
commit
217c012848
7 changed files with 21 additions and 13 deletions
|
@ -11,7 +11,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
|
||||||
## Overview
|
## Overview
|
||||||
[PluXml](https://www.pluxml.org/) : Blog or CMS storing data in XML.
|
[PluXml](https://www.pluxml.org/) : Blog or CMS storing data in XML.
|
||||||
|
|
||||||
**Shipped version:** 5.7
|
**Shipped version:** 5.8.3
|
||||||
|
|
||||||
## Screenshots
|
## Screenshots
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ Si vous n'avez pas YunoHost, consultez [le guide](https://yunohost.org/#/install
|
||||||
## Vue d'ensemble
|
## Vue d'ensemble
|
||||||
[PluXml](https://www.pluxml.org/) : Blog ou CMS à l'Xml.
|
[PluXml](https://www.pluxml.org/) : Blog ou CMS à l'Xml.
|
||||||
|
|
||||||
**Version incluse:** 5.7
|
**Version incluse:** 5.8.3
|
||||||
|
|
||||||
## Captures d'écran
|
## Captures d'écran
|
||||||
|
|
||||||
|
|
|
@ -19,8 +19,8 @@
|
||||||
setup_private=1
|
setup_private=1
|
||||||
setup_public=1
|
setup_public=1
|
||||||
upgrade=1
|
upgrade=1
|
||||||
# 5.7
|
# 5.7~ynh1
|
||||||
upgrade=1 from_commit=0595d7bb0ffc224508c52ec5952125d77c4200e8
|
upgrade=1 from_commit=f618522e430dfcb63e1a5843535cf0da165025f3
|
||||||
backup_restore=1
|
backup_restore=1
|
||||||
multi_instance=1
|
multi_instance=1
|
||||||
# This test is no longer necessary since the version 2.7 (PR: https://github.com/YunoHost/yunohost/pull/304), you can still do it if your app could be installed with this version.
|
# This test is no longer necessary since the version 2.7 (PR: https://github.com/YunoHost/yunohost/pull/304), you can still do it if your app could be installed with this version.
|
||||||
|
@ -34,6 +34,6 @@
|
||||||
Email=
|
Email=
|
||||||
Notification=none
|
Notification=none
|
||||||
;;; Upgrade options
|
;;; Upgrade options
|
||||||
; commit=0595d7bb0ffc224508c52ec5952125d77c4200e8
|
; commit=f618522e430dfcb63e1a5843535cf0da165025f3
|
||||||
name=5.7
|
name=5.7~ynh1
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
SOURCE_URL=https://github.com/pluxml/PluXml/archive/v5.7.zip
|
SOURCE_URL=https://github.com/pluxml/PluXml/archive/v5.8.3.zip
|
||||||
SOURCE_SUM=e13cf839d01a0c611c83943dce6deb3e0cad5ef81996830994aed6f29f52d7c1
|
SOURCE_SUM=ed14b037b69144e4f300788fd46520552cb95d3aea450df57da7994b2461d62d
|
||||||
SOURCE_SUM_PRG=sha256sum
|
SOURCE_SUM_PRG=sha256sum
|
||||||
SOURCE_FORMAT=zip
|
SOURCE_FORMAT=zip
|
||||||
SOURCE_IN_SUBDIR=true
|
SOURCE_IN_SUBDIR=true
|
||||||
|
|
|
@ -3,10 +3,10 @@
|
||||||
"id": "pluxml",
|
"id": "pluxml",
|
||||||
"packaging_format": 1,
|
"packaging_format": 1,
|
||||||
"description": {
|
"description": {
|
||||||
"en": "Blog or CMS storing data in XML.",
|
"en": "Blog or CMS storing data in XML format.",
|
||||||
"fr": "Blog ou CMS à l'Xml."
|
"fr": "Blog ou CMS stockant des données au format XML."
|
||||||
},
|
},
|
||||||
"version": "5.7~ynh1",
|
"version": "5.8.3~ynh1",
|
||||||
"url": "https://www.pluxml.org/",
|
"url": "https://www.pluxml.org/",
|
||||||
"license": "GPL-2.0-only",
|
"license": "GPL-2.0-only",
|
||||||
"maintainer": {
|
"maintainer": {
|
||||||
|
|
|
@ -94,7 +94,7 @@ ynh_add_fpm_config
|
||||||
#=================================================
|
#=================================================
|
||||||
# SETUP APPLICATION WITH CURL
|
# SETUP APPLICATION WITH CURL
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Setuping application with CURL..."
|
ynh_script_progression --message="Setting up application with CURL..."
|
||||||
|
|
||||||
# Set right permissions for curl install
|
# Set right permissions for curl install
|
||||||
chown -R $app: $final_path
|
chown -R $app: $final_path
|
||||||
|
@ -110,7 +110,7 @@ ynh_systemd_action --service_name=nginx --action=reload
|
||||||
|
|
||||||
# Installation with curl
|
# Installation with curl
|
||||||
ynh_script_progression --message="Finalizing installation..."
|
ynh_script_progression --message="Finalizing installation..."
|
||||||
ynh_local_curl "/install.php" "default_lang=$language" "install=Installer" "name=$admin" "login=$admin" "pwd=$password" "pwd2=$password"
|
ynh_local_curl "/install.php" "default_lang=$language" "install=Installer" "name=$admin" "login=$admin" "pwd=$password" "pwd2=$password" "data=1" "email=$admin@$domain" "timezone=Europe/Paris"
|
||||||
|
|
||||||
# Remove the public access
|
# Remove the public access
|
||||||
if [ $is_public -eq 0 ]
|
if [ $is_public -eq 0 ]
|
||||||
|
|
|
@ -111,6 +111,14 @@ ynh_add_fpm_config
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SPECIFIC UPGRADE
|
# SPECIFIC UPGRADE
|
||||||
|
#=================================================
|
||||||
|
# SETUP APPLICATION WITH CURL
|
||||||
|
#=================================================
|
||||||
|
ynh_script_progression --message="Setting up application with CURL..."
|
||||||
|
|
||||||
|
chown -R "$app":"$app" $final_path
|
||||||
|
ynh_local_curl "/update/index.php" "submit=submit"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# REMOVING NO MORE NEEDED FILES
|
# REMOVING NO MORE NEEDED FILES
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue