1
0
Fork 0
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:
antoine 2020-08-11 17:17:30 +02:00 committed by GitHub
commit 217c012848
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 21 additions and 13 deletions

View file

@ -11,7 +11,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
## Overview
[PluXml](https://www.pluxml.org/) : Blog or CMS storing data in XML.
**Shipped version:** 5.7
**Shipped version:** 5.8.3
## Screenshots

View file

@ -11,7 +11,7 @@ Si vous n'avez pas YunoHost, consultez [le guide](https://yunohost.org/#/install
## Vue d'ensemble
[PluXml](https://www.pluxml.org/) : Blog ou CMS à l'Xml.
**Version incluse:** 5.7
**Version incluse:** 5.8.3
## Captures d'écran

View file

@ -19,8 +19,8 @@
setup_private=1
setup_public=1
upgrade=1
# 5.7
upgrade=1 from_commit=0595d7bb0ffc224508c52ec5952125d77c4200e8
# 5.7~ynh1
upgrade=1 from_commit=f618522e430dfcb63e1a5843535cf0da165025f3
backup_restore=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.
@ -34,6 +34,6 @@
Email=
Notification=none
;;; Upgrade options
; commit=0595d7bb0ffc224508c52ec5952125d77c4200e8
name=5.7
; commit=f618522e430dfcb63e1a5843535cf0da165025f3
name=5.7~ynh1

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://github.com/pluxml/PluXml/archive/v5.7.zip
SOURCE_SUM=e13cf839d01a0c611c83943dce6deb3e0cad5ef81996830994aed6f29f52d7c1
SOURCE_URL=https://github.com/pluxml/PluXml/archive/v5.8.3.zip
SOURCE_SUM=ed14b037b69144e4f300788fd46520552cb95d3aea450df57da7994b2461d62d
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=zip
SOURCE_IN_SUBDIR=true

View file

@ -3,10 +3,10 @@
"id": "pluxml",
"packaging_format": 1,
"description": {
"en": "Blog or CMS storing data in XML.",
"fr": "Blog ou CMS à l'Xml."
"en": "Blog or CMS storing data in XML format.",
"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/",
"license": "GPL-2.0-only",
"maintainer": {

View file

@ -94,7 +94,7 @@ ynh_add_fpm_config
#=================================================
# 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
chown -R $app: $final_path
@ -110,7 +110,7 @@ ynh_systemd_action --service_name=nginx --action=reload
# Installation with curl
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
if [ $is_public -eq 0 ]

View file

@ -111,6 +111,14 @@ ynh_add_fpm_config
#=================================================
# 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
#=================================================