aztfexport
Silent install package for aztfexport
0.19.0-1
- package: tis-azure-terrafy-export
- name: aztfexport
- version: 0.19.0-1
- maintainer: Amel FRADJ
- licence: Licence MPL-2.0
- target_os: windows
- architecture: x86
- signature_date:
- size: 14.38 Mo
- homepage : azure.github.io/aztfexport/
package : tis-azure-terrafy-export
version : 0.19.0-1
architecture : x86
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 : 7ae0547d-a43d-4619-a01b-88f8b28f99ac
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 : 2026-02-01T06:02:17.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 : ISGa0oDAVge1W+f7QmZ25FjoWcH9m9WMTA6HZs871/k+91BAu8Frmv7f3vOQqAeMqcDdbVrGNNkPTjjou6dOe7Ssbj2to5FVobms+SImJU1iW+B+uT0fIIaggKkPpyNy3qELnKZquDms/MN6nXSEGXhiQ4c34YFwN32NboP3CdroJ0HDwEpmurKs6OkbE0Ep/BPb7Hl+Hl5IqMBFv2vSI3mFrHIAEr6w19+flvAj0Dbw4CLbRRO1rX4jorSHuYA8wPkX1xQe4ZnmswvhPP5MhaWGs2FWPyWIKLhSkvYASKmsa9IpgNOuSQoMgRKBVqRnm1Nr8bExV7DTa/5jz0sHew==
# -*- 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
be8d59c9473523d7375cb53e8d85bb0f3706cc670a4a1866b0a6e6ccbcee9f3a : WAPT/control
bdaf539276b96f64d4b2fd82d9680197b24c7a0ecfeb268657b62dc6a12e48b2 : WAPT/icon.png
8bfa8ee10170dc62025f885a8fe9138330fbaf5313d44886d8e486b0a9d10f45 : aztfexport_v0.19.0_x86.msi
7bb906bc312df5793a1d3fbcaef65dee4938e29c775d2dca95b75e1ab4f513d5 : luti.json
c3446efd5c804570bd8a5cde91a0886e372e1dccefc053abef9a7c10197cb61d : setup.py
1b46adc5c14ab5b59a6d23a88c7640e0b4d522c95412ea9f61abcf0a22105dcb : update_package.py