tis-db-structure-diagram-wapt

2.6.0.17346-8
DB Structure Diagram WAPT
130 téléchargements
Télécharger
Voir le résultat de la construction Voir l'analyse de VirusTotal
tis-db-structure-diagram-wapt icon
  • package : tis-db-structure-diagram-wapt
  • name : DB Structure Diagram WAPT
  • version : 2.6.0.17346-8
  • categories : Utility
  • maintainer : WAPT Team,Tranquil IT,administrator,Bertrand LEMOIGNE
  • editor :
  • licence : wapt_public
  • locale :
  • target_os : all
  • impacted_process :
  • architecture : x64
  • signature_date : 2025-07-07 13:08
  • size : 66.82 Ko
package           : tis-db-structure-diagram-wapt
version           : 2.6.0.17346-8
architecture      : x64
section           : base
priority          : optional
name              : DB Structure Diagram WAPT
categories        : Utility
maintainer        : WAPT Team,Tranquil IT,administrator,Bertrand LEMOIGNE
description       : DB Structure Diagram WAPT
depends           : 
conflicts         : 
maturity          : PROD
locale            : 
target_os         : all
min_wapt_version  : 2.3
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           : wapt_public
homepage          : 
package_uuid      : 35c875db-1194-4687-a4e3-ede2a9faaff1
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 3e7c51325356b282e0569bff8d9048055254a9616167b66f893703b14e6957d1
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-07-07T13:08:13.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         : UngpY/yAMyY0gm6KpEmsuMZjtIGBd64WGOCtmvyhz1+UAIIMa90pPA98y3OqRGs8FlN9F+EvwnbhWP+ZyaiNPavWornN1MZZSP1Hl2HlY/X/RfDvEOisFm17fKNokbWs/iJtGuqb8qo8nP9af5XdnzPvKDdvjtqP/tUeNP/ZAW+RtprW2p+nNESKEPfu7HzuF3hxwlpJUQCdmypTjGQ+nAwdgXlCN0cdIVvQ050vBZEk3zlAcR4efY0fsE1IY3D8drMX7wXrajxv7T3DZD9jXOUD5hBoDQ0jIguHEaazDm13Hie/tS05DVQq+J0vQKHkR8kKYWKbelPWhHxZHye67A==
# -*- coding: utf-8 -*-
from setuphelpers import *


def install():
    files = glob.glob("wapt.*")
    dir = makepath(WAPT.wapt_base_dir, "dbdiagram")
    mkdirs(dir)
    for file in files:
        filecopyto(file, dir)

def audit():
    dir = makepath(WAPT.wapt_base_dir, "dbdiagram")
    if isfile(makepath(dir,'wapt.svg')):
        print('Diagram file exists')
        return "OK"
    else:
        print('Diagram file does NOT exist')
        return "ERROR"
# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *
import os


def update_package():
    package_dir = os.getcwd()
    # getting version from WAPT public repository:
    for entry in bs_find_all("https://wapt.tranquil.it/wapt/releases/latest/", "a", "href"):
        lnk = entry.attrs["href"]
        if lnk.endswith(".deb"):
            if "amd64" in lnk:
                last_version = lnk.split("-")[2]
                short_version = last_version.rsplit(".", 2)[0]
                break

    # saving version to control file
    control.set_software_version(last_version)
    control.save_control_to_wapt()

    db_structure_diagram = rf"""
    apt remove tis-waptagent -y ; apt install apt-transport-https lsb-release gnupg wget -y ; wget -qO- https://wapt.tranquil.it/$(lsb_release -is)/tiswapt-pub.gpg | tee /usr/share/keyrings/tiswapt-pub.gpg > /dev/null ; echo "deb [signed-by=/usr/share/keyrings/tiswapt-pub.gpg] https://wapt.tranquil.it/$(lsb_release -is)/wapt-{short_version}/ $(lsb_release -c -s) main" > /etc/apt/sources.list.d/wapt.list ; export DEBIAN_FRONTEND=noninteractive ; apt update ; apt install tis-waptserver tis-waptsetup -y ; unset DEBIAN_FRONTEND ; /opt/wapt/waptserver/scripts/postconf.sh -q ; apt install postgresql-autodoc graphviz -y ; cd /tmp ; sudo -u wapt postgresql_autodoc -d wapt ; dot -Tsvg wapt.dot -owapt.svg
    """
    run(db_structure_diagram)
    for file in glob.glob("/tmp/wapt.*"):
        filecopyto(file, package_dir)
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
d45f434db415c274f72bc638027d17b503ffde210d7dbc6bff082f4c4d68da9a : WAPT/control
3e7c51325356b282e0569bff8d9048055254a9616167b66f893703b14e6957d1 : WAPT/icon.png
e4f7f2b6482f9b4346bdfc38eb047468a6c2a470fafc6e94631c12bff2ee5357 : luti.json
9b5484c8ef6d771d9d6b55367a4771773be9918424a7ecbef98faffe17211a19 : setup.py
449a6ae9f967d66dc3fa5f9423128099d51ab868926b5f79d3a520179d348b54 : update_package.py
cfbaa24efc39423ec46fc626b843ab6c68ca9455443a3fc2074973d4cfe31b24 : wapt.dia
2c475ae3ec6288c757820b664166a7cd4c9954fabbd275c974996e447b12328f : wapt.dot
686da35dcf4a92c182178266555522a3a922253a4edfca8cc1b194d6054cb458 : wapt.dot_shortfk
62b2e08cb6112ef8fde9728dbaa012a417341f2051135eb14ca0d686ee7a87d7 : wapt.html
53b925e2a5c010d730b2938fe0eed5d8ef96c295bd7b275757454e9ca6a99f01 : wapt.neato
d38ed2d05d0ce3954ad2a703a1fe2308d638783c6a3fae3a11045bdc220916df : wapt.svg
263871a46590c8f7646119978c0026f9334a86740a982faf2091f66caba53698 : wapt.xml
cf2f435c8adb328cc4fb9cff1b2e0b0becc87fcec25ae934bcda63293a5bcce7 : wapt.zigzag.dia