tis-mattermost-desktop

5.4.0-1
Mattermost est un service de discussion instantanée open source en auto-hébergement. Il est conçu comme un chat interne pour les organisations et les entreprises, et il est présenté comme une alternative à Slack.
23353 téléchargements
Télécharger
Voir le résultat de la construction Voir l'analyse de VirusTotal
tis-mattermost-desktop icon
  • package : tis-mattermost-desktop
  • name : Mattermost
  • version : 5.4.0-1
  • categories : Messaging
  • maintainer : WAPT Team,Tranquil IT,Kevin Guerineau, Simon Fonteneau,Gaëtan SEGAT
  • editor : Mattermost
  • licence : Apache 2.0
  • locale : all
  • target_os : debian_based
  • impacted_process : Mattermost
  • architecture : x64
  • signature_date : 2023-06-24 21:08
  • size : 71.26 Mo
  • homepage : https://mattermost.com
package           : tis-mattermost-desktop
version           : 5.4.0-1
architecture      : x64
section           : base
priority          : optional
name              : Mattermost
categories        : Messaging
maintainer        : WAPT Team,Tranquil IT,Kevin Guerineau, Simon Fonteneau,Gaëtan SEGAT
description       : The most important is an open source instant chat service in self-hosting. It is designed as an internal chat for organizations and businesses, and is presented as an alternative to Slack.
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : debian_based
min_wapt_version  : 2.0
sources           : https://github.com/mattermost/desktop/releases
installed_size    : 
impacted_process  : Mattermost
description_fr    : Mattermost est un service de discussion instantanée open source en auto-hébergement. Il est conçu comme un chat interne pour les organisations et les entreprises, et il est présenté comme une alternative à Slack.
description_pl    : Najważniejszym z nich jest usługa open source instant chat w self-hostingu. Został zaprojektowany jako wewnętrzny czat dla organizacji i firm, i jest przedstawiany jako alternatywa dla Slacka
description_de    : Der wichtigste ist ein Open-Source-Sofort-Chat-Dienst, der selbst gehostet wird. Er ist als interner Chat für Organisationen und Unternehmen konzipiert und wird als Alternative zu Slack vorgestellt
description_es    : El más importante es un servicio de chat instantáneo de código abierto en autoalojamiento. Está diseñado como un chat interno para organizaciones y empresas, y se presenta como una alternativa a Slack
description_pt    : O mais importante é um serviço de chat instantâneo de código aberto em auto-hospedagem. É concebido como um chat interno para organizações e empresas, e é apresentado como uma alternativa ao Slack
description_it    : Il più importante è un servizio di chat istantanea open source in self-hosting. È stato progettato come chat interna per organizzazioni e aziende e si presenta come un’alternativa a Slack
description_nl    : De belangrijkste is een open source instant chat dienst in zelf-hosting. Het is ontworpen als een interne chat voor organisaties en bedrijven, en wordt gepresenteerd als een alternatief voor Slack
description_ru    : Наиболее важной является служба мгновенного чата с открытым исходным кодом на хостинге. Он разработан как внутренний чат для организаций и предприятий и представлен как альтернатива Slack
audit_schedule    : 
editor            : Mattermost
keywords          : 
licence           : Apache 2.0
homepage          : https://mattermost.com
package_uuid      : de51d41e-a996-41d6-b963-7105f36f3e96
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : e69362ea25ae96a76b2c09199379b2a6492307daaa5b511fa7df1bd5bcba3a6a
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature         : GyxmMon+ECMFV540BDR5U9KsqmgWGLsaygNWwYwCIOHpb3CvRtgBYXSVq1Gz/RyG03lE+IK3eodKOB3vcM3Rw+POFi1/NRrcwCFG+qtQJB6/EyISWNu1ZSDwNRnnG1cZO+Bu0Mo0UxNYrtRNXNLdKwCJU0oMobU9wfhrcdP5Mf1nyC/CkfHtdCcXWoxjbMFjAUlfoLsKv1xpzB+ks+/yMfhCgHnCoYb1293fv6Ip5k9KVCTfM8ZzuWsE9wkUqkLUGbYkgWYEKCPvBH9AkLIStag/Ki7ILepMNzN3JduHlyY8jZX5J5wW8QtjSWI71Eqls8b3yfClss93nNPOOVmCoA==
signature_date    : 2023-06-24T21:08:55.061438
signed_attributes : package,version,architecture,section,priority,name,categories,maintainer,description,depends,conflicts,maturity,locale,target_os,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,description_pt,description_it,description_nl,description_ru,audit_schedule,editor,keywords,licence,homepage,package_uuid,valid_from,valid_until,forced_install_on,changelog,min_os_version,max_os_version,icon_sha256sum,signer,signer_fingerprint,signature_date,signed_attributes
# -*- coding: utf-8 -*-
from setuphelpers import *

def install():
    install_deb(glob.glob("*.deb")[0])


def uninstall():
    uninstall_apt("mattermost-desktop")
# -*- coding: utf-8 -*-
from setuphelpers import *
import json


def update_package():
    # Declaring local variables
    result = False
    proxies = get_proxies()
    bin_end = "amd64.deb"
    bin_contains = "mattermost-desktop"

    if not proxies:
        proxies = get_proxies_from_wapt_console()
    app_name = control.name
    api_url = "https://api.github.com/repos/mattermost/desktop/releases/latest"

    # Getting latest version information from official sources
    print("API used is: %s" % api_url)
    json_load = json.loads(wgets(api_url, proxies=proxies))
    for download in json_load["assets"]:
        if bin_contains in download["name"] and bin_end in download["name"]:
            download_url = download["browser_download_url"]
            version = json_load["tag_name"].replace("v", "")
            latest_bin = download["name"]
            break

    print("Latest %s version is: %s" % (app_name, version))
    print("Download URL is: %s" % download_url)

    # Downloading latest binaries
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(download_url, latest_bin, proxies=proxies)
    else:
        print("Binary is present: %s" % latest_bin)

    # Changing version of the package
    if Version(version) > Version(control.get_software_version()):
        print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))
        result = True
    else:
        print("Software version up-to-date (%s)" % Version(version))
    control.version = "%s-%s" % (Version(version), control.version.split("-", 1)[-1])
    # control.set_software_version(version)
    control.save_control_to_wapt()

    # Deleting outdated binaries
    remove_outdated_binaries(version)

    # Validating update-package-sources
    return result
532e12ac0c95a666310b9b751c3c72da9bfbe36f646836ad919918ce0a75e6e5 : setup.py
 : __pycache__
d6da812f9424f725f101c03c2d9a9e11122aa9e44147adcd7eee9e93fffebfb2 : update_package.py
e69362ea25ae96a76b2c09199379b2a6492307daaa5b511fa7df1bd5bcba3a6a : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
3343fb6620c9d6293d4e2492b58af916d7d3b83f03e18ec6c028e6f9d5d8f233 : WAPT/changelog.txt
a4f58055bff7418f69454a786246c569e6d7ea05155d0b2f1ee156ed2eaa676f : luti.json
078fcc2366038c74e7906cf7087a83256d018628f75e3e6c41be796b2fd06949 : mattermost-desktop_5.4.0-1_amd64.deb
e18b244bfff4ca5ad01f2dc9c30de9d132034bf0ff6810004226dabdf9a8c237 : WAPT/control
5.1.1-1
===
improve conce
slipt update package