tis-is-designer-portable
5.0.0-1
Un outil open-source complet pour décrire visuellement les applications de votre système d'information
274 téléchargements
Télécharger
Voir le résultat de la construction Voir l'analyse de VirusTotal

- package : tis-is-designer-portable
- name : is-designer
- version : 5.0.0-1
- categories :
- maintainer : Amel FRADJ
- editor :
- licence : Eclipse Public License - v 2.0
- locale :
- target_os : windows
- impacted_process :
- architecture : x64
- signature_date : 2024-11-24 17:02
- size : 632.41 Mo
- homepage : https://www.isdesigner.org/
- depends :
package : tis-is-designer-portable
version : 5.0.0-1
architecture : x64
section : base
priority : optional
name : is-designer
categories :
maintainer : Amel FRADJ
description : A complete open-source tool for visually describing the applications in your information system
depends : tis-adoptium-openjdk20-jre
conflicts :
maturity : PROD
locale :
target_os : windows
min_wapt_version :
sources : https://github.com/ObeoNetwork/InformationSystem
installed_size :
impacted_process :
description_fr : Un outil open-source complet pour décrire visuellement les applications de votre système d'information
description_pl : Kompletne narzędzie open-source do wizualnego opisywania aplikacji w systemie informatycznym
description_de : Ein umfassendes Open-Source-Tool zur visuellen Beschreibung der Anwendungen in Ihrem Informationssystem
description_es : Una completa herramienta de código abierto para describir visualmente las aplicaciones de su sistema de información
description_pt : Uma ferramenta completa de código aberto para descrever visualmente as aplicações do seu sistema de informação
description_it : Uno strumento open-source completo per descrivere visivamente le applicazioni del sistema informativo
description_nl : Een compleet open-source hulpmiddel voor het visueel beschrijven van de toepassingen in je informatiesysteem
description_ru : Полноценный инструмент с открытым исходным кодом для визуального описания приложений в вашей информационной системе
audit_schedule :
editor :
keywords :
licence : Eclipse Public License - v 2.0
homepage : https://www.isdesigner.org/
package_uuid : 441e94f9-15da-4cd7-a0eb-33ab7f970792
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version : 10.0
max_os_version :
icon_sha256sum : b7178dfcf5677397df26776488e5361170407f5509da488bf6ebbea698aa7c9e
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date : 2024-11-24T17:02:06.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 : k50wV+yRieTVxjpxH1/ZZFTp4gG349PcYo/TizwuYKn/9OpBQ7ee3nEqpbQyfVYF9/B+GNqfo38FyReiWQJRUX5F3BzvY68WFsxRq6JwGxnt45/75lPjJ3Hub3J6kL07342dFEqlLO8JhbckoMDHgAQjtp8mnc39ZOjCYqKiZYnGFuDI4oZj8EQfov0OU+kjykFIryJzWEFqkEKUfjFanyYSgBhRjzJvLkb8gjAKgFKxWy9GB3lf1a+kebf2n3+hsVWmSElOKfFwDjtoUEBlzgnPVKwqe2bAf0piFR/PI8IMUiQ79m5SXlubvY3JDRLpAvYQKPFfa8rTEOc7z3CPzg==
# -*- coding: utf-8 -*-
from setuphelpers import *
app_name = "ISDesigner"
app_dir = makepath(programfiles32, app_name)
app_path = makepath(app_dir,"ISDesigner" ,"is-designer.exe")
audit_version = False
def get_installed_version(app_path):
return get_file_properties(app_path).get("FileVersion", "")
def install():
# Declaring local variables
zip_name = glob.glob(f"{app_name}*.zip")[0]
unzip_dest = "."
unzip_dest = app_name
unzipped_dir = zip_name.rsplit(".", 1)[0]
unzipped_dir = app_name
# Installing software
killalltasks(ensure_list(control.impacted_process))
if isdir(app_dir) and force:
remove_tree(app_dir)
mkdirs(app_dir)
print("Extracting: %s to: %s" % (zip_name, app_dir))
unzip(zip_name, unzip_dest)
copytree2(unzipped_dir, app_dir, onreplace=default_overwrite)
# Creating custom shortcuts
create_desktop_shortcut(app_name, target=app_path)
create_programs_menu_shortcut(app_name, target=app_path)
def audit():
# Auditing software
audit_status = "OK"
installed_version = get_installed_version(app_path)
if Version(installed_version) < Version(control.get_software_version()) and audit_version:
print("%s is installed in version (%s) instead of (%s)" % (app_name, installed_version, control.get_software_version()))
audit_status = "WARNING"
elif isdir(app_dir) and not dir_is_empty(app_dir):
print("%s (%s) is installed" % (app_name, installed_version))
audit_status = "OK"
else:
print("%s is not installed" % app_name)
audit_status = "ERROR"
return audit_status
def uninstall():
# Uninstalling software
killalltasks(ensure_list(control.impacted_process))
if isdir(app_dir):
remove_tree(app_dir)
# Removing shortcuts
remove_desktop_shortcut(app_name)
remove_programs_menu_shortcut(app_name)
# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *
import json
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls
def update_package():
result = False
proxies = get_proxies()
if not proxies:
proxies = get_proxies_from_wapt_console()
dict_arch = {
"x64":"win32.win32.x86_64",}
git_repo = "ObeoNetwork/InformationSystem"
url_api = "https://api.github.com/repos/%s/releases/latest" % git_repo
# Getting latest version information from official sources
print("API used is: %s" % url_api)
json_load = json.loads(wgets(url_api, proxies=proxies))
for download in json_load["assets"]:
if download["browser_download_url"].endswith('.zip') and dict_arch[control.architecture] in download["browser_download_url"]:
url_dl = download["browser_download_url"]
version = json_load["name"][28:]
filename = download["name"]
break
if not isfile(filename):
package_updated = True
wget(url_dl,filename,proxies=proxies)
#nettoyer les fichiers temporaires
for f in glob.glob('*.exe'):
if f != filename:
remove_file(f)
control.set_software_version(version)
control.save_control_to_wapt()
58c5dc3d87e826819b6800a6ba0d2c98b4a0ddd7a44f6f5b3a901d7982c330f2 : ISDesigner-5.0.0-20241008-1344-win32.win32.x86_64.zip
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
988cdd87aac7d80aa47c94dbefceb60261bd86874b6900aaa1325fcc14a01f84 : WAPT/control
b7178dfcf5677397df26776488e5361170407f5509da488bf6ebbea698aa7c9e : WAPT/icon.png
4ba89660bd0cd30680ec86e823f073eee25ecb9590df2afdb720a38c4c8e4899 : luti.json
77a4f33f15acfb4a7a7ccc06636ee0826ab9be5e90b49b7017abdc317e965490 : setup.py
32d49d8617eb7a7b2a8a826ea26b7fa757458f485a1edec22f7cdac0a828a3c9 : update_package.py