From 532ea12938d63c97a5f361f0410795e4f01a59db Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Fri, 29 Mar 2024 07:07:28 +0100 Subject: [PATCH 01/11] Auto-update README --- ALL_README.md | 6 ++++++ README.md | 24 ++++++++++++------------ README_fr.md | 28 ++++++++++++++-------------- README_gl.md | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ README_it.md | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 128 insertions(+), 26 deletions(-) create mode 100644 ALL_README.md create mode 100644 README_gl.md create mode 100644 README_it.md diff --git a/ALL_README.md b/ALL_README.md new file mode 100644 index 0000000..3d6c579 --- /dev/null +++ b/ALL_README.md @@ -0,0 +1,6 @@ +# All available README files by language + +- [Read the README in English](README.md) +- [Lire le README en français](README_fr.md) +- [Le o README en galego](README_gl.md) +- [Leggi il “README” in italiano](README_it.md) diff --git a/README.md b/README.md index 771e9bc..d215dcb 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ @@ -9,10 +9,10 @@ It shall NOT be edited by hand. [![Install Iceshrimp with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=iceshrimp) -*[Lire ce readme en français.](./README_fr.md)* +*[Read this README is other languages.](./ALL_README.md)* -> *This package allows you to install Iceshrimp quickly and simply on a YunoHost server. -If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/install) to learn how to install it.* +> *This package allows you to install Iceshrimp quickly and simply on a YunoHost server.* +> *If you don't have YunoHost, please consult [the guide](https://yunohost.org/install) to learn how to install it.* ## Overview @@ -28,21 +28,21 @@ It was forked from Calckey Firefish (itself a fork of Misskey) in mid-2023, to f ## Documentation and resources -* Official app website: -* Upstream app code repository: -* YunoHost Store: -* Report a bug: +- Official app website: +- Upstream app code repository: +- YunoHost Store: +- Report a bug: ## Developer info -Please send your pull request to the [testing branch](https://github.com/YunoHost-Apps/iceshrimp_ynh/tree/testing). +Please send your pull request to the [`testing` branch](https://github.com/YunoHost-Apps/iceshrimp_ynh/tree/testing). -To try the testing branch, please proceed like that. +To try the `testing` branch, please proceed like that: -``` bash +```bash sudo yunohost app install https://github.com/YunoHost-Apps/iceshrimp_ynh/tree/testing --debug or sudo yunohost app upgrade iceshrimp -u https://github.com/YunoHost-Apps/iceshrimp_ynh/tree/testing --debug ``` -**More info regarding app packaging:** \ No newline at end of file +**More info regarding app packaging:** diff --git a/README_fr.md b/README_fr.md index 181433d..e806e42 100644 --- a/README_fr.md +++ b/README_fr.md @@ -1,6 +1,6 @@ # Iceshrimp pour YunoHost @@ -9,10 +9,10 @@ It shall NOT be edited by hand. [![Installer Iceshrimp avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=iceshrimp) -*[Read this readme in english.](./README.md)* +*[Lire le README dans d'autres langues.](./ALL_README.md)* -> *Ce package vous permet d’installer Iceshrimp rapidement et simplement sur un serveur YunoHost. -Si vous n’avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l’installer et en profiter.* +> *Ce package vous permet d’installer Iceshrimp rapidement et simplement sur un serveur YunoHost.* +> *Si vous n’avez pas YunoHost, consultez [ce guide](https://yunohost.org/install) pour savoir comment l’installer et en profiter.* ## Vue d’ensemble @@ -20,7 +20,7 @@ Iceshrimp est un service de réseau social décentralisé et fédéré, impléme Il a été forké de Calckey et Firefish (lui-même forké de Misskey) à la mi-2023, afin de se concentrer sur la stabilité, les performances et la facilité d'utilisation plutôt que sur de nouvelles fonctionnalités. -**Version incluse :** 2023.12.5~ynh1 +**Version incluse :** 2023.12.5~ynh1 ## Captures d’écran @@ -28,21 +28,21 @@ Il a été forké de Calckey et Firefish (lui-même forké de Misskey) à la mi- ## Documentations et ressources -* Site officiel de l’app : -* Dépôt de code officiel de l’app : -* YunoHost Store: -* Signaler un bug : +- Site officiel de l’app : +- Dépôt de code officiel de l’app : +- YunoHost Store : +- Signaler un bug : ## Informations pour les développeurs -Merci de faire vos pull request sur la [branche testing](https://github.com/YunoHost-Apps/iceshrimp_ynh/tree/testing). +Merci de faire vos pull request sur la [branche `testing`](https://github.com/YunoHost-Apps/iceshrimp_ynh/tree/testing). -Pour essayer la branche testing, procédez comme suit. +Pour essayer la branche `testing`, procédez comme suit : -``` bash +```bash sudo yunohost app install https://github.com/YunoHost-Apps/iceshrimp_ynh/tree/testing --debug ou sudo yunohost app upgrade iceshrimp -u https://github.com/YunoHost-Apps/iceshrimp_ynh/tree/testing --debug ``` -**Plus d’infos sur le packaging d’applications :** \ No newline at end of file +**Plus d’infos sur le packaging d’applications :** diff --git a/README_gl.md b/README_gl.md new file mode 100644 index 0000000..9540512 --- /dev/null +++ b/README_gl.md @@ -0,0 +1,48 @@ + + +# Iceshrimp para YunoHost + +[![Nivel de integración](https://dash.yunohost.org/integration/iceshrimp.svg)](https://dash.yunohost.org/appci/app/iceshrimp) ![Estado de funcionamento](https://ci-apps.yunohost.org/ci/badges/iceshrimp.status.svg) ![Estado de mantemento](https://ci-apps.yunohost.org/ci/badges/iceshrimp.maintain.svg) + +[![Instalar Iceshrimp con YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=iceshrimp) + +*[Le este README en outros idiomas.](./ALL_README.md)* + +> *Este paquete permíteche instalar Iceshrimp de xeito rápido e doado nun servidor YunoHost.* +> *Se non usas YunoHost, le a [documentación](https://yunohost.org/install) para saber como instalalo.* + +## Vista xeral + +Iceshrimp is a decentralized and federated social networking service, implementing the ActivityPub standard. + +It was forked from Calckey Firefish (itself a fork of Misskey) in mid-2023, to focus on stability, performance and usability instead of new features. + +**Versión proporcionada:** 2023.12.5~ynh1 + +## Capturas de pantalla + +![Captura de pantalla de Iceshrimp](./doc/screenshots/example.jpg) + +## Documentación e recursos + +- Web oficial da app: +- Repositorio de orixe do código: +- Tenda YunoHost: +- Informar dun problema: + +## Info de desenvolvemento + +Envía a túa colaboración á [rama `testing`](https://github.com/YunoHost-Apps/iceshrimp_ynh/tree/testing). + +Para probar a rama `testing`, procede deste xeito: + +```bash +sudo yunohost app install https://github.com/YunoHost-Apps/iceshrimp_ynh/tree/testing --debug +ou +sudo yunohost app upgrade iceshrimp -u https://github.com/YunoHost-Apps/iceshrimp_ynh/tree/testing --debug +``` + +**Máis info sobre o empaquetado da app:** diff --git a/README_it.md b/README_it.md new file mode 100644 index 0000000..c46f08f --- /dev/null +++ b/README_it.md @@ -0,0 +1,48 @@ + + +# Iceshrimp per YunoHost + +[![Livello di integrazione](https://dash.yunohost.org/integration/iceshrimp.svg)](https://dash.yunohost.org/appci/app/iceshrimp) ![Stato di funzionamento](https://ci-apps.yunohost.org/ci/badges/iceshrimp.status.svg) ![Stato di manutenzione](https://ci-apps.yunohost.org/ci/badges/iceshrimp.maintain.svg) + +[![Installa Iceshrimp con YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=iceshrimp) + +*[Leggi questo README in altre lingue.](./ALL_README.md)* + +> *Questo pacchetto ti permette di installare Iceshrimp su un server YunoHost in modo semplice e veloce.* +> *Se non hai YunoHost, consulta [la guida](https://yunohost.org/install) per imparare a installarlo.* + +## Panoramica + +Iceshrimp is a decentralized and federated social networking service, implementing the ActivityPub standard. + +It was forked from Calckey Firefish (itself a fork of Misskey) in mid-2023, to focus on stability, performance and usability instead of new features. + +**Versione pubblicata:** 2023.12.5~ynh1 + +## Screenshot + +![Screenshot di Iceshrimp](./doc/screenshots/example.jpg) + +## Documentazione e risorse + +- Sito web ufficiale dell’app: +- Repository upstream del codice dell’app: +- Store di YunoHost: +- Segnala un problema: + +## Informazioni per sviluppatori + +Si prega di inviare la tua pull request alla [branch di `testing`](https://github.com/YunoHost-Apps/iceshrimp_ynh/tree/testing). + +Per provare la branch di `testing`, si prega di procedere in questo modo: + +```bash +sudo yunohost app install https://github.com/YunoHost-Apps/iceshrimp_ynh/tree/testing --debug +o +sudo yunohost app upgrade iceshrimp -u https://github.com/YunoHost-Apps/iceshrimp_ynh/tree/testing --debug +``` + +**Maggiori informazioni riguardo il pacchetto di quest’app:** From 5069bb37805478152bec9172896bb8656853f45d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Mon, 20 May 2024 16:33:25 +0200 Subject: [PATCH 02/11] Use standard redis helpers --- manifest.toml | 4 ++-- scripts/_common.sh | 42 ------------------------------------------ 2 files changed, 2 insertions(+), 44 deletions(-) diff --git a/manifest.toml b/manifest.toml index 8a1736c..df460f6 100644 --- a/manifest.toml +++ b/manifest.toml @@ -15,7 +15,7 @@ website = "https://iceshrimp.dev" code = "https://iceshrimp.dev/iceshrimp/iceshrimp" [integration] -yunohost = ">= 11.2" +yunohost = ">= 11.2.12" architectures = "all" multi_instance = false @@ -56,4 +56,4 @@ ram.runtime = "2G" extras.yarn.packages = "yarn" [resources.database] - type = "postgresql" \ No newline at end of file + type = "postgresql" diff --git a/scripts/_common.sh b/scripts/_common.sh index f207288..dca21d2 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -15,45 +15,3 @@ NODEJS_VERSION="20" #================================================= # EXPERIMENTAL HELPERS #================================================= - -#================================================= -# REDIS HELPERS -#================================================= - -# get the first available redis database -# -# usage: ynh_redis_get_free_db -# | returns: the database number to use -ynh_redis_get_free_db() { - local result max db - result="$(redis-cli INFO keyspace)" - - # get the num - max=$(cat /etc/redis/redis.conf | grep ^databases | grep -Eow "[0-9]+") - - db=0 - # default Debian setting is 15 databases - for i in $(seq 0 "$max") - do - if ! echo "$result" | grep -q "db$i" - then - db=$i - break 1 - fi - db=-1 - done - - test "$db" -eq -1 && ynh_die --message="No available Redis databases..." - - echo "$db" -} - -# Create a master password and set up global settings -# Please always call this script in install and restore scripts -# -# usage: ynh_redis_remove_db database -# | arg: database - the database to erase -ynh_redis_remove_db() { - local db=$1 - redis-cli -n "$db" flushall -} \ No newline at end of file From 3b5abb3ecb55963440e31c6e31685036285fe148 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Mon, 20 May 2024 14:33:32 +0000 Subject: [PATCH 03/11] Auto-update READMEs --- ALL_README.md | 4 +++- README.md | 2 +- README_es.md | 48 +++++++++++++++++++++++++++++++++++++++++++++++ README_eu.md | 48 +++++++++++++++++++++++++++++++++++++++++++++++ README_zh_Hans.md | 48 +++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 148 insertions(+), 2 deletions(-) create mode 100644 README_es.md create mode 100644 README_eu.md create mode 100644 README_zh_Hans.md diff --git a/ALL_README.md b/ALL_README.md index 3d6c579..8938aae 100644 --- a/ALL_README.md +++ b/ALL_README.md @@ -1,6 +1,8 @@ # All available README files by language - [Read the README in English](README.md) +- [Lee el README en español](README_es.md) +- [Irakurri README euskaraz](README_eu.md) - [Lire le README en français](README_fr.md) - [Le o README en galego](README_gl.md) -- [Leggi il “README” in italiano](README_it.md) +- [阅读中文(简体)的 README](README_zh_Hans.md) diff --git a/README.md b/README.md index d215dcb..06c9fb9 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ It shall NOT be edited by hand. [![Install Iceshrimp with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=iceshrimp) -*[Read this README is other languages.](./ALL_README.md)* +*[Read this README in other languages.](./ALL_README.md)* > *This package allows you to install Iceshrimp quickly and simply on a YunoHost server.* > *If you don't have YunoHost, please consult [the guide](https://yunohost.org/install) to learn how to install it.* diff --git a/README_es.md b/README_es.md new file mode 100644 index 0000000..0f8c93c --- /dev/null +++ b/README_es.md @@ -0,0 +1,48 @@ + + +# Iceshrimp para Yunohost + +[![Nivel de integración](https://dash.yunohost.org/integration/iceshrimp.svg)](https://dash.yunohost.org/appci/app/iceshrimp) ![Estado funcional](https://ci-apps.yunohost.org/ci/badges/iceshrimp.status.svg) ![Estado En Mantención](https://ci-apps.yunohost.org/ci/badges/iceshrimp.maintain.svg) + +[![Instalar Iceshrimp con Yunhost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=iceshrimp) + +*[Leer este README en otros idiomas.](./ALL_README.md)* + +> *Este paquete le permite instalarIceshrimp rapidamente y simplement en un servidor YunoHost.* +> *Si no tiene YunoHost, visita [the guide](https://yunohost.org/install) para aprender como instalarla.* + +## Descripción general + +Iceshrimp is a decentralized and federated social networking service, implementing the ActivityPub standard. + +It was forked from Calckey Firefish (itself a fork of Misskey) in mid-2023, to focus on stability, performance and usability instead of new features. + +**Versión actual:** 2023.12.5~ynh1 + +## Capturas + +![Captura de Iceshrimp](./doc/screenshots/example.jpg) + +## Documentaciones y recursos + +- Sitio web oficial: +- Repositorio del código fuente oficial de la aplicación : +- Catálogo YunoHost: +- Reportar un error: + +## Información para desarrolladores + +Por favor enviar sus correcciones a la [`branch testing`](https://github.com/YunoHost-Apps/iceshrimp_ynh/tree/testing + +Para probar la rama `testing`, sigue asÍ: + +```bash +sudo yunohost app install https://github.com/YunoHost-Apps/iceshrimp_ynh/tree/testing --debug +o +sudo yunohost app upgrade iceshrimp -u https://github.com/YunoHost-Apps/iceshrimp_ynh/tree/testing --debug +``` + +**Mas informaciones sobre el empaquetado de aplicaciones:** diff --git a/README_eu.md b/README_eu.md new file mode 100644 index 0000000..547b73d --- /dev/null +++ b/README_eu.md @@ -0,0 +1,48 @@ + + +# Iceshrimp YunoHost-erako + +[![Integrazio maila](https://dash.yunohost.org/integration/iceshrimp.svg)](https://dash.yunohost.org/appci/app/iceshrimp) ![Funtzionamendu egoera](https://ci-apps.yunohost.org/ci/badges/iceshrimp.status.svg) ![Mantentze egoera](https://ci-apps.yunohost.org/ci/badges/iceshrimp.maintain.svg) + +[![Instalatu Iceshrimp YunoHost-ekin](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=iceshrimp) + +*[Irakurri README hau beste hizkuntzatan.](./ALL_README.md)* + +> *Pakete honek Iceshrimp YunoHost zerbitzari batean azkar eta zailtasunik gabe instalatzea ahalbidetzen dizu.* +> *YunoHost ez baduzu, kontsultatu [gida](https://yunohost.org/install) nola instalatu ikasteko.* + +## Aurreikuspena + +Iceshrimp is a decentralized and federated social networking service, implementing the ActivityPub standard. + +It was forked from Calckey Firefish (itself a fork of Misskey) in mid-2023, to focus on stability, performance and usability instead of new features. + +**Paketatutako bertsioa:** 2023.12.5~ynh1 + +## Pantaila-argazkiak + +![Iceshrimp(r)en pantaila-argazkia](./doc/screenshots/example.jpg) + +## Dokumentazioa eta baliabideak + +- Aplikazioaren webgune ofiziala: +- Jatorrizko aplikazioaren kode-gordailua: +- YunoHost Denda: +- Eman errore baten berri: + +## Garatzaileentzako informazioa + +Bidali `pull request`a [`testing` abarrera](https://github.com/YunoHost-Apps/iceshrimp_ynh/tree/testing). + +`testing` abarra probatzeko, ondorengoa egin: + +```bash +sudo yunohost app install https://github.com/YunoHost-Apps/iceshrimp_ynh/tree/testing --debug +edo +sudo yunohost app upgrade iceshrimp -u https://github.com/YunoHost-Apps/iceshrimp_ynh/tree/testing --debug +``` + +**Informazio gehiago aplikazioaren paketatzeari buruz:** diff --git a/README_zh_Hans.md b/README_zh_Hans.md new file mode 100644 index 0000000..2e14e21 --- /dev/null +++ b/README_zh_Hans.md @@ -0,0 +1,48 @@ + + +# YunoHost 上的 Iceshrimp + +[![集成程度](https://dash.yunohost.org/integration/iceshrimp.svg)](https://dash.yunohost.org/appci/app/iceshrimp) ![工作状态](https://ci-apps.yunohost.org/ci/badges/iceshrimp.status.svg) ![维护状态](https://ci-apps.yunohost.org/ci/badges/iceshrimp.maintain.svg) + +[![使用 YunoHost 安装 Iceshrimp](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=iceshrimp) + +*[阅读此 README 的其它语言版本。](./ALL_README.md)* + +> *通过此软件包,您可以在 YunoHost 服务器上快速、简单地安装 Iceshrimp。* +> *如果您还没有 YunoHost,请参阅[指南](https://yunohost.org/install)了解如何安装它。* + +## 概况 + +Iceshrimp is a decentralized and federated social networking service, implementing the ActivityPub standard. + +It was forked from Calckey Firefish (itself a fork of Misskey) in mid-2023, to focus on stability, performance and usability instead of new features. + +**分发版本:** 2023.12.5~ynh1 + +## 截图 + +![Iceshrimp 的截图](./doc/screenshots/example.jpg) + +## 文档与资源 + +- 官方应用网站: +- 上游应用代码库: +- YunoHost 商店: +- 报告 bug: + +## 开发者信息 + +请向 [`testing` 分支](https://github.com/YunoHost-Apps/iceshrimp_ynh/tree/testing) 发送拉取请求。 + +如要尝试 `testing` 分支,请这样操作: + +```bash +sudo yunohost app install https://github.com/YunoHost-Apps/iceshrimp_ynh/tree/testing --debug +或 +sudo yunohost app upgrade iceshrimp -u https://github.com/YunoHost-Apps/iceshrimp_ynh/tree/testing --debug +``` + +**有关应用打包的更多信息:** From 3f17125d7c346ae667d8a02362d3f980e078bb1b Mon Sep 17 00:00:00 2001 From: oufmilo <44617467+oufmilo@users.noreply.github.com> Date: Tue, 20 Feb 2024 15:09:27 +0100 Subject: [PATCH 04/11] Fix nginx warning --- conf/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index f880924..f9a76ce 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,5 +1,5 @@ #sub_path_only rewrite ^__PATH__$ __PATH__/ permanent; -location __PATH__/ { +location ^__PATH__/ { proxy_pass http://127.0.0.1:__PORT__; proxy_set_header Host $host; From 443a7eab628fb00183566b9a3a8d6cb04cba9a54 Mon Sep 17 00:00:00 2001 From: oufmilo <44617467+oufmilo@users.noreply.github.com> Date: Mon, 15 Apr 2024 10:12:20 +0200 Subject: [PATCH 05/11] Upgrade v2023.12.6 --- conf/nginx.conf | 2 +- manifest.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index f9a76ce..f880924 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,5 +1,5 @@ #sub_path_only rewrite ^__PATH__$ __PATH__/ permanent; -location ^__PATH__/ { +location __PATH__/ { proxy_pass http://127.0.0.1:__PORT__; proxy_set_header Host $host; diff --git a/manifest.toml b/manifest.toml index df460f6..e6a4ed6 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "Iceshrimp" description.en = "Decentralized and federated social networking service" description.fr = "Service de réseau social décentralisé et fédéré" -version = "2023.12.5~ynh1" +version = "2023.12.6~ynh1" maintainers = ["oufmilo"] From 4865e0fb8afbd7db6424837f2a896931a756e201 Mon Sep 17 00:00:00 2001 From: oufmilo <44617467+oufmilo@users.noreply.github.com> Date: Mon, 15 Apr 2024 10:16:19 +0200 Subject: [PATCH 06/11] Test from 2023.12.5 --- tests.toml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests.toml b/tests.toml index 99a59b0..79cf917 100644 --- a/tests.toml +++ b/tests.toml @@ -16,5 +16,4 @@ test_format = 1.0 # Commits to test upgrade from # ------------------------------- - test_upgrade_from.6bd676e.name = "2023.12.1" - test_upgrade_from.c8ff29b.name = "2023.12.2" \ No newline at end of file + test_upgrade_from.448f090.name = "2023.12.5" \ No newline at end of file From 2635c1cb6f8d4d7d3d9eb44004cd08af63cb82e6 Mon Sep 17 00:00:00 2001 From: Mateusz <2871798+orhtej2@users.noreply.github.com> Date: Sat, 27 Apr 2024 21:50:46 +0200 Subject: [PATCH 07/11] Update install --- scripts/install | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/install b/scripts/install index 09bf070..a0ec517 100755 --- a/scripts/install +++ b/scripts/install @@ -69,9 +69,9 @@ ynh_script_progression --message="Building app... This will take some time." --w pushd "$install_dir" ynh_use_nodejs - corepack enable - corepack prepare --activate - ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn + env $ynh_node_load corepack enable + env $ynh_node_load COREPACK_ENABLE_DOWNLOAD_PROMPT=0 corepack prepare --activate + ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH COREPACK_ENABLE_DOWNLOAD_PROMPT=0 yarn ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production yarn build ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn run init popd @@ -112,4 +112,4 @@ ynh_systemd_action --service_name=$app --action="start" --log_path=systemd --lin # END OF SCRIPT #================================================= -ynh_script_progression --message="Installation of $app completed" \ No newline at end of file +ynh_script_progression --message="Installation of $app completed" From 3b646c8ed216a3d6aaa39326a01c673876f84855 Mon Sep 17 00:00:00 2001 From: Mateusz <2871798+orhtej2@users.noreply.github.com> Date: Sat, 27 Apr 2024 22:40:21 +0200 Subject: [PATCH 08/11] Update install --- scripts/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index a0ec517..4a7673c 100755 --- a/scripts/install +++ b/scripts/install @@ -69,8 +69,8 @@ ynh_script_progression --message="Building app... This will take some time." --w pushd "$install_dir" ynh_use_nodejs - env $ynh_node_load corepack enable - env $ynh_node_load COREPACK_ENABLE_DOWNLOAD_PROMPT=0 corepack prepare --activate + env $ynh_node_load_PATH corepack enable + env $ynh_node_load_PATH COREPACK_ENABLE_DOWNLOAD_PROMPT=0 corepack prepare --activate ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH COREPACK_ENABLE_DOWNLOAD_PROMPT=0 yarn ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production yarn build ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn run init From 2a7780ca0ac4582912cbcdd6198c973ea89d52c6 Mon Sep 17 00:00:00 2001 From: Mateusz <2871798+orhtej2@users.noreply.github.com> Date: Sun, 12 May 2024 15:35:21 +0200 Subject: [PATCH 09/11] Fixed upgrade and restore. --- scripts/restore | 6 +++--- scripts/upgrade | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/restore b/scripts/restore index fe64cce..327bb2d 100755 --- a/scripts/restore +++ b/scripts/restore @@ -39,9 +39,9 @@ ynh_script_progression --message="Reinstalling yarn..." --weight=1 # Define and install yarn pushd "$install_dir" ynh_use_nodejs - corepack enable - corepack prepare --activate - ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn install + env $ynh_node_load_PATH corepack enable + env $ynh_node_load_PATH COREPACK_ENABLE_DOWNLOAD_PROMPT=0 corepack prepare --activate + ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH COREPACK_ENABLE_DOWNLOAD_PROMPT=0 yarn install ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production yarn build popd diff --git a/scripts/upgrade b/scripts/upgrade index 35fc7f0..8b04d48 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -97,9 +97,9 @@ ynh_script_progression --message="Building app..." pushd "$install_dir" ynh_use_nodejs - corepack enable - corepack prepare --activate - ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn cleanall + env $ynh_node_load_PATH corepack enable + env $ynh_node_load_PATH COREPACK_ENABLE_DOWNLOAD_PROMPT=0 corepack prepare --activate + ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH COREPACK_ENABLE_DOWNLOAD_PROMPT=0 yarn cleanall ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn install ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production yarn build ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn migrate From 00189f22d981e95d75850b9e489ba40274b2bac4 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Tue, 21 May 2024 09:26:28 +0000 Subject: [PATCH 10/11] Auto-update READMEs --- ALL_README.md | 2 +- README.md | 2 +- README_es.md | 2 +- README_eu.md | 2 +- README_fr.md | 2 +- README_gl.md | 2 +- README_zh_Hans.md | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/ALL_README.md b/ALL_README.md index 8938aae..152f2e7 100644 --- a/ALL_README.md +++ b/ALL_README.md @@ -1,7 +1,7 @@ # All available README files by language - [Read the README in English](README.md) -- [Lee el README en español](README_es.md) +- [Lea el README en español](README_es.md) - [Irakurri README euskaraz](README_eu.md) - [Lire le README en français](README_fr.md) - [Le o README en galego](README_gl.md) diff --git a/README.md b/README.md index 06c9fb9..322aa74 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ Iceshrimp is a decentralized and federated social networking service, implementi It was forked from Calckey Firefish (itself a fork of Misskey) in mid-2023, to focus on stability, performance and usability instead of new features. -**Shipped version:** 2023.12.5~ynh1 +**Shipped version:** 2023.12.6~ynh1 ## Screenshots diff --git a/README_es.md b/README_es.md index 0f8c93c..9b8d3d1 100644 --- a/README_es.md +++ b/README_es.md @@ -20,7 +20,7 @@ Iceshrimp is a decentralized and federated social networking service, implementi It was forked from Calckey Firefish (itself a fork of Misskey) in mid-2023, to focus on stability, performance and usability instead of new features. -**Versión actual:** 2023.12.5~ynh1 +**Versión actual:** 2023.12.6~ynh1 ## Capturas diff --git a/README_eu.md b/README_eu.md index 547b73d..9a8b180 100644 --- a/README_eu.md +++ b/README_eu.md @@ -20,7 +20,7 @@ Iceshrimp is a decentralized and federated social networking service, implementi It was forked from Calckey Firefish (itself a fork of Misskey) in mid-2023, to focus on stability, performance and usability instead of new features. -**Paketatutako bertsioa:** 2023.12.5~ynh1 +**Paketatutako bertsioa:** 2023.12.6~ynh1 ## Pantaila-argazkiak diff --git a/README_fr.md b/README_fr.md index e806e42..b55015c 100644 --- a/README_fr.md +++ b/README_fr.md @@ -20,7 +20,7 @@ Iceshrimp est un service de réseau social décentralisé et fédéré, impléme Il a été forké de Calckey et Firefish (lui-même forké de Misskey) à la mi-2023, afin de se concentrer sur la stabilité, les performances et la facilité d'utilisation plutôt que sur de nouvelles fonctionnalités. -**Version incluse :** 2023.12.5~ynh1 +**Version incluse :** 2023.12.6~ynh1 ## Captures d’écran diff --git a/README_gl.md b/README_gl.md index 9540512..04c5ae5 100644 --- a/README_gl.md +++ b/README_gl.md @@ -20,7 +20,7 @@ Iceshrimp is a decentralized and federated social networking service, implementi It was forked from Calckey Firefish (itself a fork of Misskey) in mid-2023, to focus on stability, performance and usability instead of new features. -**Versión proporcionada:** 2023.12.5~ynh1 +**Versión proporcionada:** 2023.12.6~ynh1 ## Capturas de pantalla diff --git a/README_zh_Hans.md b/README_zh_Hans.md index 2e14e21..05d3683 100644 --- a/README_zh_Hans.md +++ b/README_zh_Hans.md @@ -20,7 +20,7 @@ Iceshrimp is a decentralized and federated social networking service, implementi It was forked from Calckey Firefish (itself a fork of Misskey) in mid-2023, to focus on stability, performance and usability instead of new features. -**分发版本:** 2023.12.5~ynh1 +**分发版本:** 2023.12.6~ynh1 ## 截图 From dbc17b38de640ec4dd78f019eb4e88aed3da1b38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Tue, 21 May 2024 11:32:21 +0200 Subject: [PATCH 11/11] Removing test_upgrade_from because of freezed installation of previous versions --- tests.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests.toml b/tests.toml index 79cf917..4b22895 100644 --- a/tests.toml +++ b/tests.toml @@ -16,4 +16,4 @@ test_format = 1.0 # Commits to test upgrade from # ------------------------------- - test_upgrade_from.448f090.name = "2023.12.5" \ No newline at end of file +