mirror of
https://github.com/YunoHost-Apps/peertube_ynh.git
synced 2024-09-03 19:56:29 +02:00
Merge branch 'testing' into debug-yarn
This commit is contained in:
commit
142417f72a
9 changed files with 19 additions and 23 deletions
|
@ -5,7 +5,7 @@ It shall NOT be edited by hand.
|
|||
|
||||
# PeerTube for YunoHost
|
||||
|
||||
[](https://dash.yunohost.org/appci/app/peertube)  
|
||||
[](https://ci-apps.yunohost.org/ci/apps/peertube/)  
|
||||
|
||||
[](https://install-app.yunohost.org/?app=peertube)
|
||||
|
||||
|
@ -19,7 +19,7 @@ It shall NOT be edited by hand.
|
|||
PeerTube is a decentralized and federated video hosting software. To publish videos, the user must register with a host (called an instance). Each host has its own conditions of use (storage space per user, moderation rules, themes, etc.). Thanks to WebTorrent, if several people view the same video, fragments of it are exchanged between people so as not to overload the instance. Decentralized: Each instance can follow one or more other PeerTube instances in order to allow its users to view their videos. Federated: Via the ActivityPub protocol, Peertube can interact with other software that is part of the Fediverse, such as Mastodon for example.
|
||||
|
||||
|
||||
**Shipped version:** 6.1.0~ynh2
|
||||
**Shipped version:** 6.2.0~ynh1
|
||||
|
||||
**Demo:** <http://peertube.cpy.re>
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ No se debe editar a mano.
|
|||
|
||||
# PeerTube para Yunohost
|
||||
|
||||
[](https://dash.yunohost.org/appci/app/peertube)  
|
||||
[](https://ci-apps.yunohost.org/ci/apps/peertube/)  
|
||||
|
||||
[](https://install-app.yunohost.org/?app=peertube)
|
||||
|
||||
|
@ -19,7 +19,7 @@ No se debe editar a mano.
|
|||
PeerTube is a decentralized and federated video hosting software. To publish videos, the user must register with a host (called an instance). Each host has its own conditions of use (storage space per user, moderation rules, themes, etc.). Thanks to WebTorrent, if several people view the same video, fragments of it are exchanged between people so as not to overload the instance. Decentralized: Each instance can follow one or more other PeerTube instances in order to allow its users to view their videos. Federated: Via the ActivityPub protocol, Peertube can interact with other software that is part of the Fediverse, such as Mastodon for example.
|
||||
|
||||
|
||||
**Versión actual:** 6.1.0~ynh2
|
||||
**Versión actual:** 6.2.0~ynh1
|
||||
|
||||
**Demo:** <http://peertube.cpy.re>
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ EZ editatu eskuz.
|
|||
|
||||
# PeerTube YunoHost-erako
|
||||
|
||||
[](https://dash.yunohost.org/appci/app/peertube)  
|
||||
[](https://ci-apps.yunohost.org/ci/apps/peertube/)  
|
||||
|
||||
[](https://install-app.yunohost.org/?app=peertube)
|
||||
|
||||
|
@ -19,7 +19,7 @@ EZ editatu eskuz.
|
|||
PeerTube is a decentralized and federated video hosting software. To publish videos, the user must register with a host (called an instance). Each host has its own conditions of use (storage space per user, moderation rules, themes, etc.). Thanks to WebTorrent, if several people view the same video, fragments of it are exchanged between people so as not to overload the instance. Decentralized: Each instance can follow one or more other PeerTube instances in order to allow its users to view their videos. Federated: Via the ActivityPub protocol, Peertube can interact with other software that is part of the Fediverse, such as Mastodon for example.
|
||||
|
||||
|
||||
**Paketatutako bertsioa:** 6.1.0~ynh2
|
||||
**Paketatutako bertsioa:** 6.2.0~ynh1
|
||||
|
||||
**Demoa:** <http://peertube.cpy.re>
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ Il NE doit PAS être modifié à la main.
|
|||
|
||||
# PeerTube pour YunoHost
|
||||
|
||||
[](https://dash.yunohost.org/appci/app/peertube)  
|
||||
[](https://ci-apps.yunohost.org/ci/apps/peertube/)  
|
||||
|
||||
[](https://install-app.yunohost.org/?app=peertube)
|
||||
|
||||
|
@ -19,7 +19,7 @@ Il NE doit PAS être modifié à la main.
|
|||
PeerTube est un logiciel décentralisé et fédéré d’hébergement de vidéos. Pour publier des vidéos, l’utilisateur doit s’inscrire chez un hébergeur (nommé instance). Chaque hébergeur possède ses conditions d’utilisation (espace de stockage par utilisateur, règles de modération, thématiques, etc.). Grâce à WebTorrent, si plusieurs personnes consultent une même vidéo, des fragments de celle-ci sont échangés entre les personnes afin de ne pas surcharger l’instance. Décentralisé : Chaque instance peut suivre une ou plusieurs autres instances PeerTube afin de permettre à ses utilisateurs de visionner les vidéos de celles-ci. Fédéré : Via le protocole ActivityPub, Peertube peut interagir avec d’autres logiciels qui font partie du Fediverse, comme Mastodon par exemple.
|
||||
|
||||
|
||||
**Version incluse :** 6.1.0~ynh2
|
||||
**Version incluse :** 6.2.0~ynh1
|
||||
|
||||
**Démo :** <http://peertube.cpy.re>
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ NON debe editarse manualmente.
|
|||
|
||||
# PeerTube para YunoHost
|
||||
|
||||
[](https://dash.yunohost.org/appci/app/peertube)  
|
||||
[](https://ci-apps.yunohost.org/ci/apps/peertube/)  
|
||||
|
||||
[](https://install-app.yunohost.org/?app=peertube)
|
||||
|
||||
|
@ -19,7 +19,7 @@ NON debe editarse manualmente.
|
|||
PeerTube is a decentralized and federated video hosting software. To publish videos, the user must register with a host (called an instance). Each host has its own conditions of use (storage space per user, moderation rules, themes, etc.). Thanks to WebTorrent, if several people view the same video, fragments of it are exchanged between people so as not to overload the instance. Decentralized: Each instance can follow one or more other PeerTube instances in order to allow its users to view their videos. Federated: Via the ActivityPub protocol, Peertube can interact with other software that is part of the Fediverse, such as Mastodon for example.
|
||||
|
||||
|
||||
**Versión proporcionada:** 6.1.0~ynh2
|
||||
**Versión proporcionada:** 6.2.0~ynh1
|
||||
|
||||
**Demo:** <http://peertube.cpy.re>
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
# YunoHost 上的 PeerTube
|
||||
|
||||
[](https://dash.yunohost.org/appci/app/peertube)  
|
||||
[](https://ci-apps.yunohost.org/ci/apps/peertube/)  
|
||||
|
||||
[](https://install-app.yunohost.org/?app=peertube)
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
|||
PeerTube is a decentralized and federated video hosting software. To publish videos, the user must register with a host (called an instance). Each host has its own conditions of use (storage space per user, moderation rules, themes, etc.). Thanks to WebTorrent, if several people view the same video, fragments of it are exchanged between people so as not to overload the instance. Decentralized: Each instance can follow one or more other PeerTube instances in order to allow its users to view their videos. Federated: Via the ActivityPub protocol, Peertube can interact with other software that is part of the Fediverse, such as Mastodon for example.
|
||||
|
||||
|
||||
**分发版本:** 6.1.0~ynh2
|
||||
**分发版本:** 6.2.0~ynh1
|
||||
|
||||
**演示:** <http://peertube.cpy.re>
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ name = "PeerTube"
|
|||
description.en = "Federated video streaming platform using P2P directly in the web browser"
|
||||
description.fr = "Plateforme fédéralisé de diffusion vidéo par P2P directement dans le navigateur"
|
||||
|
||||
version = "6.1.0~ynh2"
|
||||
version = "6.2.0~ynh1"
|
||||
|
||||
maintainers = ["yalh76"]
|
||||
|
||||
|
@ -42,8 +42,8 @@ ram.runtime = "1G"
|
|||
|
||||
[resources]
|
||||
[resources.sources.main]
|
||||
url = "https://github.com/Chocobozzz/PeerTube/releases/download/v6.1.0/peertube-v6.1.0.tar.xz"
|
||||
sha256 = "7e5d1d0f5c49620ac83602e5b9ebc2f985dc05b110551cde9e2c17094f366733"
|
||||
url = "https://github.com/Chocobozzz/PeerTube/releases/download/v6.2.0/peertube-v6.2.0.tar.xz"
|
||||
sha256 = "2d737bca3919a98bd82143130d57c8306c2933c82f11d14c3c43909ad48be95f"
|
||||
autoupdate.strategy = "latest_github_release"
|
||||
autoupdate.asset = "^peertube-v.*\\.tar\\.xz$"
|
||||
|
||||
|
@ -70,7 +70,7 @@ ram.runtime = "1G"
|
|||
api.protected = true
|
||||
|
||||
[resources.apt]
|
||||
packages = "ffmpeg, postgresql, postgresql-contrib"
|
||||
packages = "ffmpeg, postgresql, postgresql-contrib, redis-server"
|
||||
|
||||
[resources.database]
|
||||
type = "postgresql"
|
||||
|
|
|
@ -59,10 +59,9 @@ ynh_script_progression --message="Building Yarn dependencies..."
|
|||
|
||||
pushd "$install_dir"
|
||||
ynh_use_nodejs
|
||||
ynh_exec_warn_less env $ynh_node_load_PATH corepack enable
|
||||
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn config set network-timeout 300000
|
||||
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn install --production --pure-lockfile
|
||||
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn cache clean
|
||||
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH COREPACK_ENABLE_DOWNLOAD_PROMPT=0 yarn config set network-timeout 300000
|
||||
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH COREPACK_ENABLE_DOWNLOAD_PROMPT=0 yarn install --production --pure-lockfile
|
||||
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH COREPACK_ENABLE_DOWNLOAD_PROMPT=0 yarn cache clean
|
||||
popd
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -30,9 +30,6 @@ ynh_remove_nginx_config
|
|||
# Remove metapackage and its dependencies
|
||||
ynh_remove_nodejs
|
||||
|
||||
# Remove the log files
|
||||
ynh_secure_remove --file="/var/log/$app"
|
||||
|
||||
#=================================================
|
||||
# END OF SCRIPT
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue