
aztfexport
Silent install package for aztfexport
0.17.1-1
- package: tis-azure-terrafy-export
- name: aztfexport
- version: 0.17.1-1
- maintainer: Amel FRADJ
- licence: Licence MPL-2.0
- target_os: windows
- architecture: x64
- signature_date:
- size: 13.79 Mo
- homepage : azure.github.io/aztfexport/
package : tis-azure-terrafy-export
version : 0.17.1-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 : d374bd88-28a5-4d86-b83b-316bc8a3a12f
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version :
max_os_version :
icon_sha256sum : bdaf539276b96f64d4b2fd82d9680197b24c7a0ecfeb268657b62dc6a12e48b2
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date : 2025-04-01T21:28:02.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 : nSPKeqMVnaUEoMs0cKlS2UukOcH8XMCW14woekk+jeujqX/rz2cPTcvfeoxFUOnytS6TpDwLBOlbH9psuhNMyOfSYAteO//I0OlECzyWZIwUymnbixdk12xVh3jkevX8MVurAnKDw/7wDaXO8w4HDSeBXMf0/D4TZif1yHAXhacUtQtU5xfRPkoAcFv393BIhBOhsBPcu3czG1R32IODbvEgb8py0CCCHIjuYgB+IJU7Gr+HYm+cK/rf0QHqFHB0/RDslwDVa+bT1YkAmw8XyYDzH56r/u1GB74OHNSkwJDIBWle28wwuOybCUs7Tqm5dvogG9l9Q66u7r7n083NWw==
# -*- 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()
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
84a0b9a3965e867e3dc2a79c5ada1f9af12488405eb9a73097d474c0f7f0bea5 : WAPT/control
bdaf539276b96f64d4b2fd82d9680197b24c7a0ecfeb268657b62dc6a12e48b2 : WAPT/icon.png
9c7a7d2c1710eae886eab1758d10daadae77efdef69a965b2e79e59f2213b129 : aztfexport_v0.17.1_x64.msi
c04466f337aa957cc43094a6d8f14575cca9943201d775b201b15c2d73d9fac3 : luti.json
c3446efd5c804570bd8a5cde91a0886e372e1dccefc053abef9a7c10197cb61d : setup.py
1b46adc5c14ab5b59a6d23a88c7640e0b4d522c95412ea9f61abcf0a22105dcb : update_package.py