tis-liquibase icon

Liquibase

Paquet d’installation silencieuse pour Liquibase

4.32.0-1

  • package: tis-liquibase
  • name: Liquibase
  • version: 4.32.0-1
  • categories: Development
  • maintainer: WAPT Team,Tranquil IT,Ingrid TALBOT
  • editor: Liquibase
  • licence: opensource_free,cpe:/a:apache:license_2.0,wapt_public
  • locale: all
  • target_os: windows
  • impacted_process: java
  • architecture: x64
  • signature_date:
  • size: 404.13 Mo
  • installed_size: 259.76 Mo
  • homepage : https://www.liquibase.com/

package           : tis-liquibase
version           : 4.32.0-1
architecture      : x64
section           : base
priority          : optional
name              : Liquibase
categories        : Development
maintainer        : WAPT Team,Tranquil IT,Ingrid TALBOT
description       : Liquibase is an open-source database-independent library for tracking, managing and applying database schema changes
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.3
sources           : 
installed_size    : 259757283
impacted_process  : java
description_fr    : Liquibase est une bibliothèque open-source indépendante des bases de données qui permet de suivre, de gérer et d'appliquer les modifications du schéma de la base de données
description_pl    : Liquibase to niezależna od bazy danych biblioteka typu open source do śledzenia, zarządzania i stosowania zmian schematu bazy danych
description_de    : Liquibase ist eine datenbankunabhängige Open-Source-Bibliothek zur Verfolgung, Verwaltung und Anwendung von Datenbankschemaänderungen
description_es    : Liquibase es una biblioteca de código abierto independiente de la base de datos para el seguimiento, la gestión y la aplicación de cambios en el esquema de la base de datos
description_pt    : A Liquibase é uma biblioteca de código aberto independente de bases de dados para acompanhar, gerir e aplicar alterações ao esquema da base de dados
description_it    : Liquibase è una libreria open source indipendente dal database per tracciare, gestire e applicare modifiche allo schema del database
description_nl    : Liquibase is een open-source database-onafhankelijke bibliotheek voor het volgen, beheren en toepassen van database schemawijzigingen
description_ru    : Liquibase - это независимая от базы данных библиотека с открытым исходным кодом для отслеживания, управления и применения изменений схемы базы данных
audit_schedule    : 
editor            : Liquibase
keywords          : database,manage
licence           : opensource_free,cpe:/a:apache:license_2.0,wapt_public
homepage          : https://www.liquibase.com/
package_uuid      : 4d36740c-3990-416b-b1be-c73f93ad601f
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://github.com/liquibase/liquibase/releases
min_os_version    : 10.0
max_os_version    : 
icon_sha256sum    : 64d246b6221a0fc2e206d0a615449358ec4a656f6a935a1c9b259504705d05cc
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-05-28T07:25:54.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         : WsbkK+5qI+pz1iC5Y/P2IIr22N7uNSjSnoix8MKDYI1DlWLAy+NcxrQVUy8zeE9Vz9jUWrKKV8lmuaeluieLkjY4gM0xnYCrwS99mbxVf+rb2TiL6oocRzR1g7PBnuQVYcWOAu2ttQBNcWflguQ9tt3nPijKk8flg+i07wDu6Xb0v4dgzje1OqStl5ApDBpL8e5MXsSW1dcCxE8TqaNog8QmgwvBHN1BhYZP1854Juw5ETpsBzQY/NNgtKK5sz3SBeVM91ePtBYZjcaep1vSpnSQQDxWRdqfxdKH4qWAfe650PS52DCBVUZnQWUWB+iBOTsgJLoktLd0DtbKaUscCg==

# -*- coding: utf-8 -*-
from setuphelpers import *

install_path = makepath(programfiles, "liquibase")
uninstall_path = makepath(programfiles, "liquibase", "uninstall.exe")


def install():
    bin_name = glob.glob("liquibase-windows-x64-installer-*.exe")[0]
    install_exe_if_needed(
        bin_name,
        silentflags="-q",
        key="",
        min_version=control.get_software_version(),
    )


def uninstall():
    if isfile(uninstall_path):
        killalltasks(ensure_list(control.impacted_process))
        run(rf'"{uninstall_path}" -q')
    if isdir(install_path):
        remove_tree(install_path)

# -*- coding: utf-8 -*-
from setuphelpers import *
import re


def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    update_dict = {"windows": ".exe", "macos": ".dmg"}
    api_url = "https://api.github.com/repos/liquibase/liquibase/releases/latest"

    # Get data from API
    releases_dict = json.loads(wgets(api_url, proxies=proxies))
    exe_found = False  # Flag pour indiquer la découverte d'un fichier .exe
    # version = json_loads["tag_name"].replace("v", "").replace(".windows", "")
    for release in releases_dict:
        if exe_found:
            break
        for asset in releases_dict["assets"]:
            if asset["browser_download_url"].endswith(".exe") and update_dict[control.target_os] in asset["browser_download_url"]:
                url_download = asset["browser_download_url"]
                latest_bin = url_download.split("/")[-1]
                version = releases_dict["name"].replace("v", "")
                exe_found = True  # Mettre à jour le flag pour indiquer qu'un exe a été trouvé
                break

    # Deleting binaries
    for f in glob.glob("*.exe"):
        if f != latest_bin:
            remove_file(f)

    # Downloading latest binaries
    print("Download URL is: %s" % url_download)
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(url_download, latest_bin, proxies=proxies)
    else:
        print("Binary is present: %s" % latest_bin)

    version = get_version_from_binary(latest_bin)

    control.set_software_version(version)
    control.save_control_to_wapt()

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
e186dbea5c16e70fc0ab7d9c8dc71de1119f8ff5c2a4df8f9d80f17b2f88e71f : WAPT/control
64d246b6221a0fc2e206d0a615449358ec4a656f6a935a1c9b259504705d05cc : WAPT/icon.png
36d0f2bbb1103248713766db81ec97e64d8dc8f2917b4351ebdf3fcaf89ea788 : liquibase-windows-x64-installer-4.32.0.exe
f93d0f23683df4239d09efcf48ca8a374cc9445733fe8ef4d62c243c780c704e : luti.json
90b790ac14e718f42be6800c6944971dfac1ab377ee38b760aa781f5d18421ff : setup.py
01b6df49d5db199d5d1c0f0a7dcefec3eed3ec8f85b19cbd3ec599b8f1477edd : update_package.py