tis-gaphor icon

Gaphor

Paquet d’installation silencieuse pour Gaphor

3.0.0-0

  • package: tis-gaphor
  • name: Gaphor
  • version: 3.0.0-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: 38.42 Mo
  • installed_size: 140.29 Mo
  • homepage : https://www.upscayl.org/

package           : tis-gaphor
version           : 3.0.0-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      : b2a57e66-6d86-4bba-96da-a07aa7c3dc5d
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_date    : 2025-01-31T14:04:07.000000
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
signature         : CtXIymxg/y7W3uS27piBSzRMVBArArjdTsEjp5e4WYquPn+WbzjkDxVei1MF35borsZhgXJvS1IT51lRY4PQXfjwkfhcyR/4QLQLnRpwx1g3gMQA3D3obUo5ZUZjTAFRFDuoQtfxHWtGvJSV6odWvUFr41DWzmlQ5FBDFgNMvtzylYeZuUtRfK97HSoJK/UzqUggAWZaXoAOC72E7Zz/7mNC4LMIskdkY/2xEoxshGUYh07Yvg9J6GKKgAwf0xtujtntJ2kYfPJ4njFGiWpaZEvTTGkNVfDNrMBMHT5Lon7QE/ojMAwInlJIGoWN9xLcgvAfMdfMmNE3Rp7U/zv2wA==

# -*- 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 *


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))

    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"]
            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()

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
c37bae0e35828d4368758bb148b3ccbadc2c77137921e16cb9a3ca720517ff80 : WAPT/control
70457c3f26ba92cd0ed39c771ec1564a5ab564c7daba070f5bc4bd9f859d2f91 : WAPT/icon.png
d3a98fb63685ca8245cf27b852110404b3d1c629feea334e873c412dc46e8fd6 : gaphor-3.0.0-installer.exe
28430548e60112f69ef71d7f5ada8b6ba104bb615401b621b97c47c6254d3289 : luti.json
06fbc969daf0d00fd8ef59c5d472198bec13299e358ed053b67212113d830be6 : setup.py
e7943c65262e44adf88a5e38b8be9b9565f19a45837c174b4fd15915f4915bca : update_package.py