
aztfexport
Paquet d’installation silencieuse pour aztfexport
0.16.0-1
- package: tis-azure-terrafy-export
- name: aztfexport
- version: 0.16.0-1
- maintainer: Amel FRADJ
- licence: Licence MPL-2.0
- target_os: windows
- architecture: x64
- signature_date:
- size: 13.56 Mo
- homepage : azure.github.io/aztfexport/
package : tis-azure-terrafy-export
version : 0.16.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 : 4124e1b7-fbc7-4d41-b539-73b3b0e407b7
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-02-02T05:00:12.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 : IewAbmDvnJdbK3OaY3P1vqNoIygy33jJf5XHudoL1Vj9slKR1AD7k5hvHDvFUU0J5Sr2TQdk0r42fs6L6oGboDsiBj39H5VHlJa2yUSGMhAdwvEEg4Gqg2dDZumS+5EwuDLL0JfOSXqrzmsLohz74An+LuJWXzxyDsWV5Dxq2oi0IGdrsVo96lsQJhGnpDqcu6bsFHvjgKQhHCfmVzCbayNMSGBk7qztgqxrYmoSRUB+HzYVMDVnlv9M9H7JRJEUN1MNbrhBBIKs453Tgcgqac3twT8dPtV93AnfrbmZd24+Q5v39I8VpizQ02gS+6+wbyUlLC3ZSLijOTloiYPi/Q==
# -*- 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
70ddafb026d1dc88f96442be77ebbaec5abd1aec5994f80878dd281e652b0f70 : WAPT/control
bdaf539276b96f64d4b2fd82d9680197b24c7a0ecfeb268657b62dc6a12e48b2 : WAPT/icon.png
d6cc1de27cd7cc8b193ed362c94c6941fa76de247a60204344d82dcc5cf57c96 : aztfexport_v0.16.0_x64.msi
69967c4b63d42f8d04ac051dc2586a6d6d63e50fd6cdf482e96f26f9020b5a5e : luti.json
c3446efd5c804570bd8a5cde91a0886e372e1dccefc053abef9a7c10197cb61d : setup.py
1b46adc5c14ab5b59a6d23a88c7640e0b4d522c95412ea9f61abcf0a22105dcb : update_package.py