
aztfexport
Paquet d’installation silencieuse pour aztfexport
0.15.0-1
- package: tis-azure-terrafy-export
- name: aztfexport
- version: 0.15.0-1
- maintainer: Amel FRADJ
- licence: Licence MPL-2.0
- target_os: windows
- architecture: x64
- signature_date:
- size: 13.00 Mo
- homepage : azure.github.io/aztfexport/
package : tis-azure-terrafy-export
version : 0.15.0-1
architecture : x64
section : base
priority : optional
name : aztfexport
categories :
maintainer : Amel FRADJ
description : A tool for placing existing Azure resources under Terraform management
depends :
conflicts :
maturity : PROD
locale :
target_os : windows
min_wapt_version :
sources :
installed_size :
impacted_process :
description_fr : Un outil permettant de placer les ressources Azure existantes sous la gestion de Terraform
description_pl : Narzędzie do umieszczania istniejących zasobów Azure pod zarządzaniem Terraform
description_de : Ein Werkzeug, um bestehende Azure-Ressourcen unter die Verwaltung von Terraform zu stellen
description_es : Una herramienta para colocar los recursos Azure existentes bajo la gestión de Terraform
description_pt : Uma ferramenta para colocar os recursos existentes do Azure sob a gestão do Terraform
description_it : Uno strumento per porre le risorse Azure esistenti sotto la gestione di Terraform
description_nl : Een hulpmiddel om bestaande Azure resources onder Terraform-beheer te plaatsen
description_ru : Инструмент для передачи существующих ресурсов Azure под управление Terraform
audit_schedule :
editor :
keywords :
licence : Licence MPL-2.0
homepage : azure.github.io/aztfexport/
package_uuid : 6fc6f315-1e78-4a52-a1b3-df2f7e8c5685
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version :
max_os_version :
icon_sha256sum : bdaf539276b96f64d4b2fd82d9680197b24c7a0ecfeb268657b62dc6a12e48b2
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature : P5BiWB6pGF61jDMiE021zxlKLNpqnhG1Qg6r8SoG9i1ATU0Qdx507D9JVrkdbOVUA9mB9BJLqEdfYnkrDRcL8/RqtZPDD/dSi9PtcKaxfPgf4m155V5QwaU1/jytj3apAQTYL7kNx0B+Mh1BGhjBSm4GiWsB0nCpnjcJIryUA8tCie+wHVCSJdWcVHGpHE06qd+GbmGne2LCm4yFL/EkcFj1NsB4uyft9dZ8Q/bfXN2PuQkpnS7vveKKgOpOhjC42fuJv4gDtkPuGaOZYe1GodHrWdkRc7hAC8JT+s9AujWhZtx0x1sonOKmU7v9qWL35TlOnLo/VLkOpM4Tnfrqbw==
signature_date : 2024-08-24T12:00:58.390617
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 -*-
from setuphelpers import *
r"""
Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()
"""
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls
def install():
# Declaring local variables
bin_name = glob.glob('aztfexport_*.msi')[0]
# Installing the software
install_msi_if_needed(bin_name)
# -*- coding: utf-8 -*-
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()
dict_arch = {
"x64" : "_x64.msi",
"x86" : "_x86.msi"
}
git_repo = "Azure/aztfexport"
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(".msi") and dict_arch[control.architecture] in download["browser_download_url"] :
url_dl = download["browser_download_url"]
version = json_load["name"].replace("v","")
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("*.msi"):
if f != filename:
remove_file(f)
version =get_version_from_binary(filename)
control.set_software_version(version)
control.save_control_to_wapt()
c3446efd5c804570bd8a5cde91a0886e372e1dccefc053abef9a7c10197cb61d : setup.py
d7c6ef3046ec6572ecee76fed736b489cfe29f04a90a47cbd9963c0e71566400 : aztfexport_v0.15.0_x64.msi
1b46adc5c14ab5b59a6d23a88c7640e0b4d522c95412ea9f61abcf0a22105dcb : update_package.py
bdaf539276b96f64d4b2fd82d9680197b24c7a0ecfeb268657b62dc6a12e48b2 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
bd764eeea8dae110bcebcffdbdf95b34fffecf1d15561cb8b8ed986a3b4b12b9 : luti.json
c218010e74d3f0bfbdc7762991ece78e022d6e5bbc91433a1285e8a7c9d44494 : WAPT/control