tis-ripgrep-portable icon

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: debian_based
  • architecture: x64
  • signature_date:
  • size: 1.71 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         : debian_based
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      : cf9f2996-ac56-41ae-89c4-408fd6f1eda5
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:54:49.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         : T7TR0MqQ69ZlwvQh5Ypnn9q3tSVrDNFXoQvvKpoqUi+y25h3Y3UktFO3TEUH+KrK0MjsUhh0huQO6z9ygTxp6ppNUQulNvyhyVKdJzyT+fNmBNXDntaVafBmUETgsQbFaBt57NW88hjqzjrKJs02PiLCqWqkOsHlVgEafZhmd7Ch7OKEdbb7TaT7qBj2OtKpjLg2b0gG8Y2Z7x2N3XbxPZqxMvRkWRZjLdtf4Y3xSGqRZk5CXNeu6u3xg+6RTeK8OH44cBxWJRx296FEdi2y6U8T/VU07R/z7jGA8h0ZV0eMOsEAeOsLnYKwFHZDPMzWOnMxvEZ+PA1nzZssmSrpnA==

# -*- coding: utf-8 -*-
##################################################
# This file is part of WAPT Enterprise
# All right reserved, (c) Tranquil IT Systems 2024
# For more information please refer to
# https://wapt.tranquil.it/store/licences.html
##################################################
from setuphelpers import *


def install():
    install_deb(glob.glob("ripgrep*.deb")[0])


def uninstall():
    uninstall_apt("ripgrep")

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":".deb",
        #"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('.deb') 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('*.deb'):
        if f != filename:
            remove_file(f)
    
    control.set_software_version(version)
    control.save_control_to_wapt()

01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
85ff26e15ab2a54aed66ccc308bd6e718153d472cdaffb168b283ad2658909d1 : WAPT/control
5005ab036c49d4d00c52cfdb72c778f1f1324c3f767f98f94ed5eda9afd5a159 : WAPT/icon.png
d7eeda59e693ae046020ecfbe326bb90268bb730b8ffdb8fd1d4181aca35e91b : luti.json
ec08b128f8774c256f87b8f79def4f4930c769e21e980ec9a80e27f4f5f76759 : ripgrep_15.0.0-1_amd64.deb
070de95e6c1be3b3e1d33d06b43b1d217eb99ed51cc2c522035cf2b68cc72cfb : setup.py
185ce33c357b7965841d27550a9c52638e2dbf6a786ac12b5429ee10598553b2 : update_package.py