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

Merge pull request #461 from YunoHost-Apps/testing

Testing
This commit is contained in:
Tagada 2024-08-13 19:06:01 +02:00 committed by GitHub
commit 26f29342f2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 65 additions and 8 deletions

View file

@ -5,4 +5,5 @@
- [Irakurri README euskaraz](README_eu.md)
- [Lire le README en français](README_fr.md)
- [Le o README en galego](README_gl.md)
- [Baca README dalam bahasa bahasa Indonesia](README_id.md)
- [阅读中文(简体)的 README](README_zh_Hans.md)

View file

@ -20,7 +20,7 @@ Mastodon is a free, open-source microblogging social network.
It is a decentralized alternative to commercial platforms like Twitter and avoids the risks of a single company monopolizing your communication for commercial purposes.
**Shipped version:** 4.2.10~ynh1
**Shipped version:** 4.2.10~ynh2
**Demo:** <https://joinmastodon.org/>

View file

@ -20,7 +20,7 @@ Mastodon is a free, open-source microblogging social network.
It is a decentralized alternative to commercial platforms like Twitter and avoids the risks of a single company monopolizing your communication for commercial purposes.
**Versión actual:** 4.2.10~ynh1
**Versión actual:** 4.2.10~ynh2
**Demo:** <https://joinmastodon.org/>

View file

@ -20,7 +20,7 @@ Mastodon is a free, open-source microblogging social network.
It is a decentralized alternative to commercial platforms like Twitter and avoids the risks of a single company monopolizing your communication for commercial purposes.
**Paketatutako bertsioa:** 4.2.10~ynh1
**Paketatutako bertsioa:** 4.2.10~ynh2
**Demoa:** <https://joinmastodon.org/>

View file

@ -21,7 +21,7 @@ C'est une alternative décentralisée aux plates-formes commerciales comme Twitt
Mastodon évite ainsi les risques qu'une seule société monopolise votre communication à des fins commerciales.
**Version incluse:** 4.2.10~ynh1
**Version incluse:** 4.2.10~ynh2
**Démo:** <https://joinmastodon.org/>

View file

@ -20,7 +20,7 @@ Mastodon is a free, open-source microblogging social network.
It is a decentralized alternative to commercial platforms like Twitter and avoids the risks of a single company monopolizing your communication for commercial purposes.
**Versión proporcionada:** 4.2.10~ynh1
**Versión proporcionada:** 4.2.10~ynh2
**Demo:** <https://joinmastodon.org/>

51
README_id.md Normal file
View file

@ -0,0 +1,51 @@
<!--
N.B.: README ini dibuat secara otomatis oleh <https://github.com/YunoHost/apps/tree/master/tools/readme_generator>
Ini TIDAK boleh diedit dengan tangan.
-->
# Mastodon untuk YunoHost
[![Tingkat integrasi](https://dash.yunohost.org/integration/mastodon.svg)](https://ci-apps.yunohost.org/ci/apps/mastodon/) ![Status kerja](https://ci-apps.yunohost.org/ci/badges/mastodon.status.svg) ![Status pemeliharaan](https://ci-apps.yunohost.org/ci/badges/mastodon.maintain.svg)
[![Pasang Mastodon dengan YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=mastodon)
*[Baca README ini dengan bahasa yang lain.](./ALL_README.md)*
> *Paket ini memperbolehkan Anda untuk memasang Mastodon secara cepat dan mudah pada server YunoHost.*
> *Bila Anda tidak mempunyai YunoHost, silakan berkonsultasi dengan [panduan](https://yunohost.org/install) untuk mempelajari bagaimana untuk memasangnya.*
## Ringkasan
Mastodon is a free, open-source microblogging social network.
It is a decentralized alternative to commercial platforms like Twitter and avoids the risks of a single company monopolizing your communication for commercial purposes.
**Versi terkirim:** 4.2.10~ynh2
**Demo:** <https://joinmastodon.org/>
## Tangkapan Layar
![Tangkapan Layar pada Mastodon](./doc/screenshots/mastodon.png)
## Dokumentasi dan sumber daya
- Website aplikasi resmi: <https://joinmastodon.org/>
- Dokumentasi admin resmi: <https://docs.joinmastodon.org/>
- Depot kode aplikasi hulu: <https://github.com/mastodon/mastodon>
- Gudang YunoHost: <https://apps.yunohost.org/app/mastodon>
- Laporkan bug: <https://github.com/YunoHost-Apps/mastodon_ynh/issues>
## Info developer
Silakan kirim pull request ke [`testing` branch](https://github.com/YunoHost-Apps/mastodon_ynh/tree/testing).
Untuk mencoba branch `testing`, silakan dilanjutkan seperti:
```bash
sudo yunohost app install https://github.com/YunoHost-Apps/mastodon_ynh/tree/testing --debug
atau
sudo yunohost app upgrade mastodon -u https://github.com/YunoHost-Apps/mastodon_ynh/tree/testing --debug
```
**Info lebih lanjut mengenai pemaketan aplikasi:** <https://yunohost.org/packaging_apps>

View file

@ -20,7 +20,7 @@ Mastodon is a free, open-source microblogging social network.
It is a decentralized alternative to commercial platforms like Twitter and avoids the risks of a single company monopolizing your communication for commercial purposes.
**分发版本:** 4.2.10~ynh1
**分发版本:** 4.2.10~ynh2
**演示:** <https://joinmastodon.org/>

View file

@ -5,7 +5,7 @@ name = "Mastodon"
description.en = "Libre and federated social network"
description.fr = "Réseau social libre et fédéré"
version = "4.2.10~ynh1"
version = "4.2.10~ynh2"
maintainers = ["Tagada"]

View file

@ -5,7 +5,7 @@
#=================================================
memory_needed="2560"
ruby_version=3.2.2
ruby_version=3.2.3
nodejs_version=20
# Workaround for Mastodon on Bullseye

View file

@ -39,6 +39,11 @@ if [[ -z "${service:-}" ]]; then
service="$app-web.service"
ynh_app_setting_set --app="$app" --key=service --value="$service"
fi
# Set `redis_namespace` settings
if [[ -z "${redis_namespace:-}" ]]; then
redis_namespace=${app}_production
ynh_app_setting_set --app="$app" --key=redis_namespace --value="$redis_namespace"
fi
# Remove previous added repository
ynh_remove_extra_repo