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: darwin
  • impacted_process: gaphor
  • architecture: all
  • signature_date:
  • size: 44.88 Mo
  • installed_size: 140.29 Mo
  • homepage : https://www.upscayl.org/

package           : tis-gaphor
version           : 3.0.0-0
architecture      : all
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         : darwin
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      : 52abe45c-b3eb-41f3-93da-f02408b9d07c
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 11
max_os_version    : 
icon_sha256sum    : 70457c3f26ba92cd0ed39c771ec1564a5ab564c7daba070f5bc4bd9f859d2f91
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-01-31T14:00:15.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         : YHeh79ST73D9aEHedX/TUGJQh+imhnxiRTJPD49dN1MQ9c8riw3SPlnTFSdcwQghzZvkx5ODdyvS04zCfhJ8KcrXZMs0ZFC5nKWGYEKL/6aJA4F+5eF4Xgor4vCYovLrM+aSalGjYraSpqf8GI927np+2V7z/RnEAtZCG7Cqz7/acixe6EV4mh/cAP7DzPopvj/R2JNTuQl/DXBlIVYWmLzr38zPF2UUJEC4r9R7phv1o0+uarHS07hUPVdBktq4+POdyahcdXJ/0IMhFNCc8yub/DDPTD/lqLu1kn1pdOizQmLIn3otK6K7Yt3mA6h4erEMBYaOoXDzANep6q9NUw==

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


def install():
    install_dmg(glob.glob("Gaphor-*.dmg")[0])


def uninstall():
    remove_tree("/Applications/gaphor.app")

# -*- 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 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("*.dmg"):
        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()

6b5e4ca457f95fe8cc51e9d0800c284a44d3a6bf5a2a79587a502a227509b8e9 : Gaphor-3.0.0-arm.dmg
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
c7089d792287701dd3ffe82c82cf60a5453d97248fa31ca2fd98f70f1a459b32 : WAPT/control
70457c3f26ba92cd0ed39c771ec1564a5ab564c7daba070f5bc4bd9f859d2f91 : WAPT/icon.png
41a7d71d381771dc27fb00d534b967e9d2b56347cfbe1a86d7e525201aac55d5 : luti.json
30f4d78487694f33e75854bf58f4695e1750b8452376c13f31fdc7446d892108 : setup.py
dd987273c091473faa4505c3273f1c1ea0aa3f89c16f11db3980cde4fab40ce7 : update_package.py