tis-liquibase icon

Liquibase

Paquet d’installation silencieuse pour Liquibase

4.31.0-1

  • package: tis-liquibase
  • name: Liquibase
  • version: 4.31.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: 401.02 Mo
  • installed_size: 259.76 Mo
  • homepage : https://www.liquibase.com/

package           : tis-liquibase
version           : 4.31.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      : 6fc701bb-b8d7-4806-9a87-d7ef6e072b39
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-01-21T19:15:59.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         : ObjPxOHft2fYsJRN4Qt/R2Ryff60J0Yn8fv5g4yEtn+1RZRCpni4+ogKJQUk8Q5BwtMnfPDe7aF/bFxcg+vCrzJbXFxGsBolaL8mFkwAJT2U5SrqENBmhPHuC+Go6oiP2atFsdIOuEpHRRI44O67ThnndgBRT9F+kG1wx3fRIrxjZ/I6oRXX2RexkxRg1o5/EU1Re7G6Xrtm7VHr3N0Q663WMz9pp0Onzya/oHQq26capTfSh4k3WzXnNePumTkxXjGcVol+Naz7RsmURvTxjyGSPZQvWl59s67HiKfzc1Ml+C+qfCHyNIqeo0l7Am+OMOoiQi1a19Mr3lTUQ2q5Uw==

# -*- 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
455dc7fb477a34827a2ae7f2fef9555639ca0e92fa16e40b413421cf31516e07 : WAPT/control
64d246b6221a0fc2e206d0a615449358ec4a656f6a935a1c9b259504705d05cc : WAPT/icon.png
9d870b9a636349c9914baa37c8f2cb977f14df40a7cddecf73e031b296a3e11a : liquibase-windows-x64-installer-4.31.0.exe
853c69704a08f7935a0cedcfa06cb88046a7456447d2ff70aea4e01eeb940d6d : luti.json
90b790ac14e718f42be6800c6944971dfac1ab377ee38b760aa781f5d18421ff : setup.py
01b6df49d5db199d5d1c0f0a7dcefec3eed3ec8f85b19cbd3ec599b8f1477edd : update_package.py