From cfd7fbd818ddceff92862d28536bddf4a94ff3d9 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Wed, 6 Mar 2019 05:29:12 +0100 Subject: [PATCH 1/4] Nodejs upgrade from 8.9.3 to 8.15.1 --- scripts/install | 2 +- scripts/restore | 2 +- scripts/upgrade | 5 +++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/scripts/install b/scripts/install index 90daf64..a732f08 100755 --- a/scripts/install +++ b/scripts/install @@ -100,7 +100,7 @@ ynh_print_info "Installing dependencies..." ### - And the section "UPGRADE DEPENDENCIES" in the upgrade script ynh_print_info "Installing nodejs ..." -ynh_install_nodejs 8.9.3 +ynh_install_nodejs 8.15.1 ynh_print_info "Installing mongodb dependencies ..." ynh_install_app_dependencies "mongodb mongodb-server" diff --git a/scripts/restore b/scripts/restore index 11c87b7..eeba563 100644 --- a/scripts/restore +++ b/scripts/restore @@ -85,7 +85,7 @@ find "$final_path" -type d -print0 | xargs -0 chmod 750 ynh_print_info "Reinstalling dependencies..." # Define and install dependencies -ynh_install_nodejs 8.9.3 +ynh_install_nodejs 8.15.1 # Install mongodb ynh_install_app_dependencies "mongodb mongodb-server" diff --git a/scripts/upgrade b/scripts/upgrade index 4f48cfa..0a9990f 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -68,8 +68,9 @@ if ynh_version_gt "0.45-3" "${previous_version}" ; then fi if ynh_version_gt "0.77-2" "${previous_version}" ; then - ynh_install_nodejs 8.9.3 - ynh_use_nodejs + ynh_remove_nodejs + ynh_install_nodejs 8.15.1 + ynh_use_nodejs # Create a dedicated systemd config ynh_replace_string "__ENV_PATH__" "$nodejs_path" "../conf/systemd.service" ynh_replace_string "__DB_NAME__" "$db_name" "../conf/systemd.service" From d1ccc3322cb28fbf2ffdb5e2c5f8f2d7f84acec4 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Wed, 6 Mar 2019 05:39:46 +0100 Subject: [PATCH 2/4] upgrade to nodejs 8.14.1 --- scripts/install | 2 +- scripts/restore | 2 +- scripts/upgrade | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index a732f08..9dff508 100755 --- a/scripts/install +++ b/scripts/install @@ -100,7 +100,7 @@ ynh_print_info "Installing dependencies..." ### - And the section "UPGRADE DEPENDENCIES" in the upgrade script ynh_print_info "Installing nodejs ..." -ynh_install_nodejs 8.15.1 +ynh_install_nodejs 8.14.1 ynh_print_info "Installing mongodb dependencies ..." ynh_install_app_dependencies "mongodb mongodb-server" diff --git a/scripts/restore b/scripts/restore index eeba563..1719c53 100644 --- a/scripts/restore +++ b/scripts/restore @@ -85,7 +85,7 @@ find "$final_path" -type d -print0 | xargs -0 chmod 750 ynh_print_info "Reinstalling dependencies..." # Define and install dependencies -ynh_install_nodejs 8.15.1 +ynh_install_nodejs 8.14.1 # Install mongodb ynh_install_app_dependencies "mongodb mongodb-server" diff --git a/scripts/upgrade b/scripts/upgrade index 0a9990f..fb7948c 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -69,7 +69,7 @@ fi if ynh_version_gt "0.77-2" "${previous_version}" ; then ynh_remove_nodejs - ynh_install_nodejs 8.15.1 + ynh_install_nodejs 8.14.1 ynh_use_nodejs # Create a dedicated systemd config ynh_replace_string "__ENV_PATH__" "$nodejs_path" "../conf/systemd.service" From bb504cbf3d4bd8e1a5403a8ab7857f9d7e4cd800 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Wed, 6 Mar 2019 19:51:22 +0100 Subject: [PATCH 3/4] Upgrade to 2.40 --- README.md | 2 +- conf/app.src | 4 ++-- manifest.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 8cae7a8..f929164 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ If you don't have YunoHost, please see [here](https://yunohost.org/#/install) to ## Overview Wekan is an open-source kanban board (task manager and organizer) -**Shipped version:** 2.37 +**Shipped version:** 2.40 ## Screenshots diff --git a/conf/app.src b/conf/app.src index 990cf9d..e608dae 100644 --- a/conf/app.src +++ b/conf/app.src @@ -1,7 +1,7 @@ # This is on YunoHost server just to avoid the file from disappearing # Original source is https://releases.wekan.team/ -SOURCE_URL=https://raw.githubusercontent.com/yalh76/wekan_ynh/2.37/conf/wekan-2.37.tar.gz -SOURCE_SUM=471c3c9190119da0b988a9ae0c28aa80388e07bd8d3720ff44e8a9ecac681c5b +SOURCE_URL=https://raw.githubusercontent.com/yalh76/wekan_ynh/2.40/conf/wekan-2.40.tar.gz +SOURCE_SUM=d49ca72918f979ad1488dfa0f23b099e241eef1eabcbc865fa42f32e6c490018 SOURCE_SUM_PRG=sha256sum ARCH_FORMAT=tar.gz SOURCE_IN_SUBDIR=true diff --git a/manifest.json b/manifest.json index da2e4bc..0c2898b 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Trello-like kanban", "fr": "Un kanban similaire à Trello" }, - "version": "2.37~ynh1", + "version": "2.40~ynh1", "url": "https://wekan.io", "license": "MIT", "maintainer": { From 5a8506047763d79177fcb5da0b2778a8fc92f5cc Mon Sep 17 00:00:00 2001 From: yalh76 Date: Wed, 6 Mar 2019 20:26:15 +0100 Subject: [PATCH 4/4] to nodejs 8.15.1 --- scripts/install | 2 +- scripts/restore | 2 +- scripts/upgrade | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index 9dff508..a732f08 100755 --- a/scripts/install +++ b/scripts/install @@ -100,7 +100,7 @@ ynh_print_info "Installing dependencies..." ### - And the section "UPGRADE DEPENDENCIES" in the upgrade script ynh_print_info "Installing nodejs ..." -ynh_install_nodejs 8.14.1 +ynh_install_nodejs 8.15.1 ynh_print_info "Installing mongodb dependencies ..." ynh_install_app_dependencies "mongodb mongodb-server" diff --git a/scripts/restore b/scripts/restore index 1719c53..eeba563 100644 --- a/scripts/restore +++ b/scripts/restore @@ -85,7 +85,7 @@ find "$final_path" -type d -print0 | xargs -0 chmod 750 ynh_print_info "Reinstalling dependencies..." # Define and install dependencies -ynh_install_nodejs 8.14.1 +ynh_install_nodejs 8.15.1 # Install mongodb ynh_install_app_dependencies "mongodb mongodb-server" diff --git a/scripts/upgrade b/scripts/upgrade index fb7948c..0a9990f 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -69,7 +69,7 @@ fi if ynh_version_gt "0.77-2" "${previous_version}" ; then ynh_remove_nodejs - ynh_install_nodejs 8.14.1 + ynh_install_nodejs 8.15.1 ynh_use_nodejs # Create a dedicated systemd config ynh_replace_string "__ENV_PATH__" "$nodejs_path" "../conf/systemd.service"