1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/gemserv_ynh.git synced 2024-09-03 18:36:27 +02:00

Merge pull request #33 from YunoHost-Apps/testing

Testing
This commit is contained in:
eric_G 2024-08-18 19:09:18 +02:00 committed by GitHub
commit c6bb003f4b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 114 additions and 26 deletions

View file

@ -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)

View file

@ -5,7 +5,7 @@ It shall NOT be edited by hand.
# Gemserv for YunoHost
[![Integration level](https://dash.yunohost.org/integration/gemserv.svg)](https://dash.yunohost.org/appci/app/gemserv) ![Working status](https://ci-apps.yunohost.org/ci/badges/gemserv.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/gemserv.maintain.svg)
[![Integration level](https://dash.yunohost.org/integration/gemserv.svg)](https://ci-apps.yunohost.org/ci/apps/gemserv/) ![Working status](https://ci-apps.yunohost.org/ci/badges/gemserv.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/gemserv.maintain.svg)
[![Install Gemserv with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=gemserv)

View file

@ -5,7 +5,7 @@ No se debe editar a mano.
# Gemserv para Yunohost
[![Nivel de integración](https://dash.yunohost.org/integration/gemserv.svg)](https://dash.yunohost.org/appci/app/gemserv) ![Estado funcional](https://ci-apps.yunohost.org/ci/badges/gemserv.status.svg) ![Estado En Mantención](https://ci-apps.yunohost.org/ci/badges/gemserv.maintain.svg)
[![Nivel de integración](https://dash.yunohost.org/integration/gemserv.svg)](https://ci-apps.yunohost.org/ci/apps/gemserv/) ![Estado funcional](https://ci-apps.yunohost.org/ci/badges/gemserv.status.svg) ![Estado En Mantención](https://ci-apps.yunohost.org/ci/badges/gemserv.maintain.svg)
[![Instalar Gemserv con Yunhost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=gemserv)

View file

@ -5,7 +5,7 @@ EZ editatu eskuz.
# Gemserv YunoHost-erako
[![Integrazio maila](https://dash.yunohost.org/integration/gemserv.svg)](https://dash.yunohost.org/appci/app/gemserv) ![Funtzionamendu egoera](https://ci-apps.yunohost.org/ci/badges/gemserv.status.svg) ![Mantentze egoera](https://ci-apps.yunohost.org/ci/badges/gemserv.maintain.svg)
[![Integrazio maila](https://dash.yunohost.org/integration/gemserv.svg)](https://ci-apps.yunohost.org/ci/apps/gemserv/) ![Funtzionamendu egoera](https://ci-apps.yunohost.org/ci/badges/gemserv.status.svg) ![Mantentze egoera](https://ci-apps.yunohost.org/ci/badges/gemserv.maintain.svg)
[![Instalatu Gemserv YunoHost-ekin](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=gemserv)

View file

@ -5,7 +5,7 @@ Il NE doit PAS être modifié à la main.
# Gemserv pour YunoHost
[![Niveau dintégration](https://dash.yunohost.org/integration/gemserv.svg)](https://dash.yunohost.org/appci/app/gemserv) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/gemserv.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/gemserv.maintain.svg)
[![Niveau dintégration](https://dash.yunohost.org/integration/gemserv.svg)](https://ci-apps.yunohost.org/ci/apps/gemserv/) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/gemserv.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/gemserv.maintain.svg)
[![Installer Gemserv avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=gemserv)

View file

@ -5,7 +5,7 @@ NON debe editarse manualmente.
# Gemserv para YunoHost
[![Nivel de integración](https://dash.yunohost.org/integration/gemserv.svg)](https://dash.yunohost.org/appci/app/gemserv) ![Estado de funcionamento](https://ci-apps.yunohost.org/ci/badges/gemserv.status.svg) ![Estado de mantemento](https://ci-apps.yunohost.org/ci/badges/gemserv.maintain.svg)
[![Nivel de integración](https://dash.yunohost.org/integration/gemserv.svg)](https://ci-apps.yunohost.org/ci/apps/gemserv/) ![Estado de funcionamento](https://ci-apps.yunohost.org/ci/badges/gemserv.status.svg) ![Estado de mantemento](https://ci-apps.yunohost.org/ci/badges/gemserv.maintain.svg)
[![Instalar Gemserv con YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=gemserv)

52
README_id.md Normal file
View file

@ -0,0 +1,52 @@
<!--
N.B.: README ini dibuat secara otomatis oleh <https://github.com/YunoHost/apps/tree/master/tools/readme_generator>
Ini TIDAK boleh diedit dengan tangan.
-->
# Gemserv untuk YunoHost
[![Tingkat integrasi](https://dash.yunohost.org/integration/gemserv.svg)](https://ci-apps.yunohost.org/ci/apps/gemserv/) ![Status kerja](https://ci-apps.yunohost.org/ci/badges/gemserv.status.svg) ![Status pemeliharaan](https://ci-apps.yunohost.org/ci/badges/gemserv.maintain.svg)
[![Pasang Gemserv dengan YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=gemserv)
*[Baca README ini dengan bahasa yang lain.](./ALL_README.md)*
> *Paket ini memperbolehkan Anda untuk memasang Gemserv 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
A gemini server written in rust.
### Features
- Vhosts
- CGI
- User directories
- Reverse proxy
- Redirect
- SCGI
- Reload config on SIGHUP
**Versi terkirim:** 0.6.6~ynh7
## Dokumentasi dan sumber daya
- Website aplikasi resmi: <https://git.sr.ht/~int80h/gemserv/>
- Depot kode aplikasi hulu: <https://git.sr.ht/~int80h/gemserv>
- Gudang YunoHost: <https://apps.yunohost.org/app/gemserv>
- Laporkan bug: <https://github.com/YunoHost-Apps/gemserv_ynh/issues>
## Info developer
Silakan kirim pull request ke [`testing` branch](https://github.com/YunoHost-Apps/gemserv_ynh/tree/testing).
Untuk mencoba branch `testing`, silakan dilanjutkan seperti:
```bash
sudo yunohost app install https://github.com/YunoHost-Apps/gemserv_ynh/tree/testing --debug
atau
sudo yunohost app upgrade gemserv -u https://github.com/YunoHost-Apps/gemserv_ynh/tree/testing --debug
```
**Info lebih lanjut mengenai pemaketan aplikasi:** <https://yunohost.org/packaging_apps>

52
README_ru.md Normal file
View file

@ -0,0 +1,52 @@
<!--
Важно: этот README был автоматически сгенерирован <https://github.com/YunoHost/apps/tree/master/tools/readme_generator>
Он НЕ ДОЛЖЕН редактироваться вручную.
-->
# Gemserv для YunoHost
[![Уровень интеграции](https://dash.yunohost.org/integration/gemserv.svg)](https://ci-apps.yunohost.org/ci/apps/gemserv/) ![Состояние работы](https://ci-apps.yunohost.org/ci/badges/gemserv.status.svg) ![Состояние сопровождения](https://ci-apps.yunohost.org/ci/badges/gemserv.maintain.svg)
[![Установите Gemserv с YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=gemserv)
*[Прочтите этот README на других языках.](./ALL_README.md)*
> *Этот пакет позволяет Вам установить Gemserv быстро и просто на YunoHost-сервер.*
> *Если у Вас нет YunoHost, пожалуйста, посмотрите [инструкцию](https://yunohost.org/install), чтобы узнать, как установить его.*
## Обзор
A gemini server written in rust.
### Features
- Vhosts
- CGI
- User directories
- Reverse proxy
- Redirect
- SCGI
- Reload config on SIGHUP
**Поставляемая версия:** 0.6.6~ynh7
## Документация и ресурсы
- Официальный веб-сайт приложения: <https://git.sr.ht/~int80h/gemserv/>
- Репозиторий кода главной ветки приложения: <https://git.sr.ht/~int80h/gemserv>
- Магазин YunoHost: <https://apps.yunohost.org/app/gemserv>
- Сообщите об ошибке: <https://github.com/YunoHost-Apps/gemserv_ynh/issues>
## Информация для разработчиков
Пришлите Ваш запрос на слияние в [ветку `testing`](https://github.com/YunoHost-Apps/gemserv_ynh/tree/testing).
Чтобы попробовать ветку `testing`, пожалуйста, сделайте что-то вроде этого:
```bash
sudo yunohost app install https://github.com/YunoHost-Apps/gemserv_ynh/tree/testing --debug
или
sudo yunohost app upgrade gemserv -u https://github.com/YunoHost-Apps/gemserv_ynh/tree/testing --debug
```
**Больше информации о пакетировании приложений:** <https://yunohost.org/packaging_apps>

View file

@ -5,7 +5,7 @@
# YunoHost 上的 Gemserv
[![集成程度](https://dash.yunohost.org/integration/gemserv.svg)](https://dash.yunohost.org/appci/app/gemserv) ![工作状态](https://ci-apps.yunohost.org/ci/badges/gemserv.status.svg) ![维护状态](https://ci-apps.yunohost.org/ci/badges/gemserv.maintain.svg)
[![集成程度](https://dash.yunohost.org/integration/gemserv.svg)](https://ci-apps.yunohost.org/ci/apps/gemserv/) ![工作状态](https://ci-apps.yunohost.org/ci/badges/gemserv.status.svg) ![维护状态](https://ci-apps.yunohost.org/ci/badges/gemserv.maintain.svg)
[![使用 YunoHost 安装 Gemserv](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=gemserv)

View file

@ -8,7 +8,7 @@ description.en = "A gemini server written in rust."
version = "0.6.6~ynh7"
maintainers = ["yalh76"]
maintainers = []
[upstream]
license = "MIT"
@ -16,7 +16,7 @@ code = "https://git.sr.ht/~int80h/gemserv"
website = "https://git.sr.ht/~int80h/gemserv/"
[integration]
yunohost = ">= 4.3.0"
yunohost = ">= 11.2.27"
architectures = "all"
multi_instance = false
ldap = "not_relevant"

View file

@ -29,16 +29,8 @@ ynh_backup --src_path="$install_dir"
ynh_backup --src_path="/etc/logrotate.d/$app"
#=================================================
# BACKUP SYSTEMD
#=================================================
ynh_backup --src_path="/etc/systemd/system/$app.service"
#=================================================
# BACKUP VARIOUS FILES
#=================================================
ynh_backup --src_path="/etc/$app/"
#=================================================

View file

@ -25,19 +25,9 @@ ynh_remove_systemd_config
# Remove the app-specific logrotate config
ynh_remove_logrotate
#=================================================
# SPECIFIC REMOVE
#=================================================
# REMOVE VARIOUS FILES
#=================================================
ynh_script_progression --message="Removing various files..." --weight=1
# Remove a directory securely
ynh_secure_remove --file="/etc/$app"
# Remove the log files
ynh_secure_remove --file="/var/log/$app"
#=================================================
# END OF SCRIPT
#=================================================