tis-dbeaver icon

DBeaver

Paquet d’installation silencieuse pour DBeaver

25.1.2-10

  • package: tis-dbeaver
  • name: DBeaver
  • version: 25.1.2-10
  • categories: Utilities
  • maintainer: WAPT Team,Tranquil IT,Kenan KILICARSLAN,Jimmy PELÉ,Pierre Cosson
  • editor: DBeaver
  • licence: apache2
  • locale: all
  • target_os: macos
  • impacted_process: dbeaver-cli,dbeaver
  • architecture: x64
  • signature_date:
  • size: 130.80 Mo
  • installed_size: 134.79 Mo
  • homepage : https://dbeaver.io/

package           : tis-dbeaver
version           : 25.1.2-10
architecture      : x64
section           : base
priority          : optional
name              : DBeaver
categories        : Utilities
maintainer        : WAPT Team,Tranquil IT,Kenan KILICARSLAN,Jimmy PELÉ,Pierre Cosson
description       : DBeaver is free and open source universal database tool for developers and database administrators
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : macos
min_wapt_version  : 2.0
sources           : https://dbeaver.io/download/
installed_size    : 134791168
impacted_process  : dbeaver-cli,dbeaver
description_fr    : DBeaver est un outil de base de données universel, gratuit et open source, destiné aux développeurs et aux administrateurs de bases de données
description_pl    : DBeaver to darmowe i otwarte narzędzie bazodanowe dla programistów i administratorów baz danych
description_de    : DBeaver ist ein kostenloses und quelloffenes universelles Datenbankwerkzeug für Entwickler und Datenbankadministratoren
description_es    : DBeaver es una herramienta de base de datos universal, gratuita y de código abierto, para desarrolladores y administradores de bases de datos
description_pt    : DBeaver é uma ferramenta de base de dados universal gratuita e de código aberto para programadores e administradores de bases de dados
description_it    : DBeaver è uno strumento universale gratuito e open source per sviluppatori e amministratori di database
description_nl    : DBeaver is gratis en open source universeel databasetool voor ontwikkelaars en databasebeheerders
description_ru    : DBeaver - бесплатный универсальный инструмент для разработчиков и администраторов баз данных с открытым исходным кодом
audit_schedule    : 
editor            : DBeaver
keywords          : database,developers
licence           : apache2
homepage          : https://dbeaver.io/
package_uuid      : a49cdd93-b0b3-45bb-9cdc-905b083bdfda
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://github.com/dbeaver/dbeaver/releases
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 14e00f12e88e41af914d7c4ee8a379e911ae050c890368996862ede0eb4018d4
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-07-11T16:00:51.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         : gVs3WXnulSgLXKGoCByTirUJALMZQlW2blzlzQH/0Q0vzEDgMm1cc7doAVILzZm4bvARNBi5mTSKjnK4igapFNi8ocadBpG7tHIC2nZszRAoOvwWVkTUgWB9BgigSG9VSObR6lps994dxgwB/N7TVpEIwkiFdUKnmoVnL0IEQRalhAyiue+eo/00ajSEO4lNPGPKI+id3stqYrGME6daTDkoovuPllP38EuxO9+S97TuqLcywpC5lwpvdFTus0nRkgapAwHAJHIDd3PXqIDe+tMlRUUliPzi3qb/KEmpbcXUPP4kuhdb/s5IOGDYRoKZv9SE4ZXX/w3F/VY6iXg/tg==

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

r"""
Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()

"""
def install():
    # Installing the package
    bin_name = glob.glob("*dbeaver-ce*")[0]
    print("Installing: %s" % bin_name)
    install_dmg(bin_name)


def uninstall():
    # Uninstalling the package
    uninstall_app("DBeaver")

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


def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    app_name = control.name

    url_api = "https://api.github.com/repos/dbeaver/dbeaver/releases/latest"

    download_os_dict = {
        'macos-x64': 'macos-x86_64.dmg',
        'macos-arm': 'macos-aarch64.dmg',
    }
    os_type = control.target_os + "-" + ensure_list(control.architecture)[0]

    # Getting latest informations from Github API
    json_load = wgets(url_api, proxies=proxies, as_json=True)

    for download in json_load["assets"]:
        if download["browser_download_url"].endswith(download_os_dict[os_type]):
            download_url = download["browser_download_url"]
            latest_bin = download["name"]
            version = json_load["tag_name"].replace("v", "")
            latest_bin_extension = latest_bin.rsplit('.', 1)[-1]
            break

    # Downloading latest binaries
    print("Latest %s version is: %s" % (app_name, version))
    print("Download URL is: %s" % download_url)
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(download_url, latest_bin, proxies=proxies)
        package_updated = True
    else:
        print("Binary is present: %s" % latest_bin)

    # Changing version of the package
    if Version(version) > Version(control.get_software_version()):
        print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))
        package_updated = True
    else:
        print("Software version up-to-date (%s)" % Version(version))

    control.set_software_version(version)
    control.save_control_to_wapt()

    for f in glob.glob(f'*.{latest_bin_extension}'):
        if f != latest_bin:
            remove_file(f)

    # Validating or not update-package-sources
    return package_updated

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
148b5dfa47738ee18632e06a52fa0e10586f87742ea6e53721adcf29a9fe6d29 : WAPT/control
14e00f12e88e41af914d7c4ee8a379e911ae050c890368996862ede0eb4018d4 : WAPT/icon.png
9fa72eef0cc2e06a3058650c176be0fa403eb62396ce06962dc530d08fdf0975 : dbeaver-ce-25.1.2-macos-x86_64.dmg
b060edab0a99f59cc6760212dc453ad81b8bab92622f155b09f530a059ed31b8 : luti.json
9305b3bb09aa9c13923fb582d510dd067fd5160246fd70622663a7cbb1aaa90d : setup.py
d99c3f3a0956193f0cabab24235cf4be163e06f2224020baf1babac317805668 : update_package.py