vale
Silent install package for vale
3.14.0-1
System and network
System and network
Preprod packages are packages built on LUTI.
They remain in PREPROD usually for 5 days, after which a second VirusTotal scan is performed to verify that the status has not changed.
If the package passes this last check, it is promoted to PROD and published on the store.
- package: tis-vale-portable
- name: vale
- version: 3.14.0-1
- categories: System and network
- maintainer: WAPT Team,Tranquil IT,Amel FRADJ
- licence: opensource_free,wapt_public
- target_os: windows
- architecture: x64
- signature_date:
- size: 10.54 Mo
- homepage : https://github.com/errata-ai/vale
package : tis-vale-portable
version : 3.14.0-1
architecture : x64
section : base
priority : optional
name : vale
categories : System and network
maintainer : WAPT Team,Tranquil IT,Amel FRADJ
description : A markup-aware linter for prose built with speed and extensibility in mind
depends :
conflicts :
maturity : PREPROD
locale :
target_os : windows
min_wapt_version : 2.3
sources :
installed_size :
impacted_process :
description_fr : Un linter balisé pour la prose construit avec rapidité et extensibilité à l'esprit
description_pl : Znacznik linter dla prozy zbudowany z myślą o szybkości i rozszerzalności
description_de : Ein markup-fähiger Linter für Prosa, der auf Geschwindigkeit und Erweiterbarkeit ausgelegt ist
description_es : Un linter para prosa que tiene en cuenta las marcas y ha sido creado pensando en la velocidad y la extensibilidad
description_pt : Um linter com reconhecimento de marcação para prosa construído com velocidade e extensibilidade em mente
description_it : Un linter di markup per la prosa costruito con velocità ed estensibilità in mente
description_nl : Een markup-bewuste linter voor proza, gebouwd met snelheid en uitbreidbaarheid in het achterhoofd
description_ru : Линтер для прозы с поддержкой разметки, созданный с учетом скорости и расширяемости
audit_schedule :
editor :
keywords :
licence : opensource_free,wapt_public
homepage : https://github.com/errata-ai/vale
package_uuid : 6c2edd70-971e-4b7d-9559-5cd068aa4bfe
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version :
max_os_version :
icon_sha256sum : 0b0b57617589658034b6ad31c49d5a18e291abb48744f78e43058d2629d20e2f
signer : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date : 2026-03-13T01:02:00.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 : K4mCjQ2SAusmR1dxZlDkJSLTCNjbW08brJSrYHVc5unF+nX3mTjwl7yS/J3Rb9sAd5P8ZuUhtL6cdi6KDeBx2JVVzHwWDqwJ7Y7o+DPoGmiR7HNfxYEONdaCHHZVaom3+CvbIaX7RyQ2HV6cmQdjimK7Hg9+X2FPOzNKW97X2UuNuqfkY7KNnOJSSimK61sWxUb1egcohY7/8lr1xxuwOa1xKrEg9VjFsvO8IkHlP11Iee7Kdw6g8PHoGML4IEHAqj8eH2rJH2/oq04AENOME/IATl93q0lTkbv36IrTxVua/Vkcv9LgUUV1xvD1754Ellq7umZ2GjqncZh7976VHA==
# -*- coding: utf-8 -*-
from setuphelpers import *
"""
"""
app_name = "vale "
editor_dir = makepath(programfiles, "vale")
app_dir = makepath(editor_dir, "vale")
app_path = makepath(app_dir,"vale.exe")
audit_version = False
def get_installed_version(app_path):
return get_file_properties(app_path).get("FileVersion", "")
def install():
# Declaring local variables
zip_name = glob.glob(f"vale_*.zip")[0]
unzipped_dir = "vale"
# Installing software
killalltasks(ensure_list(control.impacted_process))
if isdir(app_dir) and force:
remove_tree(app_dir)
mkdirs(app_dir)
print("Extracting: %s to: %s" % (zip_name, unzipped_dir))
unzip(zip_name, unzipped_dir)
print('Copy vale to %s' % app_dir)
copytree2(unzipped_dir, app_dir, onreplace=default_overwrite)
add_to_system_path(app_dir)
def audit():
# Auditing software
audit_status = "OK"
installed_version = get_installed_version(app_path)
if Version(installed_version) < Version(control.get_software_version()) and audit_version:
print("%s is installed in version (%s) instead of (%s)" % (app_name, installed_version, control.get_software_version()))
audit_status = "WARNING"
elif isdir(app_dir) and not dir_is_empty(app_dir):
print("%s (%s) is installed" % (app_name, installed_version))
audit_status = "OK"
else:
print("%s is not installed" % app_name)
audit_status = "ERROR"
return audit_status
def uninstall():
# Uninstalling software
killalltasks(ensure_list(control.impacted_process))
if isdir(app_dir):
remove_tree(app_dir)
if dir_is_empty(editor_dir):
remove_tree(editor_dir)
# -*- 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 = "errata-ai/vale"
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('.zip') :
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('*.zip'):
if f != filename:
remove_file(f)
control.set_software_version(version)
control.save_control_to_wapt()
01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
d3c3147077a7863f53bbbc828feebbb5b663fb65f5c3b3be2ec9c55e129bcd27 : WAPT/control
0b0b57617589658034b6ad31c49d5a18e291abb48744f78e43058d2629d20e2f : WAPT/icon.png
008fc8661195610ee62bffe64853815c52fe5490706981be6011f1a19c34ef83 : luti.json
afd78daf15409b1e52931c42345ace193c66c814788aad2069b65529541e1ae8 : setup.py
3b1aee983979c3ed7bbb02717d354815cd75af06a65b328f1a24d2e495339599 : update_package.py
2b295bd4788ada4a82f4b9689d664efc2f2ca6569d168f0130c7a71e4da78ee7 : vale_3.14.0_Windows_64-bit.zip