1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/funkwhale_ynh.git synced 2024-09-03 18:36:24 +02:00

Merge pull request #264 from YunoHost-Apps/testing

Testing
This commit is contained in:
Alexandre Aubin 2024-04-07 22:18:10 +02:00 committed by GitHub
commit 1253d778f3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 58 additions and 9 deletions

View file

@ -1,6 +1,5 @@
# 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)
- [Leggi il “README” in italiano](README_it.md)

View file

@ -9,7 +9,7 @@ It shall NOT be edited by hand.
[![Install Funkwhale with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=funkwhale)
*[Read this README is other languages.](./ALL_README.md)*
*[Read this README in other languages.](./ALL_README.md)*
> *This package allows you to install Funkwhale 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.*

50
README_eu.md Normal file
View file

@ -0,0 +1,50 @@
<!--
Ohart ongi: README hau automatikoki sortu da <https://github.com/YunoHost/apps/tree/master/tools/readme_generator>ri esker
EZ editatu eskuz.
-->
# Funkwhale YunoHost-erako
[![Integrazio maila](https://dash.yunohost.org/integration/funkwhale.svg)](https://dash.yunohost.org/appci/app/funkwhale) ![Funtzionamendu egoera](https://ci-apps.yunohost.org/ci/badges/funkwhale.status.svg) ![Mantentze egoera](https://ci-apps.yunohost.org/ci/badges/funkwhale.maintain.svg)
[![Instalatu Funkwhale YunoHost-ekin](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=funkwhale)
*[Irakurri README hau beste hizkuntzatan.](./ALL_README.md)*
> *Pakete honek Funkwhale YunoHost zerbitzari batean azkar eta zailtasunik gabe instalatzea ahalbidetzen dizu.*
> *YunoHost ez baduzu, kontsultatu [gida](https://yunohost.org/install) nola instalatu ikasteko.*
## Aurreikuspena
Funkwhale is a community-driven project that lets you listen and share music and audio within a decentralized, open network.
**Paketatutako bertsioa:** 1.4.0~ynh1
**Demoa:** <https://demo.funkwhale.audio>
## Pantaila-argazkiak
![Funkwhale(r)en pantaila-argazkia](./doc/screenshots/screenshot1.png)
## Dokumentazioa eta baliabideak
- Aplikazioaren webgune ofiziala: <https://funkwhale.audio/>
- Erabiltzaileen dokumentazio ofiziala: <https://docs.funkwhale.audio/users/index.html>
- Administratzaileen dokumentazio ofiziala: <https://docs.funkwhale.audio/admin/index.html>
- Jatorrizko aplikazioaren kode-gordailua: <https://dev.funkwhale.audio/funkwhale/funkwhale>
- YunoHost Denda: <https://apps.yunohost.org/app/funkwhale>
- Eman errore baten berri: <https://github.com/YunoHost-Apps/funkwhale_ynh/issues>
## Garatzaileentzako informazioa
Bidali `pull request`a [`testing` abarrera](https://github.com/YunoHost-Apps/funkwhale_ynh/tree/testing).
`testing` abarra probatzeko, ondorengoa egin:
```bash
sudo yunohost app install https://github.com/YunoHost-Apps/funkwhale_ynh/tree/testing --debug
edo
sudo yunohost app upgrade funkwhale -u https://github.com/YunoHost-Apps/funkwhale_ynh/tree/testing --debug
```
**Informazio gehiago aplikazioaren paketatzeari buruz:** <https://yunohost.org/packaging_apps>

View file

@ -3,6 +3,8 @@ packaging_format = 2
id = "funkwhale"
name = "Funkwhale"
description.en = "Convivial and modern music server"
description.gl = "Servidor moderno e cordial de música"
description.ca = "Servidor de música modern i convivial"
description.fr = "Serveur de musique moderne et convivial"
version = "1.4.0~ynh1"
@ -37,6 +39,8 @@ ram.runtime = "50M"
[install.init_main_permission]
help.en = "If enabled, Funkwhale will be accessible by Funkwhale for Android and by users without a YunoHost account. This can be changed later in the webadmin."
help.gl = "Se o activas, Funkwhale vai ser accesible para Funkwhale para Android e por usuarias sen unha conta YunoHost. Podes cambiar esto máis tarde nos axustes de administración."
help.ca = "Si ho habiliteu, Funkwhale serà accessible amb Funkwhale per Android i per usuaris sense un compte a YunoHost. Es pot canviar més tard en la web d'administració."
help.fr = "Si cette case est cochée, Funkwhale sera accessible par Funkwhale for Android et par les utilisateurs nayant pas de compte YunoHost. Vous pourrez changer cela dans la webadmin."
type = "group"
default = "visitors"

View file

@ -34,13 +34,9 @@ if [ "$upgrade_type" == "UPGRADE_APP" ]
then
ynh_script_progression --message="Upgrading source files..." --weight=1
# Remove the old files
ynh_secure_remove --file="$install_dir/api"
ynh_secure_remove --file="$install_dir/front"
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$install_dir/api" --source_id="api"
ynh_setup_source --dest_dir="$install_dir/front" --source_id="front"
ynh_setup_source --dest_dir="$install_dir/api" --source_id="api" --full_replace=1
ynh_setup_source --dest_dir="$install_dir/front" --source_id="front" --full_replace=1
fi
#=================================================