tis-docfetcher icon

Docfetcher

Silent install package for Docfetcher

1.1.25-1

  • package: tis-docfetcher
  • name: Docfetcher
  • version: 1.1.25-1
  • maintainer: Jordan ARNAUD
  • licence: the Eclipse Public License (EPL
  • target_os: darwin
  • architecture: x64
  • signature_date:
  • size: 70.56 Mo
  • homepage : https://docfetcher.sourceforge.io/en/download.html

package           : tis-docfetcher
version           : 1.1.25-1
architecture      : x64
section           : base
priority          : optional
name              : Docfetcher
categories        : 
maintainer        : Jordan ARNAUD
description       : DocFetcher is an Open Source desktop search application. It allows you to search the contents of files on your computer
depends           : 
conflicts         : 
maturity          : PROD
locale            : 
target_os         : darwin
min_wapt_version  : 
sources           : https://sourceforge.net/projects/docfetcher/best_release.json
installed_size    : 
impacted_process  : 
description_fr    : DocFetcher est une application de recherche de bureau Open Source. Elle vous permet de rechercher le contenu des fichiers de votre ordinateur
description_pl    : DocFetcher to aplikacja Open Source do wyszukiwania na pulpicie. Umożliwia przeszukiwanie zawartości plików na komputerze
description_de    : DocFetcher ist eine Open Source Desktop-Suchanwendung. Sie ermöglicht es Ihnen, den Inhalt von Dateien auf Ihrem Computer zu durchsuchen
description_es    : DocFetcher es una aplicación de búsqueda de escritorio de código abierto. Le permite buscar en el contenido de los archivos de su ordenador
description_pt    : O DocFetcher é uma aplicação de pesquisa de secretária de código aberto. Permite-lhe pesquisar o conteúdo dos ficheiros no seu computador
description_it    : DocFetcher è un'applicazione di ricerca desktop open source. Consente di ricercare il contenuto dei file sul computer
description_nl    : DocFetcher is een Open Source desktop zoekapplicatie. Hiermee kunt u de inhoud van bestanden op uw computer doorzoeken
description_ru    : DocFetcher - это приложение для поиска файлов на рабочем столе с открытым исходным кодом. Оно позволяет искать содержимое файлов на вашем компьютере
audit_schedule    : 
editor            : 
keywords          : 
licence           : the Eclipse Public License (EPL
homepage          : https://docfetcher.sourceforge.io/en/download.html
package_uuid      : eee6b3fb-1a95-4dcd-af0d-6c4e72dabfaa
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 321bdf784e57a9a8c1bc4bf1fdf6ee3cc581506139bb3917663d7207f4445cb3
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature         : VzXk6SYJVdkxtwLe+Y5Xyob2nPsTQbObE+2D5FuQXOhT/taTZBtm/QNSwkZl2AGmiM1GmgtUr+a+Du3CB33pPd5BcNy6ZpCvilmGhEF6RCqAPo8iy9EfuvR8/kNzUHOLMOQu1SimftxH5V0isjY0+8ZBGPnxMULEqO0TLJ/SfD2Bax6Vdl4P5KWDY9BQIYxlM+12kUn7A0Az0akL1O7GRJBfdEJm8NTlog6Oth+EBt2XxSDuBRkjV+Ey1bmSp9ScCyrOW1ySWdKfwWnqezpHv8nJf8JaMgA9lGqGAsAZpJgf0lAjEPOEPuOqoqeqzNHbTFqcF/j9fWhX0UR3Op+XVA==
signature_date    : 2024-08-11T13:00:16.863366
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 -*-
##################################################
# This file is part of WAPT Enterprise
# All right reserved, (c) Tranquil IT Systems 2023
# For more information please refer to
# https://wapt.tranquil.it/store/licences.html
##################################################
from setuphelpers import *


def install():
    install_dmg(glob.glob("DocFetcher-*.dmg")[0])


def uninstall():
    remove_tree("/Applications/DocFetcher.app")

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


def update_package():
    # Declaring local variables
    result = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    app_name = control.name
    api_url = "https://sourceforge.net/projects/docfetcher/best_release.json"
    bin_contains = "DocFetcher-"

    # Getting latest version information from official sources
    print("API used is: %s" % api_url)
    json_load = json.loads(wgets(api_url, proxies=proxies))
    for download in json_load["platform_releases"]:
        latest_bin = json_load["platform_releases"][download]["filename"].split("/")[-1]
        if bin_contains in latest_bin and latest_bin.endswith(".dmg"):
            if "RC" in latest_bin:
                error("ERROR: Don't release RC version or found a workaround with the version number")
            download_url = json_load["platform_releases"][download]["url"]
            version = latest_bin.split("-")[-1].replace(".dmg","")
            break


    # Downloading latest binaries
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(download_url, latest_bin, proxies=proxies)


    # 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)))
        result = True
    else:
        print("Software version up-to-date (%s)" % Version(version))
    control.version = "%s-%s" % (Version(version), control.version.split("-", 1)[-1])
    # control.set_software_version(version)
    control.save_control_to_wapt()

    # Deleting outdated binaries
    remove_outdated_binaries(version)

    # Validating update-package-sources
    return result

b874cbb0a33d6fe6eea666369c9b4996f39d00e82cd4e8502a481e30064966aa : setup.py
6b843381e7311f5fe2d67e2bcffeeb6947701fa36177627e509cc0e03b31ab74 : update_package.py
fa5de3a7b4962ca304d3b58961dd11676c51bf47b108ceca4c5eb239e4271ed4 : DocFetcher-1.1.25.dmg
321bdf784e57a9a8c1bc4bf1fdf6ee3cc581506139bb3917663d7207f4445cb3 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
4a0a62077dc0481caa11c68933a106a9f2c45a8fa48ceb3a3ed799d346b358c7 : luti.json
833d10edecc73f515502bc744dc96999530f5b35da70ada2fdbe5d98a4de5358 : WAPT/control