From 581db730b4fc94b8b23206e6c6f9818cf9a0512c Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Sat, 9 Jan 2021 22:41:45 +0100 Subject: [PATCH 1/3] Finding an available port --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index af00f9f..712430e 100644 --- a/scripts/install +++ b/scripts/install @@ -65,7 +65,7 @@ ynh_app_setting_set --app=$app --key=is_public --value=$is_public #================================================= # FIND AND OPEN A PORT #================================================= -ynh_script_progression --message="Configuring firewall..." +ynh_script_progression --message="Finding an available port..." # Find an available port port=$(ynh_find_port --port=8095) From 5d450934d8f5bcdfcf730318c7e4a2e680ed3874 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Fri, 22 Jan 2021 20:40:04 +0100 Subject: [PATCH 2/3] Properly remove service integration in Buster --- scripts/ynh_mongo_db | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/scripts/ynh_mongo_db b/scripts/ynh_mongo_db index 942bfb6..a5a152c 100644 --- a/scripts/ynh_mongo_db +++ b/scripts/ynh_mongo_db @@ -335,11 +335,17 @@ ynh_install_mongo() { # # ynh_remove_mongo() { - ynh_print_info --message="Removing MongoDB..." - # Only remove the mongodb service if it is not installed. if ! ynh_package_is_installed --package="mongodb*" then + ynh_print_info --message="Removing MongoDB service..." + # Define Mongo Service Name + if [ "$(lsb_release --codename --short)" = "buster" ]; then + MONGODB_SERVICENAME=$MONGO_SERVICENAME_BUSTER + else + MONGODB_SERVICENAME=$MONGO_SERVICENAME_STRETCH + fi + # Remove the mongodb service yunohost service remove $MONGODB_SERVICENAME # ynh_secure_remove --file=$MONGO_ROOT_PWD_FILE fi From 51cff09c1907a238d0e8f848bb0adcacc9fab78c Mon Sep 17 00:00:00 2001 From: yalh76 Date: Tue, 26 Jan 2021 21:50:08 +0100 Subject: [PATCH 3/3] upgrade test --- check_process | 6 +++++- manifest.json | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/check_process b/check_process index ab44a41..c641bde 100644 --- a/check_process +++ b/check_process @@ -21,7 +21,9 @@ # 4.09~ynh1 upgrade=1 from_commit=c2b4715e8591031f3054cedb1220e7619607bb36 # 4.43~ynh1 - upgrade=1 from_commit=2cf63bd4d660eae4526221c1a68efede499e3ee6 + upgrade=1 from_commit=2cf63bd4d660eae4526221c1a68efede499e3ee6 + # 4.64~ynh1 + upgrade=1 from_commit=32fe3a7c342e5f29d7a7534125151723f916de46 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. @@ -45,3 +47,5 @@ Notification=down name=4.09~ynh1 ; commit=2cf63bd4d660eae4526221c1a68efede499e3ee6 name=4.43~ynh1 + ; commit=32fe3a7c342e5f29d7a7534125151723f916de46 + name=4.64~ynh1 diff --git a/manifest.json b/manifest.json index 814b625..99a3336 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Trello-like kanban", "fr": "Un kanban similaire à Trello" }, - "version": "4.64~ynh1", + "version": "4.64~ynh2", "url": "https://wekan.io", "license": "MIT", "maintainer": [