1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/kanboard_ynh.git synced 2024-09-03 19:36:17 +02:00

Merge pull request #139 from YunoHost-Apps/testing

Testing
This commit is contained in:
Éric Gaspar 2022-08-18 23:28:05 +02:00 committed by GitHub
commit 781f62a9e4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 70 additions and 73 deletions

View file

@ -26,7 +26,8 @@ Kanboard is a free and open source Kanban project management software.
- Super simple installation
**Shipped version:** 1.2.22~ynh1
**Shipped version:** 1.2.22~ynh2
**Demo:** https://demo.yunohost.org/kanboard/

View file

@ -25,7 +25,8 @@ Kanboard est un logiciel de gestion de projet Kanban gratuit et open source.
- Auto-hébergé
**Version incluse :** 1.2.22~ynh1
**Version incluse :** 1.2.22~ynh2
**Démo :** https://demo.yunohost.org/kanboard/

View file

@ -1,63 +1,66 @@
{
"name": "Kanboard",
"id": "kanboard",
"packaging_format": 1,
"description": {
"en": "Kanban project management software",
"fr": "Logiciel de gestion de projet Kanban"
},
"version": "1.2.22~ynh1",
"url": "https://kanboard.net",
"upstream": {
"license": "MIT",
"website": "https://kanboard.net",
"demo": "https://demo.yunohost.org/kanboard/",
"admindoc": "https://docs.kanboard.org/en/latest/",
"code": "https://github.com/kanboard/kanboard"
},
"license": "MIT",
"maintainer": {
"name": "",
"email": ""
},
"requirements": {
"yunohost": ">= 4.3.0"
},
"previous_maintainers": [{
"name": "mbugeia",
"email": "maxime@max.privy.place"
},
{
"name": "jibec",
"email": "jean-baptiste@holcroft.fr"
}],
"multi_instance": true,
"services": [
"nginx",
"php8.0-fpm",
"mysql"
],
"arguments": {
"install": [
{
"name": "domain",
"type": "domain"
},
{
"name": "path",
"type": "path",
"example": "/kanboard",
"default": "/kanboard"
},
{
"name": "admin",
"type": "user"
},
{
"name": "is_public",
"type": "boolean",
"default": false
}
]
}
}
"name": "Kanboard",
"id": "kanboard",
"packaging_format": 1,
"description": {
"en": "Kanban project management software",
"fr": "Logiciel de gestion de projet Kanban"
},
"version": "1.2.22~ynh2",
"url": "https://kanboard.net",
"upstream": {
"license": "MIT",
"website": "https://kanboard.net",
"demo": "https://demo.yunohost.org/kanboard/",
"admindoc": "https://docs.kanboard.org/en/latest/",
"code": "https://github.com/kanboard/kanboard",
"cpe": "cpe:2.3:a:kanboard:kanboard"
},
"license": "MIT",
"maintainer": {
"name": "",
"email": ""
},
"requirements": {
"yunohost": ">= 11.0.9"
},
"previous_maintainers": [
{
"name": "mbugeia",
"email": "maxime@max.privy.place"
},
{
"name": "jibec",
"email": "jean-baptiste@holcroft.fr"
}
],
"multi_instance": true,
"services": [
"nginx",
"php8.0-fpm",
"mysql"
],
"arguments": {
"install": [
{
"name": "domain",
"type": "domain"
},
{
"name": "path",
"type": "path",
"example": "/kanboard",
"default": "/kanboard"
},
{
"name": "admin",
"type": "user"
},
{
"name": "is_public",
"type": "boolean",
"default": false
}
]
}
}

View file

@ -23,14 +23,6 @@ db_user=$db_name
#=================================================
# STANDARD REMOVE
#=================================================
# REMOVE DEPENDENCIES
#=================================================
ynh_script_progression --message="Removing dependencies..." --weight=9
# Remove metapackage and its dependencies
ynh_remove_app_dependencies
#=================================================
# REMOVE THE MYSQL DATABASE
#=================================================

View file

@ -91,7 +91,7 @@ then
ynh_script_progression --message="Upgrading source files..." --weight=3
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$final_path" --keep="$final_path/data $final_path/config.php"
ynh_setup_source --dest_dir="$final_path" --keep="data config.php"
fi
mkdir -p $final_path/sessions/