1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pytition_ynh.git synced 2024-09-03 20:16:08 +02:00

Merge pull request #29 from YunoHost-Apps/fix-upgrade

Attempt to fix upgrade with lxml_html_clean dependency
This commit is contained in:
tituspijean 2024-04-11 14:12:30 +02:00 committed by GitHub
commit 8bb313422c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 279 additions and 30 deletions

7
ALL_README.md Normal file
View file

@ -0,0 +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)
- [阅读中文(简体)的 README](README_zh_Hans.md)

View file

@ -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 Pytition with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=pytition)
*[Lire ce readme en français.](./README_fr.md)*
*[Read this README in other languages.](./ALL_README.md)*
> *This package allows you to install Pytition 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 Pytition 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
@ -31,7 +31,7 @@ Pytition is an application for privacy-friendly online petitions you can host on
**Shipped version:** 2.8~ynh2
**Demo:** https://demo.pytition.org
**Demo:** <https://demo.pytition.org>
## Screenshots
@ -39,17 +39,17 @@ Pytition is an application for privacy-friendly online petitions you can host on
## Documentation and resources
* Official app website: <https://pytition.org>
* Official admin documentation: <https://pytition.readthedocs.io/en/latest/>
* Upstream app code repository: <https://github.com/pytition/Pytition>
* YunoHost Store: <https://apps.yunohost.org/app/pytition>
* Report a bug: <https://github.com/YunoHost-Apps/pytition_ynh/issues>
- Official app website: <https://pytition.org>
- Official admin documentation: <https://pytition.readthedocs.io/en/latest/>
- Upstream app code repository: <https://github.com/pytition/Pytition>
- YunoHost Store: <https://apps.yunohost.org/app/pytition>
- Report a bug: <https://github.com/YunoHost-Apps/pytition_ynh/issues>
## Developer info
Please send your pull request to the [testing branch](https://github.com/YunoHost-Apps/pytition_ynh/tree/testing).
Please send your pull request to the [`testing` branch](https://github.com/YunoHost-Apps/pytition_ynh/tree/testing).
To try the testing branch, please proceed like that.
To try the `testing` branch, please proceed like that:
```bash
sudo yunohost app install https://github.com/YunoHost-Apps/pytition_ynh/tree/testing --debug

60
README_eu.md Normal file
View file

@ -0,0 +1,60 @@
<!--
Ohart ongi: README hau automatikoki sortu da <https://github.com/YunoHost/apps/tree/master/tools/readme_generator>ri esker
EZ editatu eskuz.
-->
# Pytition YunoHost-erako
[![Integrazio maila](https://dash.yunohost.org/integration/pytition.svg)](https://dash.yunohost.org/appci/app/pytition) ![Funtzionamendu egoera](https://ci-apps.yunohost.org/ci/badges/pytition.status.svg) ![Mantentze egoera](https://ci-apps.yunohost.org/ci/badges/pytition.maintain.svg)
[![Instalatu Pytition YunoHost-ekin](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=pytition)
*[Irakurri README hau beste hizkuntzatan.](./ALL_README.md)*
> *Pakete honek Pytition YunoHost zerbitzari batean azkar eta zailtasunik gabe instalatzea ahalbidetzen dizu.*
> *YunoHost ez baduzu, kontsultatu [gida](https://yunohost.org/install) nola instalatu ikasteko.*
## Aurreikuspena
Pytition is an application for privacy-friendly online petitions you can host on your own server.
### Features
- Host petitions without compromising the privacy of your signatories.
- No tracking, ever: CSS, JS and all resources are self-hosted. Pytition does not use CDN.
- Responsive UI: works well on phones/tablets/laptops/desktops.
- Multi-lingual UI with i18n: English, French, Italian, Occitan, Spanish.
- You can pre-visualize petitions before publishing them.
- Easy to use: petition content is typed-in via TinyMCE editors (like WordPress).
- You can export signatures in CSV format.
**Paketatutako bertsioa:** 2.8~ynh2
**Demoa:** <https://demo.pytition.org>
## Pantaila-argazkiak
![Pytition(r)en pantaila-argazkia](./doc/screenshots/stop_doing_teams.webp)
## Dokumentazioa eta baliabideak
- Aplikazioaren webgune ofiziala: <https://pytition.org>
- Administratzaileen dokumentazio ofiziala: <https://pytition.readthedocs.io/en/latest/>
- Jatorrizko aplikazioaren kode-gordailua: <https://github.com/pytition/Pytition>
- YunoHost Denda: <https://apps.yunohost.org/app/pytition>
- Eman errore baten berri: <https://github.com/YunoHost-Apps/pytition_ynh/issues>
## Garatzaileentzako informazioa
Bidali `pull request`a [`testing` abarrera](https://github.com/YunoHost-Apps/pytition_ynh/tree/testing).
`testing` abarra probatzeko, ondorengoa egin:
```bash
sudo yunohost app install https://github.com/YunoHost-Apps/pytition_ynh/tree/testing --debug
edo
sudo yunohost app upgrade pytition -u https://github.com/YunoHost-Apps/pytition_ynh/tree/testing --debug
```
**Informazio gehiago aplikazioaren paketatzeari buruz:** <https://yunohost.org/packaging_apps>

View file

@ -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.
-->
# Pytition pour YunoHost
@ -9,10 +9,10 @@ It shall NOT be edited by hand.
[![Installer Pytition avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=pytition)
*[Read this readme in english.](./README.md)*
*[Lire le README dans d'autres langues.](./ALL_README.md)*
> *Ce package vous permet dinstaller Pytition rapidement et simplement sur un serveur YunoHost.
Si vous navez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment linstaller et en profiter.*
> *Ce package vous permet dinstaller Pytition rapidement et simplement sur un serveur YunoHost.*
> *Si vous navez pas YunoHost, consultez [ce guide](https://yunohost.org/install) pour savoir comment linstaller et en profiter.*
## Vue densemble
@ -29,9 +29,9 @@ Pytition permet d'héberger des pétitions respectueuses de la vie privée sur v
- Vous pouvez exporter les signatures via CSV.
**Version incluse :** 2.8~ynh2
**Version incluse:** 2.8~ynh2
**Démo :** https://demo.pytition.org
**Démo:** <https://demo.pytition.org>
## Captures décran
@ -39,17 +39,17 @@ Pytition permet d'héberger des pétitions respectueuses de la vie privée sur v
## Documentations et ressources
* Site officiel de lapp : <https://pytition.org>
* Documentation officielle de ladmin : <https://pytition.readthedocs.io/en/latest/>
* Dépôt de code officiel de lapp : <https://github.com/pytition/Pytition>
* YunoHost Store: <https://apps.yunohost.org/app/pytition>
* Signaler un bug : <https://github.com/YunoHost-Apps/pytition_ynh/issues>
- Site officiel de lapp: <https://pytition.org>
- Documentation officielle de ladmin: <https://pytition.readthedocs.io/en/latest/>
- Dépôt de code officiel de lapp: <https://github.com/pytition/Pytition>
- YunoHost Store: <https://apps.yunohost.org/app/pytition>
- Signaler un bug: <https://github.com/YunoHost-Apps/pytition_ynh/issues>
## Informations pour les développeurs
Merci de faire vos pull request sur la [branche testing](https://github.com/YunoHost-Apps/pytition_ynh/tree/testing).
Merci de faire vos pull request sur la [branche `testing`](https://github.com/YunoHost-Apps/pytition_ynh/tree/testing).
Pour essayer la branche testing, procédez comme suit.
Pour essayer la branche `testing`, procédez comme suit:
```bash
sudo yunohost app install https://github.com/YunoHost-Apps/pytition_ynh/tree/testing --debug
@ -57,4 +57,4 @@ ou
sudo yunohost app upgrade pytition -u https://github.com/YunoHost-Apps/pytition_ynh/tree/testing --debug
```
**Plus dinfos sur le packaging dapplications :** <https://yunohost.org/packaging_apps>
**Plus dinfos sur le packaging dapplications:** <https://yunohost.org/packaging_apps>

60
README_gl.md Normal file
View file

@ -0,0 +1,60 @@
<!--
NOTA: Este README foi creado automáticamente por <https://github.com/YunoHost/apps/tree/master/tools/readme_generator>
NON debe editarse manualmente.
-->
# Pytition para YunoHost
[![Nivel de integración](https://dash.yunohost.org/integration/pytition.svg)](https://dash.yunohost.org/appci/app/pytition) ![Estado de funcionamento](https://ci-apps.yunohost.org/ci/badges/pytition.status.svg) ![Estado de mantemento](https://ci-apps.yunohost.org/ci/badges/pytition.maintain.svg)
[![Instalar Pytition con YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=pytition)
*[Le este README en outros idiomas.](./ALL_README.md)*
> *Este paquete permíteche instalar Pytition 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
Pytition is an application for privacy-friendly online petitions you can host on your own server.
### Features
- Host petitions without compromising the privacy of your signatories.
- No tracking, ever: CSS, JS and all resources are self-hosted. Pytition does not use CDN.
- Responsive UI: works well on phones/tablets/laptops/desktops.
- Multi-lingual UI with i18n: English, French, Italian, Occitan, Spanish.
- You can pre-visualize petitions before publishing them.
- Easy to use: petition content is typed-in via TinyMCE editors (like WordPress).
- You can export signatures in CSV format.
**Versión proporcionada:** 2.8~ynh2
**Demo:** <https://demo.pytition.org>
## Capturas de pantalla
![Captura de pantalla de Pytition](./doc/screenshots/stop_doing_teams.webp)
## Documentación e recursos
- Web oficial da app: <https://pytition.org>
- Documentación oficial para admin: <https://pytition.readthedocs.io/en/latest/>
- Repositorio de orixe do código: <https://github.com/pytition/Pytition>
- Tenda YunoHost: <https://apps.yunohost.org/app/pytition>
- Informar dun problema: <https://github.com/YunoHost-Apps/pytition_ynh/issues>
## Info de desenvolvemento
Envía a túa colaboración á [rama `testing`](https://github.com/YunoHost-Apps/pytition_ynh/tree/testing).
Para probar a rama `testing`, procede deste xeito:
```bash
sudo yunohost app install https://github.com/YunoHost-Apps/pytition_ynh/tree/testing --debug
ou
sudo yunohost app upgrade pytition -u https://github.com/YunoHost-Apps/pytition_ynh/tree/testing --debug
```
**Máis info sobre o empaquetado da app:** <https://yunohost.org/packaging_apps>

60
README_it.md Normal file
View file

@ -0,0 +1,60 @@
<!--
N.B.: Questo README è stato automaticamente generato da <https://github.com/YunoHost/apps/tree/master/tools/readme_generator>
NON DEVE essere modificato manualmente.
-->
# Pytition per YunoHost
[![Livello di integrazione](https://dash.yunohost.org/integration/pytition.svg)](https://dash.yunohost.org/appci/app/pytition) ![Stato di funzionamento](https://ci-apps.yunohost.org/ci/badges/pytition.status.svg) ![Stato di manutenzione](https://ci-apps.yunohost.org/ci/badges/pytition.maintain.svg)
[![Installa Pytition con YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=pytition)
*[Leggi questo README in altre lingue.](./ALL_README.md)*
> *Questo pacchetto ti permette di installare Pytition su un server YunoHost in modo semplice e veloce.*
> *Se non hai YunoHost, consulta [la guida](https://yunohost.org/install) per imparare a installarlo.*
## Panoramica
Pytition is an application for privacy-friendly online petitions you can host on your own server.
### Features
- Host petitions without compromising the privacy of your signatories.
- No tracking, ever: CSS, JS and all resources are self-hosted. Pytition does not use CDN.
- Responsive UI: works well on phones/tablets/laptops/desktops.
- Multi-lingual UI with i18n: English, French, Italian, Occitan, Spanish.
- You can pre-visualize petitions before publishing them.
- Easy to use: petition content is typed-in via TinyMCE editors (like WordPress).
- You can export signatures in CSV format.
**Versione pubblicata:** 2.8~ynh2
**Prova:** <https://demo.pytition.org>
## Screenshot
![Screenshot di Pytition](./doc/screenshots/stop_doing_teams.webp)
## Documentazione e risorse
- Sito web ufficiale dellapp: <https://pytition.org>
- Documentazione ufficiale per gli amministratori: <https://pytition.readthedocs.io/en/latest/>
- Repository upstream del codice dellapp: <https://github.com/pytition/Pytition>
- Store di YunoHost: <https://apps.yunohost.org/app/pytition>
- Segnala un problema: <https://github.com/YunoHost-Apps/pytition_ynh/issues>
## Informazioni per sviluppatori
Si prega di inviare la tua pull request alla [branch di `testing`](https://github.com/YunoHost-Apps/pytition_ynh/tree/testing).
Per provare la branch di `testing`, si prega di procedere in questo modo:
```bash
sudo yunohost app install https://github.com/YunoHost-Apps/pytition_ynh/tree/testing --debug
o
sudo yunohost app upgrade pytition -u https://github.com/YunoHost-Apps/pytition_ynh/tree/testing --debug
```
**Maggiori informazioni riguardo il pacchetto di questapp:** <https://yunohost.org/packaging_apps>

60
README_zh_Hans.md Normal file
View file

@ -0,0 +1,60 @@
<!--
注意:此 README 由 <https://github.com/YunoHost/apps/tree/master/tools/readme_generator> 自动生成
请勿手动编辑。
-->
# YunoHost 的 Pytition
[![集成程度](https://dash.yunohost.org/integration/pytition.svg)](https://dash.yunohost.org/appci/app/pytition) ![工作状态](https://ci-apps.yunohost.org/ci/badges/pytition.status.svg) ![维护状态](https://ci-apps.yunohost.org/ci/badges/pytition.maintain.svg)
[![使用 YunoHost 安装 Pytition](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=pytition)
*[阅读此 README 的其它语言版本。](./ALL_README.md)*
> *通过此软件包,您可以在 YunoHost 服务器上快速、简单地安装 Pytition。*
> *如果您还没有 YunoHost请参阅[指南](https://yunohost.org/install)了解如何安装它。*
## 概况
Pytition is an application for privacy-friendly online petitions you can host on your own server.
### Features
- Host petitions without compromising the privacy of your signatories.
- No tracking, ever: CSS, JS and all resources are self-hosted. Pytition does not use CDN.
- Responsive UI: works well on phones/tablets/laptops/desktops.
- Multi-lingual UI with i18n: English, French, Italian, Occitan, Spanish.
- You can pre-visualize petitions before publishing them.
- Easy to use: petition content is typed-in via TinyMCE editors (like WordPress).
- You can export signatures in CSV format.
**分发版本:** 2.8~ynh2
**演示:** <https://demo.pytition.org>
## 截图
![Pytition 的截图](./doc/screenshots/stop_doing_teams.webp)
## 文档与资源
- 官方应用网站: <https://pytition.org>
- 官方管理文档: <https://pytition.readthedocs.io/en/latest/>
- 上游应用代码库: <https://github.com/pytition/Pytition>
- YunoHost 商店: <https://apps.yunohost.org/app/pytition>
- 报告 bug <https://github.com/YunoHost-Apps/pytition_ynh/issues>
## 开发者信息
请向 [`testing` 分支](https://github.com/YunoHost-Apps/pytition_ynh/tree/testing) 发送拉取请求。
如要尝试 `testing` 分支,请这样操作:
```bash
sudo yunohost app install https://github.com/YunoHost-Apps/pytition_ynh/tree/testing --debug
sudo yunohost app upgrade pytition -u https://github.com/YunoHost-Apps/pytition_ynh/tree/testing --debug
```
**有关应用打包的更多信息:** <https://yunohost.org/packaging_apps>

View file

@ -55,6 +55,7 @@ virtualenv --python=python3 --system-site-packages "${install_dir}/venv"
set -o nounset
python3 -m pip install --upgrade pip
python3 -m pip install lxml_html_clean
python3 -m pip install -r "$install_dir/pytition/requirements.txt"
)

View file

@ -61,6 +61,7 @@ ynh_script_progression --message="Installing python dependencies..." --weight=1
set -o nounset
python3 -m pip install --upgrade pip
python3 -m pip install --upgrade lxml_html_clean
python3 -m pip install --upgrade -r "$install_dir/pytition/requirements.txt"
)