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

package           : tis-gaphor
version           : 2.25.1-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      : 4646cf38-668d-4033-959c-62dcbeea12a3
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         : dHq2fYpQaFFVraqN8bLy8LBivL47x4D2wzJ6fiJVT9YdPOg5Z81DZBqOVvndLS7aymxg/8ZzPYHzTFr7/ISrJhUk4K4m+7sXp+j/fmuCMomn/5r+cd7OlRIKZ1qeTsI/JdSuLuQ0ynct7IoPtpkeAtkat63GSGEwqs1u6aDTc5en9ZvHlSUXUnofxA7RHY05UkpWCbSjCq0Ht9wpjyr48uwZXp8BwRhdBFeoRnGyovtT5EkAbEBQibFoSUQMYtDprBB+UpTLRisCtFltcnmUW1m2RifUCES3IUsyecBAjPe0vkaU7N9btYkM2qtvn6GMV4UEIHX+4so25HKhCzhNuA==
signature_date    : 2024-06-25T16:07:36.954034
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 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 *
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(".dmg") 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("*.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()

30f4d78487694f33e75854bf58f4695e1750b8452376c13f31fdc7446d892108 : setup.py
57e04d5aae8185d81e22f94210821e3fa2f16fa50103d9d04890cc5c04e28bd6 : Gaphor-2.25.1.dmg
6570526131e0a4222b102bda0c43336769aa306c96c9b95319fd6c0c2fb34a3e : update_package.py
70457c3f26ba92cd0ed39c771ec1564a5ab564c7daba070f5bc4bd9f859d2f91 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
172f08439cfde7ba466cbe051198d8174f3e4f28af7f07fa1dca50839e86c755 : luti.json
bc9abfa2657e7fc962ded85f6d56e4c8f6d0325ce5856c9d885fae4649412c60 : WAPT/control