tis-gaphor icon

Gaphor

Paquet d’installation silencieuse pour Gaphor

2.25.1-0

  • package: tis-gaphor
  • name: Gaphor
  • version: 2.25.1-0
  • categories: Office
  • maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ,Jordan ARNAUD
  • editor: Gaphor Community
  • licence: opensource_free,cpe:/a:gnu:lgpl_v2.1,wapt_private
  • locale: all
  • target_os: windows
  • impacted_process: gaphor
  • architecture: x64
  • signature_date:
  • size: 35.53 Mo
  • installed_size: 140.29 Mo
  • homepage : https://www.upscayl.org/

package           : tis-gaphor
version           : 2.25.1-0
architecture      : x64
section           : base
priority          : optional
name              : Gaphor
categories        : Office
maintainer        : WAPT Team,Tranquil IT,Jimmy PELÉ,Jordan ARNAUD
description       : Describe and document your applications and systems with Gaphor to enhance knowledge sharing
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.3
sources           : 
installed_size    : 140285882
impacted_process  : gaphor
description_fr    : Décrivez et documentez vos applications et systèmes avec Gaphor pour améliorer le partage des connaissances
description_pl    : Opisuj i dokumentuj swoje aplikacje i systemy za pomocą Gaphor, aby usprawnić dzielenie się wiedzą
description_de    : Beschreiben und dokumentieren Sie Ihre Anwendungen und Systeme mit Gaphor, um den Wissensaustausch zu verbessern
description_es    : Describa y documente sus aplicaciones y sistemas con Gaphor para mejorar el intercambio de conocimientos
description_pt    : Descreva e documente as suas aplicações e sistemas com Gaphor para melhorar a partilha de conhecimentos
description_it    : Descrivere e documentare le applicazioni e i sistemi con Gaphor per migliorare la condivisione delle conoscenze
description_nl    : Beschrijf en documenteer je applicaties en systemen met Gaphor om het delen van kennis te verbeteren
description_ru    : Описывайте и документируйте свои приложения и системы с помощью Gaphor для расширения обмена знаниями
audit_schedule    : 
editor            : Gaphor Community
keywords          : 
licence           : opensource_free,cpe:/a:gnu:lgpl_v2.1,wapt_private
homepage          : https://www.upscayl.org/
package_uuid      : 009314f9-f510-4b84-8c85-ac62894c0bdb
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 10.0
max_os_version    : 
icon_sha256sum    : 70457c3f26ba92cd0ed39c771ec1564a5ab564c7daba070f5bc4bd9f859d2f91
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature         : Vo4TjM7JcFAugteFlPM1aw71TqNwq1iUoJUYKgBFQRW1c0A9TYa/o6g4adT/3ob8sP0wajbspSwCgUX+/52mslISOn73H+TJXFgzXGivaV+P1bn+/hREP9I+On/BvEcNrqKhGZLcdnhgW1OFdXiC73B3ZHfTMM6qIPvct3+M1LnVCgiNHZXZmQnr5gChbfdba2sWtpdudxL2EBmzSVkQcJqjkYGLPsEwCRE9+vZ8Ce6uWg8e5xPzUfQUItnps6aexu9N9GzVRsaQxPhXmvqIOZ6uhnejUWWg/4FD90MkI7r0n8Mp6VZ8Al5diWk7YE+Chnkl8bxI8HPHdXVguUNW7Q==
signature_date    : 2024-06-25T17:00:12.328209
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 -*-
##################################################
# This file is part of WAPT Enterprise
# All right reserved, (c) Tranquil IT Systems 2024
# For more information please refer to
# https://wapt.tranquil.it/store/licences.html
##################################################
from setuphelpers import *


def install():
    bin_name = glob.glob("gaphor-*-installer.exe")[0]
    install_exe_if_needed(
        bin_name,
        silentflags="/S",
        key="Gaphor",
        min_version=control.get_software_version(),
        timeout=600,
    )

# -*- coding: utf-8 -*-
##################################################
# This file is part of WAPT Enterprise
# All right reserved, (c) Tranquil IT Systems 2024
# For more information please refer to
# https://wapt.tranquil.it/store/licences.html
##################################################
from setuphelpers import *
import re


def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    os_dict = {"windows": ".exe", "debian_based": ".deb", "redhat_based": ".rpm", "darwin": ".dmg"}
    api_url = "https://api.github.com/repos/gaphor/gaphor/releases/latest"

    # Get data from API
    releases_dict = json.loads(wgets(api_url, proxies=proxies))
    exe_found = False  # Flag pour indiquer la découverte d'un fichier .exe
    # version = json_loads["tag_name"].replace("v", "").replace(".windows", "")
    for release in releases_dict:
        if exe_found:
            break
        for asset in releases_dict["assets"]:
            if asset["browser_download_url"].endswith(".exe") and os_dict[control.target_os] in asset["browser_download_url"]:
                url_download = asset["browser_download_url"]
                latest_bin = url_download.split("/")[-1]
                version = releases_dict["tag_name"]
                exe_found = True  # Mettre à jour le flag pour indiquer qu'un exe a été trouvé
                break

    # Deleting binaries
    for f in glob.glob("*.exe"):
        if f != latest_bin:
            remove_file(f)

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

        # version = get_version_from_binary(latest_bin)

        control.set_software_version(version)
        control.save_control_to_wapt()

06fbc969daf0d00fd8ef59c5d472198bec13299e358ed053b67212113d830be6 : setup.py
ac3f7e56e84e1e19a1d65b49bb8980d92b39e5ef9b951455e402438341e4a696 : update_package.py
b8e5dd08f6887686c905618eac30c3b3d6772bf88ac3cb3474e626dbdac00554 : gaphor-2.25.1-installer.exe
70457c3f26ba92cd0ed39c771ec1564a5ab564c7daba070f5bc4bd9f859d2f91 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
b9ad2adc44c62247b2f12a30f1f7da44631d8851ee82001792b1d9569429f367 : luti.json
2ae72287a2d6f0f09b01dad68464d9dd3830aafc98f28d0c1ad4d0c0b042e866 : WAPT/control