tis-boostnote icon

BoostNote

Silent install package for BoostNote

0.23.1-2

  • package: tis-boostnote
  • name: BoostNote
  • version: 0.23.1-2
  • categories: Office
  • maintainer: WAPT Team,Tranquil IT,Ingrid TALBOT
  • editor: Maisin&Co.
  • locale: all
  • target_os: redhat_based
  • impacted_process: Boost Note
  • architecture: all
  • signature_date:
  • size: 60.13 Mo
  • installed_size: 192.50 Mo
  • homepage : https://boostnote.io/

package           : tis-boostnote
version           : 0.23.1-2
architecture      : all
section           : base
priority          : optional
name              : BoostNote
categories        : Office
maintainer        : WAPT Team,Tranquil IT,Ingrid TALBOT
description       : Boostnote is markdown note-taking software with automatic rendering. With Boost Note, teams can share their work progress, brainstorm new ideas, and collaborate on projects
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : redhat_based
min_wapt_version  : 2.3
sources           : 
installed_size    : 192498703
impacted_process  : Boost Note
description_fr    : Boostnote est un logiciel de prise de notes en markdown avec rendu automatique. Avec Boost Note, les équipes peuvent partager l'avancement de leur travail, trouver de nouvelles idées et collaborer sur des projets
description_pl    : Boostnote to oprogramowanie do tworzenia notatek markdown z automatycznym renderowaniem. Dzięki Boost Note zespoły mogą dzielić się postępami w pracy, przeprowadzać burze mózgów i współpracować nad projektami
description_de    : Boostnote ist eine Software für Markdown-Notizen mit automatischem Rendering. Mit Boostnote können Teams ihren Arbeitsfortschritt teilen, neue Ideen entwickeln und an Projekten zusammenarbeiten
description_es    : Boostnote es un software para tomar notas en markdown con renderización automática. Con Boost Note, los equipos pueden compartir el progreso de su trabajo, aportar nuevas ideas y colaborar en proyectos
description_pt    : O Boostnote é um software de anotações markdown com renderização automática. Com o Boost Note, as equipas podem partilhar o progresso do seu trabalho, debater novas ideias e colaborar em projectos
description_it    : Boostnote è un software per prendere appunti in markdown con rendering automatico. Con Boost Note, i team possono condividere i progressi del lavoro, fare brainstorming di nuove idee e collaborare ai progetti
description_nl    : Boostnote is markdown notitiesoftware met automatische rendering. Met Boost Note kunnen teams hun werkvoortgang delen, brainstormen over nieuwe ideeën en samenwerken aan projecten
description_ru    : Boostnote - это программа для ведения заметок в формате markdown с автоматическим рендерингом. С помощью Boost Note команды могут обмениваться информацией о ходе работы, проводить мозговой штурм новых идей и сотрудничать над проектами
audit_schedule    : 
editor            : Maisin&Co.
keywords          : note,project,markdown,collaboration
licence           : 
homepage          : https://boostnote.io/
package_uuid      : de4aa04e-fa1d-45fa-9edd-03a38eae71d0
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://github.com/BoostIO/BoostNote-App/releases
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 2b980a179e78169535dffeb8c6ae250a7513ae11f1841031379554a653bbf888
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2024-09-11T12:11:54.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         : Y+Afh711UykAlhm2pVDgb/4uY4yHPlAjryc8whnxsNdOYbJIDwErSTLbFtayL9B4E676YapIijxEkXmrRU9lobiOgylsPTJMutL/Bq4j73hTediHIO0qEoTlllKALMcDtpEx65hL4i7clmpwv/mEEVv8NTvIkw6Znsams9GlO1Eu+IPziX9uE8R3ABcOlwCvt8ug4YBS7OPEbRjqVYKz6wPk1XXtav0umdKGLozUI0s4lmJqYUag0Uh//FTdvDR5Cmku9svKq/RkFmSztGkuqfHUQ7B0CO3CxuiaRBLrzGAqysfkhir1/r/dudPUtsmmxBwD1zTnOvDO2hFmjTUJRw==

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


def install():
    install_rpm(glob.glob("boost-note-linux.rpm")[0])


def uninstall():
    uninstall_yum("boostnote.next")

# -*- 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", "debian_based": ".deb", "redhat_based": ".rpm", "macos": ".dmg"}
    api_url = "https://api.github.com/repos/BoostIO/BoostNote-App/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(".rpm") 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"]
                exe_found = True  # Mettre à jour le flag pour indiquer qu'un exe a été trouvé
                break

    # Deleting binaries
    for f in glob.glob("*.rpm"):
        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)


    control.set_software_version(version)
    control.save_control_to_wapt()

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
7cc8e57bbf21ebf06dab1666e7ba3ecb4328e0ba4da2040f7708d82dec2c6514 : WAPT/control
2b980a179e78169535dffeb8c6ae250a7513ae11f1841031379554a653bbf888 : WAPT/icon.png
86b0a51ce3eca17006454313349d44e473d579205f8a17409ea1eb44d15b84d3 : boost-note-linux.rpm
fe78ed64fc02d59f3692ee8d6f63693b9868d784e5a1510643402b0d5a550a6b : luti.json
64257fac7081c7962f2ba86c74508f3b5527372bf50afdc1f6c570be496a02d9 : setup.py
fbb97123376a73ecf473dca6dcc73401234984f7d5599cfa31846805e930695d : update_package.py