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 pull request #5 from YunoHost-Apps/testing

Testing
This commit is contained in:
eric_G 2023-10-07 11:21:38 +02:00 committed by GitHub
commit 64066739f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 15 additions and 73 deletions

View file

@ -16,13 +16,10 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
## Overview ## Overview
Jellyfin Vue is the next step of Jellyfin's development. 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.
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 ## Screenshots

View file

@ -16,14 +16,10 @@ Si vous navez pas YunoHost, regardez [ici](https://yunohost.org/#/install) po
## Vue densemble ## Vue densemble
Jellyfin Vue est la prochaine étape du développement de Jellyfin. 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.
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 ## Captures décran

View file

@ -1,4 +1 @@
Jellyfin Vue is the next step of Jellyfin's development. 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.
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. 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.
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,23 +4,20 @@ packaging_format = 2
id = "jellyfin-vue" id = "jellyfin-vue"
name = "Jellyfin Vue Client" name = "Jellyfin Vue Client"
description.en = "A modern web client for Jellyfin based on Vue." description.en = "Modern web client for Jellyfin"
description.fr = "Un client web moderne pour Jellyfin basé sur Vue." description.fr = "Client web moderne pour Jellyfin"
version = "0.3.1~ynh1" version = "0.3.1~ynh2"
maintainers = ["johndoe"] maintainers = ["johndoe"]
[upstream] [upstream]
license = "GPL-3.0-only" license = "GPL-3.0-only"
# admindoc = "https://yunohost.org/packaging_apps"
# userdoc = "https://yunohost.org/apps"
code = "https://github.com/jellyfin/jellyfin-vue" code = "https://github.com/jellyfin/jellyfin-vue"
fund = "https://opencollective.com/jellyfin" fund = "https://opencollective.com/jellyfin"
[integration] [integration]
yunohost = ">= 11.1.21" yunohost = ">= 11.2"
architectures = "all" architectures = "all"
multi_instance = true multi_instance = true
ldap = true ldap = true
@ -31,39 +28,26 @@ ram.runtime = "0M"
[install] [install]
[install.domain] [install.domain]
# this is a generic question - ask strings are automatically handled by YunoHost's core
type = "domain" type = "domain"
[install.path] [install.path]
# this is a generic question - ask strings are automatically handled by YunoHost's core
type = "path" type = "path"
default = "/jellyfin-vue" default = "/jellyfin-vue"
[install.init_main_permission] [install.init_main_permission]
# this is a generic question - ask strings are automatically handled by YunoHost's core
# This won't be saved as setting and will instead be used to initialize the SSOwat permission
type = "group" type = "group"
default = "visitors" default = "visitors"
[resources] [resources]
# See the packaging documentation for the full set
# of explanation regarding the behavior and properties for each of those
[resources.sources] [resources.sources]
[resources.sources.main] [resources.sources.main]
# This will pre-fetch the asset which can then be deployed during the install/upgrade scripts with : url = "https://github.com/jellyfin/jellyfin-vue/archive/f1efc3cd0923d09af69debea1e19a08b24310afc.tar.gz"
# ynh_setup_source --dest_dir="$install_dir" sha256 = "7f3a81a44153b456012bb0c2a0d404eb0b4ac0db1c56768cef7e37ed4eb52c6f"
# You can also define other assets than "main" and add --source_id="foobar" in the previous command
url = "https://github.com/jellyfin/jellyfin-vue/archive/refs/tags/0.3.1.tar.gz"
sha256 = "49316b5f7ef57d09bfa31e5e461fac1866d03902f9b087d2c3ec5b294ed934f8"
# These infos are used by https://github.com/YunoHost/apps/blob/master/tools/autoupdate_app_sources/autoupdate_app_sources.py autoupdate.upstream = "https://github.com/jellyfin/jellyfin-vue/"
# to auto-update the previous asset urls and sha256sum + manifest version autoupdate.strategy = "latest_github_commit"
# assuming the upstream's code repo is on github and relies on tags or releases
# See the 'sources' resource documentation for more details
autoupdate.strategy = "latest_github_tag"
[resources.system_user] [resources.system_user]

View file

@ -11,31 +11,6 @@ source /usr/share/yunohost/helpers
upgrade_type=$(ynh_check_app_version_changed) 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...) # "REBUILD" THE APP (DEPLOY NEW SOURCES, RERUN NPM BUILD...)
#================================================= #=================================================
@ -61,9 +36,6 @@ then
_npm_build_install "$install_dir/source" "$install_dir/www" "$path/" _npm_build_install "$install_dir/source" "$install_dir/www" "$path/"
fi 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" chown -R $app:www-data "$install_dir"
#================================================= #=================================================