1
0
Fork 0
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:
Éric Gaspar 2023-08-15 12:28:58 +02:00 committed by GitHub
commit ca35dcf120
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 16 additions and 12 deletions

View file

@ -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) - 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) - 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 **Demo:** https://cloud.rocket.chat/trial

View file

@ -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 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) - 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 **Démo :** https://cloud.rocket.chat/trial

View file

@ -5,7 +5,7 @@ name = "Rocket.Chat"
description.en = "Team collaboration communication platform" description.en = "Team collaboration communication platform"
description.fr = "Plateforme de communication collaborative en équipe" description.fr = "Plateforme de communication collaborative en équipe"
version = "6.2.9~ynh1" version = "6.3.1~ynh1"
maintainers = ["eric_G"] maintainers = ["eric_G"]
@ -18,7 +18,7 @@ userdoc = "https://docs.rocket.chat/guides/user-guides"
code = "https://github.com/RocketChat/Rocket.Chat" code = "https://github.com/RocketChat/Rocket.Chat"
[integration] [integration]
yunohost = ">= 11.1.21" yunohost = ">= 11.2"
architectures = ["amd64"] architectures = ["amd64"]
multi_instance = true multi_instance = true
ldap = false ldap = false
@ -51,8 +51,8 @@ ram.runtime = "50M"
[resources.sources] [resources.sources]
[resources.sources.main] [resources.sources.main]
url = "https://releases.rocket.chat/6.2.9/download" url = "https://releases.rocket.chat/6.3.1/download"
sha256 = "f10db86c790f26fbeb01a3aa6e5462d81cf98868896d70264258d44712a2343a" sha256 = "81d51303f0f6ff57c95b7ff84524cb2d46a0382d6d1177fe8b72556eaf401111"
in_subdir = true in_subdir = true
extract = true extract = true
rename = "rocket.chat.tgz" rename = "rocket.chat.tgz"
@ -65,9 +65,13 @@ ram.runtime = "50M"
[resources.permissions] [resources.permissions]
main.url = "/" main.url = "/"
api.url = "/api"
api.allowed = "visitors"
api.auth_header =false
api.show_tile = false
[resources.apt] [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.repo = "deb https://dl.yarnpkg.com/debian/ stable main"
extras.yarn.key = "https://dl.yarnpkg.com/debian/pubkey.gpg" extras.yarn.key = "https://dl.yarnpkg.com/debian/pubkey.gpg"

View file

@ -328,15 +328,15 @@ ynh_install_mongo() {
ynh_handle_getopts_args "$@" ynh_handle_getopts_args "$@"
mongo_version="${mongo_version:-$YNH_MONGO_VERSION}" mongo_version="${mongo_version:-$YNH_MONGO_VERSION}"
ynh_print_info --message="Installing MongoDB Community Edition ..." ynh_print_info --message="Installing MongoDB Community Edition..."
local mongo_debian_release=$(ynh_get_debian_release) local mongo_debian_release=bullseye #$(ynh_get_debian_release)
if [[ $(cat /proc/cpuinfo) != *"avx"* && "$mongo_version" != "4.4" ]]; then 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)." 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" mongo_version="4.4"
fi fi
if [[ "$mongo_version" == "4.4" && "$mongo_debian_release" != "buster" ]]; then 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 mongo_debian_release=buster
fi fi