- package: tis-nextcloud
- name: Nextcloud
- version: 3.5.3.20220729-2
- categories: Storage
- maintainer: WAPT Team,Tranquil IT,développeur du paquet,Bertrand Lemoigne,Gaëtan SEGAT
- editor: Nextcloud GmbH
- licence: AGPLv3
- locale: all
- target_os: windows
- impacted_process: nextcloud
- architecture: x86
- signature_date:
- size: 85.53 Mo
- installed_size: 214.91 Mo
- homepage : https://nextcloud.com
package : tis-nextcloud
version : 3.5.3.20220729-2
architecture : x86
section : base
priority : optional
name : Nextcloud
categories : Storage
maintainer : WAPT Team,Tranquil IT,développeur du paquet,Bertrand Lemoigne,Gaëtan SEGAT
description : Nextcloud is a suite of client-server software for creating and using file hosting services
depends :
conflicts :
maturity : PROD
locale : all
target_os : windows
min_wapt_version : 2.0
sources : https://github.com/nextcloud/desktop/releases/
installed_size : 214913024
impacted_process : nextcloud
description_fr : Nextcloud est une suite de logiciels client-serveur permettant de créer et d'utiliser des services d'hébergement de fichiers
description_pl : Nextcloud to pakiet oprogramowania klient-serwer do tworzenia i korzystania z usług hostingu plików
description_de : Nextcloud ist eine Suite von Client-Server-Software für die Erstellung und Nutzung von Filehosting-Diensten
description_es : Nextcloud es un paquete de software cliente-servidor para crear y utilizar servicios de alojamiento de archivos
description_pt : Nextcloud é um conjunto de software cliente-servidor para a criação e utilização de serviços de alojamento de ficheiros
description_it : Nextcloud è una suite di software client-server per la creazione e l'utilizzo di servizi di file hosting
description_nl : Nextcloud is een suite van client-server software voor het creëren en gebruiken van file hosting diensten
description_ru : Nextcloud - это набор клиент-серверного программного обеспечения для создания и использования услуг хостинга файлов
audit_schedule :
editor : Nextcloud GmbH
keywords : cloud
licence : AGPLv3
homepage : https://nextcloud.com
package_uuid : c79d828f-5ba2-42bf-8853-c4ea14931b95
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version : 10.0
max_os_version :
icon_sha256sum : 1151ba48674e21f0e26c7bebad851fcc669cd869201ae559fa6e253d64b9401d
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature : o8cgEZyIVUlo3p2PQFS0C2EcVcSnkwWAR/lPsXaPDxS3oNgNfhWBAbqTAtHGWEAWXZbcfk5AMilSg9YJWok0EmDZGS1H06hrLInGLDYiN2/rnntQ9T1UkOptuzTaKFBE6ITJSd5rAp/2gY2BLYm5Wr7dFlZ2eZ3v7AOkFrqIkFTfP92LmPjP2iyYd6lreL4DRxI0e/ByVIXiEpp2xwANmvsLASIJPX9SGQ3B1rxMc1RApri0KVRbuC8aLvFD1rlGOrqkYt7+tS1HYcs/P98O1LoyXqVRQ1a4wKUTpq2PQuuMGHU3CkDDBS9ni8/UHspw7k6DvIlqbLAlE+BqL60RuQ==
signature_date : 2022-08-03T21:08:24.007192
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 *
def install():
# Declaring local variables
bin_name = glob.glob("*x86*.msi")[0]
# Installing the package
print("Installing: %s" % bin_name)
install_msi_if_needed(
bin_name,
min_version=control.get_software_version(),
)
registry_setstring(HKEY_LOCAL_MACHINE, r"SOFTWARE\Nextcloud GmbH\Nextcloud", "skipUpdateCheck", 1, type=REG_DWORD)
# -*- coding: utf-8 -*-
from setuphelpers import *
import json
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls
bin_contains = "x86.msi"
def update_package():
# Declaring local variables
result = False
proxies = get_proxies()
bin_name_sub = bin_contains + "%s.msi"
if not proxies:
proxies = get_proxies_from_wapt_console()
app_name = control.name
git_repo = "nextcloud/desktop"
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 bin_contains in download["name"]:
url_dl = download["browser_download_url"]
version = json_load["tag_name"].replace("v", "")
latest_bin = download["name"]
break
print("Latest %s version is: %s" % (app_name, version))
print("Download URL is: %s" % url_dl)
# Downloading latest binaries
if not isfile(latest_bin):
print("Downloading: %s" % latest_bin)
wget(url_dl, latest_bin, proxies=proxies)
# Checking version from file
version_from_file = get_version_from_binary(latest_bin)
if version != version_from_file and version_from_file != "":
print("Changing version to the version number of the binary")
os.rename(latest_bin, bin_name_sub % version_from_file)
version = version_from_file
# 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
control.version = "%s-%s" % (Version(version), control.version.split("-", 1)[-1])
# control.set_software_version(Version(version))
control.save_control_to_wapt()
# Deleting outdated binaries
remove_outdated_binaries(version)
# Validating update-package-sources
return result
28d6d6b031b56671f7d65fdba6460c5cbed530e7b4799a32d0f77871ba8f161f : setup.py
a15dd41b148999cf982831da5fa639a4c26a9a0358739e4d66dcbf60bb96b75a : x86.msi3.5.3.20220729.msi
7077852e4dc7dd250ac44d843896d728afbfd7426b6fbb0de5f0c762f88ecfad : update_package.py
1151ba48674e21f0e26c7bebad851fcc669cd869201ae559fa6e253d64b9401d : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
00d93d4d644f2770dfbac3e98b10eabde772ef6c2bf21c509b8bfbf371c523a7 : luti.json
60decc614968c14b00e0c2fa9455eae6b68d31cc4a3fcc8c3f367b0725d026e0 : WAPT/control