From 53c0ca7e5e43c7d3cee9fd51a3b540026e88ca99 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sat, 6 Jan 2024 17:17:04 +0100 Subject: [PATCH 01/13] Upgrade to v3.3.1 --- manifest.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/manifest.toml b/manifest.toml index 70081b8..5389aa1 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "Libremdb" description.en = "Free & open source IMDb front-end" description.fr = "Frontal IMDb gratuit et open source" -version = "3.3.0~ynh1" +version = "3.3.1~ynh1" maintainers = [] @@ -35,8 +35,8 @@ ram.runtime = "50M" [resources] [resources.sources.main] - url = "https://github.com/zyachel/libremdb/archive/refs/tags/v3.3.0.tar.gz" - sha256 = "f7ecc1c8ed695909f6dca82e58809b1bcfcc3c76c7121f56b71365301ec5c025" + url = "https://github.com/zyachel/libremdb/archive/refs/tags/v3.3.1.tar.gz" + sha256 = "09dd1106ed1ea2ffa611e592eba803e33099fd2a9e2c2e25d3e154fa7ee7f2f9" autoupdate.strategy = "latest_github_tag" [resources.ports] From 2a9d6681a78580c2340d703867d121470e6989d1 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sat, 6 Jan 2024 16:17:07 +0000 Subject: [PATCH 02/13] 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 64a60c1..353aa50 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ A free & open source IMDb front-end. -**Shipped version:** 3.3.0~ynh1 +**Shipped version:** 3.3.1~ynh1 **Demo:** https://libremdb.iket.me/about diff --git a/README_fr.md b/README_fr.md index e9f0c18..2ab5c5c 100644 --- a/README_fr.md +++ b/README_fr.md @@ -27,7 +27,7 @@ A free & open source IMDb front-end. -**Version incluse :** 3.3.0~ynh1 +**Version incluse :** 3.3.1~ynh1 **Démo :** https://libremdb.iket.me/about From 98543abf64776a90acd3309373cb06440dbe1ca7 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Mon, 1 Apr 2024 03:39:48 +0200 Subject: [PATCH 03/13] Upgrade to v3.4.0 --- manifest.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/manifest.toml b/manifest.toml index 5389aa1..2ff6b03 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "Libremdb" description.en = "Free & open source IMDb front-end" description.fr = "Frontal IMDb gratuit et open source" -version = "3.3.1~ynh1" +version = "3.4.0~ynh1" maintainers = [] @@ -35,8 +35,8 @@ ram.runtime = "50M" [resources] [resources.sources.main] - url = "https://github.com/zyachel/libremdb/archive/refs/tags/v3.3.1.tar.gz" - sha256 = "09dd1106ed1ea2ffa611e592eba803e33099fd2a9e2c2e25d3e154fa7ee7f2f9" + url = "https://github.com/zyachel/libremdb/archive/refs/tags/v3.4.0.tar.gz" + sha256 = "096a5eb2212a8afa0c580bac3a53f83d5531d58df7f860925fb62031f1c15797" autoupdate.strategy = "latest_github_tag" [resources.ports] From 2a69a470a00e714a9d4e5607f0f99908c3e652a7 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Mon, 1 Apr 2024 01:39:51 +0000 Subject: [PATCH 04/13] Auto-update READMEs --- ALL_README.md | 5 +++++ README.md | 26 +++++++++++------------ README_eu.md | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++ README_fr.md | 30 +++++++++++++-------------- 4 files changed, 90 insertions(+), 28 deletions(-) create mode 100644 ALL_README.md create mode 100644 README_eu.md diff --git a/ALL_README.md b/ALL_README.md new file mode 100644 index 0000000..3eeb161 --- /dev/null +++ b/ALL_README.md @@ -0,0 +1,5 @@ +# All available README files by language + +- [Read the README in English](README.md) +- [Irakurri README euskaraz](README_eu.md) +- [Lire le README en français](README_fr.md) diff --git a/README.md b/README.md index 353aa50..7677005 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ @@ -9,10 +9,10 @@ It shall NOT be edited by hand. [![Install Libremdb with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=libremdb) -*[Lire ce readme en français.](./README_fr.md)* +*[Read this README in other languages.](./ALL_README.md)* -> *This package allows you to install Libremdb 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 Libremdb 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 @@ -27,9 +27,9 @@ A free & open source IMDb front-end. -**Shipped version:** 3.3.1~ynh1 +**Shipped version:** 3.4.0~ynh1 -**Demo:** https://libremdb.iket.me/about +**Demo:** ## Screenshots @@ -37,18 +37,18 @@ A free & open source IMDb front-end. ## 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/libremdb_ynh/tree/testing). +Please send your pull request to the [`testing` branch](https://github.com/YunoHost-Apps/libremdb_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/libremdb_ynh/tree/testing --debug or sudo yunohost app upgrade libremdb -u https://github.com/YunoHost-Apps/libremdb_ynh/tree/testing --debug diff --git a/README_eu.md b/README_eu.md new file mode 100644 index 0000000..6ee4956 --- /dev/null +++ b/README_eu.md @@ -0,0 +1,57 @@ + + +# Libremdb YunoHost-erako + +[![Integrazio maila](https://dash.yunohost.org/integration/libremdb.svg)](https://dash.yunohost.org/appci/app/libremdb) ![Funtzionamendu egoera](https://ci-apps.yunohost.org/ci/badges/libremdb.status.svg) ![Mantentze egoera](https://ci-apps.yunohost.org/ci/badges/libremdb.maintain.svg) + +[![Instalatu Libremdb YunoHost-ekin](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=libremdb) + +*[Irakurri README hau beste hizkuntzatan.](./ALL_README.md)* + +> *Pakete honek Libremdb YunoHost zerbitzari batean azkar eta zailtasunik gabe instalatzea ahalbidetzen dizu.* +> *YunoHost ez baduzu, kontsultatu [gida](https://yunohost.org/install) nola instalatu ikasteko.* + +## Aurreikuspena + +A free & open source IMDb front-end. + +### Features + +- Browse any movie info without being tracked or bombarded by annoying ads. +- Modern interface with curated colors supporting both dark and light themes. +- Be it your small mobile or big computer screen, it’s fully responsive. +- Lightweight + + + +**Paketatutako bertsioa:** 3.4.0~ynh1 + +**Demoa:** + +## Pantaila-argazkiak + +![Libremdb(r)en pantaila-argazkia](./doc/screenshots/screenshot.png) + +## 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/libremdb_ynh/tree/testing). + +`testing` abarra probatzeko, ondorengoa egin: + +```bash +sudo yunohost app install https://github.com/YunoHost-Apps/libremdb_ynh/tree/testing --debug +edo +sudo yunohost app upgrade libremdb -u https://github.com/YunoHost-Apps/libremdb_ynh/tree/testing --debug +``` + +**Informazio gehiago aplikazioaren paketatzeari buruz:** diff --git a/README_fr.md b/README_fr.md index 2ab5c5c..c47dedf 100644 --- a/README_fr.md +++ b/README_fr.md @@ -1,6 +1,6 @@ # Libremdb pour YunoHost @@ -9,10 +9,10 @@ It shall NOT be edited by hand. [![Installer Libremdb avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=libremdb) -*[Read this readme in english.](./README.md)* +*[Lire le README dans d'autres langues.](./ALL_README.md)* -> *Ce package vous permet d’installer Libremdb 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 Libremdb 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 @@ -27,9 +27,9 @@ A free & open source IMDb front-end. -**Version incluse :** 3.3.1~ynh1 +**Version incluse :** 3.4.0~ynh1 -**Démo :** https://libremdb.iket.me/about +**Démo :** ## Captures d’écran @@ -37,21 +37,21 @@ A free & open source IMDb front-end. ## 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/libremdb_ynh/tree/testing). +Merci de faire vos pull request sur la [branche `testing`](https://github.com/YunoHost-Apps/libremdb_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/libremdb_ynh/tree/testing --debug ou sudo yunohost app upgrade libremdb -u https://github.com/YunoHost-Apps/libremdb_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 :** From 19ccb4ffd98e59d3dcf28110baeba19e1eea516b Mon Sep 17 00:00:00 2001 From: Sebastian Gumprich Date: Fri, 12 Apr 2024 21:57:29 +0200 Subject: [PATCH 05/13] actually update the app --- scripts/upgrade | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index fedd54b..3cba834 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -35,6 +35,14 @@ if [ -z "$redis_db" ]; then ynh_app_setting_set --app="$app" --key=redis_db --value="$redis_db" fi +#================================================= +# UPGRADE DEPENDENCIES +#================================================= +ynh_script_progression --message="Upgrading dependencies..." --weight=1 + +# Install Nodejs +ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version + #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE #================================================= @@ -45,19 +53,20 @@ then # Download, check integrity, uncompress and patch the source from app.src ynh_setup_source --dest_dir="$install_dir" + chmod -R o-rwx "$install_dir" + chown -R $app:www-data "$install_dir" + pushd $install_dir + ynh_use_nodejs + corepack enable + corepack prepare pnpm@latest --activate + ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH pnpm install + ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production pnpm build + popd fi chmod -R o-rwx "$install_dir" chown -R $app:www-data "$install_dir" -#================================================= -# UPGRADE DEPENDENCIES -#================================================= -ynh_script_progression --message="Upgrading dependencies..." --weight=1 - -# Install Nodejs -ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version - #================================================= # ADD A CONFIGURATION #================================================= From a038be05ae92415285cb892528655f21f70bb0fd Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Fri, 12 Apr 2024 19:58:26 +0000 Subject: [PATCH 06/13] Auto-update READMEs --- ALL_README.md | 2 ++ README_gl.md | 57 +++++++++++++++++++++++++++++++++++++++++++++++ README_zh_Hans.md | 57 +++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 116 insertions(+) create mode 100644 README_gl.md create mode 100644 README_zh_Hans.md diff --git a/ALL_README.md b/ALL_README.md index 3eeb161..a01b345 100644 --- a/ALL_README.md +++ b/ALL_README.md @@ -3,3 +3,5 @@ - [Read the README in English](README.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_gl.md b/README_gl.md new file mode 100644 index 0000000..e3ff002 --- /dev/null +++ b/README_gl.md @@ -0,0 +1,57 @@ + + +# Libremdb para YunoHost + +[![Nivel de integración](https://dash.yunohost.org/integration/libremdb.svg)](https://dash.yunohost.org/appci/app/libremdb) ![Estado de funcionamento](https://ci-apps.yunohost.org/ci/badges/libremdb.status.svg) ![Estado de mantemento](https://ci-apps.yunohost.org/ci/badges/libremdb.maintain.svg) + +[![Instalar Libremdb con YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=libremdb) + +*[Le este README en outros idiomas.](./ALL_README.md)* + +> *Este paquete permíteche instalar Libremdb 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 + +A free & open source IMDb front-end. + +### Features + +- Browse any movie info without being tracked or bombarded by annoying ads. +- Modern interface with curated colors supporting both dark and light themes. +- Be it your small mobile or big computer screen, it’s fully responsive. +- Lightweight + + + +**Versión proporcionada:** 3.4.0~ynh1 + +**Demo:** + +## Capturas de pantalla + +![Captura de pantalla de Libremdb](./doc/screenshots/screenshot.png) + +## 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/libremdb_ynh/tree/testing). + +Para probar a rama `testing`, procede deste xeito: + +```bash +sudo yunohost app install https://github.com/YunoHost-Apps/libremdb_ynh/tree/testing --debug +ou +sudo yunohost app upgrade libremdb -u https://github.com/YunoHost-Apps/libremdb_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..ef16927 --- /dev/null +++ b/README_zh_Hans.md @@ -0,0 +1,57 @@ + + +# YunoHost 的 Libremdb + +[![集成程度](https://dash.yunohost.org/integration/libremdb.svg)](https://dash.yunohost.org/appci/app/libremdb) ![工作状态](https://ci-apps.yunohost.org/ci/badges/libremdb.status.svg) ![维护状态](https://ci-apps.yunohost.org/ci/badges/libremdb.maintain.svg) + +[![使用 YunoHost 安装 Libremdb](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=libremdb) + +*[阅读此 README 的其它语言版本。](./ALL_README.md)* + +> *通过此软件包,您可以在 YunoHost 服务器上快速、简单地安装 Libremdb。* +> *如果您还没有 YunoHost,请参阅[指南](https://yunohost.org/install)了解如何安装它。* + +## 概况 + +A free & open source IMDb front-end. + +### Features + +- Browse any movie info without being tracked or bombarded by annoying ads. +- Modern interface with curated colors supporting both dark and light themes. +- Be it your small mobile or big computer screen, it’s fully responsive. +- Lightweight + + + +**分发版本:** 3.4.0~ynh1 + +**演示:** + +## 截图 + +![Libremdb 的截图](./doc/screenshots/screenshot.png) + +## 文档与资源 + +- 官方应用网站: +- 上游应用代码库: +- YunoHost 商店: +- 报告 bug: + +## 开发者信息 + +请向 [`testing` 分支](https://github.com/YunoHost-Apps/libremdb_ynh/tree/testing) 发送拉取请求。 + +如要尝试 `testing` 分支,请这样操作: + +```bash +sudo yunohost app install https://github.com/YunoHost-Apps/libremdb_ynh/tree/testing --debug +或 +sudo yunohost app upgrade libremdb -u https://github.com/YunoHost-Apps/libremdb_ynh/tree/testing --debug +``` + +**有关应用打包的更多信息:** From 865dceb4f97dd8422b943ac81edb1edc0318ff2b Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Fri, 10 May 2024 21:13:23 +0000 Subject: [PATCH 07/13] Auto-update READMEs --- ALL_README.md | 3 ++- README.md | 2 +- README_eu.md | 57 +++++++++++++++++++++++++++++++++++++++++++++++ README_fr.md | 2 +- README_gl.md | 2 +- README_zh_Hans.md | 57 +++++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 119 insertions(+), 4 deletions(-) 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..a01b345 100644 --- a/ALL_README.md +++ b/ALL_README.md @@ -1,6 +1,7 @@ # All available README files by language - [Read the README in English](README.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 479f539..acc5331 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ It shall NOT be edited by hand. [![Install Libremdb with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=libremdb) -*[Read this README is other languages.](./ALL_README.md)* +*[Read this README in other languages.](./ALL_README.md)* > *This package allows you to install Libremdb 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_eu.md b/README_eu.md new file mode 100644 index 0000000..d47d7b5 --- /dev/null +++ b/README_eu.md @@ -0,0 +1,57 @@ + + +# Libremdb YunoHost-erako + +[![Integrazio maila](https://dash.yunohost.org/integration/libremdb.svg)](https://dash.yunohost.org/appci/app/libremdb) ![Funtzionamendu egoera](https://ci-apps.yunohost.org/ci/badges/libremdb.status.svg) ![Mantentze egoera](https://ci-apps.yunohost.org/ci/badges/libremdb.maintain.svg) + +[![Instalatu Libremdb YunoHost-ekin](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=libremdb) + +*[Irakurri README hau beste hizkuntzatan.](./ALL_README.md)* + +> *Pakete honek Libremdb YunoHost zerbitzari batean azkar eta zailtasunik gabe instalatzea ahalbidetzen dizu.* +> *YunoHost ez baduzu, kontsultatu [gida](https://yunohost.org/install) nola instalatu ikasteko.* + +## Aurreikuspena + +A free & open source IMDb front-end. + +### Features + +- Browse any movie info without being tracked or bombarded by annoying ads. +- Modern interface with curated colors supporting both dark and light themes. +- Be it your small mobile or big computer screen, it’s fully responsive. +- Lightweight + + + +**Paketatutako bertsioa:** 3.3.1~ynh1 + +**Demoa:** + +## Pantaila-argazkiak + +![Libremdb(r)en pantaila-argazkia](./doc/screenshots/screenshot.png) + +## 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/libremdb_ynh/tree/testing). + +`testing` abarra probatzeko, ondorengoa egin: + +```bash +sudo yunohost app install https://github.com/YunoHost-Apps/libremdb_ynh/tree/testing --debug +edo +sudo yunohost app upgrade libremdb -u https://github.com/YunoHost-Apps/libremdb_ynh/tree/testing --debug +``` + +**Informazio gehiago aplikazioaren paketatzeari buruz:** diff --git a/README_fr.md b/README_fr.md index e69f66d..9d86593 100644 --- a/README_fr.md +++ b/README_fr.md @@ -27,7 +27,7 @@ A free & open source IMDb front-end. -**Version incluse :** 3.3.1~ynh1 +**Version incluse :** 3.3.1~ynh1 **Démo :** diff --git a/README_gl.md b/README_gl.md index 26978fc..dd800b2 100644 --- a/README_gl.md +++ b/README_gl.md @@ -27,7 +27,7 @@ A free & open source IMDb front-end. -**Versión proporcionada:** 3.3.0~ynh1 +**Versión proporcionada:** 3.3.1~ynh1 **Demo:** diff --git a/README_zh_Hans.md b/README_zh_Hans.md new file mode 100644 index 0000000..47ff5b3 --- /dev/null +++ b/README_zh_Hans.md @@ -0,0 +1,57 @@ + + +# YunoHost 上的 Libremdb + +[![集成程度](https://dash.yunohost.org/integration/libremdb.svg)](https://dash.yunohost.org/appci/app/libremdb) ![工作状态](https://ci-apps.yunohost.org/ci/badges/libremdb.status.svg) ![维护状态](https://ci-apps.yunohost.org/ci/badges/libremdb.maintain.svg) + +[![使用 YunoHost 安装 Libremdb](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=libremdb) + +*[阅读此 README 的其它语言版本。](./ALL_README.md)* + +> *通过此软件包,您可以在 YunoHost 服务器上快速、简单地安装 Libremdb。* +> *如果您还没有 YunoHost,请参阅[指南](https://yunohost.org/install)了解如何安装它。* + +## 概况 + +A free & open source IMDb front-end. + +### Features + +- Browse any movie info without being tracked or bombarded by annoying ads. +- Modern interface with curated colors supporting both dark and light themes. +- Be it your small mobile or big computer screen, it’s fully responsive. +- Lightweight + + + +**分发版本:** 3.3.1~ynh1 + +**演示:** + +## 截图 + +![Libremdb 的截图](./doc/screenshots/screenshot.png) + +## 文档与资源 + +- 官方应用网站: +- 上游应用代码库: +- YunoHost 商店: +- 报告 bug: + +## 开发者信息 + +请向 [`testing` 分支](https://github.com/YunoHost-Apps/libremdb_ynh/tree/testing) 发送拉取请求。 + +如要尝试 `testing` 分支,请这样操作: + +```bash +sudo yunohost app install https://github.com/YunoHost-Apps/libremdb_ynh/tree/testing --debug +或 +sudo yunohost app upgrade libremdb -u https://github.com/YunoHost-Apps/libremdb_ynh/tree/testing --debug +``` + +**有关应用打包的更多信息:** From dc1819dccfc3815eb9bf6446014d51aef9cc40ac Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Fri, 10 May 2024 21:14:09 +0000 Subject: [PATCH 08/13] Auto-update READMEs --- README_gl.md | 1 + README_zh_Hans.md | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README_gl.md b/README_gl.md index b642699..e3ff002 100644 --- a/README_gl.md +++ b/README_gl.md @@ -26,6 +26,7 @@ A free & open source IMDb front-end. - Lightweight + **Versión proporcionada:** 3.4.0~ynh1 **Demo:** diff --git a/README_zh_Hans.md b/README_zh_Hans.md index ef16927..f0a5e49 100644 --- a/README_zh_Hans.md +++ b/README_zh_Hans.md @@ -3,7 +3,7 @@ 请勿手动编辑。 --> -# YunoHost 的 Libremdb +# YunoHost 上的 Libremdb [![集成程度](https://dash.yunohost.org/integration/libremdb.svg)](https://dash.yunohost.org/appci/app/libremdb) ![工作状态](https://ci-apps.yunohost.org/ci/badges/libremdb.status.svg) ![维护状态](https://ci-apps.yunohost.org/ci/badges/libremdb.maintain.svg) From 06779c3dfc636e7306aa4258bc736077266e39d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Fri, 10 May 2024 23:19:58 +0200 Subject: [PATCH 09/13] cleaning --- conf/systemd.service | 2 +- manifest.toml | 5 ++++- scripts/change_url | 2 +- scripts/install | 11 ++--------- scripts/remove | 20 -------------------- scripts/restore | 21 ++------------------- scripts/upgrade | 3 +-- 7 files changed, 11 insertions(+), 53 deletions(-) diff --git a/conf/systemd.service b/conf/systemd.service index 6da2ee8..bd7e4ad 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -6,7 +6,7 @@ After=network.target Type=simple User=__APP__ Group=__APP__ -Environment="PATH=__ENV_PATH__" +Environment="__YNH_NODE_LOAD_PATH__" Environment="NODE_ENV=production" WorkingDirectory=__INSTALL_DIR__/ ExecStart=/usr/bin/yarn start -p __PORT__ diff --git a/manifest.toml b/manifest.toml index 2ff6b03..b571c34 100644 --- a/manifest.toml +++ b/manifest.toml @@ -19,8 +19,11 @@ code = "https://github.com/zyachel/libremdb" yunohost = ">= 11.2" architectures = "all" multi_instance = true + ldap = false + sso = false + disk = "50M" ram.build = "50M" ram.runtime = "50M" @@ -54,4 +57,4 @@ ram.runtime = "50M" extras.yarn.repo = "deb https://dl.yarnpkg.com/debian/ stable main" extras.yarn.key = "https://dl.yarnpkg.com/debian/pubkey.gpg" extras.yarn.packages = "yarn" - + \ No newline at end of file diff --git a/scripts/change_url b/scripts/change_url index 4bc0869..ebc5858 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -32,7 +32,7 @@ ynh_script_progression --message="Changing app configuration file..." --weight=1 domain="$old_domain" -ynh_add_config --template="../conf/.env.local.example" --destination="$install_dir/.env.local" +ynh_add_config --template=".env.local.example" --destination="$install_dir/.env.local" chmod 400 "$install_dir/.env.local" chown $app:$app "$install_dir/.env.local" diff --git a/scripts/install b/scripts/install index d650f0e..699c953 100755 --- a/scripts/install +++ b/scripts/install @@ -48,16 +48,15 @@ ynh_app_setting_set --app="$app" --key=redis_db --value="$redis_db" #================================================= ynh_script_progression --message="Adding a configuration file..." --weight=1 -ynh_add_config --template="../conf/.env.local.example" --destination="$install_dir/.env.local" +ynh_add_config --template=".env.local.example" --destination="$install_dir/.env.local" chmod 400 "$install_dir/.env.local" chown $app:$app "$install_dir/.env.local" - #================================================= # INSTALL LIBREMDB #================================================= -ynh_script_progression --message="Building the app..." --weight=20 +ynh_script_progression --message="Building $app..." --weight=20 pushd $install_dir ynh_use_nodejs @@ -72,15 +71,9 @@ popd #================================================= ynh_script_progression --message="Configuring a systemd service..." --weight=1 -env_path="$PATH" # Create a dedicated systemd config ynh_add_systemd_config -#================================================= -# INTEGRATE SERVICE IN YUNOHOST -#================================================= -ynh_script_progression --message="Integrating service in YunoHost..." --weight=1 - yunohost service add $app --description="IMDb front-end" --log="/var/log/$app/$app.log" #================================================= diff --git a/scripts/remove b/scripts/remove index 1ca4948..defa8a8 100755 --- a/scripts/remove +++ b/scripts/remove @@ -22,34 +22,14 @@ then yunohost service remove $app fi -#================================================= -# STOP AND REMOVE SERVICE -#================================================= -ynh_script_progression --message="Stopping and removing the systemd service..." --weight=1 - # Remove the dedicated systemd config ynh_remove_systemd_config -#================================================= -# REMOVE NGINX CONFIGURATION -#================================================= -ynh_script_progression --message="Removing NGINX web server configuration..." --weight=1 - # Remove the dedicated NGINX config ynh_remove_nginx_config -#================================================= -# REMOVE THE REDIS DATABASE -#================================================= -ynh_script_progression --message="Removing the redis database..." - ynh_redis_remove_db "$redis_db" -#================================================= -# REMOVE DEPENDENCIES -#================================================= -ynh_script_progression --message="Removing dependencies..." --weight=1 - # Remove NodeJS ynh_remove_nodejs diff --git a/scripts/restore b/scripts/restore index c3c7fdd..ee5f671 100755 --- a/scripts/restore +++ b/scripts/restore @@ -33,39 +33,22 @@ ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version #================================================= # RESTORE THE NGINX CONFIGURATION #================================================= -ynh_script_progression --message="Restoring the NGINX web server configuration..." --weight=1 +ynh_script_progression --message="Restoring system configurations related to $app..." --weight=1 ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf" -#================================================= -# RESTORE SYSTEMD -#================================================= -ynh_script_progression --message="Restoring the systemd configuration..." --weight=1 - ynh_restore_file --origin_path="/etc/systemd/system/$app.service" systemctl enable $app.service --quiet -#================================================= -# INTEGRATE SERVICE IN YUNOHOST -#================================================= -ynh_script_progression --message="Integrating service in YunoHost..." --weight=1 - yunohost service add $app --description="IMDb front-end" --log="/var/log/$app/$app.log" #================================================= # START SYSTEMD SERVICE #================================================= -ynh_script_progression --message="Starting a systemd service..." --weight=1 +ynh_script_progression --message="Reloading NGINX web server and $app's service..." --weight=1 ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log" -#================================================= -# GENERIC FINALIZATION -#================================================= -# RELOAD NGINX AND PHP-FPM -#================================================= -ynh_script_progression --message="Reloading NGINX web server..." --weight=1 - ynh_systemd_action --service_name=nginx --action=reload #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 3cba834..de2fcd2 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -72,7 +72,7 @@ chown -R $app:www-data "$install_dir" #================================================= ynh_script_progression --message="Adding a configuration file..." --weight=1 -ynh_add_config --template="../conf/.env.local.example" --destination="$install_dir/.env.local" +ynh_add_config --template=".env.local.example" --destination="$install_dir/.env.local" chmod 400 "$install_dir/.env.local" chown $app:$app "$install_dir/.env.local" @@ -90,7 +90,6 @@ ynh_add_nginx_config #================================================= ynh_script_progression --message="Upgrading systemd configuration..." --weight=1 -env_path="$PATH" # Create a dedicated systemd config ynh_add_systemd_config From af09faa3bbfe4b213fedb03c04aa8424b915ef9e Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Fri, 10 May 2024 21:20:49 +0000 Subject: [PATCH 10/13] Auto-update READMEs --- README_gl.md | 1 + README_zh_Hans.md | 1 + 2 files changed, 2 insertions(+) diff --git a/README_gl.md b/README_gl.md index b642699..e3ff002 100644 --- a/README_gl.md +++ b/README_gl.md @@ -26,6 +26,7 @@ A free & open source IMDb front-end. - Lightweight + **Versión proporcionada:** 3.4.0~ynh1 **Demo:** diff --git a/README_zh_Hans.md b/README_zh_Hans.md index 661fb2b..f0a5e49 100644 --- a/README_zh_Hans.md +++ b/README_zh_Hans.md @@ -26,6 +26,7 @@ A free & open source IMDb front-end. - Lightweight + **分发版本:** 3.4.0~ynh1 **演示:** From d8b6dcd7be9d56f870419159fab989876018f6ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Fri, 10 May 2024 23:21:49 +0200 Subject: [PATCH 11/13] Update install --- scripts/install | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 699c953..53b08a4 100755 --- a/scripts/install +++ b/scripts/install @@ -60,8 +60,9 @@ ynh_script_progression --message="Building $app..." --weight=20 pushd $install_dir ynh_use_nodejs - corepack enable - corepack prepare pnpm@latest --activate + #corepack enable + #corepack prepare pnpm@latest --activate + ynh_exec_warn_less npm install pnpm -g ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH pnpm install ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production pnpm build popd From 657496587bc2b8536d514a3f2faad8c3ff9f4b4d Mon Sep 17 00:00:00 2001 From: Sebastian Gumprich Date: Mon, 13 May 2024 10:10:48 +0200 Subject: [PATCH 12/13] do not use corepack --- scripts/install | 2 -- scripts/upgrade | 13 ++++++------- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/scripts/install b/scripts/install index 53b08a4..77f6f65 100755 --- a/scripts/install +++ b/scripts/install @@ -60,8 +60,6 @@ ynh_script_progression --message="Building $app..." --weight=20 pushd $install_dir ynh_use_nodejs - #corepack enable - #corepack prepare pnpm@latest --activate ynh_exec_warn_less npm install pnpm -g ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH pnpm install ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production pnpm build diff --git a/scripts/upgrade b/scripts/upgrade index de2fcd2..7cacdd6 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -55,13 +55,12 @@ then ynh_setup_source --dest_dir="$install_dir" chmod -R o-rwx "$install_dir" chown -R $app:www-data "$install_dir" - pushd $install_dir - ynh_use_nodejs - corepack enable - corepack prepare pnpm@latest --activate - ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH pnpm install - ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production pnpm build - popd + pushd $install_dir + ynh_use_nodejs + ynh_exec_warn_less npm install pnpm -g + ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH pnpm install + ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production pnpm build + popd fi chmod -R o-rwx "$install_dir" From 13d94a23c150762c47e7c5d930d90393d9869501 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Mon, 13 May 2024 08:10:56 +0000 Subject: [PATCH 13/13] Auto-update READMEs --- ALL_README.md | 1 + README_es.md | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) create mode 100644 README_es.md diff --git a/ALL_README.md b/ALL_README.md index a01b345..8938aae 100644 --- a/ALL_README.md +++ b/ALL_README.md @@ -1,6 +1,7 @@ # 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) diff --git a/README_es.md b/README_es.md new file mode 100644 index 0000000..f3fbf0e --- /dev/null +++ b/README_es.md @@ -0,0 +1,57 @@ + + +# Libremdb para Yunohost + +[![Nivel de integración](https://dash.yunohost.org/integration/libremdb.svg)](https://dash.yunohost.org/appci/app/libremdb) ![Estado funcional](https://ci-apps.yunohost.org/ci/badges/libremdb.status.svg) ![Estado En Mantención](https://ci-apps.yunohost.org/ci/badges/libremdb.maintain.svg) + +[![Instalar Libremdb con Yunhost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=libremdb) + +*[Leer este README en otros idiomas.](./ALL_README.md)* + +> *Este paquete le permite instalarLibremdb 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 + +A free & open source IMDb front-end. + +### Features + +- Browse any movie info without being tracked or bombarded by annoying ads. +- Modern interface with curated colors supporting both dark and light themes. +- Be it your small mobile or big computer screen, it’s fully responsive. +- Lightweight + + + +**Versión actual:** 3.4.0~ynh1 + +**Demo:** + +## Capturas + +![Captura de Libremdb](./doc/screenshots/screenshot.png) + +## 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/libremdb_ynh/tree/testing + +Para probar la rama `testing`, sigue asÍ: + +```bash +sudo yunohost app install https://github.com/YunoHost-Apps/libremdb_ynh/tree/testing --debug +o +sudo yunohost app upgrade libremdb -u https://github.com/YunoHost-Apps/libremdb_ynh/tree/testing --debug +``` + +**Mas informaciones sobre el empaquetado de aplicaciones:**