From 4bb6a790285e78dc6ccec67a22bb2c2a502815c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Fri, 10 Mar 2023 16:46:00 +0100 Subject: [PATCH 1/5] Update manifest.toml --- manifest.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index 1420613..e690a02 100644 --- a/manifest.toml +++ b/manifest.toml @@ -17,7 +17,7 @@ admindoc = "https://docs.kanboard.org/en/latest/" code = "https://github.com/kanboard/kanboard" [integration] -yunohost = ">= 11.1.13" +yunohost = ">= 11.1.14" architectures = "all" multi_instance = true ldap = false From 7bd32ac874fd47094d28d7a261598b092625426f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Fri, 10 Mar 2023 16:47:29 +0100 Subject: [PATCH 2/5] cleaning --- conf/app.src | 7 ------- manifest.toml | 7 +++++++ 2 files changed, 7 insertions(+), 7 deletions(-) delete mode 100644 conf/app.src diff --git a/conf/app.src b/conf/app.src deleted file mode 100644 index 8b27bd6..0000000 --- a/conf/app.src +++ /dev/null @@ -1,7 +0,0 @@ -SOURCE_URL=https://github.com/kanboard/kanboard/archive/refs/tags/v1.2.27.tar.gz -SOURCE_SUM=e452bc6113407a0c6f230f532b53e6170a8542bc7a495ea631543cc7c02c64b3 -SOURCE_SUM_PRG=sha256sum -SOURCE_FORMAT=tar.gz -SOURCE_IN_SUBDIR=true -SOURCE_FILENAME= -SOURCE_EXTRACT=true diff --git a/manifest.toml b/manifest.toml index e690a02..8c1503c 100644 --- a/manifest.toml +++ b/manifest.toml @@ -42,6 +42,13 @@ ram.runtime = "50M" type = "user" [resources] + + [resources.sources] + + [resources.sources.main] + url = "https://github.com/kanboard/kanboard/archive/refs/tags/v1.2.27.tar.gz" + sha256 = "e452bc6113407a0c6f230f532b53e6170a8542bc7a495ea631543cc7c02c64b3" + [resources.system_user] [resources.install_dir] From a2d7a2802c5c51fe5763c1524af29ed8b16fa9ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Fri, 10 Mar 2023 16:50:28 +0100 Subject: [PATCH 3/5] cleaning --- check_process | 23 ----------------------- conf/nginx.conf | 2 +- scripts/install | 1 - tests.toml | 8 +++++--- 4 files changed, 6 insertions(+), 28 deletions(-) delete mode 100644 check_process diff --git a/check_process b/check_process deleted file mode 100644 index a9304d2..0000000 --- a/check_process +++ /dev/null @@ -1,23 +0,0 @@ -;; Test complet - ; Manifest - domain="domain.tld" - path="/path" - is_public=1 - admin="john" - ; Checks - pkg_linter=1 - setup_sub_dir=1 - setup_root=1 - setup_nourl=0 - setup_private=1 - setup_public=1 - upgrade=1 - # 1.2.22~ynh2 - upgrade=1 from_commit=781f62a9e41ee6b4fbdad7383cb31f8ae4432c66 - backup_restore=1 - multi_instance=1 - change_url=1 -;;; Upgrade options - ; commit=b667e4d5fd9cc860f706ad7e4e41208cf1d04f2a - name=Merge pull request #133 from YunoHost-Apps/testing - manifest_arg=domain=DOMAIN&path=PATH&admin=USER&is_public=Yes& diff --git a/conf/nginx.conf b/conf/nginx.conf index 9bfc567..3dc91b0 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -17,7 +17,7 @@ location __PATH__/ { # Deny access to the directory data location __PATH__/data { deny all; - } + } try_files $uri $uri/ __PATH__/index.php; location ~ [^/]\.php(/|$) { diff --git a/scripts/install b/scripts/install index 300f02c..887af16 100644 --- a/scripts/install +++ b/scripts/install @@ -21,7 +21,6 @@ fpm_usage="low" #================================================= # STORE SETTINGS FROM MANIFEST #================================================= -ynh_script_progression --message="Storing installation settings..." --weight=1 ynh_app_setting_set --app=$app --key=fpm_footprint --value=$fpm_footprint ynh_app_setting_set --app=$app --key=fpm_free_footprint --value=$fpm_free_footprint diff --git a/tests.toml b/tests.toml index 91daf17..cbb6f3f 100644 --- a/tests.toml +++ b/tests.toml @@ -2,6 +2,8 @@ test_format = 1.0 [default] - # ------------ - # Tests to run - # ------------ \ No newline at end of file + # ------------------------------- + # Commits to test upgrade from + # ------------------------------- + + test_upgrade_from.781f62a9.name = "Upgrade from 1.2.22" From 7ef48c031bba5044f1f34fd1edde70243538ab35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Fri, 10 Mar 2023 16:51:08 +0100 Subject: [PATCH 4/5] Update manifest.toml --- manifest.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index 8c1503c..e181848 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "Kanboard" description.en = "Kanban project management software" description.fr = "Logiciel de gestion de projet Kanban" -version = "1.2.27~ynh3" +version = "1.2.27~ynh4" maintainers = [] From e2391f2d34aecf1dee88aa428608e377c1ee2037 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Fri, 10 Mar 2023 15:51:14 +0000 Subject: [PATCH 5/5] Auto-update README --- README.md | 2 +- README_fr.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9b7fefb..982255a 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ Kanboard is a free and open source Kanban project management software. - Drag and drop tasks to manage your project -**Shipped version:** 1.2.27~ynh3 +**Shipped version:** 1.2.27~ynh4 **Demo:** https://demo.yunohost.org/kanboard/ diff --git a/README_fr.md b/README_fr.md index 67261fd..b49187e 100644 --- a/README_fr.md +++ b/README_fr.md @@ -25,7 +25,7 @@ Kanboard est un logiciel de gestion de projet Kanban gratuit et open source. - Glisser et déposez des tâches pour gérer votre projet -**Version incluse :** 1.2.27~ynh3 +**Version incluse :** 1.2.27~ynh4 **Démo :** https://demo.yunohost.org/kanboard/