tis-jabref icon

JabRef

Silent install package for JabRef

5.15.60000-1

  • package: tis-jabref
  • name: JabRef
  • version: 5.15.60000-1
  • maintainer: Amel FRADJ
  • licence: MIT licence
  • target_os: windows
  • architecture: x64
  • signature_date:
  • size: 204.43 Mo
  • homepage : devdocs.jabref.org

package           : tis-jabref
version           : 5.15.60000-1
architecture      : x64
section           : base
priority          : optional
name              : JabRef
categories        : 
maintainer        : Amel FRADJ
description       : JabRef is a graphical Java application for editing BibTeX and Biblatex databases
depends           : 
conflicts         : 
maturity          : PROD
locale            : 
target_os         : windows
min_wapt_version  : 
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : JabRef est une application graphique Java pour l'édition des bases de données BibTeX et Biblatex
description_pl    : JabRef to graficzna aplikacja Java do edycji baz danych BibTeX i Biblatex
description_de    : JabRef ist eine grafische Java-Anwendung zur Bearbeitung von BibTeX- und Biblatex-Datenbanken
description_es    : JabRef es una aplicación gráfica Java para editar bases de datos BibTeX y Biblatex
description_pt    : JabRef é uma aplicação gráfica Java para editar bases de dados BibTeX e Biblatex
description_it    : JabRef è un'applicazione grafica in Java per la modifica dei database BibTeX e Biblatex
description_nl    : JabRef is een grafische Java-toepassing voor het bewerken van BibTeX- en Biblatex-databases
description_ru    : JabRef - это графическое Java-приложение для редактирования баз данных BibTeX и Biblatex
audit_schedule    : 
editor            : 
keywords          : 
licence           : MIT licence
homepage          : devdocs.jabref.org
package_uuid      : 266ffa34-8b2f-482e-a13f-72098eb0c692
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 10.0
max_os_version    : 
icon_sha256sum    : 022ff2f50e411fc8cd753e5a8c750a3dd078f9ba302b1f648ee356095ceb612f
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature         : NjTzieV6g+yUaYTmzoxn5cKYpZv7/6F0/Fd5ZxmLJTzgm6qe4X85yhAWTv4hQWzJhD2p/0vzWEpLVod4cGjq2moeTJiUHvfgrrGBk4EwnE6gzCWCVz8Va1K4jkWTexg7DhNEH8TDKB4RcrAObyJUvmH+ZONPWsU59u5ATsBZptwe+mJusfbfhgMwzkfV6z/j8fz26vtzq8J+pmXSXpK/R3/h8vcoKhC2Pkk5nnPoiQYPEjXo6artCSaGJyuXFDmUem5a7rOhg4MVQL+tEqbxzVDVyUcQylG7U0rWQr/jL1sXoaKa3EUMM9Mh9NrRfzWDsdrKhRQ840SNirGRqxAmuA==
signature_date    : 2024-07-16T08:00:11.693143
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

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

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

"""
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls


def install():
    # Declaring local variables
    bin_name= glob.glob('JabRef-*.msi')[0]
    # Installing the software
    
    install_msi_if_needed(bin_name)



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

# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls


def update_package():
    result = False
    proxies = get_proxies()

    if not proxies:
        proxies = get_proxies_from_wapt_console()
    
    git_repo = "JabRef/jabref"
    url_api = "https://api.github.com/repos/%s/releases/latest" % git_repo   
    # Getting latest version information from official sources
    print("API used is: %s" % url_api)
    json_load = json.loads(wgets(url_api, proxies=proxies))

    for download in json_load["assets"]:
        if download["browser_download_url"].endswith('.msi') :
            url_dl = download["browser_download_url"]
            version = json_load["tag_name"].replace("v","")
            filename = download["name"]
            break

    if not isfile(filename):
        package_updated = True
        wget(url_dl,filename,proxies=proxies)

    #nettoyer les fichiers temporaires
    for f in glob.glob('*.msi'):
        if f != filename:
            remove_file(f)
    version =get_version_from_binary(filename)
    control.set_software_version(version)
    control.save_control_to_wapt()

c2758189921684724b1cafbbe6a66bdb6061826f279b82015b6f20326116917d : setup.py
e2c7de77141e32134b85ac804b0230a4172f904d3fb6d615c7d0dd027eb8c44d : JabRef-5.15.msi
d0b818222499eb4757ce6a32ca73a69ac388cfd10502b1d0f17e7ff2417cea8a : update_package.py
022ff2f50e411fc8cd753e5a8c750a3dd078f9ba302b1f648ee356095ceb612f : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
fa724e774ff9e75a5ca79fff294db8da98f8490ea478d9008578e29c2867d8e0 : luti.json
df3d18586ff8b16dbff01ac6f9a1ea916b8f7e867eb78b4f993f21fd50bf3ee6 : WAPT/control