mirror of
https://github.com/YunoHost-Apps/invidious_ynh.git
synced 2024-09-03 19:15:55 +02:00
Testing (#80)
* Bugfix #77 by "shards install" with "--production" See: https://github.com/iv-org/invidious/issues/2918#issuecomment-1048146335
This commit is contained in:
parent
85077ffe75
commit
28251c9e48
7 changed files with 7 additions and 7 deletions
|
@ -23,7 +23,7 @@ In addition to constituting an advantage in terms of confidentiality (the data d
|
||||||
- Ability to subscribe to channels without creating a Google account
|
- Ability to subscribe to channels without creating a Google account
|
||||||
|
|
||||||
|
|
||||||
**Shipped version:** 22.02.08~ynh1
|
**Shipped version:** 22.02.25~ynh1
|
||||||
|
|
||||||
**Demo:** https://invidious.site/
|
**Demo:** https://invidious.site/
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,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é d'afficher les commentaires Reddit plutôt que les commentaires YouTube,
|
||||||
- Possibilité de s'abonner aux chaines sans créer de compte Google
|
- Possibilité de s'abonner aux chaines sans créer de compte Google
|
||||||
|
|
||||||
**Version incluse :** 22.02.08~ynh1
|
**Version incluse :** 22.02.25~ynh1
|
||||||
|
|
||||||
**Démo :** https://invidious.site/
|
**Démo :** https://invidious.site/
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
setup_private=1
|
setup_private=1
|
||||||
setup_public=1
|
setup_public=1
|
||||||
upgrade=1
|
upgrade=1
|
||||||
upgrade=1 from_commit=d0b65b69558b6a1a98761eb7be0b34b4ccb7d6b3
|
#upgrade=1 from_commit=d0b65b69558b6a1a98761eb7be0b34b4ccb7d6b3
|
||||||
backup_restore=1
|
backup_restore=1
|
||||||
multi_instance=0
|
multi_instance=0
|
||||||
change_url=0
|
change_url=0
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"en": "Alternative front-end to YouTube",
|
"en": "Alternative front-end to YouTube",
|
||||||
"fr": "Front-end alternatif à YouTube"
|
"fr": "Front-end alternatif à YouTube"
|
||||||
},
|
},
|
||||||
"version": "22.02.08~ynh1",
|
"version": "22.02.25~ynh1",
|
||||||
"url": "https://invidio.us/",
|
"url": "https://invidio.us/",
|
||||||
"upstream": {
|
"upstream": {
|
||||||
"license": "GPL-3.0-only",
|
"license": "GPL-3.0-only",
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# COMMON VARIABLES
|
# COMMON VARIABLES
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
version_commit=170e75499816af460d76d05ce4d440d37a01e0fb
|
version_commit=081fd541afc9b2f9b821e0f8f4c66dda0839295c
|
||||||
|
|
||||||
# dependencies used by the app
|
# 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"
|
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"
|
||||||
|
|
|
@ -135,7 +135,7 @@ ynh_add_nginx_config
|
||||||
ynh_script_progression --message="Building Invidious.. (this will take some time and resources!)" --weight=60
|
ynh_script_progression --message="Building Invidious.. (this will take some time and resources!)" --weight=60
|
||||||
|
|
||||||
pushd "$final_path"
|
pushd "$final_path"
|
||||||
ynh_exec_warn_less shards update && shards install
|
ynh_exec_warn_less shards install --production
|
||||||
ynh_exec_warn_less crystal build $final_path/src/invidious.cr --release
|
ynh_exec_warn_less crystal build $final_path/src/invidious.cr --release
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
|
|
@ -115,7 +115,7 @@ then
|
||||||
#git checkout master
|
#git checkout master
|
||||||
git reset --hard --quiet $version_commit
|
git reset --hard --quiet $version_commit
|
||||||
git pull
|
git pull
|
||||||
ynh_exec_warn_less shards update && shards install
|
ynh_exec_warn_less shards install --production
|
||||||
ynh_exec_warn_less crystal build $final_path/src/invidious.cr --release
|
ynh_exec_warn_less crystal build $final_path/src/invidious.cr --release
|
||||||
popd
|
popd
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue