tis-dbeaver icon

DBeaver

Silent install package for DBeaver

25.1.1-10

  • package: tis-dbeaver
  • name: DBeaver
  • version: 25.1.1-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: arm
  • signature_date:
  • size: 129.73 Mo
  • installed_size: 134.79 Mo
  • homepage : https://dbeaver.io/

package           : tis-dbeaver
version           : 25.1.1-10
architecture      : arm
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      : cd5b2f1a-6bda-4929-ab0d-b75274b2f24b
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-06-27T17:00:16.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         : MF01zhajGpN4K/BeOytlwmDseG41fPJ0aDJAqSuu4dcqR3z2KHX0Knrp/wJW8rD/g4yJltapL0aAYWp+2/BuOoD1aMP+0Rg4GJLpkLl9h2gEdLyOaW7XNL0JNySDRWmKTu72GJhY+DrMg8of5NZJW8udfCsueD7m5KluZqa1JTKFv/mnJwzN1lHgeYI86aBLNd2sjRtU8nZRbtCW2Z+H+ZCTekn6f1uPgONqAPt1VcEZWT7k8eRhBzoSYFDSWrYt6Az44GcJg+gofUx5chOqMZjgLDYdEQ9G3q+mFSC5Sh8Gb6Wuf2OKfGhS6/NHHgrZwZPu6RxEwVgyZr05LefCrA==

# -*- 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
f3a838ca472595ce0e1c8fd2a770385f27c8d90c74577b49385aa5fe9d23321c : WAPT/control
14e00f12e88e41af914d7c4ee8a379e911ae050c890368996862ede0eb4018d4 : WAPT/icon.png
95fcfe076647681a320ca76e0e7e39a1c493300b12fdb057ac1c8178865bd04c : dbeaver-ce-25.1.1-macos-aarch64.dmg
e2a21cacce1df067ef760cf804323be530d32d0eca5c450a8d757b874d0ea7c0 : luti.json
9305b3bb09aa9c13923fb582d510dd067fd5160246fd70622663a7cbb1aaa90d : setup.py
d99c3f3a0956193f0cabab24235cf4be163e06f2224020baf1babac317805668 : update_package.py