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

Merge pull request #19 from YunoHost-Apps/testing

Testing v0.7.8
This commit is contained in:
OniriCorpe 2023-09-29 22:09:01 +02:00 committed by GitHub
commit f5719e1ab9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 55 additions and 25 deletions

View file

@ -31,7 +31,7 @@ Kavita is a fast, feature rich, cross platform reading server. Built with a focu
- OPDS-PS Support - OPDS-PS Support
**Shipped version:** 0.7.7~ynh1 **Shipped version:** 0.7.8~ynh1
**Demo:** https://demo.kavitareader.com/ **Demo:** https://demo.kavitareader.com/
@ -44,7 +44,6 @@ Kavita is a fast, feature rich, cross platform reading server. Built with a focu
* Official app website: <www.kavitareader.com> * Official app website: <www.kavitareader.com>
* Official admin documentation: <https://wiki.kavitareader.com/en> * Official admin documentation: <https://wiki.kavitareader.com/en>
* Upstream app code repository: <https://github.com/Kareadita/Kavita> * Upstream app code repository: <https://github.com/Kareadita/Kavita>
* YunoHost documentation for this app: <https://yunohost.org/app_kavita>
* Report a bug: <https://github.com/YunoHost-Apps/kavita_ynh/issues> * Report a bug: <https://github.com/YunoHost-Apps/kavita_ynh/issues>
## Developer info ## Developer info

View file

