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 #34 from YunoHost-Apps/testing

Upgrade to fix upstream hiccup
This commit is contained in:
Papa Dragon 2024-04-25 07:33:23 +02:00 committed by GitHub
commit e6a378c388
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 105 additions and 10 deletions

View file

@ -1,6 +1,7 @@
# All available README files by language # All available README files by language
- [Read the README in English](README.md) - [Read the README in English](README.md)
- [Irakurri README euskaraz](README_eu.md)
- [Lire le README en français](README_fr.md) - [Lire le README en français](README_fr.md)
- [Le o README en galego](README_gl.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 Streams with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=streams) [![Install Streams with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=streams)
*[Read this README is other languages.](./ALL_README.md)* *[Read this README in other languages.](./ALL_README.md)*
> *This package allows you to install Streams quickly and simply on a YunoHost server.* > *This package allows you to install Streams 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.* > *If you don't have YunoHost, please consult [the guide](https://yunohost.org/install) to learn how to install it.*
@ -21,7 +21,7 @@ The [streams repository](https://codeberg.org/streams/streams/) lets you install
Your websites will be compatible with **Mastodon**, **Pleroma**, **Pixelfed**, **Friendica**, **Hubzilla**, **Funkwhale**, **Peertube**, **Plume**, **WriteFreely** and many, many more. Your websites will be compatible with **Mastodon**, **Pleroma**, **Pixelfed**, **Friendica**, **Hubzilla**, **Funkwhale**, **Peertube**, **Plume**, **WriteFreely** and many, many more.
**Shipped version:** 24.02.18~ynh2 **Shipped version:** 24.02.18~ynh3
## Screenshots ## Screenshots

48
README_eu.md Normal file
View file

@ -0,0 +1,48 @@
<!--
Ohart ongi: README hau automatikoki sortu da <https://github.com/YunoHost/apps/tree/master/tools/readme_generator>ri esker
EZ editatu eskuz.
-->
# Streams YunoHost-erako
[![Integrazio maila](https://dash.yunohost.org/integration/streams.svg)](https://dash.yunohost.org/appci/app/streams) ![Funtzionamendu egoera](https://ci-apps.yunohost.org/ci/badges/streams.status.svg) ![Mantentze egoera](https://ci-apps.yunohost.org/ci/badges/streams.maintain.svg)
[![Instalatu Streams YunoHost-ekin](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=streams)
*[Irakurri README hau beste hizkuntzatan.](./ALL_README.md)*
> *Pakete honek Streams YunoHost zerbitzari batean azkar eta zailtasunik gabe instalatzea ahalbidetzen dizu.*
> *YunoHost ez baduzu, kontsultatu [gida](https://yunohost.org/install) nola instalatu ikasteko.*
## Aurreikuspena
The [streams repository](https://codeberg.org/streams/streams/) lets you install fediverse-connected websites with powerful and innovative features such as decentralized/nomadic identity, permissions framework, and much more (see [FEATURES](doc/FEATURES.md)).
Your websites will be compatible with **Mastodon**, **Pleroma**, **Pixelfed**, **Friendica**, **Hubzilla**, **Funkwhale**, **Peertube**, **Plume**, **WriteFreely** and many, many more.
**Paketatutako bertsioa:** 24.02.18~ynh3
## Pantaila-argazkiak
![Streams(r)en pantaila-argazkia](./doc/screenshots/example.png)
## Dokumentazioa eta baliabideak
- Jatorrizko aplikazioaren kode-gordailua: <https://codeberg.org/streams/streams>
- YunoHost Denda: <https://apps.yunohost.org/app/streams>
- Eman errore baten berri: <https://github.com/YunoHost-Apps/streams_ynh/issues>
## Garatzaileentzako informazioa
Bidali `pull request`a [`testing` abarrera](https://github.com/YunoHost-Apps/streams_ynh/tree/testing).
`testing` abarra probatzeko, ondorengoa egin:
```bash
sudo yunohost app install https://github.com/YunoHost-Apps/streams_ynh/tree/testing --debug
edo
sudo yunohost app upgrade streams -u https://github.com/YunoHost-Apps/streams_ynh/tree/testing --debug
```
**Informazio gehiago aplikazioaren paketatzeari buruz:** <https://yunohost.org/packaging_apps>

View file

@ -21,7 +21,7 @@ Le [dépôt streams](https://codeberg.org/streams/streams/) vous permet d'instal
Vos sites web seront compatibles avec **Mastodon**, **Pleroma**, **Pixelfed**, **Friendica**, **Hubzilla**, **Funkwhale**, **Peertube**, **Plume**, **WriteFreely** et bien d'autres encore. Vos sites web seront compatibles avec **Mastodon**, **Pleroma**, **Pixelfed**, **Friendica**, **Hubzilla**, **Funkwhale**, **Peertube**, **Plume**, **WriteFreely** et bien d'autres encore.
**Version incluse:** 24.02.18~ynh2 **Version incluse:** 24.02.18~ynh3
## Captures décran ## Captures décran

View file

@ -21,7 +21,7 @@ The [streams repository](https://codeberg.org/streams/streams/) lets you install
Your websites will be compatible with **Mastodon**, **Pleroma**, **Pixelfed**, **Friendica**, **Hubzilla**, **Funkwhale**, **Peertube**, **Plume**, **WriteFreely** and many, many more. Your websites will be compatible with **Mastodon**, **Pleroma**, **Pixelfed**, **Friendica**, **Hubzilla**, **Funkwhale**, **Peertube**, **Plume**, **WriteFreely** and many, many more.
**Versión proporcionada:** 24.02.18~ynh2 **Versión proporcionada:** 24.02.18~ynh3
## Capturas de pantalla ## Capturas de pantalla

48
README_zh_Hans.md Normal file
View file

@ -0,0 +1,48 @@
<!--
注意:此 README 由 <https://github.com/YunoHost/apps/tree/master/tools/readme_generator> 自动生成
请勿手动编辑。
-->
# YunoHost 的 Streams
[![集成程度](https://dash.yunohost.org/integration/streams.svg)](https://dash.yunohost.org/appci/app/streams) ![工作状态](https://ci-apps.yunohost.org/ci/badges/streams.status.svg) ![维护状态](https://ci-apps.yunohost.org/ci/badges/streams.maintain.svg)
[![使用 YunoHost 安装 Streams](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=streams)
*[阅读此 README 的其它语言版本。](./ALL_README.md)*
> *通过此软件包,您可以在 YunoHost 服务器上快速、简单地安装 Streams。*
> *如果您还没有 YunoHost请参阅[指南](https://yunohost.org/install)了解如何安装它。*
## 概况
The [streams repository](https://codeberg.org/streams/streams/) lets you install fediverse-connected websites with powerful and innovative features such as decentralized/nomadic identity, permissions framework, and much more (see [FEATURES](doc/FEATURES.md)).
Your websites will be compatible with **Mastodon**, **Pleroma**, **Pixelfed**, **Friendica**, **Hubzilla**, **Funkwhale**, **Peertube**, **Plume**, **WriteFreely** and many, many more.
**分发版本:** 24.02.18~ynh3
## 截图
![Streams 的截图](./doc/screenshots/example.png)
## 文档与资源
- 上游应用代码库: <https://codeberg.org/streams/streams>
- YunoHost 商店: <https://apps.yunohost.org/app/streams>
- 报告 bug <https://github.com/YunoHost-Apps/streams_ynh/issues>
## 开发者信息
请向 [`testing` 分支](https://github.com/YunoHost-Apps/streams_ynh/tree/testing) 发送拉取请求。
如要尝试 `testing` 分支,请这样操作:
```bash
sudo yunohost app install https://github.com/YunoHost-Apps/streams_ynh/tree/testing --debug
sudo yunohost app upgrade streams -u https://github.com/YunoHost-Apps/streams_ynh/tree/testing --debug
```
**有关应用打包的更多信息:** <https://yunohost.org/packaging_apps>

View file

@ -5,7 +5,7 @@ name = "Streams"
description.en = "Open source fediverse server" description.en = "Open source fediverse server"
description.fr = "Serveur fediverse open source" description.fr = "Serveur fediverse open source"
version = "24.02.18~ynh2" version = "24.02.18~ynh3"
maintainers = ["Papa Dragon"] maintainers = ["Papa Dragon"]

View file

@ -50,10 +50,9 @@ ynh_script_progression --message="Setting up source files..." --weight=1
mkdir -p "$install_dir" mkdir -p "$install_dir"
chown -R $app:www-data "$install_dir" chown -R $app:www-data "$install_dir"
git config --system --add safe.directory $install_dir
# Download, check integrity, uncompress and patch the source from GitHub # Download, check integrity, uncompress and patch the source from GitHub
ynh_exec_as $app git clone https://codeberg.org/streams/streams.git "$install_dir" --quiet ynh_exec_as $app git clone https://codeberg.org/streams/streams.git "$install_dir" --quiet
git config --system --add safe.directory $install_dir
touch "$install_dir/php.log" touch "$install_dir/php.log"
mkdir -p "$install_dir/store" mkdir -p "$install_dir/store"

View file

@ -82,9 +82,8 @@ then
mkdir -p "$install_dir" mkdir -p "$install_dir"
chown -R $app:www-data "$install_dir" chown -R $app:www-data "$install_dir"
git config --system --add safe.directory $install_dir
ynh_exec_as $app git clone https://codeberg.org/streams/streams.git "$install_dir" --quiet ynh_exec_as $app git clone https://codeberg.org/streams/streams.git "$install_dir" --quiet
git config --system --add safe.directory $install_dir
ynh_app_setting_get --app=$app --key=git_branch_mode ynh_app_setting_get --app=$app --key=git_branch_mode
if [[ -n $git_branch_mode ]] && [ "$git_branch_mode" -eq "1" ] if [[ -n $git_branch_mode ]] && [ "$git_branch_mode" -eq "1" ]