mirror of
https://github.com/YunoHost-Apps/mattermost_ynh.git
synced 2024-09-03 19:36:29 +02:00
Merge pull request #247 from YunoHost-Apps/mattermost-5.35
Upgrade to Mattermost 5.35
This commit is contained in:
commit
0c60412b3c
9 changed files with 55 additions and 56 deletions
23
README.md
23
README.md
|
@ -1,7 +1,3 @@
|
|||
|
||||
|
||||
---
|
||||
|
||||
<!--
|
||||
N.B.: This README was automatically generated by https://github.com/YunoHost/apps/tree/master/tools/README-generator
|
||||
It shall NOT be edited by hand.
|
||||
|
@ -9,30 +5,25 @@ It shall NOT be edited by hand.
|
|||
|
||||
# Mattermost for YunoHost
|
||||
|
||||
[![Integration level](https://dash.yunohost.org/integration/mattermost.svg)](https://dash.yunohost.org/appci/app/mattermost) ![](https://ci-apps.yunohost.org/ci/badges/mattermost.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/mattermost.maintain.svg)
|
||||
[![Install mattermost with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=mattermost)
|
||||
[![Integration level](https://dash.yunohost.org/integration/mattermost.svg)](https://dash.yunohost.org/appci/app/mattermost) ![](https://ci-apps.yunohost.org/ci/badges/mattermost.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/mattermost.maintain.svg)
|
||||
[![Install Mattermost with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=mattermost)
|
||||
|
||||
*[Lire ce readme en français.](./README_fr.md)*
|
||||
|
||||
> *This package allows you to install mattermost quickly and simply on a YunoHost server.
|
||||
> *This package allows you to install Mattermost quickly and simply on a YunoHost server.
|
||||
If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/install) to learn how to install it.*
|
||||
|
||||
## Overview
|
||||
|
||||
Open source collaboration platform built for developers
|
||||
|
||||
**Shipped version:** 5.34.2~ynh1
|
||||
|
||||
**Shipped version:** 5.35.3~ynh1
|
||||
|
||||
|
||||
|
||||
## Screenshots
|
||||
|
||||
|
||||
![](./doc/screenshots/screenshot.png)
|
||||
|
||||
|
||||
|
||||
![](./doc/screenshots/screenshot.png)
|
||||
|
||||
## Disclaimers / important information
|
||||
|
||||
|
@ -54,14 +45,12 @@ Mattermost Mobile and Desktop Apps are available [here](https://mattermost.com/d
|
|||
|
||||
* This package can by installed on `ARM`, `ARM64` and `x86-64` architecture (only `x86-64` if you choose to install the *Entreprise Edition*).
|
||||
|
||||
|
||||
|
||||
## Documentation and resources
|
||||
|
||||
* Official app website: http://www.mattermost.org/
|
||||
* Official user documentation: https://yunohost.org/en/app_mattermost
|
||||
* Official admin documentation: https://docs.mattermost.com/
|
||||
* Upstream app code repository: https://github.com/mattermost/mattermost-server
|
||||
* Upstream app code repository: https://github.com/mattermost/mattermost-server
|
||||
* YunoHost documentation for this app: https://yunohost.org/app_mattermost
|
||||
* Report a bug: https://github.com/YunoHost-Apps/mattermost_ynh/issues
|
||||
|
||||
|
|
35
README_fr.md
35
README_fr.md
|
@ -1,30 +1,25 @@
|
|||
# Mattermost pour YunoHost
|
||||
|
||||
[![Niveau d'intégration](https://dash.yunohost.org/integration/mattermost.svg)](https://dash.yunohost.org/appci/app/mattermost) ![](https://ci-apps.yunohost.org/ci/badges/mattermost.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/mattermost.maintain.svg)
|
||||
[![Installer mattermost avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=mattermost)
|
||||
[![Niveau d'intégration](https://dash.yunohost.org/integration/mattermost.svg)](https://dash.yunohost.org/appci/app/mattermost) ![](https://ci-apps.yunohost.org/ci/badges/mattermost.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/mattermost.maintain.svg)
|
||||
[![Installer Mattermost avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=mattermost)
|
||||
|
||||
*[Read this readme in english.](./README.md)*
|
||||
*[Lire ce readme en français.](./README_fr.md)*
|
||||
|
||||
> *This package allows you to install mattermost quickly and simply on a YunoHost server.
|
||||
If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/install) to learn how to install it.*
|
||||
> *Ce package vous permet d'installer Mattermost rapidement et simplement sur un serveur YunoHost.
|
||||
Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l'installer et en profiter.*
|
||||
|
||||
## Vue d'ensemble
|
||||
|
||||
Plateforme de collaboration open source conçue pour les développeurs
|
||||
|
||||
**Version incluse:** 5.34.2~ynh1
|
||||
|
||||
**Version incluse :** 5.35.3~ynh1
|
||||
|
||||
|
||||
|
||||
## Captures d'écran
|
||||
|
||||
|
||||
![](./doc/screenshots/screenshot.png)
|
||||
|
||||
|
||||
|
||||
![](./doc/screenshots/screenshot.png)
|
||||
|
||||
## Avertissements / informations importantes
|
||||
|
||||
|
@ -44,16 +39,14 @@ Ce paquet peut installer la version [*Entreprise Edition*](https://docs.mattermo
|
|||
|
||||
Ce paquet peut être installé sur les architectures `ARM`, `ARM64` et `x86-64` (mais uniquement `x86-64` si vous choisissez d'installer la version *Enterprise Edition*).
|
||||
|
||||
|
||||
|
||||
## Documentations et ressources
|
||||
|
||||
* Site official de l'app : http://www.mattermost.org/
|
||||
* Documentation officielle utilisateur: https://yunohost.org/en/app_mattermost
|
||||
* Documentation officielle de l'admin: https://docs.mattermost.com/
|
||||
* Dépôt de code officiel de l'app: https://github.com/mattermost/mattermost-server
|
||||
* Documentation YunoHost pour cette app: https://yunohost.org/app_mattermost
|
||||
* Signaler un bug: https://github.com/YunoHost-Apps/mattermost_ynh/issues
|
||||
* Site officiel de l'app : http://www.mattermost.org/
|
||||
* Documentation officielle utilisateur : https://yunohost.org/en/app_mattermost
|
||||
* Documentation officielle de l'admin : https://docs.mattermost.com/
|
||||
* Dépôt de code officiel de l'app : https://github.com/mattermost/mattermost-server
|
||||
* Documentation YunoHost pour cette app : https://yunohost.org/app_mattermost
|
||||
* Signaler un bug : https://github.com/YunoHost-Apps/mattermost_ynh/issues
|
||||
|
||||
## Informations pour les développeurs
|
||||
|
||||
|
@ -62,8 +55,8 @@ Merci de faire vos pull request sur la [branche testing](https://github.com/Yuno
|
|||
Pour essayer la branche testing, procédez comme suit.
|
||||
```
|
||||
sudo yunohost app install https://github.com/YunoHost-Apps/mattermost_ynh/tree/testing --debug
|
||||
or
|
||||
ou
|
||||
sudo yunohost app upgrade mattermost -u https://github.com/YunoHost-Apps/mattermost_ynh/tree/testing --debug
|
||||
```
|
||||
|
||||
**Plus d'infos sur le packaging d'applications:** https://yunohost.org/packaging_apps
|
||||
**Plus d'infos sur le packaging d'applications :** https://yunohost.org/packaging_apps
|
|
@ -97,7 +97,7 @@ module Yunohost
|
|||
|
||||
def update_with_version(version)
|
||||
readme = File.read(@path)
|
||||
readme.gsub!(/<span class="version">(.*)<\/span>/, "<span class=\"version\">#{version}</span>")
|
||||
readme.gsub!(/[0-9\.]+~ynh[0-9]+/, "#{version}~ynh1")
|
||||
File.write(@path, readme)
|
||||
end
|
||||
end
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
SOURCE_URL=https://github.com/SmartHoneybee/ubiquitous-memory/releases/download/v5.34.2/mattermost-v5.34.2-linux-arm.tar.gz
|
||||
SOURCE_SUM=98805b54f0f5403fbee943d2a338a781813392ac7789f3f14ed688833d5578a2000e1af20d245ef75e6beb5ae1f129eda9bd2484e63505653a80b8c97d3d3b0b
|
||||
SOURCE_URL=https://github.com/SmartHoneybee/ubiquitous-memory/releases/download/v5.35.3/mattermost-v5.35.3-linux-arm.tar.gz
|
||||
SOURCE_SUM=5b5f3280f23b263594e8bf7eba3b762a15de38f4e3edd81584b8099e6e027ea00ae1aee8f85570351518af30e4038ba784bbf84ea7943904e7095600c1cdb6d4
|
||||
SOURCE_SUM_PRG=sha512sum
|
||||
SOURCE_FORMAT=tar.gz
|
||||
SOURCE_IN_SUBDIR=true
|
||||
SOURCE_FILENAME=mattermost-v5.34.2-linux-arm.tar.gz
|
||||
SOURCE_FILENAME=mattermost-v5.35.3-linux-arm.tar.gz
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
SOURCE_URL=https://github.com/SmartHoneybee/ubiquitous-memory/releases/download/v5.34.2/mattermost-v5.34.2-linux-arm64.tar.gz
|
||||
SOURCE_SUM=345c1e3aecd75abdc1b734fc21802698b5ff2b00a9eded47b3ad985706a6352a924e2aa0e1e638119ade09bd4c1689ae18122aba496a45430734b5097c51adc9
|
||||
SOURCE_URL=https://github.com/SmartHoneybee/ubiquitous-memory/releases/download/v5.35.3/mattermost-v5.35.3-linux-arm64.tar.gz
|
||||
SOURCE_SUM=e8152b5a0ad0cd7ffc2a41de2e753c2361b3493fb0e77b29ad8ed5e685e457801013ecbee6a15d7bd03345ddced374b8a6f92f1dcc7578466df8ad8f61ff435a
|
||||
SOURCE_SUM_PRG=sha512sum
|
||||
SOURCE_FORMAT=tar.gz
|
||||
SOURCE_IN_SUBDIR=true
|
||||
SOURCE_FILENAME=mattermost-v5.34.2-linux-arm64.tar.gz
|
||||
SOURCE_FILENAME=mattermost-v5.35.3-linux-arm64.tar.gz
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
SOURCE_URL=https://releases.mattermost.com/5.34.2/mattermost-enterprise-5.34.2-linux-amd64.tar.gz
|
||||
SOURCE_SUM=15111484bd543cc895d91bc74fa500bb23e1bc614526c38acd2c2aaaf5435da5
|
||||
SOURCE_URL=https://releases.mattermost.com/5.35.3/mattermost-enterprise-5.35.3-linux-amd64.tar.gz
|
||||
SOURCE_SUM=f985c042866232e422522872951ffa9a593cbb4e8a7bce7d13c5ef4842d8dad5
|
||||
SOURCE_SUM_PRG=sha256sum
|
||||
SOURCE_FORMAT=tar.gz
|
||||
SOURCE_IN_SUBDIR=true
|
||||
SOURCE_FILENAME=mattermost-enterprise-5.34.2-linux-amd64.tar.gz
|
||||
SOURCE_FILENAME=mattermost-enterprise-5.35.3-linux-amd64.tar.gz
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
SOURCE_URL=https://releases.mattermost.com/5.34.2/mattermost-team-5.34.2-linux-amd64.tar.gz
|
||||
SOURCE_SUM=7346b4ac5132c69c677b4f738a18c6d0969ad4ae466f29d6f02b361878801ec6
|
||||
SOURCE_URL=https://releases.mattermost.com/5.35.3/mattermost-team-5.35.3-linux-amd64.tar.gz
|
||||
SOURCE_SUM=8b2abdd22ecaa2605fab07e31fd1e96be77d6566e322827411709c231ef82086
|
||||
SOURCE_SUM_PRG=sha256sum
|
||||
SOURCE_FORMAT=tar.gz
|
||||
SOURCE_IN_SUBDIR=true
|
||||
SOURCE_FILENAME=mattermost-team-5.34.2-linux-amd64.tar.gz
|
||||
SOURCE_FILENAME=mattermost-team-5.35.3-linux-amd64.tar.gz
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
"en": "Open source collaboration platform built for developers",
|
||||
"fr": "Plateforme de collaboration open source conçue pour les développeurs"
|
||||
},
|
||||
"version": "5.34.2~ynh1",
|
||||
"version": "5.35.3~ynh1",
|
||||
"url": "http://www.mattermost.org/",
|
||||
"upstream": {
|
||||
"license": "GPL-3.0-only",
|
||||
|
@ -26,10 +26,10 @@
|
|||
"mysql"
|
||||
],
|
||||
"requirements": {
|
||||
"yunohost": ">= 4.1.0"
|
||||
"yunohost": ">= 4.1.0"
|
||||
},
|
||||
"arguments": {
|
||||
"install" : [
|
||||
"install": [
|
||||
{
|
||||
"name": "domain",
|
||||
"type": "domain",
|
||||
|
@ -91,7 +91,10 @@
|
|||
"en": "Use Team Edition for the open source version (ARM, ARM64 and x86-64 support) or Enterprise Edition if you want to use a license (x86-64 support only)",
|
||||
"fr": "Utilisez Team Edition pour la version open source (prise en charge ARM, ARM64 et x86-64) ou Enterprise Edition si vous souhaitez utiliser une licence (prise en charge x86-64 uniquement)"
|
||||
},
|
||||
"choices": ["Enterprise", "Team"],
|
||||
"choices": [
|
||||
"Enterprise",
|
||||
"Team"
|
||||
],
|
||||
"default": "Team"
|
||||
},
|
||||
{
|
||||
|
@ -101,7 +104,14 @@
|
|||
"en": "Choose the language of the chat for the admin",
|
||||
"fr": "Choissisez la langue utilisée pour l'administrateur"
|
||||
},
|
||||
"choices": ["de", "en", "es", "fr", "it", "pt"],
|
||||
"choices": [
|
||||
"de",
|
||||
"en",
|
||||
"es",
|
||||
"fr",
|
||||
"it",
|
||||
"pt"
|
||||
],
|
||||
"default": "en"
|
||||
},
|
||||
{
|
||||
|
|
|
@ -40,6 +40,7 @@ version=$(ynh_app_setting_get --app=$app --key=version)
|
|||
#=================================================
|
||||
ynh_script_progression --message="Checking version..." --weight=1
|
||||
|
||||
previous_upstream_version="$(ynh_app_upstream_version --manifest="/etc/yunohost/apps/$YNH_APP_INSTANCE_NAME/manifest.json")"
|
||||
upgrade_type=$(ynh_check_app_version_changed)
|
||||
|
||||
#=================================================
|
||||
|
@ -193,6 +194,12 @@ yunohost service add $app --description="Collaboration platform built for develo
|
|||
#=================================================
|
||||
ynh_script_progression --message="Starting a systemd service..." --weight=2
|
||||
|
||||
# A lengthy database migration runs when upgrading from a version < 5.35.
|
||||
if dpkg --compare-versions "$previous_upstream_version" lt "5.35.0"
|
||||
then
|
||||
ynh_print_warn --message="A database migration will now run. This may take a while..."
|
||||
fi
|
||||
|
||||
# Start a systemd service
|
||||
ynh_systemd_action --service_name=$app --action=start --log_path=systemd --line_match="Started Mattermost"
|
||||
|
||||
|
|
Loading…
Reference in a new issue