From 3f3a04bbffd8a41f7146f834d7e2be69be9cc192 Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Sun, 18 Aug 2024 21:47:19 +0200 Subject: [PATCH 1/6] Update to 0.9.4 --- manifest.toml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/manifest.toml b/manifest.toml index c1b7f94..6d38644 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,9 +5,9 @@ name = "Garage" description.en = "S3 storage" description.fr = "stockage S3" -version = "0.9.2~ynh1" +version = "0.9.4~ynh1" -maintainers = ["oiseauroch"] +maintainers = [ "oiseauroch" ] [upstream] license = "AGPL-3.0-only" @@ -63,14 +63,14 @@ ram.runtime = "50M" [resources.sources.main] in_subdir = false extract = false - amd64.url = "https://garagehq.deuxfleurs.fr/_releases/v0.9.2/x86_64-unknown-linux-musl/garage" - amd64.sha256 = "5e9ddd7bf397d07cbf9c36630c6871688adbcbf31873127f99c63320459483fc" - arm64.url = "https://garagehq.deuxfleurs.fr/_releases/v0.9.2/aarch64-unknown-linux-musl/garage" - arm64.sha256 = "a7fabef132f2f71607df6b2343860c3e0d80ad7fee2e7150d703958a49e37191" - i386.url = "https://garagehq.deuxfleurs.fr/_releases/v0.9.2/i686-unknown-linux-musl/garage" - i386.sha256 = "4cea631fb3d110725ed349e435dde911f7a9efe810ccbc670043ea3bb52c5fe4" - armhf.url = "https://garagehq.deuxfleurs.fr/_releases/v0.9.2/armv6l-unknown-linux-musleabihf/garage" - armhf.sha256 = "8fc03edb615e78462a1bd58ccbd083e319b8b8d3f80fe430f2b599d5e4791485" + amd64.url = "https://garagehq.deuxfleurs.fr/_releases/v0.9.4/x86_64-unknown-linux-musl/garage" + amd64.sha256 = "965712193116fddccb85b8e58a192be723e8f2fc7c4a3123704c6d7bdc3d050f" + arm64.url = "https://garagehq.deuxfleurs.fr/_releases/v0.9.4/aarch64-unknown-linux-musl/garage" + arm64.sha256 = "2e5cc060742969d0b607728525fa535f07a2b133ac2c96057241fb467a7fb45a" + i386.url = "https://garagehq.deuxfleurs.fr/_releases/v0.9.4/i686-unknown-linux-musl/garage" + i386.sha256 = "4cdc26178284a1f92d8aba38c240d8d4cf775837da2ac7bb8fb4c603a546dff5" + armhf.url = "https://garagehq.deuxfleurs.fr/_releases/v0.9.4/armv6l-unknown-linux-musleabihf/garage" + armhf.sha256 = "e0dfc6391e6f75c4ddaf6e3b7e36e2fe19555bcd332fd283f643bfc46613dbe9" [resources.ports] main.default = 4000 From ebb73d034a6512801a9f0b7f28a5689046c0292d Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sun, 18 Aug 2024 19:47:24 +0000 Subject: [PATCH 2/6] Auto-update READMEs --- ALL_README.md | 2 ++ README.md | 4 ++-- README_es.md | 4 ++-- README_eu.md | 4 ++-- README_fr.md | 4 ++-- README_gl.md | 4 ++-- README_id.md | 60 +++++++++++++++++++++++++++++++++++++++++++++++ README_ru.md | 60 +++++++++++++++++++++++++++++++++++++++++++++++ README_zh_Hans.md | 4 ++-- 9 files changed, 134 insertions(+), 12 deletions(-) create mode 100644 README_id.md create mode 100644 README_ru.md diff --git a/ALL_README.md b/ALL_README.md index 152f2e7..e3c80d2 100644 --- a/ALL_README.md +++ b/ALL_README.md @@ -5,4 +5,6 @@ - [Irakurri README euskaraz](README_eu.md) - [Lire le README en français](README_fr.md) - [Le o README en galego](README_gl.md) +- [Baca README dalam bahasa bahasa Indonesia](README_id.md) +- [Прочитать README на русский](README_ru.md) - [阅读中文(简体)的 README](README_zh_Hans.md) diff --git a/README.md b/README.md index a95c2b9..de16254 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ It shall NOT be edited by hand. # Garage for YunoHost -[![Integration level](https://dash.yunohost.org/integration/garage.svg)](https://dash.yunohost.org/appci/app/garage) ![Working status](https://ci-apps.yunohost.org/ci/badges/garage.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/garage.maintain.svg) +[![Integration level](https://dash.yunohost.org/integration/garage.svg)](https://ci-apps.yunohost.org/ci/apps/garage/) ![Working status](https://ci-apps.yunohost.org/ci/badges/garage.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/garage.maintain.svg) [![Install Garage with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=garage) @@ -35,7 +35,7 @@ Garage is designed for storage clusters composed of nodes running at different p - K2V API (experimental) -**Shipped version:** 0.9.2~ynh1 +**Shipped version:** 0.9.4~ynh1 ## Documentation and resources - Official app website: diff --git a/README_es.md b/README_es.md index caf0eb5..b249db6 100644 --- a/README_es.md +++ b/README_es.md @@ -5,7 +5,7 @@ No se debe editar a mano. # Garage para Yunohost -[![Nivel de integración](https://dash.yunohost.org/integration/garage.svg)](https://dash.yunohost.org/appci/app/garage) ![Estado funcional](https://ci-apps.yunohost.org/ci/badges/garage.status.svg) ![Estado En Mantención](https://ci-apps.yunohost.org/ci/badges/garage.maintain.svg) +[![Nivel de integración](https://dash.yunohost.org/integration/garage.svg)](https://ci-apps.yunohost.org/ci/apps/garage/) ![Estado funcional](https://ci-apps.yunohost.org/ci/badges/garage.status.svg) ![Estado En Mantención](https://ci-apps.yunohost.org/ci/badges/garage.maintain.svg) [![Instalar Garage con Yunhost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=garage) @@ -35,7 +35,7 @@ Garage is designed for storage clusters composed of nodes running at different p - K2V API (experimental) -**Versión actual:** 0.9.2~ynh1 +**Versión actual:** 0.9.4~ynh1 ## Documentaciones y recursos - Sitio web oficial: diff --git a/README_eu.md b/README_eu.md index 41828c7..525f1a2 100644 --- a/README_eu.md +++ b/README_eu.md @@ -5,7 +5,7 @@ EZ editatu eskuz. # Garage YunoHost-erako -[![Integrazio maila](https://dash.yunohost.org/integration/garage.svg)](https://dash.yunohost.org/appci/app/garage) ![Funtzionamendu egoera](https://ci-apps.yunohost.org/ci/badges/garage.status.svg) ![Mantentze egoera](https://ci-apps.yunohost.org/ci/badges/garage.maintain.svg) +[![Integrazio maila](https://dash.yunohost.org/integration/garage.svg)](https://ci-apps.yunohost.org/ci/apps/garage/) ![Funtzionamendu egoera](https://ci-apps.yunohost.org/ci/badges/garage.status.svg) ![Mantentze egoera](https://ci-apps.yunohost.org/ci/badges/garage.maintain.svg) [![Instalatu Garage YunoHost-ekin](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=garage) @@ -35,7 +35,7 @@ Garage is designed for storage clusters composed of nodes running at different p - K2V API (experimental) -**Paketatutako bertsioa:** 0.9.2~ynh1 +**Paketatutako bertsioa:** 0.9.4~ynh1 ## Dokumentazioa eta baliabideak - Aplikazioaren webgune ofiziala: diff --git a/README_fr.md b/README_fr.md index 0e7b1a3..2db8f67 100644 --- a/README_fr.md +++ b/README_fr.md @@ -5,7 +5,7 @@ Il NE doit PAS être modifié à la main. # Garage pour YunoHost -[![Niveau d’intégration](https://dash.yunohost.org/integration/garage.svg)](https://dash.yunohost.org/appci/app/garage) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/garage.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/garage.maintain.svg) +[![Niveau d’intégration](https://dash.yunohost.org/integration/garage.svg)](https://ci-apps.yunohost.org/ci/apps/garage/) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/garage.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/garage.maintain.svg) [![Installer Garage avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=garage) @@ -35,7 +35,7 @@ Garage is designed for storage clusters composed of nodes running at different p - K2V API (experimental) -**Version incluse :** 0.9.2~ynh1 +**Version incluse :** 0.9.4~ynh1 ## Documentations et ressources - Site officiel de l’app : diff --git a/README_gl.md b/README_gl.md index da94120..6e762e3 100644 --- a/README_gl.md +++ b/README_gl.md @@ -5,7 +5,7 @@ NON debe editarse manualmente. # Garage para YunoHost -[![Nivel de integración](https://dash.yunohost.org/integration/garage.svg)](https://dash.yunohost.org/appci/app/garage) ![Estado de funcionamento](https://ci-apps.yunohost.org/ci/badges/garage.status.svg) ![Estado de mantemento](https://ci-apps.yunohost.org/ci/badges/garage.maintain.svg) +[![Nivel de integración](https://dash.yunohost.org/integration/garage.svg)](https://ci-apps.yunohost.org/ci/apps/garage/) ![Estado de funcionamento](https://ci-apps.yunohost.org/ci/badges/garage.status.svg) ![Estado de mantemento](https://ci-apps.yunohost.org/ci/badges/garage.maintain.svg) [![Instalar Garage con YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=garage) @@ -35,7 +35,7 @@ Garage is designed for storage clusters composed of nodes running at different p - K2V API (experimental) -**Versión proporcionada:** 0.9.2~ynh1 +**Versión proporcionada:** 0.9.4~ynh1 ## Documentación e recursos - Web oficial da app: diff --git a/README_id.md b/README_id.md new file mode 100644 index 0000000..f4365fb --- /dev/null +++ b/README_id.md @@ -0,0 +1,60 @@ + + +# Garage untuk YunoHost + +[![Tingkat integrasi](https://dash.yunohost.org/integration/garage.svg)](https://ci-apps.yunohost.org/ci/apps/garage/) ![Status kerja](https://ci-apps.yunohost.org/ci/badges/garage.status.svg) ![Status pemeliharaan](https://ci-apps.yunohost.org/ci/badges/garage.maintain.svg) + +[![Pasang Garage dengan YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=garage) + +*[Baca README ini dengan bahasa yang lain.](./ALL_README.md)* + +> *Paket ini memperbolehkan Anda untuk memasang Garage secara cepat dan mudah pada server YunoHost.* +> *Bila Anda tidak mempunyai YunoHost, silakan berkonsultasi dengan [panduan](https://yunohost.org/install) untuk mempelajari bagaimana untuk memasangnya.* + +## Ringkasan + +Garage is an S3-compatible distributed object storage service designed for self-hosting at a small-to-medium scale. + +Garage is designed for storage clusters composed of nodes running at different physical locations, in order to easily provide a storage service that replicates data at these different locations and stays available even when some servers are unreachable. Garage also focuses on being lightweight, easy to operate, and highly resilient to machine failures. + +### Features + +- S3 API +- Standalone/self-contained +- Flexible topology +- No RAFT slowing you down +- Several replication modes +- Web server for static websites +- Bucket names as aliases +- Cluster administration API +- Metrics and traces +- Support for changing IP addresses +- K2V API (experimental) + + +**Versi terkirim:** 0.9.4~ynh1 +## Dokumentasi dan sumber daya + +- Website aplikasi resmi: +- Dokumentasi pengguna resmi: +- Dokumentasi admin resmi: +- Depot kode aplikasi hulu: +- Gudang YunoHost: +- Laporkan bug: + +## Info developer + +Silakan kirim pull request ke [`testing` branch](https://github.com/YunoHost-Apps/garage_ynh/tree/testing). + +Untuk mencoba branch `testing`, silakan dilanjutkan seperti: + +```bash +sudo yunohost app install https://github.com/YunoHost-Apps/garage_ynh/tree/testing --debug +atau +sudo yunohost app upgrade garage -u https://github.com/YunoHost-Apps/garage_ynh/tree/testing --debug +``` + +**Info lebih lanjut mengenai pemaketan aplikasi:** diff --git a/README_ru.md b/README_ru.md new file mode 100644 index 0000000..1487b34 --- /dev/null +++ b/README_ru.md @@ -0,0 +1,60 @@ + + +# Garage для YunoHost + +[![Уровень интеграции](https://dash.yunohost.org/integration/garage.svg)](https://ci-apps.yunohost.org/ci/apps/garage/) ![Состояние работы](https://ci-apps.yunohost.org/ci/badges/garage.status.svg) ![Состояние сопровождения](https://ci-apps.yunohost.org/ci/badges/garage.maintain.svg) + +[![Установите Garage с YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=garage) + +*[Прочтите этот README на других языках.](./ALL_README.md)* + +> *Этот пакет позволяет Вам установить Garage быстро и просто на YunoHost-сервер.* +> *Если у Вас нет YunoHost, пожалуйста, посмотрите [инструкцию](https://yunohost.org/install), чтобы узнать, как установить его.* + +## Обзор + +Garage is an S3-compatible distributed object storage service designed for self-hosting at a small-to-medium scale. + +Garage is designed for storage clusters composed of nodes running at different physical locations, in order to easily provide a storage service that replicates data at these different locations and stays available even when some servers are unreachable. Garage also focuses on being lightweight, easy to operate, and highly resilient to machine failures. + +### Features + +- S3 API +- Standalone/self-contained +- Flexible topology +- No RAFT slowing you down +- Several replication modes +- Web server for static websites +- Bucket names as aliases +- Cluster administration API +- Metrics and traces +- Support for changing IP addresses +- K2V API (experimental) + + +**Поставляемая версия:** 0.9.4~ynh1 +## Документация и ресурсы + +- Официальный веб-сайт приложения: +- Официальная документация пользователя: +- Официальная документация администратора: +- Репозиторий кода главной ветки приложения: +- Магазин YunoHost: +- Сообщите об ошибке: + +## Информация для разработчиков + +Пришлите Ваш запрос на слияние в [ветку `testing`](https://github.com/YunoHost-Apps/garage_ynh/tree/testing). + +Чтобы попробовать ветку `testing`, пожалуйста, сделайте что-то вроде этого: + +```bash +sudo yunohost app install https://github.com/YunoHost-Apps/garage_ynh/tree/testing --debug +или +sudo yunohost app upgrade garage -u https://github.com/YunoHost-Apps/garage_ynh/tree/testing --debug +``` + +**Больше информации о пакетировании приложений:** diff --git a/README_zh_Hans.md b/README_zh_Hans.md index fe58251..00b211b 100644 --- a/README_zh_Hans.md +++ b/README_zh_Hans.md @@ -5,7 +5,7 @@ # YunoHost 上的 Garage -[![集成程度](https://dash.yunohost.org/integration/garage.svg)](https://dash.yunohost.org/appci/app/garage) ![工作状态](https://ci-apps.yunohost.org/ci/badges/garage.status.svg) ![维护状态](https://ci-apps.yunohost.org/ci/badges/garage.maintain.svg) +[![集成程度](https://dash.yunohost.org/integration/garage.svg)](https://ci-apps.yunohost.org/ci/apps/garage/) ![工作状态](https://ci-apps.yunohost.org/ci/badges/garage.status.svg) ![维护状态](https://ci-apps.yunohost.org/ci/badges/garage.maintain.svg) [![使用 YunoHost 安装 Garage](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=garage) @@ -35,7 +35,7 @@ Garage is designed for storage clusters composed of nodes running at different p - K2V API (experimental) -**分发版本:** 0.9.2~ynh1 +**分发版本:** 0.9.4~ynh1 ## 文档与资源 - 官方应用网站: From 3f6a01a324d71f303d81419f7ca76e4bfbcbb1cd Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Sun, 18 Aug 2024 22:10:11 +0200 Subject: [PATCH 4/6] delete "recreate log folder" on restore --- scripts/restore | 3 --- 1 file changed, 3 deletions(-) diff --git a/scripts/restore b/scripts/restore index cb4c7d1..b30fcb0 100755 --- a/scripts/restore +++ b/scripts/restore @@ -56,9 +56,6 @@ yunohost service add $app --description="s3 storage" --log="/var/log/$app/$app.l #================================================= ynh_script_progression --message="Starting a systemd service..." -#recreate log folder -mkdir /var/log/$app - ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" #================================================= From 3c025e9dba1e4b0021a82c5e301dfbd39fd800b9 Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Sun, 18 Aug 2024 22:26:32 +0200 Subject: [PATCH 5/6] bump garage version in the common script... --- scripts/_common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index b99be04..61dc16c 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -4,7 +4,7 @@ # COMMON VARIABLES #================================================= -GARAGE_VERSION="0.9.0" +GARAGE_VERSION="0.9.4" system_is_inside_container() { systemd-detect-virt -c -q From 9e56582dda853deed5b8ec2803dfdca34edc2782 Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Sun, 18 Aug 2024 22:31:10 +0200 Subject: [PATCH 6/6] touch "/var/log/$app/$app.log" --- scripts/install | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 762cc18..b7e802f 100755 --- a/scripts/install +++ b/scripts/install @@ -102,6 +102,9 @@ yunohost tools regen-conf nginx #================================================= ynh_script_progression --message="Configuring a systemd service..." --weight=1 +mkdir -p "/var/log/$app/" +touch "/var/log/$app/$app.log" + # Create a dedicated systemd config ynh_add_systemd_config @@ -118,8 +121,6 @@ ynh_script_progression --message="Starting a systemd service..." --weight=1 # Start a systemd service ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Started Garage: Data Store." - - #================================================= # CONFIGURE GARAGE #=================================================