1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/jellyfin-vue_ynh.git synced 2024-09-03 19:26:31 +02:00

Merge branch 'testing' into ci-auto-update-0.3.1

This commit is contained in:
eric_G 2023-10-07 11:22:32 +02:00 committed by GitHub
commit c36fa1bbff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 26 additions and 58 deletions

View file

@ -16,13 +16,10 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
## Overview
Jellyfin Vue is the next step of Jellyfin's development.
It's a new frontend, based on Vue.
See https://jellyfin.org/posts/vue-vue3 for details.
Jellyfin Vue is the next step of Jellyfin's development. It's a new frontend, based on Vue. See https://jellyfin.org/posts/vue-vue3 for details.
**Shipped version:** 0.3.1~ynh1
**Shipped version:** 0.3.1~ynh2
## Screenshots
@ -30,7 +27,6 @@ See https://jellyfin.org/posts/vue-vue3 for details.
## Documentation and resources
* Official app website: <https://github.com/jellyfin/jellyfin-vue>
* Upstream app code repository: <https://github.com/jellyfin/jellyfin-vue>
* Report a bug: <https://github.com/YunoHost-Apps/jellyfin-vue_ynh/issues>

View file

@ -16,14 +16,10 @@ Si vous navez pas YunoHost, regardez [ici](https://yunohost.org/#/install) po
## Vue densemble
Jellyfin Vue est la prochaine étape du développement de Jellyfin.
C'est une nouvelle interface, basée sur Vue.
Des détails peuvent être trouvés ici : https://jellyfin.org/posts/vue-vue3.
Jellyfin Vue est la prochaine étape du développement de Jellyfin. C'est une nouvelle interface, basée sur Vue. Des détails peuvent être trouvés ici : https://jellyfin.org/posts/vue-vue3.
**Version incluse :** 0.3.1~ynh1
**Version incluse :** 0.3.1~ynh2
## Captures décran
@ -31,7 +27,6 @@ Des détails peuvent être trouvés ici : https://jellyfin.org/posts/vue-vue3.
## Documentations et ressources
* Site officiel de lapp : <https://github.com/jellyfin/jellyfin-vue>
* Dépôt de code officiel de lapp : <https://github.com/jellyfin/jellyfin-vue>
* Signaler un bug : <https://github.com/YunoHost-Apps/jellyfin-vue_ynh/issues>

View file

@ -1,4 +1 @@
Jellyfin Vue is the next step of Jellyfin's development.
It's a new frontend, based on Vue.
See https://jellyfin.org/posts/vue-vue3 for details.
Jellyfin Vue is the next step of Jellyfin's development. It's a new frontend, based on Vue. See https://jellyfin.org/posts/vue-vue3 for details.

View file

@ -1,5 +1 @@
Jellyfin Vue est la prochaine étape du développement de Jellyfin.
C'est une nouvelle interface, basée sur Vue.
Des détails peuvent être trouvés ici : https://jellyfin.org/posts/vue-vue3.
Jellyfin Vue est la prochaine étape du développement de Jellyfin. C'est une nouvelle interface, basée sur Vue. Des détails peuvent être trouvés ici : https://jellyfin.org/posts/vue-vue3.

View file

@ -4,20 +4,20 @@ packaging_format = 2
id = "jellyfin-vue"
name = "Jellyfin Vue Client"
description.en = "A modern web client for Jellyfin based on Vue."
description.fr = "Un client web moderne pour Jellyfin basé sur Vue."
description.en = "Modern web client for Jellyfin"
description.fr = "Client web moderne pour Jellyfin"
version = "0.3.1~ynh1"
version = "0.3.1~ynh2"
maintainers = [""]
[upstream]
license = "GPL-3.0"
license = "GPL-3.0-only"
code = "https://github.com/jellyfin/jellyfin-vue"
fund = "https://opencollective.com/jellyfin"
[integration]
yunohost = ">= 11.1.21"
yunohost = ">= 11.2"
architectures = "all"
multi_instance = true
ldap = true
@ -43,9 +43,11 @@ ram.runtime = "0M"
[resources.sources]
[resources.sources.main]
url = "https://github.com/jellyfin/jellyfin-vue/archive/refs/tags/0.3.1.tar.gz"
sha256 = "49316b5f7ef57d09bfa31e5e461fac1866d03902f9b087d2c3ec5b294ed934f8"
autoupdate.strategy = "latest_github_tag"
url = "https://github.com/jellyfin/jellyfin-vue/archive/f1efc3cd0923d09af69debea1e19a08b24310afc.tar.gz"
sha256 = "7f3a81a44153b456012bb0c2a0d404eb0b4ac0db1c56768cef7e37ed4eb52c6f"
autoupdate.upstream = "https://github.com/jellyfin/jellyfin-vue/"
autoupdate.strategy = "latest_github_commit"
[resources.system_user]

View file

@ -28,6 +28,15 @@ ynh_script_progression --message="Restoring system configurations related to $ap
ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf"
#=================================================
# GENERIC FINALIZATION
#=================================================
# RELOAD NGINX AND PHP-FPM OR THE APP SERVICE
#=================================================
ynh_script_progression --message="Reloading NGINX web server and $app's service..." --weight=1
ynh_systemd_action --service_name=nginx --action=reload
#=================================================
# END OF SCRIPT
#=================================================

View file

@ -11,31 +11,6 @@ source /usr/share/yunohost/helpers
upgrade_type=$(ynh_check_app_version_changed)
#=================================================
# STANDARD UPGRADE STEPS
#=================================================
# ENSURE DOWNWARD COMPATIBILITY
#=================================================
#ynh_script_progression --message="Ensuring downward compatibility..." --weight=1
#
# N.B. : the followings setting migrations snippets are provided as *EXAMPLES*
# of what you may want to do in some cases (e.g. a setting was not defined on
# some legacy installs and you therefore want to initiaze stuff during upgrade)
#
# If db_name doesn't exist, create it
#if [ -z "$db_name" ]; then
# db_name=$(ynh_sanitize_dbid --db_name=$app)
# ynh_app_setting_set --app=$app --key=db_name --value=$db_name
#fi
# If install_dir doesn't exist, create it
#if [ -z "$install_dir" ]; then
# install_dir=/var/www/$app
# ynh_app_setting_set --app=$app --key=install_dir --value=$install_dir
#fi
#=================================================
# "REBUILD" THE APP (DEPLOY NEW SOURCES, RERUN NPM BUILD...)
#=================================================
@ -48,6 +23,7 @@ then
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$install_dir"
chown -R $app:www-data "$install_dir"
ynh_script_progression --message="Installing NodeJS..." --weight=20
@ -60,9 +36,6 @@ then
ynh_exec_as $app _npm_build_install "$install_dir/source" "$install_dir/www" "$path/"
fi
# $install_dir will automatically be initialized with some decent
# permission by default ... however, you may need to recursively reapply
# ownership to all files such as after the ynh_setup_source step
chown -R $app:www-data "$install_dir"
#=================================================