tis-seq icon

Seq

Paquet d’installation silencieuse pour Seq

9.2.12021.0-1

  • package: tis-seq
  • name: Seq
  • version: 9.2.12021.0-1
  • maintainer: Amel FRADJ
  • licence: https://datalust.co/doc/eula-current.pdf
  • target_os: windows
  • architecture: x64
  • signature_date:
  • size: 84.44 Mo
  • homepage : https://datalust.co/seq

package           : tis-seq
version           : 9.2.12021.0-1
architecture      : x64
section           : base
priority          : optional
name              : Seq
categories        : 
maintainer        : Amel FRADJ
description       : Seq is the self-hosted search, analysis, and alerting server built for structured log data
depends           : 
conflicts         : 
maturity          : PROD
locale            : 
target_os         : windows
min_wapt_version  : 
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : Seq est le serveur de recherche, d'analyse et d'alerte auto-hébergé conçu pour les données de journal structurées
description_pl    : Seq to samoobsługowy serwer wyszukiwania, analizy i alertów stworzony dla ustrukturyzowanych danych dziennika
description_de    : Seq ist der selbst gehostete Such-, Analyse- und Warnserver für strukturierte Protokolldaten
description_es    : Seq es el servidor autoalojado de búsqueda, análisis y alertas para datos de registro estructurados
description_pt    : Seq é o servidor de pesquisa, análise e alerta auto-hospedado criado para dados de registo estruturados
description_it    : Seq è il server self-hosted di ricerca, analisi e alerting costruito per i dati di log strutturati
description_nl    : Seq is de zelf gehoste zoek-, analyse- en waarschuwingsserver voor gestructureerde loggegevens
description_ru    : Seq - это самостоятельный сервер поиска, анализа и оповещения, созданный для структурированных данных журналов
audit_schedule    : 
editor            : 
keywords          : 
licence           : https://datalust.co/doc/eula-current.pdf
homepage          : https://datalust.co/seq
package_uuid      : f1727303-f12f-4e5e-94a6-dd955fd331e3
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 10.0
max_os_version    : 
icon_sha256sum    : f770ea3d74f0491531a9790b43b4ac5a39f26c9fa78b9700c86048fbc87de112
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature         : K40s7U/7r+MD63GrkF5WFgcwPP+RxmJ8fW0d5ARIpf0h6JU5Fw1ZxtvzvtwUn6aUvt5YGt46Z0EiXaU5i9G5098V5oIFe19WEfmI9Gxe+6C5I6bZeESMWGyamd3TLgSfkDSZMwsT0j3HbI6FJVhW0snAE5nj6eAnss9F92V8wB1gcKlLcfgl1aCfZ/1xImH1LKlxjNw5S9FjULu1rTOeXG09s+mCEaaBdy5kgybzbDLRzAK9+xEmFQUei+8CW5v9C+ErOrnif+4z4zQ3dBq7OJlrUm+r3TgbvWYRpx1WLTw4hWaFolxDh7xj0FqZURAjOZVOBdlZYU1W4UB+0CmeIA==
signature_date    : 2024-07-14T13:00:09.594449
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

# -*- 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('Seq-*.msi')[0]
    # Installing the software
    
    install_msi_if_needed(bin_name)



# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *
import xml.etree.ElementTree as ET
from datetime import datetime

def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies_from_wapt_console()
    if not proxies:
        proxies = get_proxies()
    
    # Récupérer les données depuis l'URL et décoder en tant que chaîne de caractères
    sitewebdata = wgets("https://dl.datalust.co/")
    
    # Parser le XML en prenant en compte l'espace de noms
    tree = ET.ElementTree(ET.fromstring(sitewebdata))
    root = tree.getroot()
    namespace = {'ns': 'http://doc.s3.amazonaws.com/2006-03-01'}

    # Trouver tous les éléments "Contents" en tenant compte de l'espace de noms
    contents = root.findall('ns:Contents', namespace)
    
    if not contents:
        raise ValueError("No contents found in the XML data.")
    
    latest_content = None
    latest_date = None

    for content in contents:
        key = content.find('ns:Key', namespace).text
        last_modified = content.find('ns:LastModified', namespace).text
        date_modified = datetime.strptime(last_modified, "%Y-%m-%dT%H:%M:%S.%fZ")

        if latest_date is None or date_modified > latest_date:
            latest_date = date_modified
            latest_content = content

    if latest_content is None:
        raise ValueError("No valid content found in the XML data.")
    
    latest_version = latest_content.find('ns:Key', namespace).text.split('/')[0]
    download_url = f"https://dl.datalust.co/{latest_version}/win-x64/Seq-{latest_version}.msi"
    latest_bin = download_url.split("/")[-1]

    
    if not isfile(latest_bin):
        package_updated = True
        wget(download_url, latest_bin, proxies=proxies)

    for f in glob.glob("*.msi"):
        if f != latest_bin:
            remove_file(f)    

    version =get_version_from_binary(latest_bin)
    # Updating the package
    control.set_software_version(version)
    control.save_control_to_wapt()

cb797150f845487842b02a500742bc80c7d3429ccb7f2a605e08e502e21e4878 : Seq-2024.3.12021.msi
8ecd3e7e2adbe08d8c90a2b817a5e57fa590a15a93d3be170854de2016462a0d : setup.py
25ea791a94db22a7407b359516556d0d2904998d98e764137cc020b639d88f49 : update_package.py
f770ea3d74f0491531a9790b43b4ac5a39f26c9fa78b9700c86048fbc87de112 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
764cbefa3f643c1636e319424ae9ea4bc91ef314f032c7324c7947e51bccdcdb : luti.json
ac7217ce11e590d42a002770982ed84d129bc4dc47749df29982711263985086 : WAPT/control