
aztfexport
Silent install package for aztfexport
0.18.0-1
- package: tis-azure-terrafy-export
- name: aztfexport
- version: 0.18.0-1
- maintainer: Amel FRADJ
- licence: Licence MPL-2.0
- target_os: windows
- architecture: x86
- signature_date:
- size: 14.21 Mo
- homepage : azure.github.io/aztfexport/
package : tis-azure-terrafy-export
version : 0.18.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 : 0a62166b-fe24-47dc-abdc-42f6dc14134e
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-06-21T10:01:07.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 : ncyExrbv9Ru20Tuzaa2PnhpBqRA8/vtJYbSMULzoQbF4RlMilXQG18Fzm7FzG2pJsJbQwD9H3j5087PBCdFucFjKm88ym8Pt53d+m4GXyMWK/i7UqChuhVJS7GJrCtT+OHYFxNvmL+6QQYkUuC5nTtvdroE7CXZY0ZSj5rLapWyEReM3xQtS7Krfpuib7douTye0oQigPc2TL7s+f2RSzRRO6smMaykOuE0TYe6sTCxbPpvQGnRzY2ajzzdmMlCOktX7BodKM+/x03FIJV62C3fv+ZAsGv7++dOwuOqqtXicnDP9KlFyisDlZLJD5cT6/o1FZvfnYwcG7eV+iwIAfg==
# -*- 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
a46fedea706b253d8f1a8a37a45d64042cb7406fd7e43081ed071226668c2a0f : WAPT/control
bdaf539276b96f64d4b2fd82d9680197b24c7a0ecfeb268657b62dc6a12e48b2 : WAPT/icon.png
4f4ddab7a0d8ba5a01acef3605a1cd0fab0ddfc7db4359b60fb1ac1157d2b555 : aztfexport_v0.18.0_x86.msi
8898470d01f302edb81bf0c43d913c96e18efb166baeaa6bfaf2264136e64a95 : luti.json
c3446efd5c804570bd8a5cde91a0886e372e1dccefc053abef9a7c10197cb61d : setup.py
1b46adc5c14ab5b59a6d23a88c7640e0b4d522c95412ea9f61abcf0a22105dcb : update_package.py