tis-dbeaver icon

DBeaver

Silent install package for DBeaver

25.3.3-10
Utilities
Utilities

  • package: tis-dbeaver
  • name: DBeaver
  • version: 25.3.3-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: 122.42 Mo
  • installed_size: 134.79 Mo
  • homepage : https://dbeaver.io/

package           : tis-dbeaver
version           : 25.3.3-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      : 52d21d91-c7cb-4ab4-8783-7a8da2f81498
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    : 2026-01-23T21:03: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         : BvNjlPyyMJoLsbByNK5fBpfve16SguGecgCekf6jkZThtEPD6CUY4FKDAkxNqfkZH6OGjtgcQwSAZZBuFEF5lZu62GF1ZYbLA8tAmvA4Yj0kyYfPm+t1CMV9/H6V8Lbh190C590vY52DhheLnLKFaV7ifBHKIeYEszhcNV5a461hpTVcAfVIXyqXObuBzJK1V5UhWKrEAneS1YjQBpXf7iUpQQmqtzEJzflSpZg7GRKscaz2MTuDFegYyP5BazB8fBuXV3qDU+PN6YBrkrwfGCg0mEJAiDQXS9afYAk9dKj4AyquFdvJrzuGDaeYfif1ONjgu0Ij+Q+2Eu7O9um7PQ==

# -*- 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
620d2aa4ff89ac25e0dd8249c7bb538d51a51fd668cd830cead4a98bef466731 : WAPT/control
14e00f12e88e41af914d7c4ee8a379e911ae050c890368996862ede0eb4018d4 : WAPT/icon.png
af54f7394fbdf03057808dcfc7f9cd7bbbafedd1f305ef95979c3670068114c2 : dbeaver-ce-25.3.3-macos-x86_64.dmg
29fa12e3e7580a9192f3f3ae1da8b995185e99596c066477d03f5fe45bd58883 : luti.json
9305b3bb09aa9c13923fb582d510dd067fd5160246fd70622663a7cbb1aaa90d : setup.py
d99c3f3a0956193f0cabab24235cf4be163e06f2224020baf1babac317805668 : update_package.py