mirror of
https://github.com/YunoHost-Apps/webtrees_ynh.git
synced 2024-09-03 18:26:37 +02:00
Upgrade to v2.1.20 (#89)
* Upgrade to v2.1.20 * Auto-update READMEs * fix * Auto-update READMEs --------- Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com>
This commit is contained in:
parent
05c9d80dde
commit
a1f895bcea
11 changed files with 272 additions and 67 deletions
8
ALL_README.md
Normal file
8
ALL_README.md
Normal file
|
@ -0,0 +1,8 @@
|
|||
# All available README files by language
|
||||
|
||||
- [Read the README in English](README.md)
|
||||
- [Lea 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)
|
28
README.md
28
README.md
|
@ -1,5 +1,5 @@
|
|||
<!--
|
||||
N.B.: This README was automatically generated by https://github.com/YunoHost/apps/tree/master/tools/README-generator
|
||||
N.B.: This README was automatically generated by <https://github.com/YunoHost/apps/tree/master/tools/readme_generator>
|
||||
It shall NOT be edited by hand.
|
||||
-->
|
||||
|
||||
|
@ -9,10 +9,10 @@ It shall NOT be edited by hand.
|
|||
|
||||
[![Install Webtrees with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=webtrees)
|
||||
|
||||
*[Lire ce readme en français.](./README_fr.md)*
|
||||
*[Read this README in other languages.](./ALL_README.md)*
|
||||
|
||||
> *This package allows you to install Webtrees 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 Webtrees 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
|
||||
|
||||
|
@ -24,9 +24,9 @@ Webtrees allows you to view and edit your genealogy on your website. It has full
|
|||
**Note:** Its better to upgrade from the Webtrees admin panel when new version arrives.
|
||||
|
||||
|
||||
**Shipped version:** 2.1.18~ynh2
|
||||
**Shipped version:** 2.1.20~ynh1
|
||||
|
||||
**Demo:** https://dev.webtrees.net/demo-stable/index.php?route=%2Fdemo-stable%2Ftree%2Fdemo
|
||||
**Demo:** <https://dev.webtrees.net/demo-stable/index.php?route=%2Fdemo-stable%2Ftree%2Fdemo>
|
||||
|
||||
## Screenshots
|
||||
|
||||
|
@ -34,19 +34,19 @@ Webtrees allows you to view and edit your genealogy on your website. It has full
|
|||
|
||||
## Documentation and resources
|
||||
|
||||
* Official app website: <https://www.webtrees.net>
|
||||
* Official admin documentation: <https://wiki.webtrees.net>
|
||||
* Upstream app code repository: <https://github.com/fisharebest/webtrees>
|
||||
* YunoHost Store: <https://apps.yunohost.org/app/webtrees>
|
||||
* Report a bug: <https://github.com/YunoHost-Apps/webtrees_ynh/issues>
|
||||
- Official app website: <https://www.webtrees.net>
|
||||
- Official admin documentation: <https://wiki.webtrees.net>
|
||||
- Upstream app code repository: <https://github.com/fisharebest/webtrees>
|
||||
- YunoHost Store: <https://apps.yunohost.org/app/webtrees>
|
||||
- Report a bug: <https://github.com/YunoHost-Apps/webtrees_ynh/issues>
|
||||
|
||||
## Developer info
|
||||
|
||||
Please send your pull request to the [testing branch](https://github.com/YunoHost-Apps/webtrees_ynh/tree/testing).
|
||||
Please send your pull request to the [`testing` branch](https://github.com/YunoHost-Apps/webtrees_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/webtrees_ynh/tree/testing --debug
|
||||
or
|
||||
sudo yunohost app upgrade webtrees -u https://github.com/YunoHost-Apps/webtrees_ynh/tree/testing --debug
|
||||
|
|
55
README_es.md
Normal file
55
README_es.md
Normal file
|
@ -0,0 +1,55 @@
|
|||
<!--
|
||||
Este archivo README esta generado automaticamente<https://github.com/YunoHost/apps/tree/master/tools/readme_generator>
|
||||
No se debe editar a mano.
|
||||
-->
|
||||
|
||||
# Webtrees para Yunohost
|
||||
|
||||
[![Nivel de integración](https://dash.yunohost.org/integration/webtrees.svg)](https://dash.yunohost.org/appci/app/webtrees) ![Estado funcional](https://ci-apps.yunohost.org/ci/badges/webtrees.status.svg) ![Estado En Mantención](https://ci-apps.yunohost.org/ci/badges/webtrees.maintain.svg)
|
||||
|
||||
[![Instalar Webtrees con Yunhost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=webtrees)
|
||||
|
||||
*[Leer este README en otros idiomas.](./ALL_README.md)*
|
||||
|
||||
> *Este paquete le permite instalarWebtrees 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
|
||||
|
||||
Webtrees allows you to view and edit your genealogy on your website. It has full editing capabilities, full privacy functions, and supports imedia such as photos and document images. As an online program, it fosters extended family participation and good ancestral recording habits, as it simplifies the process of collaborating with others working on your family lines. Your latest information is always on your web site and available for others to see, defined by viewing rules you set.
|
||||
|
||||
- It works from standard GEDCOM files, and is therefore compatible with every major desktop application.
|
||||
- It aims to to be efficient and effective by using the right combination of third-party tools, design techniques and open standards.
|
||||
|
||||
**Note:** Its better to upgrade from the Webtrees admin panel when new version arrives.
|
||||
|
||||
|
||||
**Versión actual:** 2.1.20~ynh1
|
||||
|
||||
**Demo:** <https://dev.webtrees.net/demo-stable/index.php?route=%2Fdemo-stable%2Ftree%2Fdemo>
|
||||
|
||||
## Capturas
|
||||
|
||||
![Captura de Webtrees](./doc/screenshots/1200px-Webtrees.png)
|
||||
|
||||
## Documentaciones y recursos
|
||||
|
||||
- Sitio web oficial: <https://www.webtrees.net>
|
||||
- Documentación administrador oficial: <https://wiki.webtrees.net>
|
||||
- Repositorio del código fuente oficial de la aplicación : <https://github.com/fisharebest/webtrees>
|
||||
- Catálogo YunoHost: <https://apps.yunohost.org/app/webtrees>
|
||||
- Reportar un error: <https://github.com/YunoHost-Apps/webtrees_ynh/issues>
|
||||
|
||||
## Información para desarrolladores
|
||||
|
||||
Por favor enviar sus correcciones a la [`branch testing`](https://github.com/YunoHost-Apps/webtrees_ynh/tree/testing
|
||||
|
||||
Para probar la rama `testing`, sigue asÍ:
|
||||
|
||||
```bash
|
||||
sudo yunohost app install https://github.com/YunoHost-Apps/webtrees_ynh/tree/testing --debug
|
||||
o
|
||||
sudo yunohost app upgrade webtrees -u https://github.com/YunoHost-Apps/webtrees_ynh/tree/testing --debug
|
||||
```
|
||||
|
||||
**Mas informaciones sobre el empaquetado de aplicaciones:** <https://yunohost.org/packaging_apps>
|
55
README_eu.md
Normal file
55
README_eu.md
Normal file
|
@ -0,0 +1,55 @@
|
|||
<!--
|
||||
Ohart ongi: README hau automatikoki sortu da <https://github.com/YunoHost/apps/tree/master/tools/readme_generator>ri esker
|
||||
EZ editatu eskuz.
|
||||
-->
|
||||
|
||||
# Webtrees YunoHost-erako
|
||||
|
||||
[![Integrazio maila](https://dash.yunohost.org/integration/webtrees.svg)](https://dash.yunohost.org/appci/app/webtrees) ![Funtzionamendu egoera](https://ci-apps.yunohost.org/ci/badges/webtrees.status.svg) ![Mantentze egoera](https://ci-apps.yunohost.org/ci/badges/webtrees.maintain.svg)
|
||||
|
||||
[![Instalatu Webtrees YunoHost-ekin](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=webtrees)
|
||||
|
||||
*[Irakurri README hau beste hizkuntzatan.](./ALL_README.md)*
|
||||
|
||||
> *Pakete honek Webtrees YunoHost zerbitzari batean azkar eta zailtasunik gabe instalatzea ahalbidetzen dizu.*
|
||||
> *YunoHost ez baduzu, kontsultatu [gida](https://yunohost.org/install) nola instalatu ikasteko.*
|
||||
|
||||
## Aurreikuspena
|
||||
|
||||
Webtrees allows you to view and edit your genealogy on your website. It has full editing capabilities, full privacy functions, and supports imedia such as photos and document images. As an online program, it fosters extended family participation and good ancestral recording habits, as it simplifies the process of collaborating with others working on your family lines. Your latest information is always on your web site and available for others to see, defined by viewing rules you set.
|
||||
|
||||
- It works from standard GEDCOM files, and is therefore compatible with every major desktop application.
|
||||
- It aims to to be efficient and effective by using the right combination of third-party tools, design techniques and open standards.
|
||||
|
||||
**Note:** Its better to upgrade from the Webtrees admin panel when new version arrives.
|
||||
|
||||
|
||||
**Paketatutako bertsioa:** 2.1.20~ynh1
|
||||
|
||||
**Demoa:** <https://dev.webtrees.net/demo-stable/index.php?route=%2Fdemo-stable%2Ftree%2Fdemo>
|
||||
|
||||
## Pantaila-argazkiak
|
||||
|
||||
![Webtrees(r)en pantaila-argazkia](./doc/screenshots/1200px-Webtrees.png)
|
||||
|
||||
## Dokumentazioa eta baliabideak
|
||||
|
||||
- Aplikazioaren webgune ofiziala: <https://www.webtrees.net>
|
||||
- Administratzaileen dokumentazio ofiziala: <https://wiki.webtrees.net>
|
||||
- Jatorrizko aplikazioaren kode-gordailua: <https://github.com/fisharebest/webtrees>
|
||||
- YunoHost Denda: <https://apps.yunohost.org/app/webtrees>
|
||||
- Eman errore baten berri: <https://github.com/YunoHost-Apps/webtrees_ynh/issues>
|
||||
|
||||
## Garatzaileentzako informazioa
|
||||
|
||||
Bidali `pull request`a [`testing` abarrera](https://github.com/YunoHost-Apps/webtrees_ynh/tree/testing).
|
||||
|
||||
`testing` abarra probatzeko, ondorengoa egin:
|
||||
|
||||
```bash
|
||||
sudo yunohost app install https://github.com/YunoHost-Apps/webtrees_ynh/tree/testing --debug
|
||||
edo
|
||||
sudo yunohost app upgrade webtrees -u https://github.com/YunoHost-Apps/webtrees_ynh/tree/testing --debug
|
||||
```
|
||||
|
||||
**Informazio gehiago aplikazioaren paketatzeari buruz:** <https://yunohost.org/packaging_apps>
|
32
README_fr.md
32
README_fr.md
|
@ -1,6 +1,6 @@
|
|||
<!--
|
||||
N.B.: This README was automatically generated by https://github.com/YunoHost/apps/tree/master/tools/README-generator
|
||||
It shall NOT be edited by hand.
|
||||
Nota bene : ce README est automatiquement généré par <https://github.com/YunoHost/apps/tree/master/tools/readme_generator>
|
||||
Il NE doit PAS être modifié à la main.
|
||||
-->
|
||||
|
||||
# Webtrees pour YunoHost
|
||||
|
@ -9,10 +9,10 @@ It shall NOT be edited by hand.
|
|||
|
||||
[![Installer Webtrees avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=webtrees)
|
||||
|
||||
*[Read this readme in english.](./README.md)*
|
||||
*[Lire le README dans d'autres langues.](./ALL_README.md)*
|
||||
|
||||
> *Ce package vous permet d’installer Webtrees 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 Webtrees 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
|
||||
|
||||
|
@ -23,9 +23,9 @@ Webtrees vous permet de visualiser et de modifier votre généalogie sur votre s
|
|||
|
||||
**Remarque :** Il est préférable de mettre à niveau à partir du panneau d'administration Webtrees lorsqu'une nouvelle version arrive.
|
||||
|
||||
**Version incluse :** 2.1.18~ynh2
|
||||
**Version incluse :** 2.1.20~ynh1
|
||||
|
||||
**Démo :** https://dev.webtrees.net/demo-stable/index.php?route=%2Fdemo-stable%2Ftree%2Fdemo
|
||||
**Démo :** <https://dev.webtrees.net/demo-stable/index.php?route=%2Fdemo-stable%2Ftree%2Fdemo>
|
||||
|
||||
## Captures d’écran
|
||||
|
||||
|
@ -33,22 +33,22 @@ Webtrees vous permet de visualiser et de modifier votre généalogie sur votre s
|
|||
|
||||
## Documentations et ressources
|
||||
|
||||
* Site officiel de l’app : <https://www.webtrees.net>
|
||||
* Documentation officielle de l’admin : <https://wiki.webtrees.net>
|
||||
* Dépôt de code officiel de l’app : <https://github.com/fisharebest/webtrees>
|
||||
* YunoHost Store: <https://apps.yunohost.org/app/webtrees>
|
||||
* Signaler un bug : <https://github.com/YunoHost-Apps/webtrees_ynh/issues>
|
||||
- Site officiel de l’app : <https://www.webtrees.net>
|
||||
- Documentation officielle de l’admin : <https://wiki.webtrees.net>
|
||||
- Dépôt de code officiel de l’app : <https://github.com/fisharebest/webtrees>
|
||||
- YunoHost Store : <https://apps.yunohost.org/app/webtrees>
|
||||
- Signaler un bug : <https://github.com/YunoHost-Apps/webtrees_ynh/issues>
|
||||
|
||||
## Informations pour les développeurs
|
||||
|
||||
Merci de faire vos pull request sur la [branche testing](https://github.com/YunoHost-Apps/webtrees_ynh/tree/testing).
|
||||
Merci de faire vos pull request sur la [branche `testing`](https://github.com/YunoHost-Apps/webtrees_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/webtrees_ynh/tree/testing --debug
|
||||
ou
|
||||
sudo yunohost app upgrade webtrees -u https://github.com/YunoHost-Apps/webtrees_ynh/tree/testing --debug
|
||||
```
|
||||
|
||||
**Plus d’infos sur le packaging d’applications :** <https://yunohost.org/packaging_apps>
|
||||
**Plus d’infos sur le packaging d’applications :** <https://yunohost.org/packaging_apps>
|
||||
|
|
55
README_gl.md
Normal file
55
README_gl.md
Normal file
|
@ -0,0 +1,55 @@
|
|||
<!--
|
||||
NOTA: Este README foi creado automáticamente por <https://github.com/YunoHost/apps/tree/master/tools/readme_generator>
|
||||
NON debe editarse manualmente.
|
||||
-->
|
||||
|
||||
# Webtrees para YunoHost
|
||||
|
||||
[![Nivel de integración](https://dash.yunohost.org/integration/webtrees.svg)](https://dash.yunohost.org/appci/app/webtrees) ![Estado de funcionamento](https://ci-apps.yunohost.org/ci/badges/webtrees.status.svg) ![Estado de mantemento](https://ci-apps.yunohost.org/ci/badges/webtrees.maintain.svg)
|
||||
|
||||
[![Instalar Webtrees con YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=webtrees)
|
||||
|
||||
*[Le este README en outros idiomas.](./ALL_README.md)*
|
||||
|
||||
> *Este paquete permíteche instalar Webtrees 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
|
||||
|
||||
Webtrees allows you to view and edit your genealogy on your website. It has full editing capabilities, full privacy functions, and supports imedia such as photos and document images. As an online program, it fosters extended family participation and good ancestral recording habits, as it simplifies the process of collaborating with others working on your family lines. Your latest information is always on your web site and available for others to see, defined by viewing rules you set.
|
||||
|
||||
- It works from standard GEDCOM files, and is therefore compatible with every major desktop application.
|
||||
- It aims to to be efficient and effective by using the right combination of third-party tools, design techniques and open standards.
|
||||
|
||||
**Note:** Its better to upgrade from the Webtrees admin panel when new version arrives.
|
||||
|
||||
|
||||
**Versión proporcionada:** 2.1.20~ynh1
|
||||
|
||||
**Demo:** <https://dev.webtrees.net/demo-stable/index.php?route=%2Fdemo-stable%2Ftree%2Fdemo>
|
||||
|
||||
## Capturas de pantalla
|
||||
|
||||
![Captura de pantalla de Webtrees](./doc/screenshots/1200px-Webtrees.png)
|
||||
|
||||
## Documentación e recursos
|
||||
|
||||
- Web oficial da app: <https://www.webtrees.net>
|
||||
- Documentación oficial para admin: <https://wiki.webtrees.net>
|
||||
- Repositorio de orixe do código: <https://github.com/fisharebest/webtrees>
|
||||
- Tenda YunoHost: <https://apps.yunohost.org/app/webtrees>
|
||||
- Informar dun problema: <https://github.com/YunoHost-Apps/webtrees_ynh/issues>
|
||||
|
||||
## Info de desenvolvemento
|
||||
|
||||
Envía a túa colaboración á [rama `testing`](https://github.com/YunoHost-Apps/webtrees_ynh/tree/testing).
|
||||
|
||||
Para probar a rama `testing`, procede deste xeito:
|
||||
|
||||
```bash
|
||||
sudo yunohost app install https://github.com/YunoHost-Apps/webtrees_ynh/tree/testing --debug
|
||||
ou
|
||||
sudo yunohost app upgrade webtrees -u https://github.com/YunoHost-Apps/webtrees_ynh/tree/testing --debug
|
||||
```
|
||||
|
||||
**Máis info sobre o empaquetado da app:** <https://yunohost.org/packaging_apps>
|
55
README_zh_Hans.md
Normal file
55
README_zh_Hans.md
Normal file
|
@ -0,0 +1,55 @@
|
|||
<!--
|
||||
注意:此 README 由 <https://github.com/YunoHost/apps/tree/master/tools/readme_generator> 自动生成
|
||||
请勿手动编辑。
|
||||
-->
|
||||
|
||||
# YunoHost 上的 Webtrees
|
||||
|
||||
[![集成程度](https://dash.yunohost.org/integration/webtrees.svg)](https://dash.yunohost.org/appci/app/webtrees) ![工作状态](https://ci-apps.yunohost.org/ci/badges/webtrees.status.svg) ![维护状态](https://ci-apps.yunohost.org/ci/badges/webtrees.maintain.svg)
|
||||
|
||||
[![使用 YunoHost 安装 Webtrees](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=webtrees)
|
||||
|
||||
*[阅读此 README 的其它语言版本。](./ALL_README.md)*
|
||||
|
||||
> *通过此软件包,您可以在 YunoHost 服务器上快速、简单地安装 Webtrees。*
|
||||
> *如果您还没有 YunoHost,请参阅[指南](https://yunohost.org/install)了解如何安装它。*
|
||||
|
||||
## 概况
|
||||
|
||||
Webtrees allows you to view and edit your genealogy on your website. It has full editing capabilities, full privacy functions, and supports imedia such as photos and document images. As an online program, it fosters extended family participation and good ancestral recording habits, as it simplifies the process of collaborating with others working on your family lines. Your latest information is always on your web site and available for others to see, defined by viewing rules you set.
|
||||
|
||||
- It works from standard GEDCOM files, and is therefore compatible with every major desktop application.
|
||||
- It aims to to be efficient and effective by using the right combination of third-party tools, design techniques and open standards.
|
||||
|
||||
**Note:** Its better to upgrade from the Webtrees admin panel when new version arrives.
|
||||
|
||||
|
||||
**分发版本:** 2.1.20~ynh1
|
||||
|
||||
**演示:** <https://dev.webtrees.net/demo-stable/index.php?route=%2Fdemo-stable%2Ftree%2Fdemo>
|
||||
|
||||
## 截图
|
||||
|
||||
![Webtrees 的截图](./doc/screenshots/1200px-Webtrees.png)
|
||||
|
||||
## 文档与资源
|
||||
|
||||
- 官方应用网站: <https://www.webtrees.net>
|
||||
- 官方管理文档: <https://wiki.webtrees.net>
|
||||
- 上游应用代码库: <https://github.com/fisharebest/webtrees>
|
||||
- YunoHost 商店: <https://apps.yunohost.org/app/webtrees>
|
||||
- 报告 bug: <https://github.com/YunoHost-Apps/webtrees_ynh/issues>
|
||||
|
||||
## 开发者信息
|
||||
|
||||
请向 [`testing` 分支](https://github.com/YunoHost-Apps/webtrees_ynh/tree/testing) 发送拉取请求。
|
||||
|
||||
如要尝试 `testing` 分支,请这样操作:
|
||||
|
||||
```bash
|
||||
sudo yunohost app install https://github.com/YunoHost-Apps/webtrees_ynh/tree/testing --debug
|
||||
或
|
||||
sudo yunohost app upgrade webtrees -u https://github.com/YunoHost-Apps/webtrees_ynh/tree/testing --debug
|
||||
```
|
||||
|
||||
**有关应用打包的更多信息:** <https://yunohost.org/packaging_apps>
|
|
@ -5,7 +5,7 @@ name = "Webtrees"
|
|||
description.en = "Web-based genealogy application"
|
||||
description.fr = "Logiciel libre de généalogie en ligne"
|
||||
|
||||
version = "2.1.18~ynh2"
|
||||
version = "2.1.20~ynh1"
|
||||
|
||||
maintainers = []
|
||||
|
||||
|
@ -60,8 +60,8 @@ ram.runtime = "50M"
|
|||
|
||||
[resources]
|
||||
[resources.sources.main]
|
||||
url = "https://github.com/fisharebest/webtrees/releases/download/2.1.18/webtrees-2.1.18.zip"
|
||||
sha256 = "33808c8c39df9ff6120ddf55741638bb0287c6617527157abe8786aaa7c30ea2"
|
||||
url = "https://github.com/fisharebest/webtrees/releases/download/2.1.20/webtrees-2.1.20.zip"
|
||||
sha256 = "0e2f9ccf601e5d4579ef90d727b1630620bc22b9ef66c4aacbaf7329b3c7b49d"
|
||||
autoupdate.strategy = "latest_github_tag"
|
||||
|
||||
[resources.system_user]
|
||||
|
@ -72,7 +72,7 @@ ram.runtime = "50M"
|
|||
main.url = "/"
|
||||
|
||||
[resources.apt]
|
||||
packages = "mariadb-server, php8.2-mbstring, php8.2-mysql, php8.2-zip, php8.2-gd, php8.2-xml, php8.2-curl, php8.2-intl, mailutils"
|
||||
packages = "mariadb-server, php8.3-mbstring, php8.3-mysql, php8.3-zip, php8.3-gd, php8.3-xml, php8.3-curl, php8.3-intl, mailutils"
|
||||
|
||||
[resources.database]
|
||||
type = "mysql"
|
||||
|
|
|
@ -21,15 +21,11 @@ ynh_print_info --message="Declaring files to be backed up..."
|
|||
ynh_backup --src_path="$install_dir"
|
||||
|
||||
#=================================================
|
||||
# BACKUP THE NGINX CONFIGURATION
|
||||
# SYSTEM CONFIGURATION
|
||||
#=================================================
|
||||
|
||||
ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf"
|
||||
|
||||
#=================================================
|
||||
# BACKUP THE PHP-FPM CONFIGURATION
|
||||
#=================================================
|
||||
|
||||
ynh_backup --src_path="/etc/php/$phpversion/fpm/pool.d/$app.conf"
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -19,6 +19,13 @@ ynh_restore_file --origin_path="$install_dir"
|
|||
chmod -R o-rwx "$install_dir"
|
||||
chown -R $app:www-data "$install_dir"
|
||||
|
||||
#=================================================
|
||||
# RESTORE THE MYSQL DATABASE
|
||||
#=================================================
|
||||
ynh_script_progression --message="Restoring the MySQL database..." --weight=1
|
||||
|
||||
ynh_mysql_connect_as --user=$db_user --password=$db_pwd --database=$db_name < ./db.sql
|
||||
|
||||
#=================================================
|
||||
# RESTORE THE PHP-FPM CONFIGURATION
|
||||
#=================================================
|
||||
|
@ -28,13 +35,6 @@ ynh_restore_file --origin_path="/etc/php/$phpversion/fpm/pool.d/$app.conf"
|
|||
|
||||
ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf"
|
||||
|
||||
#=================================================
|
||||
# RESTORE THE MYSQL DATABASE
|
||||
#=================================================
|
||||
ynh_script_progression --message="Restoring the MySQL database..." --weight=1
|
||||
|
||||
ynh_mysql_connect_as --user=$db_user --password=$db_pwd --database=$db_name < ./db.sql
|
||||
|
||||
#=================================================
|
||||
# GENERIC FINALIZATION
|
||||
#=================================================
|
||||
|
|
|
@ -9,12 +9,6 @@
|
|||
source _common.sh
|
||||
source /usr/share/yunohost/helpers
|
||||
|
||||
#=================================================
|
||||
# CHECK VERSION
|
||||
#=================================================
|
||||
|
||||
upgrade_type=$(ynh_check_app_version_changed)
|
||||
|
||||
#=================================================
|
||||
# CHECK THE PATH
|
||||
#=================================================
|
||||
|
@ -22,21 +16,8 @@ upgrade_type=$(ynh_check_app_version_changed)
|
|||
#=================================================
|
||||
ynh_script_progression --message="Upgrading source files..."
|
||||
|
||||
if [ "$upgrade_type" == "UPGRADE_APP" ]
|
||||
then
|
||||
ynh_script_progression --message="Upgrading source files..."
|
||||
# Move old app dir
|
||||
#mv ${install_dir} ${install_dir}.old
|
||||
|
||||
# Download, check integrity, uncompress and patch the source from app.src
|
||||
ynh_setup_source --dest_dir=$install_dir --keep="data modules_v4"
|
||||
|
||||
# restore data
|
||||
#cp -a ${install_dir}.old/data ${install_dir}
|
||||
|
||||
# delete temp directory
|
||||
#ynh_secure_remove --file=${install_dir}.old
|
||||
fi
|
||||
# Download, check integrity, uncompress and patch the source from app.src
|
||||
ynh_setup_source --dest_dir=$install_dir --keep="data modules_v4"
|
||||
|
||||
chmod -R 700 $install_dir/data
|
||||
chmod -R o-rwx "$install_dir"
|
||||
|
|
Loading…
Reference in a new issue