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

Merge pull request #31 from YunoHost-Apps/testing

Testing
This commit is contained in:
Éric Gaspar 2023-01-13 22:23:32 +01:00 committed by GitHub
commit e56ae9d947
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 28 additions and 30 deletions

View file

@ -5,7 +5,7 @@ It shall NOT be edited by hand.
# Zap for YunoHost # Zap for YunoHost
[![Integration level](https://dash.yunohost.org/integration/zap.svg)](https://dash.yunohost.org/appci/app/zap) ![](https://ci-apps.yunohost.org/ci/badges/zap.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/zap.maintain.svg) [![Integration level](https://dash.yunohost.org/integration/zap.svg)](https://dash.yunohost.org/appci/app/zap) ![Working status](https://ci-apps.yunohost.org/ci/badges/zap.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/zap.maintain.svg)
[![Install Zap with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=zap) [![Install Zap with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=zap)
*[Lire ce readme en français.](./README_fr.md)* *[Lire ce readme en français.](./README_fr.md)*
@ -31,9 +31,6 @@ Compatible with **Mastodon**, **Pleroma**, **Pixelfed**, **Friendica**, **Hubzil
**Shipped version:** 21.11.28~ynh1 **Shipped version:** 21.11.28~ynh1
## Disclaimers / important information ## Disclaimers / important information
## Installation ## Installation
@ -58,20 +55,21 @@ Before installing, read the [Zap installation instructions](https://codeberg.org
## Documentation and resources ## Documentation and resources
* Official app website: https://zotlabs.com/zap/ * Official app website: <https://zotlabs.com/zap/>
* Upstream app code repository: https://codeberg.org/zot/zap * Upstream app code repository: <https://codeberg.org/zot/zap>
* YunoHost documentation for this app: https://yunohost.org/app_zap * YunoHost documentation for this app: <https://yunohost.org/app_zap>
* Report a bug: https://github.com/YunoHost-Apps/zap_ynh/issues * Report a bug: <https://github.com/YunoHost-Apps/zap_ynh/issues>
## Developer info ## Developer info
Please send your pull request to the [testing branch](https://github.com/YunoHost-Apps/zap_ynh/tree/testing). Please send your pull request to the [testing branch](https://github.com/YunoHost-Apps/zap_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/zap_ynh/tree/testing --debug sudo yunohost app install https://github.com/YunoHost-Apps/zap_ynh/tree/testing --debug
or or
sudo yunohost app upgrade zap -u https://github.com/YunoHost-Apps/zap_ynh/tree/testing --debug sudo yunohost app upgrade zap -u https://github.com/YunoHost-Apps/zap_ynh/tree/testing --debug
``` ```
**More info regarding app packaging:** https://yunohost.org/packaging_apps **More info regarding app packaging:** <https://yunohost.org/packaging_apps>

View file

@ -1,10 +1,14 @@
<!--
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.
-->
# Zap pour YunoHost # Zap pour YunoHost
[![Niveau d'intégration](https://dash.yunohost.org/integration/zap.svg)](https://dash.yunohost.org/appci/app/zap) ![](https://ci-apps.yunohost.org/ci/badges/zap.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/zap.maintain.svg) [![Niveau d'intégration](https://dash.yunohost.org/integration/zap.svg)](https://dash.yunohost.org/appci/app/zap) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/zap.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/zap.maintain.svg)
[![Installer Zap avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=zap) [![Installer Zap avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=zap)
*[Read this readme in english.](./README.md)* *[Read this readme in english.](./README.md)*
*[Lire ce readme en français.](./README_fr.md)*
> *Ce package vous permet d'installer Zap rapidement et simplement sur un serveur YunoHost. > *Ce package vous permet d'installer Zap 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.* Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l'installer et en profiter.*
@ -27,9 +31,6 @@ Compatible with **Mastodon**, **Pleroma**, **Pixelfed**, **Friendica**, **Hubzil
**Version incluse :** 21.11.28~ynh1 **Version incluse :** 21.11.28~ynh1
## Avertissements / informations importantes ## Avertissements / informations importantes
## Installation ## Installation
@ -54,20 +55,21 @@ Before installing, read the [Zap installation instructions](https://codeberg.org
## Documentations et ressources ## Documentations et ressources
* Site officiel de l'app : https://zotlabs.com/zap/ * Site officiel de l'app : <https://zotlabs.com/zap/>
* Dépôt de code officiel de l'app : https://codeberg.org/zot/zap * Dépôt de code officiel de l'app : <https://codeberg.org/zot/zap>
* Documentation YunoHost pour cette app : https://yunohost.org/app_zap * Documentation YunoHost pour cette app : <https://yunohost.org/app_zap>
* Signaler un bug : https://github.com/YunoHost-Apps/zap_ynh/issues * Signaler un bug : <https://github.com/YunoHost-Apps/zap_ynh/issues>
## Informations pour les développeurs ## Informations pour les développeurs
Merci de faire vos pull request sur la [branche testing](https://github.com/YunoHost-Apps/zap_ynh/tree/testing). Merci de faire vos pull request sur la [branche testing](https://github.com/YunoHost-Apps/zap_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/zap_ynh/tree/testing --debug sudo yunohost app install https://github.com/YunoHost-Apps/zap_ynh/tree/testing --debug
ou ou
sudo yunohost app upgrade zap -u https://github.com/YunoHost-Apps/zap_ynh/tree/testing --debug sudo yunohost app upgrade zap -u https://github.com/YunoHost-Apps/zap_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>

View file

@ -12,7 +12,6 @@
setup_private=0 setup_private=0
setup_public=1 setup_public=1
upgrade=1 upgrade=1
upgrade=1 from_commit=c8575c645eb5802cd99cf63dfede2ddba124582b
backup_restore=1 backup_restore=1
multi_instance=1 multi_instance=1
change_url=0 change_url=0

View file

@ -1,3 +1,3 @@
SOURCE_URL=https://codeberg.org/zot/zap/archive/078714b9dde991d02f8cce1183ce357d96405558.tar.gz SOURCE_URL=https://codeberg.org/zot-archive/zap/archive/078714b9dde991d02f8cce1183ce357d96405558.tar.gz
SOURCE_SUM=6159da945fe504bffe23f80d299bfe3e146a9d9df76412f5bea6d1d415516d34 SOURCE_SUM=6159da945fe504bffe23f80d299bfe3e146a9d9df76412f5bea6d1d415516d34
SOURCE_FORMAT=tar.gz SOURCE_FORMAT=tar.gz

View file

@ -1,4 +1,4 @@
SOURCE_URL=https://codeberg.org/zot/zap-addons/archive/b2ddcc67735fb413f14efcc9c49780469b8b61cf.tar.gz SOURCE_URL=https://codeberg.org/zot-archive/zap-addons/archive/b2ddcc67735fb413f14efcc9c49780469b8b61cf.tar.gz
SOURCE_SUM=009f5047096fdbe3becaebfb7ac3ee34d7efd3f4f891e3a645484a7e406598a1 SOURCE_SUM=009f5047096fdbe3becaebfb7ac3ee34d7efd3f4f891e3a645484a7e406598a1
SOURCE_SUM_PRG=sha256sum SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=tar.gz SOURCE_FORMAT=tar.gz

View file

@ -18,12 +18,12 @@
"name": "" "name": ""
}, },
"requirements": { "requirements": {
"yunohost": ">= 4.3.0" "yunohost": ">= 11.0.9"
}, },
"multi_instance": true, "multi_instance": true,
"services": [ "services": [
"nginx", "nginx",
"php7.3-fpm", "php7.4-fpm",
"mysql", "mysql",
"postgresql" "postgresql"
], ],

View file

@ -5,7 +5,7 @@
#================================================= #=================================================
# dependencies used by the app # dependencies used by the app
YNH_PHP_VERSION="7.3" YNH_PHP_VERSION="7.4"
pkg_dependencies="postgresql postgresql-contrib php${YNH_PHP_VERSION}-mbstring php${YNH_PHP_VERSION}-cli php${YNH_PHP_VERSION}-imagick php${YNH_PHP_VERSION}-xml php${YNH_PHP_VERSION}-zip php${YNH_PHP_VERSION}-pgsql php${YNH_PHP_VERSION}-mysql php${YNH_PHP_VERSION}-json php${YNH_PHP_VERSION}-gd" pkg_dependencies="postgresql postgresql-contrib php${YNH_PHP_VERSION}-mbstring php${YNH_PHP_VERSION}-cli php${YNH_PHP_VERSION}-imagick php${YNH_PHP_VERSION}-xml php${YNH_PHP_VERSION}-zip php${YNH_PHP_VERSION}-pgsql php${YNH_PHP_VERSION}-mysql php${YNH_PHP_VERSION}-json php${YNH_PHP_VERSION}-gd"

View file

@ -83,8 +83,7 @@ ynh_script_progression --message="Setting up Zap source files..."
ynh_app_setting_set --app=$app --key=final_path --value=$final_path ynh_app_setting_set --app=$app --key=final_path --value=$final_path
# Download, check integrity, uncompress and patch the source from app.src # Download, check integrity, uncompress and patch the source from app.src
git clone https://codeberg.org/zot/zap.git "$final_path" --quiet git clone https://codeberg.org/zot-archive/zap.git "$final_path" --quiet
# 2 - Zap Addons # 2 - Zap Addons
@ -94,7 +93,7 @@ ynh_script_progression --message="Setting up Zap addons source files..."
pushd "$final_path" pushd "$final_path"
mkdir -p extend/addon/zaddons mkdir -p extend/addon/zaddons
mkdir addon mkdir addon
git clone https://codeberg.org/zot/zap-addons.git $final_path/extend/addon/zaddons --quiet git clone https://codeberg.org/zot-archive/zap-addons.git $final_path/extend/addon/zaddons --quiet
filelist=(`ls extend/addon/zaddons`) filelist=(`ls extend/addon/zaddons`)
cd addon cd addon
for a in "${filelist[@]}" ; do for a in "${filelist[@]}" ; do