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

Upgrade to 1.2.4
This commit is contained in:
yalh76 2022-04-28 19:59:18 +02:00 committed by GitHub
commit 5961e7283e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 21 additions and 13 deletions

View file

@ -17,7 +17,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
Funkwhale is a community-driven project that lets you listen and share music and audio within a decentralized, open network.
**Shipped version:** 1.2.3~ynh1
**Shipped version:** 1.2.4~ynh1
**Demo:** https://demo.funkwhale.audio

View file

@ -13,7 +13,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
Funkwhale est un projet communautaire qui vous permet d'écouter et de partager de la musique et de l'audio au sein d'un réseau ouvert et décentralisé.
**Version incluse :** 1.2.3~ynh1
**Version incluse :** 1.2.4~ynh1
**Démo :** https://demo.funkwhale.audio

View file

@ -25,6 +25,8 @@
upgrade=1 from_commit=9fc8b84ba24260e28f791aa9c47688c1a1f085c2
# 1.2.2~ynh2
upgrade=1 from_commit=192afe93f66bb08cc7d487db02dc4d187e5b29e2
# 1.2.3~ynh1
upgrade=1 from_commit=1c1b64b8b04ee917a63580dce21d149182ee319d
backup_restore=1
multi_instance=1
port_already_use=0
@ -48,3 +50,5 @@ Notification=all
name=1.2.1~ynh1
; commit=192afe93f66bb08cc7d487db02dc4d187e5b29e2
name=1.2.2~ynh2
; commit=1c1b64b8b04ee917a63580dce21d149182ee319d
name=1.2.3~ynh1

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://dev.funkwhale.audio/funkwhale/funkwhale/-/jobs/artifacts/1.2.3/download?job=build_api
SOURCE_SUM=d9f4e923c4b025f2123cc0330d3679b9bebb13d33b97eed955ac19d742190543
SOURCE_URL=https://dev.funkwhale.audio/funkwhale/funkwhale/-/jobs/artifacts/1.2.4/download?job=build_api
SOURCE_SUM=8a1ff070b7bd7205fcfebdb2e8f1c92dd1ffb60fb2fe084a2bab36026575059e
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=zip
SOURCE_IN_SUBDIR=true

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://dev.funkwhale.audio/funkwhale/funkwhale/builds/artifacts/1.2.3/download?job=build_front
SOURCE_SUM=06df2e2215e131e840aa7ddf7b86ddd2cfc5d011a721e9cf2c278c2c6c34658e
SOURCE_URL=https://dev.funkwhale.audio/funkwhale/funkwhale/builds/artifacts/1.2.4/download?job=build_front
SOURCE_SUM=82e99ee29d2306cd379a61ae4c2c1d461625b74d24001d51193dafb2f18d9628
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=zip
SOURCE_IN_SUBDIR=true

View file

@ -6,7 +6,7 @@
"en": "Modern, convivial and free music server",
"fr": "Serveur de musique moderne, convivial et gratuit"
},
"version": "1.2.3~ynh1",
"version": "1.2.4~ynh1",
"url": "https://funkwhale.audio",
"upstream": {
"license": "AGPL-3.0-or-later",

View file

@ -174,6 +174,8 @@ pushd $final_path
pip install --upgrade pip
pip install --upgrade setuptools
ynh_exec_warn_less pip install wheel
# Workaround for error AttributeError: module 'lib' has no attribute 'X509_V_FLAG_CB_ISSUER_CHECK'
ynh_replace_string --match_string="pyOpenSSL~=20.0.1" --replace_string="pyOpenSSL~=21.0.0" --target_file="$final_path/api/requirements/base.txt"
ynh_exec_warn_less pip install -r api/requirements.txt
popd
@ -214,9 +216,9 @@ yunohost service add "${app}-worker"
ynh_script_progression --message="Starting a systemd service..."
# Start a systemd service
ynh_systemd_action --service_name="${app}-beat" --action="start" --log_path="systemd" --line_match="Running with the following plugins enabled"
ynh_systemd_action --service_name="${app}-beat" --action="start" --log_path="systemd" --line_match="Started"
ynh_systemd_action --service_name="${app}-server" --action="start" --log_path="systemd" --line_match="Application startup complete"
ynh_systemd_action --service_name="${app}-worker" --action="start" --log_path="systemd" --line_match="Running with the following plugins enabled"
ynh_systemd_action --service_name="${app}-worker" --action="start" --log_path="systemd" --line_match="ready"
#=================================================
# SETUP FAIL2BAN

View file

@ -131,9 +131,9 @@ yunohost service add "${app}-worker"
#=================================================
ynh_script_progression --message="Starting a systemd service..."
ynh_systemd_action --service_name="${app}-beat" --action="start" --log_path="systemd" --line_match="Running with the following plugins enabled"
ynh_systemd_action --service_name="${app}-beat" --action="start" --log_path="systemd" --line_match="Started"
ynh_systemd_action --service_name="${app}-server" --action="start" --log_path="systemd" --line_match="Application startup complete"
ynh_systemd_action --service_name="${app}-worker" --action="start" --log_path="systemd" --line_match="Running with the following plugins enabled"
ynh_systemd_action --service_name="${app}-worker" --action="start" --log_path="systemd" --line_match="ready"
#=================================================
# GENERIC FINALIZATION

View file

@ -197,6 +197,8 @@ pushd $final_path
pip install --upgrade pip
pip install --upgrade setuptools
ynh_exec_warn_less pip install wheel
# Workaround for error AttributeError: module 'lib' has no attribute 'X509_V_FLAG_CB_ISSUER_CHECK'
ynh_replace_string --match_string="pyOpenSSL~=20.0.1" --replace_string="pyOpenSSL~=21.0.0" --target_file="$final_path/api/requirements/base.txt"
ynh_exec_warn_less pip install -r api/requirements.txt
popd
@ -277,9 +279,9 @@ yunohost service add "${app}-worker"
ynh_script_progression --message="Starting a systemd service..."
# Start a systemd service
ynh_systemd_action --service_name="${app}-beat" --action="start" --log_path="systemd" --line_match="Running with the following plugins enabled"
ynh_systemd_action --service_name="${app}-beat" --action="start" --log_path="systemd" --line_match="Started"
ynh_systemd_action --service_name="${app}-server" --action="start" --log_path="systemd" --line_match="Application startup complete"
ynh_systemd_action --service_name="${app}-worker" --action="start" --log_path="systemd" --line_match="Running with the following plugins enabled"
ynh_systemd_action --service_name="${app}-worker" --action="start" --log_path="systemd" --line_match="ready"
#=================================================
# UPGRADE FAIL2BAN