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 - Super simple installation
**Shipped version:** 1.2.22~ynh1 **Shipped version:** 1.2.22~ynh2
**Demo:** https://demo.yunohost.org/kanboard/ **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é - Auto-hébergé
**Version incluse :** 1.2.22~ynh1 **Version incluse :** 1.2.22~ynh2
**Démo :** https://demo.yunohost.org/kanboard/ **Démo :** https://demo.yunohost.org/kanboard/

View file

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

View file

@ -23,14 +23,6 @@ db_user=$db_name
#================================================= #=================================================
# STANDARD REMOVE # 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 # REMOVE THE MYSQL DATABASE
#================================================= #=================================================

View file

@ -91,7 +91,7 @@ then
ynh_script_progression --message="Upgrading source files..." --weight=3 ynh_script_progression --message="Upgrading source files..." --weight=3
# 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/data $final_path/config.php" ynh_setup_source --dest_dir="$final_path" --keep="data config.php"
fi fi
mkdir -p $final_path/sessions/ mkdir -p $final_path/sessions/