@ -16,22 +16,21 @@ Si vous navez pas YunoHost, regardez [ici](https://yunohost.org/#/install) po
## Vue densemble ## Vue densemble
Kavita is a fast, feature rich, cross platform reading server. Built with a focus for manga and the goal of being a full solution for all your reading needs. Setup your own server and share your reading collection with your friends and family. Kavita est un serveur de lecture multiplateforme rapide et riche en fonctionnalités. Conçu en mettant l'accent sur les mangas et dans le but d'être une solution complète pour tous vos besoins de lecture. Configurez votre propre serveur et partagez votre collection de lectures avec vos amis et votre famille.
### Features ### Caractéristiques
- Extensive File support - Prise en charge étendue des fichiers
- Manga/Comic Reader - Lecteur de mangas/bandes dessinées
- Book Reader - Lecteur de livres
- User Management and Sharing - Gestion et partage des utilisateurs
- Cross Platform with no dependencies - Everything in the box - Multiplateforme sans dépendances - Tout est dans la boîte
- Full-text search to quickly find what you want to read - Recherche en texte intégral pour trouver rapidement ce que vous voulez lire
- Mixed media Libraries - Light Novels and Manga can be right next to each other - Bibliothèques multimédias - Les Light Novels et les Mangas peuvent être côte à côte
- Fast and efficient library scans. Don't perform I/O if the underlying file hasn't changed. - Analyses de bibliothèque rapides et efficaces. N'effectuez pas d'E/S si le fichier sous-jacent n'a pas changé.
- OPDS-PS Support - Prise en charge OPDS-PS
**Version incluse :** 0.7.8~ynh1
**Version incluse :** 0.7.7~ynh1
**Démo :** https://demo.kavitareader.com/ **Démo :** https://demo.kavitareader.com/
@ -44,7 +43,6 @@ Kavita is a fast, feature rich, cross platform reading server. Built with a focu
* Site officiel de lapp : <www.kavitareader.com> * Site officiel de lapp : <www.kavitareader.com>
* Documentation officielle de ladmin : <https://wiki.kavitareader.com/en> * Documentation officielle de ladmin : <https://wiki.kavitareader.com/en>
* Dépôt de code officiel de lapp : <https://github.com/Kareadita/Kavita> * Dépôt de code officiel de lapp : <https://github.com/Kareadita/Kavita>
* Documentation YunoHost pour cette app : <https://yunohost.org/app_kavita>
* Signaler un bug : <https://github.com/YunoHost-Apps/kavita_ynh/issues> * Signaler un bug : <https://github.com/YunoHost-Apps/kavita_ynh/issues>
## Informations pour les développeurs ## Informations pour les développeurs

13
doc/DESCRIPTION_fr.md Normal file
View file

@ -0,0 +1,13 @@
Kavita est un serveur de lecture multiplateforme rapide et riche en fonctionnalités. Conçu en mettant l'accent sur les mangas et dans le but d'être une solution complète pour tous vos besoins de lecture. Configurez votre propre serveur et partagez votre collection de lectures avec vos amis et votre famille.
### Caractéristiques
- Prise en charge étendue des fichiers
- Lecteur de mangas/bandes dessinées
- Lecteur de livres
- Gestion et partage des utilisateurs
- Multiplateforme sans dépendances - Tout est dans la boîte
- Recherche en texte intégral pour trouver rapidement ce que vous voulez lire
- Bibliothèques multimédias - Les Light Novels et les Mangas peuvent être côte à côte
- Analyses de bibliothèque rapides et efficaces. N'effectuez pas d'E/S si le fichier sous-jacent n'a pas changé.
- Prise en charge OPDS-PS

View file

@ -5,7 +5,7 @@ name = "Kavita"
description.en = "Media server for your comics, manga and books" description.en = "Media server for your comics, manga and books"
description.fr = "Serveur multimédia pour vos bandes dessinées, mangas et livres" description.fr = "Serveur multimédia pour vos bandes dessinées, mangas et livres"
version = "0.7.7~ynh1" version = "0.7.8~ynh1"
maintainers = ["eric_G"] maintainers = ["eric_G"]
@ -17,7 +17,7 @@ admindoc = "https://wiki.kavitareader.com/en"
code = "https://github.com/Kareadita/Kavita" code = "https://github.com/Kareadita/Kavita"
[integration] [integration]
yunohost = ">= 11.1.19" yunohost = ">= 11.2"
architectures = ["amd64", "arm64", "armhf"] architectures = ["amd64", "arm64", "armhf"]
multi_instance = true multi_instance = true
ldap = false ldap = false
@ -43,15 +43,18 @@ ram.runtime = "50M"
[resources.sources] [resources.sources]
[resources.sources.main] [resources.sources.main]
in_subdir = true in_subdir = true
amd64.url = "https://github.com/Kareadita/Kavita/releases/download/v0.7.7/kavita-linux-x64.tar.gz" amd64.url = "https://github.com/Kareadita/Kavita/releases/download/v0.7.8/kavita-linux-x64.tar.gz"
amd64.sha256 = "12009b69f6263274752b617d33fd9486ad8b2bf3602ff3309c0cd5496ab3a71a" amd64.sha256 = "0a939ca8f521a53c14a4caa2f7314eab802cbeddfadb40ba6334ddd1d4b725d7"
arm64.url = "https://github.com/Kareadita/Kavita/releases/download/v0.7.7/kavita-linux-arm64.tar.gz" arm64.url = "https://github.com/Kareadita/Kavita/releases/download/v0.7.8/kavita-linux-arm64.tar.gz"
arm64.sha256 = "53d73c0f47822c0772c51f0f3dcc3c911e0a8706d07dd9bf75dea4a21fd89bdb" arm64.sha256 = "3c6ac3d43c2887c717bd3b3038b2d4ffcd2e3f6627b8e0e9b24e87d3f1ee4b8e"
armhf.url = "https://github.com/Kareadita/Kavita/releases/download/v0.7.7/kavita-linux-arm.tar.gz" armhf.url = "https://github.com/Kareadita/Kavita/releases/download/v0.7.8/kavita-linux-arm.tar.gz"
armhf.sha256 = "283fc142ea9b281c2242dfe7e54774ce273d8990b8f0418dd90ec5bcac85e624" armhf.sha256 = "90eef5f384f28bc00d4bfa3db8872acef27df2a985b00f4509c3875c0929c0a8"
# https://yunohost.org/fr/packaging_apps_resources#regarding-autoupdate # https://yunohost.org/fr/packaging_apps_resources#regarding-autoupdate
autoupdate.strategy = "latest_github_release" autoupdate.strategy = "latest_github_release"
autoupdate.asset.amd64 = "kavita-linux-x64.tar.gz"
autoupdate.asset.arm64 = "kavita-linux-arm64.tar.gz"
autoupdate.asset.armhf = "kavita-linux-arm.tar.gz"
[resources.ports] [resources.ports]
main.default = 5000 main.default = 5000

View file

@ -17,10 +17,27 @@ ynh_script_progression --message="Restoring the app main directory..." --weight=
ynh_restore_file --origin_path="$install_dir" ynh_restore_file --origin_path="$install_dir"
chmod 750 "$install_dir"
chmod -R o-rwx "$install_dir" chmod -R o-rwx "$install_dir"
chown -R "$app":www-data "$install_dir" chown -R "$app":www-data "$install_dir"
#=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE
#=================================================
# compare if the system arch is different from the binary arch
# if so, download the correct binary
if [ "$(uname -m)" != "$(file "$install_dir"/Kavita | cut -d ',' -f 2 | tr -d ' ')" ]
then
ynh_script_progression --message="Migrating binary architecture..." --weight=1
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$install_dir" --keep="config/appsettings.json"
fi
chmod -R o-rwx "$install_dir"
chown -R "$app":www-data "$install_dir"
chmod +x "$install_dir"/Kavita
#================================================= #=================================================
# RESTORE SYSTEM CONFIGURATIONS # RESTORE SYSTEM CONFIGURATIONS
#================================================= #=================================================