Docfetcher
Silent install package for Docfetcher
1.1.25-1
- package: tis-docfetcher
- name: Docfetcher
- version: 1.1.25-1
- maintainer: Amel FRADJ
- licence: the Eclipse Public License (EPL
- target_os: windows
- architecture: all
- signature_date:
- size: 73.83 Mo
- homepage : https://docfetcher.sourceforge.io/en/download.html
package : tis-docfetcher
version : 1.1.25-1
architecture : all
section : base
priority : optional
name : Docfetcher
categories :
maintainer : Amel FRADJ
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 : windows
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 : 9749436c-85be-4796-a093-3d7648913ee0
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version :
max_os_version :
icon_sha256sum : 321bdf784e57a9a8c1bc4bf1fdf6ee3cc581506139bb3917663d7207f4445cb3
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature : o9J2ZeOncVhCHvywHGLy3mumB66WbqEgaTihuDdQn2oI8G5Nfv9JSTa5BBbC5unVgA378pik/W07nRf+S59H9p3yIXjbnQ9OjIt1vohLlmtjnFhAYyVOJ0+GCx/uzH4p720GuWSFZVdGVI8Kj+tHj61u2wdVtEH88dLZCOeeSC5WY5Nk1tJFbm5Dbp9ZAsfgfMxgzmFCKytQ9UsQqJCRM5mOLpUecZ6LGXgyHNEUy41lZb5BM9ca38YYSzoBB6ync7vPR91f9t0y/aIXHF3+xq2TNA4uM3cjE5FnKg5U2SVGPDm+BL9x4zANUaSfsL8dCbFFOx81FpDUH1D/08XChQ==
signature_date : 2024-06-10T15:00:08.730637
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()
{
"key":"DocFetcher",
"name":"DocFetcher",
"version":"1.1.25",
"install_date":"",
"install_location":"C:\\Program Files (x86)\\DocFetcher",
"uninstall_string":"C:\\Program Files (x86)\\DocFetcher\\uninstaller.exe",
"publisher":"",
"system_component":0,
"win64":false
}
"""
# 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('docfetcher_*_win32_setup.exe')[0]
# Installing the software
install_exe_if_needed(bin_name,
silentflags='/S',
key='DocFetcher',
min_version= control.get_software_version(),
)
# -*- 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(".exe"):
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]
break
# Downloading latest binaries
if not isfile(latest_bin):
print("Downloading: %s" % latest_bin)
wget(download_url, latest_bin, proxies=proxies)
# Checking version from file
version_from_file = get_version_from_binary(latest_bin)
if Version(version_from_file) != Version(version) and version_from_file != "":
print("Changing version to the version number of the binary (from: %s to: %s)" % (version, version_from_file))
os.rename(latest_bin, bin_contains + version_from_file + bin_ends)
version = version_from_file
else:
print("Binary file version corresponds to online version")
# 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
dba4b9cb213166e43256513c88897c91ebff1b32a9fddc77b8e664d046279432 : setup.py
4a71f6cd0b03cd8024387c5e785f93331aad72c6b00c5b723b2ad34c5864c615 : update_package.py
7c2aee6bc3498363767274271b0c14c5288184f3a5fd27fd904f2b4315b53bf5 : docfetcher_1.1.25_win32_setup.exe
321bdf784e57a9a8c1bc4bf1fdf6ee3cc581506139bb3917663d7207f4445cb3 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
d25d367035ac241b647b497cd63e8da8202188ced253d681efa81aa4670f0841 : luti.json
99ef3e10f9268dbd4a027037c1f0a76c0ee7248cf76c259b7bcd8b8180828872 : WAPT/control