From 812201ee80dbfc942fdb93bcd4bef3ab8fa0cc08 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Sun, 23 Jun 2024 18:24:12 +0200 Subject: [PATCH 1/5] Keep data directory upon upgrade --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 2652de2..c9da671 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -33,7 +33,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="$install_dir" --full_replace=1 + ynh_setup_source --dest_dir="$install_dir" --full_replace=1 --keep="data" fi chmod -R o-rwx "$install_dir" From 5e228a1d6e49b8c68bf7dea82501ffae760075f3 Mon Sep 17 00:00:00 2001 From: Yunohost-Bot <> Date: Sun, 23 Jun 2024 03:29:43 +0200 Subject: [PATCH 2/5] [autopatch] Do not delete logs on app removal --- scripts/remove | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/remove b/scripts/remove index 99fca0c..5df7c81 100644 --- a/scripts/remove +++ b/scripts/remove @@ -33,7 +33,6 @@ ynh_remove_logrotate ynh_remove_nginx_config # Remove the log files -ynh_secure_remove --file="/var/log/$app" #================================================= # END OF SCRIPT From 80c3a214f009ed5e8e91788902b5e14b2ea66f70 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Sun, 23 Jun 2024 18:29:36 +0200 Subject: [PATCH 3/5] Bump package version --- manifest.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index 99d50b4..0dcee6a 100644 --- a/manifest.toml +++ b/manifest.toml @@ -7,7 +7,7 @@ name = "Cowyo" description.en = "Feature-rich wiki webserver for minimalists" description.fr = "Serveur de wiki minimaliste mais riche en fonctionnalités" -version = "2.12.0~ynh3" +version = "2.12.0~ynh4" maintainers = ["tituspijean"] From 87e301ed247fd75753be895a82d6055767f94ebc Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sun, 23 Jun 2024 16:29:56 +0000 Subject: [PATCH 4/5] Auto-update READMEs --- README.md | 2 +- README_es.md | 2 +- README_eu.md | 2 +- README_fr.md | 2 +- README_gl.md | 2 +- README_zh_Hans.md | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index fbb31c5..ead5f94 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ It shall NOT be edited by hand. Cowyo is a self-contained wiki server that makes jotting notes easy and fast. The most important feature here is simplicity. Other features include versioning, page locking, self-destructing messages, encryption, and listifying. -**Shipped version:** 2.12.0~ynh3 +**Shipped version:** 2.12.0~ynh4 **Demo:** ## Documentation and resources diff --git a/README_es.md b/README_es.md index 230d3c5..84fd403 100644 --- a/README_es.md +++ b/README_es.md @@ -19,7 +19,7 @@ No se debe editar a mano. Cowyo is a self-contained wiki server that makes jotting notes easy and fast. The most important feature here is simplicity. Other features include versioning, page locking, self-destructing messages, encryption, and listifying. -**Versión actual:** 2.12.0~ynh3 +**Versión actual:** 2.12.0~ynh4 **Demo:** ## Documentaciones y recursos diff --git a/README_eu.md b/README_eu.md index e43b282..ea9c536 100644 --- a/README_eu.md +++ b/README_eu.md @@ -19,7 +19,7 @@ EZ editatu eskuz. Cowyo is a self-contained wiki server that makes jotting notes easy and fast. The most important feature here is simplicity. Other features include versioning, page locking, self-destructing messages, encryption, and listifying. -**Paketatutako bertsioa:** 2.12.0~ynh3 +**Paketatutako bertsioa:** 2.12.0~ynh4 **Demoa:** ## Dokumentazioa eta baliabideak diff --git a/README_fr.md b/README_fr.md index 2517eab..6a8d00e 100644 --- a/README_fr.md +++ b/README_fr.md @@ -18,7 +18,7 @@ Il NE doit PAS être modifié à la main. Cowyo est un serveur wiki autonome qui permet de prendre des notes facilement et rapidement. La caractéristique la plus importante ici est la simplicité. Les autres fonctionnalités incluent la gestion des versions, le verrouillage des pages, l'autodestruction des messages, le cryptage et la liste. -**Version incluse :** 2.12.0~ynh3 +**Version incluse :** 2.12.0~ynh4 **Démo :** ## Documentations et ressources diff --git a/README_gl.md b/README_gl.md index b49a7ea..a1e49a7 100644 --- a/README_gl.md +++ b/README_gl.md @@ -19,7 +19,7 @@ NON debe editarse manualmente. Cowyo is a self-contained wiki server that makes jotting notes easy and fast. The most important feature here is simplicity. Other features include versioning, page locking, self-destructing messages, encryption, and listifying. -**Versión proporcionada:** 2.12.0~ynh3 +**Versión proporcionada:** 2.12.0~ynh4 **Demo:** ## Documentación e recursos diff --git a/README_zh_Hans.md b/README_zh_Hans.md index 9b82874..4a409aa 100644 --- a/README_zh_Hans.md +++ b/README_zh_Hans.md @@ -19,7 +19,7 @@ Cowyo is a self-contained wiki server that makes jotting notes easy and fast. The most important feature here is simplicity. Other features include versioning, page locking, self-destructing messages, encryption, and listifying. -**分发版本:** 2.12.0~ynh3 +**分发版本:** 2.12.0~ynh4 **演示:** ## 文档与资源 From 8291d7682f480a6a8fc989111835bc6854e939d4 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Sun, 23 Jun 2024 18:30:56 +0200 Subject: [PATCH 5/5] Cleanup --- scripts/remove | 2 -- 1 file changed, 2 deletions(-) diff --git a/scripts/remove b/scripts/remove index 5df7c81..b556ac3 100644 --- a/scripts/remove +++ b/scripts/remove @@ -32,8 +32,6 @@ ynh_remove_logrotate # Remove the dedicated NGINX config ynh_remove_nginx_config -# Remove the log files - #================================================= # END OF SCRIPT #=================================================