From dab75f754db0136634a5314e4875cc252f026019 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Tue, 12 Dec 2023 17:18:02 +0100 Subject: [PATCH 1/7] Upgrade to v0.13.0 --- manifest.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/manifest.toml b/manifest.toml index 915ce7d..fe3f72e 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "Shaarli" description.en = "Save, sort, synchronize and share web addresses" description.fr = "Sauvegarder, trier, synchroniser et partager des adresses web" -version = "0.12.2~ynh1" +version = "0.13.0~ynh1" maintainers = ["Lapineige"] @@ -56,8 +56,8 @@ ram.runtime = "50M" [resources] [resources.sources.main] - url = "https://github.com/shaarli/Shaarli/releases/download/v0.12.2/shaarli-v0.12.2-full.tar.gz" - sha256 = "7c2077b1de493012a77d8e9bd926715f1576f5520eff86a239bc96d2df80fd1d" + url = "https://github.com/shaarli/Shaarli/archive/refs/tags/v0.13.0.tar.gz" + sha256 = "8eb7ffff8d3801366557b095c665a9e8f381fab0f021343b545d0fd3b3705d2c" autoupdate.strategy = "latest_github_tag" [resources.system_user] From 015b5e4eb7ee508ef195baa79a45dadeb6ccee2a Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Tue, 12 Dec 2023 16:18:04 +0000 Subject: [PATCH 2/7] Auto-update README --- README.md | 2 +- README_fr.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3852d7c..38a1cce 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ Shaarli is a minimalist bookmark manager and link sharing service that you can i - feed other blogs, aggregators, social networks... -**Shipped version:** 0.12.2~ynh1 +**Shipped version:** 0.13.0~ynh1 **Demo:** https://demo.shaarli.org/ diff --git a/README_fr.md b/README_fr.md index 4b5ff3c..6e457ac 100644 --- a/README_fr.md +++ b/README_fr.md @@ -31,7 +31,7 @@ Shaarli est un gestionnaire de favoris minimaliste et un service de partage de l - alimenter d'autres blogs, agrégateurs, réseaux sociaux... -**Version incluse :** 0.12.2~ynh1 +**Version incluse :** 0.13.0~ynh1 **Démo :** https://demo.shaarli.org/ From 0b4d658cdd91ee0da186057f90a51e22c9e76189 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Thu, 28 Dec 2023 09:00:08 +0100 Subject: [PATCH 3/7] Update manifest.toml --- manifest.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manifest.toml b/manifest.toml index fe3f72e..43b1fcb 100644 --- a/manifest.toml +++ b/manifest.toml @@ -56,8 +56,8 @@ ram.runtime = "50M" [resources] [resources.sources.main] - url = "https://github.com/shaarli/Shaarli/archive/refs/tags/v0.13.0.tar.gz" - sha256 = "8eb7ffff8d3801366557b095c665a9e8f381fab0f021343b545d0fd3b3705d2c" + url = "https://github.com/shaarli/Shaarli/releases/download/v0.13.0/shaarli-v0.13.0-full.tar.gz" + sha256 = "fa2162736594677b7188344d46e9739f2980dea32a628bde3d778fe113161548" autoupdate.strategy = "latest_github_tag" [resources.system_user] From ea071725414d706495e248cb2e4728e945f9fab0 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Thu, 28 Dec 2023 08:02:21 +0000 Subject: [PATCH 4/7] Auto-update README --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index f324089..38a1cce 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,7 @@ Shaarli is a minimalist bookmark manager and link sharing service that you can i - playlist manager for online media - feed other blogs, aggregators, social networks... + **Shipped version:** 0.13.0~ynh1 **Demo:** https://demo.shaarli.org/ From e440fb00a8b0bf7bb68d426ed4d417c3ae6adbe1 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Thu, 28 Dec 2023 09:13:13 +0100 Subject: [PATCH 5/7] Update manifest.toml --- manifest.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/manifest.toml b/manifest.toml index 5ea205f..a5cc11f 100644 --- a/manifest.toml +++ b/manifest.toml @@ -27,6 +27,7 @@ sso = false disk = "50M" ram.build = "50M" ram.runtime = "50M" + [install] [install.domain] type = "domain" From 817dee28809c9674d1983e1c3ac62263fd16f4f9 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin <4533074+alexAubin@users.noreply.github.com> Date: Sun, 19 May 2024 13:26:17 +0200 Subject: [PATCH 6/7] Update _common.sh: cleanup, smart_mktemp ain't used anywhere --- scripts/_common.sh | 52 ---------------------------------------------- 1 file changed, 52 deletions(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index d18abc4..05a7907 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -1,54 +1,2 @@ #!/bin/bash -#================================================= -# COMMON VARIABLES -#================================================= - -#================================================= -# PERSONAL HELPERS -#================================================= - -#================================================= -# EXPERIMENTAL HELPERS -#================================================= - -# Check available space before creating a temp directory. -# -# usage: ynh_smart_mktemp --min_size="Min size" -# -# | arg: -s, --min_size= - Minimal size needed for the temporary directory, in Mb -ynh_smart_mktemp () { - # Declare an array to define the options of this helper. - declare -Ar args_array=( [s]=min_size= ) - local min_size - # Manage arguments with getopts - ynh_handle_getopts_args "$@" - - min_size="${min_size:-300}" - # Transform the minimum size from megabytes to kilobytes - min_size=$(( $min_size * 1024 )) - - # Check if there's enough free space in a directory - is_there_enough_space () { - local free_space=$(df --output=avail "$1" | sed 1d) - test $free_space -ge $min_size - } - - if is_there_enough_space /tmp; then - local tmpdir=/tmp - elif is_there_enough_space /var; then - local tmpdir=/var - elif is_there_enough_space /; then - local tmpdir=/ - elif is_there_enough_space /home; then - local tmpdir=/home - else - ynh_die "Insufficient free space to continue..." - fi - - echo "$(mktemp --directory --tmpdir="$tmpdir")" -} - -#================================================= -# FUTURE OFFICIAL HELPERS -#================================================= From 44c7012261b7c297ab0a86acb3d08ad033ca27ac Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sun, 19 May 2024 11:26:21 +0000 Subject: [PATCH 7/7] Auto-update READMEs --- ALL_README.md | 8 +++++++ README.md | 24 +++++++++---------- README_es.md | 61 +++++++++++++++++++++++++++++++++++++++++++++++ README_eu.md | 61 +++++++++++++++++++++++++++++++++++++++++++++++ README_fr.md | 30 +++++++++++------------ README_gl.md | 61 +++++++++++++++++++++++++++++++++++++++++++++++ README_zh_Hans.md | 61 +++++++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 279 insertions(+), 27 deletions(-) create mode 100644 ALL_README.md create mode 100644 README_es.md create mode 100644 README_eu.md create mode 100644 README_gl.md create mode 100644 README_zh_Hans.md diff --git a/ALL_README.md b/ALL_README.md new file mode 100644 index 0000000..8938aae --- /dev/null +++ b/ALL_README.md @@ -0,0 +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) +- [阅读中文(简体)的 README](README_zh_Hans.md) diff --git a/README.md b/README.md index 38a1cce..28d7e59 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ @@ -9,10 +9,10 @@ It shall NOT be edited by hand. [![Install Shaarli with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=shaarli) -*[Lire ce readme en français.](./README_fr.md)* +*[Read this README in other languages.](./ALL_README.md)* -> *This package allows you to install Shaarli 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 Shaarli 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 @@ -33,7 +33,7 @@ Shaarli is a minimalist bookmark manager and link sharing service that you can i **Shipped version:** 0.13.0~ynh1 -**Demo:** https://demo.shaarli.org/ +**Demo:** ## Screenshots @@ -41,18 +41,18 @@ Shaarli is a minimalist bookmark manager and link sharing service that you can i ## Documentation and resources -* Official admin documentation: -* Upstream app code repository: -* YunoHost Store: -* Report a bug: +- Official admin documentation: +- 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/shaarli_ynh/tree/testing). +Please send your pull request to the [`testing` branch](https://github.com/YunoHost-Apps/shaarli_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/shaarli_ynh/tree/testing --debug or sudo yunohost app upgrade shaarli -u https://github.com/YunoHost-Apps/shaarli_ynh/tree/testing --debug diff --git a/README_es.md b/README_es.md new file mode 100644 index 0000000..54cb96f --- /dev/null +++ b/README_es.md @@ -0,0 +1,61 @@ + + +# Shaarli para Yunohost + +[![Nivel de integración](https://dash.yunohost.org/integration/shaarli.svg)](https://dash.yunohost.org/appci/app/shaarli) ![Estado funcional](https://ci-apps.yunohost.org/ci/badges/shaarli.status.svg) ![Estado En Mantención](https://ci-apps.yunohost.org/ci/badges/shaarli.maintain.svg) + +[![Instalar Shaarli con Yunhost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=shaarli) + +*[Leer este README en otros idiomas.](./ALL_README.md)* + +> *Este paquete le permite instalarShaarli 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 + +Shaarli is a minimalist bookmark manager and link sharing service that you can install on your own server. It is designed to be personal (single-user), fast and handy. + +### Features + +- share, comment and save interesting links +- bookmark useful/frequent links and share them between computers +- a minimal blog/microblog/writing platform +- a read-it-later/todo list +- a notepad to draft and save articles/posts/ideas +- a knowledge base to keep notes, documentation and code snippets +- a shared clipboard/notepad/pastebin between computers +- playlist manager for online media +- feed other blogs, aggregators, social networks... + + +**Versión actual:** 0.13.0~ynh1 + +**Demo:** + +## Capturas + +![Captura de Shaarli](./doc/screenshots/27wYsbC.png) + +## Documentaciones y recursos + +- Documentación administrador 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/shaarli_ynh/tree/testing + +Para probar la rama `testing`, sigue asÍ: + +```bash +sudo yunohost app install https://github.com/YunoHost-Apps/shaarli_ynh/tree/testing --debug +o +sudo yunohost app upgrade shaarli -u https://github.com/YunoHost-Apps/shaarli_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..d6672ff --- /dev/null +++ b/README_eu.md @@ -0,0 +1,61 @@ + + +# Shaarli YunoHost-erako + +[![Integrazio maila](https://dash.yunohost.org/integration/shaarli.svg)](https://dash.yunohost.org/appci/app/shaarli) ![Funtzionamendu egoera](https://ci-apps.yunohost.org/ci/badges/shaarli.status.svg) ![Mantentze egoera](https://ci-apps.yunohost.org/ci/badges/shaarli.maintain.svg) + +[![Instalatu Shaarli YunoHost-ekin](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=shaarli) + +*[Irakurri README hau beste hizkuntzatan.](./ALL_README.md)* + +> *Pakete honek Shaarli YunoHost zerbitzari batean azkar eta zailtasunik gabe instalatzea ahalbidetzen dizu.* +> *YunoHost ez baduzu, kontsultatu [gida](https://yunohost.org/install) nola instalatu ikasteko.* + +## Aurreikuspena + +Shaarli is a minimalist bookmark manager and link sharing service that you can install on your own server. It is designed to be personal (single-user), fast and handy. + +### Features + +- share, comment and save interesting links +- bookmark useful/frequent links and share them between computers +- a minimal blog/microblog/writing platform +- a read-it-later/todo list +- a notepad to draft and save articles/posts/ideas +- a knowledge base to keep notes, documentation and code snippets +- a shared clipboard/notepad/pastebin between computers +- playlist manager for online media +- feed other blogs, aggregators, social networks... + + +**Paketatutako bertsioa:** 0.13.0~ynh1 + +**Demoa:** + +## Pantaila-argazkiak + +![Shaarli(r)en pantaila-argazkia](./doc/screenshots/27wYsbC.png) + +## Dokumentazioa eta baliabideak + +- Administratzaileen dokumentazio ofiziala: +- Jatorrizko aplikazioaren kode-gordailua: +- YunoHost Denda: +- Eman errore baten berri: + +## Garatzaileentzako informazioa + +Bidali `pull request`a [`testing` abarrera](https://github.com/YunoHost-Apps/shaarli_ynh/tree/testing). + +`testing` abarra probatzeko, ondorengoa egin: + +```bash +sudo yunohost app install https://github.com/YunoHost-Apps/shaarli_ynh/tree/testing --debug +edo +sudo yunohost app upgrade shaarli -u https://github.com/YunoHost-Apps/shaarli_ynh/tree/testing --debug +``` + +**Informazio gehiago aplikazioaren paketatzeari buruz:** diff --git a/README_fr.md b/README_fr.md index 6e457ac..3890fee 100644 --- a/README_fr.md +++ b/README_fr.md @@ -1,6 +1,6 @@ # Shaarli pour YunoHost @@ -9,10 +9,10 @@ It shall NOT be edited by hand. [![Installer Shaarli avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=shaarli) -*[Read this readme in english.](./README.md)* +*[Lire le README dans d'autres langues.](./ALL_README.md)* -> *Ce package vous permet d’installer Shaarli 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 Shaarli 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 @@ -31,9 +31,9 @@ Shaarli est un gestionnaire de favoris minimaliste et un service de partage de l - alimenter d'autres blogs, agrégateurs, réseaux sociaux... -**Version incluse :** 0.13.0~ynh1 +**Version incluse :** 0.13.0~ynh1 -**Démo :** https://demo.shaarli.org/ +**Démo :** ## Captures d’écran @@ -41,21 +41,21 @@ Shaarli est un gestionnaire de favoris minimaliste et un service de partage de l ## Documentations et ressources -* Documentation officielle de l’admin : -* Dépôt de code officiel de l’app : -* YunoHost Store: -* Signaler un bug : +- Documentation officielle de l’admin : +- 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/shaarli_ynh/tree/testing). +Merci de faire vos pull request sur la [branche `testing`](https://github.com/YunoHost-Apps/shaarli_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/shaarli_ynh/tree/testing --debug ou sudo yunohost app upgrade shaarli -u https://github.com/YunoHost-Apps/shaarli_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..e0cd666 --- /dev/null +++ b/README_gl.md @@ -0,0 +1,61 @@ + + +# Shaarli para YunoHost + +[![Nivel de integración](https://dash.yunohost.org/integration/shaarli.svg)](https://dash.yunohost.org/appci/app/shaarli) ![Estado de funcionamento](https://ci-apps.yunohost.org/ci/badges/shaarli.status.svg) ![Estado de mantemento](https://ci-apps.yunohost.org/ci/badges/shaarli.maintain.svg) + +[![Instalar Shaarli con YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=shaarli) + +*[Le este README en outros idiomas.](./ALL_README.md)* + +> *Este paquete permíteche instalar Shaarli 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 + +Shaarli is a minimalist bookmark manager and link sharing service that you can install on your own server. It is designed to be personal (single-user), fast and handy. + +### Features + +- share, comment and save interesting links +- bookmark useful/frequent links and share them between computers +- a minimal blog/microblog/writing platform +- a read-it-later/todo list +- a notepad to draft and save articles/posts/ideas +- a knowledge base to keep notes, documentation and code snippets +- a shared clipboard/notepad/pastebin between computers +- playlist manager for online media +- feed other blogs, aggregators, social networks... + + +**Versión proporcionada:** 0.13.0~ynh1 + +**Demo:** + +## Capturas de pantalla + +![Captura de pantalla de Shaarli](./doc/screenshots/27wYsbC.png) + +## Documentación e recursos + +- Documentación oficial para admin: +- 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/shaarli_ynh/tree/testing). + +Para probar a rama `testing`, procede deste xeito: + +```bash +sudo yunohost app install https://github.com/YunoHost-Apps/shaarli_ynh/tree/testing --debug +ou +sudo yunohost app upgrade shaarli -u https://github.com/YunoHost-Apps/shaarli_ynh/tree/testing --debug +``` + +**Máis info sobre o empaquetado da app:** diff --git a/README_zh_Hans.md b/README_zh_Hans.md new file mode 100644 index 0000000..120f56b --- /dev/null +++ b/README_zh_Hans.md @@ -0,0 +1,61 @@ + + +# YunoHost 上的 Shaarli + +[![集成程度](https://dash.yunohost.org/integration/shaarli.svg)](https://dash.yunohost.org/appci/app/shaarli) ![工作状态](https://ci-apps.yunohost.org/ci/badges/shaarli.status.svg) ![维护状态](https://ci-apps.yunohost.org/ci/badges/shaarli.maintain.svg) + +[![使用 YunoHost 安装 Shaarli](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=shaarli) + +*[阅读此 README 的其它语言版本。](./ALL_README.md)* + +> *通过此软件包,您可以在 YunoHost 服务器上快速、简单地安装 Shaarli。* +> *如果您还没有 YunoHost,请参阅[指南](https://yunohost.org/install)了解如何安装它。* + +## 概况 + +Shaarli is a minimalist bookmark manager and link sharing service that you can install on your own server. It is designed to be personal (single-user), fast and handy. + +### Features + +- share, comment and save interesting links +- bookmark useful/frequent links and share them between computers +- a minimal blog/microblog/writing platform +- a read-it-later/todo list +- a notepad to draft and save articles/posts/ideas +- a knowledge base to keep notes, documentation and code snippets +- a shared clipboard/notepad/pastebin between computers +- playlist manager for online media +- feed other blogs, aggregators, social networks... + + +**分发版本:** 0.13.0~ynh1 + +**演示:** + +## 截图 + +![Shaarli 的截图](./doc/screenshots/27wYsbC.png) + +## 文档与资源 + +- 官方管理文档: +- 上游应用代码库: +- YunoHost 商店: +- 报告 bug: + +## 开发者信息 + +请向 [`testing` 分支](https://github.com/YunoHost-Apps/shaarli_ynh/tree/testing) 发送拉取请求。 + +如要尝试 `testing` 分支,请这样操作: + +```bash +sudo yunohost app install https://github.com/YunoHost-Apps/shaarli_ynh/tree/testing --debug +或 +sudo yunohost app upgrade shaarli -u https://github.com/YunoHost-Apps/shaarli_ynh/tree/testing --debug +``` + +**有关应用打包的更多信息:**