diff --git a/ALL_README.md b/ALL_README.md index a01b345..152f2e7 100644 --- a/ALL_README.md +++ b/ALL_README.md @@ -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) diff --git a/README.md b/README.md index 43bce3d..b85bb3e 100644 --- a/README.md +++ b/README.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:** diff --git a/README_es.md b/README_es.md new file mode 100644 index 0000000..95885c7 --- /dev/null +++ b/README_es.md @@ -0,0 +1,62 @@ + + +# Invidious para Yunohost + +[![Nivel de integración](https://dash.yunohost.org/integration/invidious.svg)](https://dash.yunohost.org/appci/app/invidious) ![Estado funcional](https://ci-apps.yunohost.org/ci/badges/invidious.status.svg) ![Estado En Mantención](https://ci-apps.yunohost.org/ci/badges/invidious.maintain.svg) + +[![Instalar Invidious con Yunhost](https://install-app.yunohost.org/install-with-yunohost.svg)](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:** + +## Capturas + +![Captura de Invidious](./doc/screenshots/screenshot.png) + +## :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: +- Documentación administrador oficial: +- Repositorio del código fuente oficial de la aplicación : +- Catálogo YunoHost: +- Reportar un error: + +## 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:** diff --git a/README_eu.md b/README_eu.md index 2f0ef25..1482994 100644 --- a/README_eu.md +++ b/README_eu.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 -**Paketatutako bertsioa:** 24.04.28~ynh1 +**Paketatutako bertsioa:** 24.06.09~ynh1 **Demoa:** diff --git a/README_fr.md b/README_fr.md index 9308f7e..1bae7b4 100644 --- a/README_fr.md +++ b/README_fr.md @@ -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 :** diff --git a/README_gl.md b/README_gl.md index a0e9711..cd2c9d8 100644 --- a/README_gl.md +++ b/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 -**Versión proporcionada:** 24.04.28~ynh1 +**Versión proporcionada:** 24.06.09~ynh1 **Demo:** @@ -35,7 +35,7 @@ In addition to constituting an advantage in terms of confidentiality (the data d ![Captura de pantalla de Invidious](./doc/screenshots/screenshot.png) -## :red_circle: Caraterísticas cuestionables +## :red_circle: Debes considerar - **Non-free Network Services**: Promotes or depends entirely on a non-free network service. diff --git a/README_zh_Hans.md b/README_zh_Hans.md index 039021e..dbe5e75 100644 --- a/README_zh_Hans.md +++ b/README_zh_Hans.md @@ -3,7 +3,7 @@ 请勿手动编辑。 --> -# YunoHost 的 Invidious +# YunoHost 上的 Invidious [![集成程度](https://dash.yunohost.org/integration/invidious.svg)](https://dash.yunohost.org/appci/app/invidious) ![工作状态](https://ci-apps.yunohost.org/ci/badges/invidious.status.svg) ![维护状态](https://ci-apps.yunohost.org/ci/badges/invidious.maintain.svg) @@ -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 **演示:** diff --git a/manifest.toml b/manifest.toml index dfe6c05..6f45d62 100644 --- a/manifest.toml +++ b/manifest.toml @@ -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 = [] diff --git a/scripts/_common.sh b/scripts/_common.sh index 60e5406..b552098 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -4,7 +4,7 @@ # COMMON VARIABLES #================================================= -version_commit=eda7444ca46dbc3941205316baba8030fe0b2989 +version_commit=1ae14cc22468ce6e0eb794752b113604b1d5582d #================================================= # PERSONAL HELPERS diff --git a/scripts/backup b/scripts/backup index 7f7edc0..e4d50d3 100644 --- a/scripts/backup +++ b/scripts/backup @@ -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" #================================================= diff --git a/scripts/remove b/scripts/remove index ca7f10d..3406a71 100644 --- a/scripts/remove +++ b/scripts/remove @@ -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 diff --git a/scripts/upgrade b/scripts/upgrade index f8bb121..f4d92c0 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -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"