mirror of
https://github.com/YunoHost-Apps/invidious_ynh.git
synced 2024-09-03 19:15:55 +02:00
Testing (#161)
* cleaning * Auto-update READMEs * upgrade to upstream * Auto-update READMEs --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org>
This commit is contained in:
parent
b19b17530c
commit
9467d025e8
12 changed files with 85 additions and 50 deletions
|
@ -1,6 +1,7 @@
|
|||
# All available README files by language
|
||||
|
||||
- [Read the README in English](README.md)
|
||||
- [Lea el README en español](README_es.md)
|
||||
- [Irakurri README euskaraz](README_eu.md)
|
||||
- [Lire le README en français](README_fr.md)
|
||||
- [Le o README en galego](README_gl.md)
|
||||
|
|
|
@ -27,7 +27,7 @@ In addition to constituting an advantage in terms of confidentiality (the data d
|
|||
- Ability to subscribe to channels without creating a Google account
|
||||
|
||||
|
||||
**Shipped version:** 24.04.28~ynh1
|
||||
**Shipped version:** 24.06.09~ynh1
|
||||
|
||||
**Demo:** <https://invidious.site/>
|
||||
|
||||
|
|
62
README_es.md
Normal file
62
README_es.md
Normal file
|
@ -0,0 +1,62 @@
|
|||
<!--
|
||||
Este archivo README esta generado automaticamente<https://github.com/YunoHost/apps/tree/master/tools/readme_generator>
|
||||
No se debe editar a mano.
|
||||
-->
|
||||
|
||||
# Invidious para Yunohost
|
||||
|
||||
[](https://dash.yunohost.org/appci/app/invidious)  
|
||||
|
||||
[](https://install-app.yunohost.org/?app=invidious)
|
||||
|
||||
*[Leer este README en otros idiomas.](./ALL_README.md)*
|
||||
|
||||
> *Este paquete le permite instalarInvidious rapidamente y simplement en un servidor YunoHost.*
|
||||
> *Si no tiene YunoHost, visita [the guide](https://yunohost.org/install) para aprender como instalarla.*
|
||||
|
||||
## Descripción general
|
||||
|
||||
Invidious is an interface allowing access to Youtube videos without going through youtube.com
|
||||
In addition to constituting an advantage in terms of confidentiality (the data does not pass directly through the services of the giant).
|
||||
|
||||
### Features:
|
||||
|
||||
- Audio only mode,
|
||||
- Dark mode,
|
||||
- Ability to display Reddit comments instead of YouTube comments,
|
||||
- Ability to subscribe to channels without creating a Google account
|
||||
|
||||
|
||||
**Versión actual:** 24.06.09~ynh1
|
||||
|
||||
**Demo:** <https://invidious.site/>
|
||||
|
||||
## Capturas
|
||||
|
||||

|
||||
|
||||
## :red_circle: funcionalidades no deseadas
|
||||
|
||||
- **Non-free Network Services**: Promotes or depends entirely on a non-free network service.
|
||||
|
||||
## Documentaciones y recursos
|
||||
|
||||
- Sitio web oficial: <https://invidio.us/>
|
||||
- Documentación administrador oficial: <https://docs.invidious.io/>
|
||||
- Repositorio del código fuente oficial de la aplicación : <https://github.com/iv-org/invidious>
|
||||
- Catálogo YunoHost: <https://apps.yunohost.org/app/invidious>
|
||||
- Reportar un error: <https://github.com/YunoHost-Apps/invidious_ynh/issues>
|
||||
|
||||
## Información para desarrolladores
|
||||
|
||||
Por favor enviar sus correcciones a la [`branch testing`](https://github.com/YunoHost-Apps/invidious_ynh/tree/testing
|
||||
|
||||
Para probar la rama `testing`, sigue asÍ:
|
||||
|
||||
```bash
|
||||
sudo yunohost app install https://github.com/YunoHost-Apps/invidious_ynh/tree/testing --debug
|
||||
o
|
||||
sudo yunohost app upgrade invidious -u https://github.com/YunoHost-Apps/invidious_ynh/tree/testing --debug
|
||||
```
|
||||
|
||||
**Mas informaciones sobre el empaquetado de aplicaciones:** <https://yunohost.org/packaging_apps>
|
|
@ -27,7 +27,7 @@ In addition to constituting an advantage in terms of confidentiality (the data d
|
|||
- Ability to subscribe to channels without creating a Google account
|
||||
|
||||
|
||||
**Paketatutako bertsioa:** 24.04.28~ynh1
|
||||
**Paketatutako bertsioa:** 24.06.09~ynh1
|
||||
|
||||
**Demoa:** <https://invidious.site/>
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ En plus de constituer un avantage sur le plan de la confidentialité (les donné
|
|||
- Possibilité d'afficher les commentaires Reddit plutôt que les commentaires YouTube,
|
||||
- Possibilité de s'abonner aux chaines sans créer de compte Google
|
||||
|
||||
**Version incluse :** 24.04.28~ynh1
|
||||
**Version incluse :** 24.06.09~ynh1
|
||||
|
||||
**Démo :** <https://invidious.site/>
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ In addition to constituting an advantage in terms of confidentiality (the data d
|
|||
- Ability to subscribe to channels without creating a Google account
|
||||
|
||||
|
||||
**Versión proporcionada:** 24.04.28~ynh1
|
||||
**Versión proporcionada:** 24.06.09~ynh1
|
||||
|
||||
**Demo:** <https://invidious.site/>
|
||||
|
||||
|
@ -35,7 +35,7 @@ In addition to constituting an advantage in terms of confidentiality (the data d
|
|||
|
||||

|
||||
|
||||
## :red_circle: Caraterísticas cuestionables
|
||||
## :red_circle: Debes considerar
|
||||
|
||||
- **Non-free Network Services**: Promotes or depends entirely on a non-free network service.
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
请勿手动编辑。
|
||||
-->
|
||||
|
||||
# YunoHost 的 Invidious
|
||||
# YunoHost 上的 Invidious
|
||||
|
||||
[](https://dash.yunohost.org/appci/app/invidious)  
|
||||
|
||||
|
@ -27,7 +27,7 @@ In addition to constituting an advantage in terms of confidentiality (the data d
|
|||
- Ability to subscribe to channels without creating a Google account
|
||||
|
||||
|
||||
**分发版本:** 24.04.28~ynh1
|
||||
**分发版本:** 24.06.09~ynh1
|
||||
|
||||
**演示:** <https://invidious.site/>
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ name = "Invidious"
|
|||
description.en = "Alternative front-end to YouTube"
|
||||
description.fr = "Front-end alternatif à YouTube"
|
||||
|
||||
version = "24.04.28~ynh1"
|
||||
version = "24.06.09~ynh1"
|
||||
|
||||
maintainers = []
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
# COMMON VARIABLES
|
||||
#=================================================
|
||||
|
||||
version_commit=eda7444ca46dbc3941205316baba8030fe0b2989
|
||||
version_commit=1ae14cc22468ce6e0eb794752b113604b1d5582d
|
||||
|
||||
#=================================================
|
||||
# PERSONAL HELPERS
|
||||
|
|
|
@ -26,24 +26,10 @@ ynh_backup --src_path="$install_dir"
|
|||
|
||||
ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf"
|
||||
|
||||
#=================================================
|
||||
# SPECIFIC BACKUP
|
||||
#=================================================
|
||||
# BACKUP LOGROTATE
|
||||
#=================================================
|
||||
|
||||
ynh_backup --src_path="/etc/logrotate.d/$app"
|
||||
|
||||
#=================================================
|
||||
# BACKUP SYSTEMD
|
||||
#=================================================
|
||||
|
||||
ynh_backup --src_path="/etc/systemd/system/$app.service"
|
||||
|
||||
#=================================================
|
||||
# BACKUP VARIOUS FILES
|
||||
#=================================================
|
||||
|
||||
ynh_backup --src_path="/etc/cron.d/$app"
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -22,11 +22,6 @@ then
|
|||
yunohost service remove "$app"
|
||||
fi
|
||||
|
||||
#=================================================
|
||||
# REMOVE SYSTEM CONFIGURATIONS
|
||||
#=================================================
|
||||
ynh_script_progression --message="Removing system configurations related to $app..." --weight=10
|
||||
|
||||
dpkg --remove crystal
|
||||
|
||||
# Remove the dedicated systemd config
|
||||
|
|
|
@ -9,12 +9,6 @@
|
|||
source _common.sh
|
||||
source /usr/share/yunohost/helpers
|
||||
|
||||
#=================================================
|
||||
# CHECK VERSION
|
||||
#=================================================
|
||||
|
||||
upgrade_type=$(ynh_check_app_version_changed)
|
||||
|
||||
#=================================================
|
||||
# STANDARD UPGRADE STEPS
|
||||
#=================================================
|
||||
|
@ -69,24 +63,21 @@ ynh_exec_warn_less curl -fsSL https://crystal-lang.org/install.sh | bash -s -- -
|
|||
#=================================================
|
||||
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
||||
#=================================================
|
||||
ynh_script_progression --message="Upgrading source files..." --weight=5
|
||||
|
||||
if [ "$upgrade_type" == "UPGRADE_APP" ]
|
||||
then
|
||||
ynh_script_progression --message="Upgrading source files..." --weight=5
|
||||
pushd "$install_dir"
|
||||
chown -R "$app:www-data" "$install_dir"
|
||||
git config --system --add safe.directory "$install_dir"
|
||||
ynh_exec_as "$app" git config pull.rebase false
|
||||
|
||||
ynh_exec_as "$app" git fetch
|
||||
#git checkout master
|
||||
ynh_exec_as "$app" git reset --hard --quiet "$version_commit"
|
||||
ynh_exec_as "$app" git pull
|
||||
ynh_exec_warn_less shards install --production
|
||||
ynh_exec_warn_less crystal build "$install_dir/src/invidious.cr" --release
|
||||
popd
|
||||
|
||||
pushd "$install_dir"
|
||||
chown -R "$app:www-data" "$install_dir"
|
||||
git config --system --add safe.directory "$install_dir"
|
||||
ynh_exec_as "$app" git config pull.rebase false
|
||||
|
||||
ynh_exec_as "$app" git fetch
|
||||
#git checkout master
|
||||
ynh_exec_as "$app" git reset --hard --quiet "$version_commit"
|
||||
ynh_exec_as "$app" git pull
|
||||
ynh_exec_warn_less shards install --production
|
||||
ynh_exec_warn_less crystal build "$install_dir/src/invidious.cr" --release
|
||||
popd
|
||||
fi
|
||||
|
||||
chmod -R o-rwx "$install_dir"
|
||||
chown -R "$app:www-data" "$install_dir"
|
||||
|
|
Loading…
Add table
Reference in a new issue