1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/phpboost_ynh.git synced 2024-09-03 19:56:33 +02:00

Merge pull request #21 from YunoHost-Apps/testing

Testing
This commit is contained in:
eric_G 2024-05-12 15:57:25 +02:00 committed by GitHub
commit e6370f2660
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 162 additions and 23 deletions

View file

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

View file

@ -9,7 +9,7 @@ It shall NOT be edited by hand.
[![Install PHPBoost with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=phpboost)
*[Read this README is other languages.](./ALL_README.md)*
*[Read this README in other languages.](./ALL_README.md)*
> *This package allows you to install PHPBoost 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.*
@ -18,7 +18,7 @@ It shall NOT be edited by hand.
PHPBoost allows everyone to create his own website without any particular knowledge required in webmastering.
**Shipped version:** 6.0.2~ynh1
**Shipped version:** 6.0.3~ynh1
**Demo:** <https://demo.phpboost.com/>

49
README_es.md Normal file
View file

@ -0,0 +1,49 @@
<!--
Este archivo README esta generado automaticamente<https://github.com/YunoHost/apps/tree/master/tools/readme_generator>
No se debe editar a mano.
-->
# PHPBoost para Yunohost
[![Nivel de integración](https://dash.yunohost.org/integration/phpboost.svg)](https://dash.yunohost.org/appci/app/phpboost) ![Estado funcional](https://ci-apps.yunohost.org/ci/badges/phpboost.status.svg) ![Estado En Mantención](https://ci-apps.yunohost.org/ci/badges/phpboost.maintain.svg)
[![Instalar PHPBoost con Yunhost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=phpboost)
*[Leer este README en otros idiomas.](./ALL_README.md)*
> *Este paquete le permite instalarPHPBoost 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
PHPBoost allows everyone to create his own website without any particular knowledge required in webmastering.
**Versión actual:** 6.0.3~ynh1
**Demo:** <https://demo.phpboost.com/>
## Capturas
![Captura de PHPBoost](./doc/screenshots/screenshot.png)
## Documentaciones y recursos
- Sitio web oficial: <https://www.phpboost.com/>
- Documentación administrador oficial: <https://www.phpboost.com/wiki/wiki.php>
- Repositorio del código fuente oficial de la aplicación : <https://github.com/PHPBoost/PHPBoost>
- Catálogo YunoHost: <https://apps.yunohost.org/app/phpboost>
- Reportar un error: <https://github.com/YunoHost-Apps/phpboost_ynh/issues>
## Información para desarrolladores
Por favor enviar sus correcciones a la [`branch testing`](https://github.com/YunoHost-Apps/phpboost_ynh/tree/testing
Para probar la rama `testing`, sigue asÍ:
```bash
sudo yunohost app install https://github.com/YunoHost-Apps/phpboost_ynh/tree/testing --debug
o
sudo yunohost app upgrade phpboost -u https://github.com/YunoHost-Apps/phpboost_ynh/tree/testing --debug
```
**Mas informaciones sobre el empaquetado de aplicaciones:** <https://yunohost.org/packaging_apps>

49
README_eu.md Normal file
View file

@ -0,0 +1,49 @@
<!--
Ohart ongi: README hau automatikoki sortu da <https://github.com/YunoHost/apps/tree/master/tools/readme_generator>ri esker
EZ editatu eskuz.
-->
# PHPBoost YunoHost-erako
[![Integrazio maila](https://dash.yunohost.org/integration/phpboost.svg)](https://dash.yunohost.org/appci/app/phpboost) ![Funtzionamendu egoera](https://ci-apps.yunohost.org/ci/badges/phpboost.status.svg) ![Mantentze egoera](https://ci-apps.yunohost.org/ci/badges/phpboost.maintain.svg)
[![Instalatu PHPBoost YunoHost-ekin](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=phpboost)
*[Irakurri README hau beste hizkuntzatan.](./ALL_README.md)*
> *Pakete honek PHPBoost YunoHost zerbitzari batean azkar eta zailtasunik gabe instalatzea ahalbidetzen dizu.*
> *YunoHost ez baduzu, kontsultatu [gida](https://yunohost.org/install) nola instalatu ikasteko.*
## Aurreikuspena
PHPBoost allows everyone to create his own website without any particular knowledge required in webmastering.
**Paketatutako bertsioa:** 6.0.3~ynh1
**Demoa:** <https://demo.phpboost.com/>
## Pantaila-argazkiak
![PHPBoost(r)en pantaila-argazkia](./doc/screenshots/screenshot.png)
## Dokumentazioa eta baliabideak
- Aplikazioaren webgune ofiziala: <https://www.phpboost.com/>
- Administratzaileen dokumentazio ofiziala: <https://www.phpboost.com/wiki/wiki.php>
- Jatorrizko aplikazioaren kode-gordailua: <https://github.com/PHPBoost/PHPBoost>
- YunoHost Denda: <https://apps.yunohost.org/app/phpboost>
- Eman errore baten berri: <https://github.com/YunoHost-Apps/phpboost_ynh/issues>
## Garatzaileentzako informazioa
Bidali `pull request`a [`testing` abarrera](https://github.com/YunoHost-Apps/phpboost_ynh/tree/testing).
`testing` abarra probatzeko, ondorengoa egin:
```bash
sudo yunohost app install https://github.com/YunoHost-Apps/phpboost_ynh/tree/testing --debug
edo
sudo yunohost app upgrade phpboost -u https://github.com/YunoHost-Apps/phpboost_ynh/tree/testing --debug
```
**Informazio gehiago aplikazioaren paketatzeari buruz:** <https://yunohost.org/packaging_apps>

View file

@ -18,7 +18,7 @@ Il NE doit PAS être modifié à la main.
PHPBoost allows everyone to create his own website without any particular knowledge required in webmastering.
**Version incluse:** 6.0.2~ynh1
**Version incluse:** 6.0.3~ynh1
**Démo:** <https://demo.phpboost.com/>

View file

@ -18,7 +18,7 @@ NON debe editarse manualmente.
PHPBoost allows everyone to create his own website without any particular knowledge required in webmastering.
**Versión proporcionada:** 6.0.2~ynh1
**Versión proporcionada:** 6.0.3~ynh1
**Demo:** <https://demo.phpboost.com/>

49
README_zh_Hans.md Normal file
View file

@ -0,0 +1,49 @@
<!--
注意:此 README 由 <https://github.com/YunoHost/apps/tree/master/tools/readme_generator> 自动生成
请勿手动编辑。
-->
# YunoHost 上的 PHPBoost
[![集成程度](https://dash.yunohost.org/integration/phpboost.svg)](https://dash.yunohost.org/appci/app/phpboost) ![工作状态](https://ci-apps.yunohost.org/ci/badges/phpboost.status.svg) ![维护状态](https://ci-apps.yunohost.org/ci/badges/phpboost.maintain.svg)
[![使用 YunoHost 安装 PHPBoost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=phpboost)
*[阅读此 README 的其它语言版本。](./ALL_README.md)*
> *通过此软件包,您可以在 YunoHost 服务器上快速、简单地安装 PHPBoost。*
> *如果您还没有 YunoHost请参阅[指南](https://yunohost.org/install)了解如何安装它。*
## 概况
PHPBoost allows everyone to create his own website without any particular knowledge required in webmastering.
**分发版本:** 6.0.3~ynh1
**演示:** <https://demo.phpboost.com/>
## 截图
![PHPBoost 的截图](./doc/screenshots/screenshot.png)
## 文档与资源
- 官方应用网站: <https://www.phpboost.com/>
- 官方管理文档: <https://www.phpboost.com/wiki/wiki.php>
- 上游应用代码库: <https://github.com/PHPBoost/PHPBoost>
- YunoHost 商店: <https://apps.yunohost.org/app/phpboost>
- 报告 bug <https://github.com/YunoHost-Apps/phpboost_ynh/issues>
## 开发者信息
请向 [`testing` 分支](https://github.com/YunoHost-Apps/phpboost_ynh/tree/testing) 发送拉取请求。
如要尝试 `testing` 分支,请这样操作:
```bash
sudo yunohost app install https://github.com/YunoHost-Apps/phpboost_ynh/tree/testing --debug
sudo yunohost app upgrade phpboost -u https://github.com/YunoHost-Apps/phpboost_ynh/tree/testing --debug
```
**有关应用打包的更多信息:** <https://yunohost.org/packaging_apps>

View file

@ -5,9 +5,9 @@ name = "PHPBoost"
description.en = "French and free content management system (CMS)"
description.fr = "Système de gestion de contenu (CMS) français et libre"
version = "6.0.2~ynh1"
version = "6.0.3~ynh1"
maintainers = [""]
maintainers = []
[upstream]
license = "GPL-3.0-only"
@ -46,9 +46,9 @@ ram.runtime = "50M"
[resources.sources]
[resources.sources.main]
url = "https://github.com/PHPBoost/PHPBoost/archive/refs/tags/phpboost-6.0.2.tar.gz"
sha256 = "83888d8cdbf5fdae54214e43eaf1badfcefabb8f117e0b394bdc5a073742379f"
autoupdate.strategy = "latest_github_tag"
url = "https://github.com/PHPBoost/PHPBoost/archive/refs/tags/phpboost-6.0.3.tar.gz"
sha256 = "af04616c9cbbcbd804b80fe667f556dfca8bd1bd19f78dba314a4f66bbee6268"
autoupdate.strategy = "latest_github_release"
[resources.ports]

View file

@ -9,23 +9,13 @@
source _common.sh
source /usr/share/yunohost/helpers
#=================================================
# CHECK VERSION
#=================================================
upgrade_type=$(ynh_check_app_version_changed)
#=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE
#=================================================
if [ "$upgrade_type" == "UPGRADE_APP" ]
then
ynh_script_progression --message="Upgrading source files..." --weight=5
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$install_dir"
fi
chmod -R o-rwx "$install_dir"
chown -R $app:www-data "$install_dir"