From bcc77f6ed9358afad91531b84e208b7bdad3cc3a Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Wed, 17 Apr 2024 18:41:30 +0200 Subject: [PATCH 1/3] Add PostgreSQL database restoration --- scripts/restore | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/restore b/scripts/restore index 3e534d4..b6c8bee 100755 --- a/scripts/restore +++ b/scripts/restore @@ -55,6 +55,13 @@ chmod 750 "$data_dir" chmod -R o-rwx "$data_dir" chown -R "$app:www-data" "$data_dir" +#================================================= +# RESTORE THE POSTGRESQL DATABASE +#================================================= +ynh_script_progression --message="Restoring the PostgreSQL database..." + +ynh_psql_connect_as --user="$db_user" --password="$db_pwd" --database="$db_name" < ./db.sql + #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE #================================================= From 6df11a24b3096be33099eb337a65a2e48f8187dd Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Wed, 17 Apr 2024 18:42:14 +0200 Subject: [PATCH 2/3] bump version --- manifest.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manifest.toml b/manifest.toml index 66f1100..4ab6dd7 100644 --- a/manifest.toml +++ b/manifest.toml @@ -9,9 +9,9 @@ description.gl = "Un servidor áxil para a rede social ActivityPub escrito en Go description.ca = "Un servidor de xarxa social basat en ActivityPub escrit en GO" description.fr = "Serveur de réseau social véloce basé sur ActivityPub écrit en Go" -version = "0.15.0~ynh1" +version = "0.15.0~ynh2" -maintainers = ["OniriCorpe"] +maintainers = [ "OniriCorpe" ] [upstream] license = "AGPL-3.0-only" From a0b7214a75ce2a7ba4c0e7c38d9ee8469dfe66e1 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Wed, 17 Apr 2024 16:42:19 +0000 Subject: [PATCH 3/3] Auto-update READMEs --- README.md | 2 +- README_eu.md | 2 +- README_fr.md | 2 +- README_gl.md | 2 +- README_zh_Hans.md | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 299541d..06f337e 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ The documentation for this YunoHost package [can be read here](./doc/DOCS.md) an Please note that this package uses the ["i'm so tired" software license 1.0](https://github.com/YunoHost-Apps/gotosocial_ynh/blob/master/LICENSE), please read it and accept it before proceeding with installation. -**Shipped version:** 0.15.0~ynh1 +**Shipped version:** 0.15.0~ynh2 ## Screenshots diff --git a/README_eu.md b/README_eu.md index 2095dca..f55dae2 100644 --- a/README_eu.md +++ b/README_eu.md @@ -26,7 +26,7 @@ The documentation for this YunoHost package [can be read here](./doc/DOCS.md) an Please note that this package uses the ["i'm so tired" software license 1.0](https://github.com/YunoHost-Apps/gotosocial_ynh/blob/master/LICENSE), please read it and accept it before proceeding with installation. -**Paketatutako bertsioa:** 0.15.0~ynh1 +**Paketatutako bertsioa:** 0.15.0~ynh2 ## Pantaila-argazkiak diff --git a/README_fr.md b/README_fr.md index fa720af..573541c 100644 --- a/README_fr.md +++ b/README_fr.md @@ -26,7 +26,7 @@ La documentation de ce paquet YunoHost [est lisible ici](./doc/DOCS_fr.md) et l' Veuillez noter que ce paquet utilise la ["i'm so tired" software license 1.0](https://github.com/YunoHost-Apps/gotosocial_ynh/blob/master/LICENSE), veuillez la lire et l'accepter avant de procéder à l'installation. -**Version incluse :** 0.15.0~ynh1 +**Version incluse :** 0.15.0~ynh2 ## Captures d’écran diff --git a/README_gl.md b/README_gl.md index 20eb52a..c7b5340 100644 --- a/README_gl.md +++ b/README_gl.md @@ -26,7 +26,7 @@ The documentation for this YunoHost package [can be read here](./doc/DOCS.md) an Please note that this package uses the ["i'm so tired" software license 1.0](https://github.com/YunoHost-Apps/gotosocial_ynh/blob/master/LICENSE), please read it and accept it before proceeding with installation. -**Versión proporcionada:** 0.15.0~ynh1 +**Versión proporcionada:** 0.15.0~ynh2 ## Capturas de pantalla diff --git a/README_zh_Hans.md b/README_zh_Hans.md index e7046d8..6987096 100644 --- a/README_zh_Hans.md +++ b/README_zh_Hans.md @@ -26,7 +26,7 @@ The documentation for this YunoHost package [can be read here](./doc/DOCS.md) an Please note that this package uses the ["i'm so tired" software license 1.0](https://github.com/YunoHost-Apps/gotosocial_ynh/blob/master/LICENSE), please read it and accept it before proceeding with installation. -**分发版本:** 0.15.0~ynh1 +**分发版本:** 0.15.0~ynh2 ## 截图