- package: tis-hurl
- name: Hurl
- version: 6.1.1-1
- categories: Development
- maintainer: WAPT Team,Tranquil IT,Amel FRADJ,
- licence: opensource_free, Apache-2.0 license,wapt_private
- target_os: windows
- architecture: x64
- signature_date:
- size: 4.93 Mo
- homepage : https://hurl.dev/
package : tis-hurl
version : 6.1.1-1
architecture : x64
section : base
priority : optional
name : Hurl
categories : Development
maintainer : WAPT Team,Tranquil IT,Amel FRADJ,
description : Hurl is a command-line tool that executes HTTP requests defined in simple text format
depends :
conflicts :
maturity : PROD
locale :
target_os : windows
min_wapt_version : 2.3
sources :
installed_size :
impacted_process :
description_fr : Hurl est un outil en ligne de commande qui exécute des requêtes HTTP définies dans un format texte simple
description_pl : Hurl to narzędzie wiersza poleceń, które wykonuje żądania HTTP zdefiniowane w prostym formacie tekstowym
description_de : Hurl ist ein Kommandozeilenwerkzeug, das HTTP-Anfragen ausführt, die in einem einfachen Textformat definiert sind
description_es : Hurl es una herramienta de línea de comandos que ejecuta peticiones HTTP definidas en un sencillo formato de texto
description_pt : Hurl é uma ferramenta de linha de comando que executa pedidos HTTP definidos num formato de texto simples
description_it : Hurl è uno strumento a riga di comando che esegue richieste HTTP definite in un semplice formato di testo
description_nl : Hurl is een opdrachtregelprogramma dat HTTP-verzoeken uitvoert die zijn gedefinieerd in een eenvoudig tekstformaat
description_ru : Hurl - это инструмент командной строки, который выполняет HTTP-запросы, заданные в простом текстовом формате
audit_schedule :
editor :
keywords :
licence : opensource_free, Apache-2.0 license,wapt_private
homepage : https://hurl.dev/
package_uuid : 5b3d8210-5e0e-4710-a632-8b1b818166e7
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version :
max_os_version :
icon_sha256sum : f526bb755acc783c0d2779006ce8f0a6e6e05c1388626e0e70dc2d99dc1141f1
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date : 2025-03-29T15:02:48.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 : Nkb0XpiQn9UfkkDaDWh0FHZpjM3C6mQbADXxH7IEKmxybLJUWPjHyYjluaW6NqMF9oVejf0Z/GZS5hfX2kwQB7/WhTgSGeBhVMT+4GPh1kSq7OlhZw0lVaJCtCO5lN5YhDB7RZT4LomROj+sf/fbvLUxDhDGIprMCGqjsA1iAGsSWgAPuiQZg0hXpnhetL19bs2o2Hr5IiWnuwUwyKMZQk0j9RD8RmrWoP0KZ70mt/cuZA4O3fK/VVIalk0v/aJakYgWNavX1ZHT5MMiZsLFUhWwMgAyDJYMTwN6rY9RkMvRX1wleEUzfHMwGMrgRV6IblIPnaDwMODYrae074axQw==
# -*- coding: utf-8 -*-
from setuphelpers import *
r"""
Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()
{
"key":"Hurl",
"name":"Hurl",
"version":"5.0.0",
"install_date":"",
"install_location":"C:\\Program Files\\hurl",
"uninstall_string":"\"C:\\Program Files\\hurl\\uninstall.exe\"",
"publisher":"Orange-OpenSource",
"system_component":0,
"win64":false
}
"""
# 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("hurl-*-x86_64-pc-windows-msvc-installer.exe")[0]
# Installing the software
install_exe_if_needed(bin_name, silentflags="/S", key="Hurl", min_version=control.get_software_version())
# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *
import json
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls
def update_package():
result = False
proxies = get_proxies()
if not proxies:
proxies = get_proxies_from_wapt_console()
git_repo = "Orange-OpenSource/hurl"
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('.exe') :
url_dl = download["browser_download_url"]
version = json_load["tag_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('*.exe'):
if f != filename:
remove_file(f)
control.set_software_version(version)
control.save_control_to_wapt()
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
26f3147272f7533d08b919c8dba346aa0d2be2d54b19504c905e64ad0a28b79a : WAPT/control
f526bb755acc783c0d2779006ce8f0a6e6e05c1388626e0e70dc2d99dc1141f1 : WAPT/icon.png
7b0e24aad26f5bb9411c57cdf1a531b0f8ff402cbd0bd6c61a9913ccb33d684f : hurl-6.1.1-x86_64-pc-windows-msvc-installer.exe
fc20b682825d0e77646848dc20b2c44660df6472fab669de15bcd73b62aec9ef : luti.json
182e5e2d5710feb7babe070b496578ea54609434696c83af4f7b9256b663fdc0 : setup.py
3b0ae22fccab2cd59f1063fb932acc8bf8ef9734ed876b66b37717a4bbf77792 : update_package.py