
RipGre
Paquet d’installation silencieuse pour RipGre
15.0.0-1
Les paquets PREPROD sont des paquets construits via LUTI.
Ils restent généralement 5 jours en PREPROD, après quoi un scan VirusTotal est effectué.
Si le paquet réussit ce dernier contrôle, il est promu en PROD et publié sur le store.
- package: tis-ripgrep-portable
- name: RipGre
- version: 15.0.0-1
- maintainer: Jordan ARNAUD
- target_os: darwin
- architecture: x64
- signature_date:
- size: 1.90 Mo
package : tis-ripgrep-portable
version : 15.0.0-1
architecture : x64
section : base
priority : optional
name : RipGre
categories :
maintainer : Jordan ARNAUD
description : rga is an online search tool that allows you to search for a regular expression in a multitude of file types
depends :
conflicts :
maturity : PREPROD
locale :
target_os : darwin
min_wapt_version :
sources :
installed_size :
impacted_process :
description_fr : rga est un outil de recherche orienté ligne qui vous permet de rechercher une expression régulière dans une multitude de types de fichiers
description_pl : rga to narzędzie do wyszukiwania online, które umożliwia wyszukiwanie wyrażeń regularnych w szerokiej gamie typów plików
description_de : rga ist ein online-orientiertes Suchwerkzeug, mit dem Sie in einer Vielzahl von Dateitypen nach einem regulären Ausdruck suchen können
description_es : rga es una herramienta de búsqueda en línea que le permite buscar una expresión regular en una amplia gama de tipos de archivo
description_pt : O rga é uma ferramenta de pesquisa online que lhe permite procurar uma expressão regular numa vasta gama de tipos de ficheiros
description_it : rga è uno strumento di ricerca online che consente di cercare un'espressione regolare in un'ampia gamma di tipi di file
description_nl : rga is een online zoekprogramma waarmee je kunt zoeken naar een reguliere uitdrukking in een groot aantal bestandstypen
description_ru : rga - это инструмент онлайн-поиска, позволяющий искать регулярные выражения в файлах самых разных типов
audit_schedule :
editor :
keywords :
licence :
homepage :
package_uuid : 8e6ba2b4-929d-4d81-af5d-584e0ed52bd6
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version :
max_os_version :
icon_sha256sum : 5005ab036c49d4d00c52cfdb72c778f1f1324c3f767f98f94ed5eda9afd5a159
signer : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date : 2025-10-16T03:59:50.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 : Yvr0dUl+wx3cd5qu3cgV5kuag9RQZ2pf0AEIruzi4KlHeXs4R2tC3ZZ/c37NW8moqlTBUZCwn5OuZ+NkC11wjeOUbAnOdc1nP9WvhO9rV/t0udgdY/Bn//TBagBCpK3c4BbdCtwul/kUUshhV9KXpiykBKkNsFO/kril08UatC5O6xzGH0GM5VNi4ZjhYSTXl2x4wQQlTGSWn/+z/U5khKgO6xJm13NdzuC7XZrFR01/TTjZZVqj9A/oKSthkudMO9TL6D2bV5JUwNhfNj+q5zhOOQjBSpRyxSr5CyZ2jiFCL+8u7NvN6ZuDxZN+0hYG29g1ICOndfqmU2IBLTbQqA==
# -*- coding: utf-8 -*-
##################################################
# This file is part of WAPT Enterprise
# All right reserved, (c) Tranquil IT Systems 2023
# For more information please refer to
# https://wapt.tranquil.it/store/licences.html
##################################################
from setuphelpers import *
from setuphelpers import *
bin_path = makepath("/", "usr", "local", "bin")
app_path = "/opt/rg"
def install():
# Extraction and copying to /opt/typst
extract_path = glob.glob("*.tar.gz")[0]
run(f"tar -xzvf {extract_path}")
char_len = len(extract_path) - len('.tar.gz')
extract_path = extract_path[:char_len]
bin_name = os.path.join(extract_path, "rg")
print(f"copying ripgrep to {app_path}")
if not isdir(app_path):
mkdirs(app_path)
filecopyto(bin_name, app_path)
# Creation of symlink
if not isfile(f"{bin_path}/rg"):
print("create rg alias in path")
os.symlink(f"{app_path}/rg", f"{bin_path}/rg")
if isdir(extract_path):
remove_tree(extract_path)
def uninstall():
# Removing of symlink
if isfile(f"{bin_path}/rg"):
remove_file(f"{bin_path}/rg")
# Removing of the software
if isdir(app_path):
remove_tree(app_path)
from setuphelpers import *
import requests
import re
import json
def update_package():
# Déclarer les variables locales
result = False
proxies = get_proxies()
if not proxies:
proxies = get_proxies_from_wapt_console()
git_repo = "BurntSushi/ripgrep"
dict_arch ={
"x64":"x86_64-apple-darwin.tar.gz",
"x86": "-686-pc-windows-msvc"
}
url_api = f"https://api.github.com/repos/{git_repo}/releases/latest"
# 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('.tar.gz') and dict_arch[control.architecture] in download["browser_download_url"]:
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('*.tar.gz'):
if f != filename:
remove_file(f)
control.set_software_version(version)
control.save_control_to_wapt()
01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
2f1a7b0b4c6ca4e056ee34aed32dbd3fb5343a29faf601ad7832acd2de3df743 : WAPT/control
5005ab036c49d4d00c52cfdb72c778f1f1324c3f767f98f94ed5eda9afd5a159 : WAPT/icon.png
5ce62b5fa4741517a39a03ac4360904280d1f644b0208ed9684dc923468d1abb : luti.json
44128c733d127ddbda461e01225a68b5f9997cfe7635242a797f645ca674a71a : ripgrep-15.0.0-x86_64-apple-darwin.tar.gz
6e30da0059edd06348466bc8841ec88a21b611255aeb6975b00f940c6a1e3b05 : setup.py
883ad2f802f95f38e4a5376233f367956fbe4311bf84c3ee6e2dc55a886cabf0 : update_package.py