mirror of
https://github.com/YunoHost-Apps/rocketchat_ynh.git
synced 2024-09-03 20:16:25 +02:00
Merge pull request #186 from YunoHost-Apps/testing
Update manifest.toml
This commit is contained in:
commit
ca35dcf120
4 changed files with 16 additions and 12 deletions
|
@ -26,7 +26,7 @@ Rocket.Chat is an open-source fully customizable communications platform develop
|
|||
- Mobile Apps for [iOS](https://apps.apple.com/app/rocket-chat/id1148741252) and [Android](https://play.google.com/store/apps/details?id=chat.rocket.android)
|
||||
- Desktop Apps for [macOS](https://apps.apple.com/br/app/rocket-chat/id1086818840), [Linux](https://snapcraft.io/rocketchat-desktop) and [Windows](https://releases.rocket.chat/desktop/latest/download)
|
||||
|
||||
**Shipped version:** 6.2.9~ynh1
|
||||
**Shipped version:** 6.3.1~ynh1
|
||||
|
||||
**Demo:** https://cloud.rocket.chat/trial
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ Rocket.Chat est une plate-forme de communication open source entièrement person
|
|||
- Applications mobiles pour [iOS](https://apps.apple.com/app/rocket-chat/id1148741252) et [Android](https://play.google.com/store/apps/details?id=chat.rocket.android)
|
||||
- Applications de bureau pour [macOS](https://apps.apple.com/br/app/rocket-chat/id1086818840), [Linux](https://snapcraft.io/rocketchat-desktop) et [Windows](https://releases.rocket.chat/desktop/latest/download)
|
||||
|
||||
**Version incluse :** 6.2.9~ynh1
|
||||
**Version incluse :** 6.3.1~ynh1
|
||||
|
||||
**Démo :** https://cloud.rocket.chat/trial
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ name = "Rocket.Chat"
|
|||
description.en = "Team collaboration communication platform"
|
||||
description.fr = "Plateforme de communication collaborative en équipe"
|
||||
|
||||
version = "6.2.9~ynh1"
|
||||
version = "6.3.1~ynh1"
|
||||
|
||||
maintainers = ["eric_G"]
|
||||
|
||||
|
@ -18,7 +18,7 @@ userdoc = "https://docs.rocket.chat/guides/user-guides"
|
|||
code = "https://github.com/RocketChat/Rocket.Chat"
|
||||
|
||||
[integration]
|
||||
yunohost = ">= 11.1.21"
|
||||
yunohost = ">= 11.2"
|
||||
architectures = ["amd64"]
|
||||
multi_instance = true
|
||||
ldap = false
|
||||
|
@ -51,8 +51,8 @@ ram.runtime = "50M"
|
|||
[resources.sources]
|
||||
|
||||
[resources.sources.main]
|
||||
url = "https://releases.rocket.chat/6.2.9/download"
|
||||
sha256 = "f10db86c790f26fbeb01a3aa6e5462d81cf98868896d70264258d44712a2343a"
|
||||
url = "https://releases.rocket.chat/6.3.1/download"
|
||||
sha256 = "81d51303f0f6ff57c95b7ff84524cb2d46a0382d6d1177fe8b72556eaf401111"
|
||||
in_subdir = true
|
||||
extract = true
|
||||
rename = "rocket.chat.tgz"
|
||||
|
@ -65,9 +65,13 @@ ram.runtime = "50M"
|
|||
|
||||
[resources.permissions]
|
||||
main.url = "/"
|
||||
api.url = "/api"
|
||||
api.allowed = "visitors"
|
||||
api.auth_header =false
|
||||
api.show_tile = false
|
||||
|
||||
[resources.apt]
|
||||
packages = "apt-transport-https build-essential gzip curl fontconfig graphicsmagick"
|
||||
packages = "fontconfig graphicsmagick"
|
||||
|
||||
extras.yarn.repo = "deb https://dl.yarnpkg.com/debian/ stable main"
|
||||
extras.yarn.key = "https://dl.yarnpkg.com/debian/pubkey.gpg"
|
||||
|
|
|
@ -328,15 +328,15 @@ ynh_install_mongo() {
|
|||
ynh_handle_getopts_args "$@"
|
||||
mongo_version="${mongo_version:-$YNH_MONGO_VERSION}"
|
||||
|
||||
ynh_print_info --message="Installing MongoDB Community Edition ..."
|
||||
local mongo_debian_release=$(ynh_get_debian_release)
|
||||
ynh_print_info --message="Installing MongoDB Community Edition..."
|
||||
local mongo_debian_release=bullseye #$(ynh_get_debian_release)
|
||||
|
||||
if [[ $(cat /proc/cpuinfo) != *"avx"* && "$mongo_version" != "4.4" ]]; then
|
||||
ynh_print_warn --message="Installing Mongo 4.4 as $mongo_version is not compatible with your cpu (see https://docs.mongodb.com/manual/administration/production-notes/#x86_64)."
|
||||
if [[ $(cat /proc/cpuinfo) != *"avx"* && "$mongo_version" != "4.4" ]]; then
|
||||
ynh_print_warn --message="Installing Mongo 4.4 as $mongo_version is not compatible with your CPU (see https://docs.mongodb.com/manual/administration/production-notes/#x86_64)."
|
||||
mongo_version="4.4"
|
||||
fi
|
||||
if [[ "$mongo_version" == "4.4" && "$mongo_debian_release" != "buster" ]]; then
|
||||
ynh_print_warn --message="Switched to buster install as Mongo 4.4 is not compatible with $mongo_debian_release."
|
||||
ynh_print_warn --message="Switched to Buster install as Mongo 4.4 is not compatible with $mongo_debian_release."
|
||||
mongo_debian_release=buster
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue