1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/invidious_ynh.git synced 2024-09-03 19:15:55 +02:00
* Fix linter warnings

* Update README.md

* Update README.md

delete App website (it's down)
brought link in line 26 and 30 up to date with link to new place of documentation

* Change version

* Update links

* Finding an available port

* Add more_set_headers to NGINX conf

* Silencing PostgreSQL warnings

* Update nginx.conf

* Update nginx.conf

* Make `/embed/` links work properly (#8)

Gives them the right headers and redirects them to the right place

* Update manifest.json

* fix

* Update restore

* Update install

* Fix

* Update install

* Fix

* Update install

* Fix

* Fix

* Update check_process

* Fix embeds again (#12)

* Fix embeds again

* Remove extra repo (#14)

* Remove extra repo

* Update manifest.json

* Cleaning up

* Patch

* Fix

* Fix

* Fix

* Update manifest.json

* Update upgrade

* Fix

* Preserve config file and protect it

* Fix permissions

* Fix

* Fix

* fix

* Update README.md (#28)

.yml iso .yaml file

* Fix

* Update install

* [autopatch] Update issue and PR templates (#32)

Co-authored-by: Yunohost-Bot <>

* [autopatch] Update issue and PR templates (#33)

Co-authored-by: Yunohost-Bot <>

* Fix

* Fix

* Update install

* Auto-update README

* Update install

* Fix

* Update _common.sh

* Fix

* Auto-update README

* Fix

* Fix

* Create change_url

* Fix

* Update nginx.conf

* Update check_process

* Auto-update README

* Auto-update README

* upgrade crystal

* Auto-update README

* Update restore

* Update upgrade

* Update upgrade

* Revert "Update upgrade"

This reverts commit f533eb02cb.

* Update upgrade

* Update check_process

* Add limitations

* Auto-update README

* New config file (#44)

* Add config

* Update check_process

* From git commit (#46)

* from commit

* Fix doc link

* Auto-update README

* Update upgrade

* Update config.yml

* Update manifest.json

* Auto-update README

* Version bump (#54)

* upgrade

* Update restore

* Add description

* Auto-update README

* config.yml may not exist during upgrade (#58)

* Update systemd.service

* Update manifest.json

* Update manifest.json

* Auto-update README

* Reorder

* Update _common.sh

* Fix

* Update Crystal (#63)

* Update Crystal

* Update install

* Fix

* Update _common.sh

* Update _common.sh

* 4.3

* Auto-update README

* Upgrade

* Auto-update README

* Config panel (#72)

* Add config panel

* Update _common.sh

* Fix

* Auto-update README

* upgrade to upstream

* Auto-update README

* Update _common.sh

* Update manifest.json

* Auto-update README

* Update _common.sh

* Update manifest.json

* Auto-update README

* Bugfix #77 by replace "shards" command (#79)

* Bugfix #77 by "shards install" with "--production"

See: https://github.com/iv-org/invidious/issues/2918#issuecomment-1048146335

* Upgrade to upstream

* Auto-update README

* Update check_process

* 22.03.03

* Auto-update README

* Add admin (#74)

* Add admin
* add email

* Auto-update README

* Fix

* Update upgrade

* Update _common.sh

* Update _common.sh

* Update manifest.json

* Auto-update README

* Fix

* Update install

* Fix

* Fix

* Auto-update README

* Update upgrade

* Revert "Update upgrade"

This reverts commit a1dce069b4.

* upgrade to upstream

* Auto-update README

* Upgrade to upstream

* Auto-update README

* upgrade to upstream

* Auto-update README

* Update _common.sh

* Auto-update README

* Upgrade to upstream

* Auto-update README

* upgrade

* Auto-update README

* Update _common.sh

* Update manifest.json

* Auto-update README

* Auto-update README

* Auto-update README

* Upgrade to upstream

* Auto-update README

* Upgrade to upstream

* Revert "Upgrade to upstream"

This reverts commit dc91a2696e.

* Update _common.sh

* Update manifest.json

* Auto-update README

* Upgrade to upstream

* Auto-update README

* upgrade to upstream

* Auto-update README

* Upgrade to upstream

* Auto-update README

* Upgrade to upstream

* Auto-update README

* Upgrade

* Auto-update README

* Upgrade to upstream

* Auto-update README

* Auto-update README

* Upgrade to upstream

* Auto-update README

* Fix

* Auto-update README

* Fix

* Update to upstream

* Auto-update README

* Update install

* Update install

* Update install

* Auto-update README

* Update install

* Update install

* Update install

* Update install

* Update install

* Update install

* Update install

* Update install

* upgrade to upstream

* Auto-update README

* Update upgrade

---------

Co-authored-by: deckname <58575263+deckname@users.noreply.github.com>
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
Co-authored-by: Georgelemental <georgelemental@gmail.com>
Co-authored-by: Jules-Bertholet <jules.bertholet@gmail.com>
Co-authored-by: clavelc <25869334+clavelc@users.noreply.github.com>
Co-authored-by: YunoHost Bot <yunohost-bot@users.noreply.github.com>
Co-authored-by: Yunohost-Bot <>
Co-authored-by: Jens Diemer <github.com@jensdiemer.de>
Co-authored-by: yunohost-bot <yunohost@yunohost.org>
Co-authored-by: yalh76 <yalh@yahoo.com>
This commit is contained in:
Éric Gaspar 2023-02-14 21:24:21 +01:00 committed by GitHub
parent 6eb82e0f66
commit f468e33809
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 20 additions and 10 deletions

View file

@ -6,6 +6,7 @@ It shall NOT be edited by hand.
# Invidious for YunoHost
[![Integration level](https://dash.yunohost.org/integration/invidious.svg)](https://dash.yunohost.org/appci/app/invidious) ![Working status](https://ci-apps.yunohost.org/ci/badges/invidious.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/invidious.maintain.svg)
[![Install Invidious with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=invidious)
*[Lire ce readme en français.](./README_fr.md)*
@ -23,7 +24,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:** 23.01.29~ynh1
**Shipped version:** 23.02.14~ynh1
**Demo:** https://invidious.site/

View file

@ -6,6 +6,7 @@ It shall NOT be edited by hand.
# Invidious pour YunoHost
[![Niveau dintégration](https://dash.yunohost.org/integration/invidious.svg)](https://dash.yunohost.org/appci/app/invidious) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/invidious.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/invidious.maintain.svg)
[![Installer Invidious avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=invidious)
*[Read this readme in english.](./README.md)*
@ -22,7 +23,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 :** 23.01.29~ynh1
**Version incluse :** 23.02.14~ynh1
**Démo :** https://invidious.site/

View file

@ -6,7 +6,7 @@
"en": "Alternative front-end to YouTube",
"fr": "Front-end alternatif à YouTube"
},
"version": "23.01.29~ynh1",
"version": "23.02.14~ynh1",
"url": "https://invidio.us/",
"upstream": {
"license": "GPL-3.0-only",

View file

@ -4,7 +4,7 @@
# COMMON VARIABLES
#=================================================
version_commit=3b8e6c6040fe341fe4b9fc16cdbd3aea697dfad3
version_commit=7993784701686c057b85c57704537135e6326de9
# dependencies used by the app
pkg_dependencies="apt-transport-https libssl-dev libxml2-dev libyaml-dev libgmp-dev libreadline-dev postgresql librsvg2-bin imagemagick libsqlite3-dev zlib1g-dev libevent-dev pkg-config libpcre3-dev"

View file

@ -107,11 +107,16 @@ ynh_script_progression --message="Setting up source files..." --weight=4
ynh_app_setting_set --app=$app --key=final_path --value=$final_path
mkdir -p "$final_path"
chown -R $app:www-data "$final_path"
git config --system --add safe.directory $final_path
# Download, check integrity, uncompress and patch the source from GitHub
git clone https://github.com/iv-org/invidious "$final_path" --quiet
ynh_exec_as $app git clone https://github.com/iv-org/invidious "$final_path" --quiet
pushd "$final_path"
git reset --hard --quiet $version_commit
ynh_exec_as $app git reset --hard --quiet $version_commit
popd
for i in $final_path/config/sql/*.sql ; do

View file

@ -113,10 +113,13 @@ then
ynh_script_progression --message="Upgrading source files..." --weight=5
pushd $final_path
git fetch
#git checkout master
git reset --hard --quiet $version_commit
git pull
chown -R $app:www-data "$final_path"
git config --system --add safe.directory $final_path
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 $final_path/src/invidious.cr --release
popd