- package: tis-tortoisesvn
- name: Tortoisesvn
- version: 1.14.3.29387-23
- categories: utilities
- maintainer: Tranquil IT System, Pierre COSSON
- locale: all
- target_os: windows
- impacted_process: TortoiseProc
- architecture: x64
- signature_date:
- size: 21.17 Mo
- installed_size: 41.39 Mo
- depends:
package : tis-tortoisesvn
version : 1.14.3.29387-23
architecture : x64
section : base
priority : optional
name : Tortoisesvn
categories : utilities
maintainer : Tranquil IT System, Pierre COSSON
description : Versioning tool integrated in windows explorer
depends : tis-vcredist2012
conflicts :
maturity : PROD
locale : all
target_os : windows
min_wapt_version : 2.1
sources : https://tortoisesvn.net/downloads.html
installed_size : 41394176
impacted_process : TortoiseProc
description_fr : Outil de versioning SVN Subversion intégré à l'explorateur Windows
description_pl :
description_de :
description_es :
description_pt :
description_it :
description_nl :
description_ru :
audit_schedule :
editor :
keywords :
licence :
homepage :
package_uuid : 74198307-a931-4780-aabb-aa57dc42a6ad
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version :
max_os_version :
icon_sha256sum : af22ffab9f39e29286075b3ad95c4ee1a40c24a150bec41176965386d61f0750
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature : foa1+fBS9bvssnWaoZnZNV9Pw9DGd+xq1UMAz04KGTemo6soYMh0O7w0jKz0E8njIG+Em1NwirTyaNge66vOAeKqkkyaNOSCjKyFbbfPBzwOlmKzWDy3c9AKrOtgIXaW2ecoXenVHZLhLG9z1BwOZ4azEZhOg84Mo6Rm2m1eqw7BaUGMfsHBVkqUSefyuAElFKux1nIsNJsKwSFKh/Q4ieiC14hZMyU03wO3PB4bWcLWkqSjW5buH9S72NMYE+PUMdahEDnj8FuVBGZUctVtjW+TG9TeFweWS5z636oI2PmMI0cBfB4Q4D4r8ZDTXMNQkKbI7aHMbCYNfAYlHKcnKw==
signature_date : 2022-07-26T03:52:14.126653
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
from setuphelpers import *
import platform
# additional options for msi install cusomization
msi_properties = {"ADDLOCAL": "CLI"}
def install():
bin_contains = "TortoiseSVN"
binary = glob.glob(f"{bin_contains}*.msi")[0]
install_msi_if_needed(binary, properties=msi_properties)
# -*- coding: utf-8 -*-
from setuphelpers import *
def update_package():
# Declaring local variables
arch = control.architecture
bin_contains = "TortoiseSVN"
result = False
proxies = get_proxies()
if not proxies:
proxies = get_proxies_from_wapt_console()
app_name = control.name
url = "https://tortoisesvn.net/downloads.html"
# Getting latest version from official sources
print("URL used is: %s" % url)
for bs_search in bs_find_all(url, "a", "class", "btn", timeout=10):
if bin_contains in bs_search["href"] and arch in bs_search["href"]:
version = bs_search["href"].split("-")[1]
latest_bin = bs_search["href"].split("/")[-2]
download_url = bs_search["href"]
break
print("URL used is: %s" % download_url)
for bs_search2 in bs_find_all(download_url, "a", "class", "mirror_link", timeout=10):
if bin_contains in bs_search2["href"] and arch in bs_search["href"]:
# version = bs_search2["href"].split("-")[1]
# latest_bin = bs_search2["href"].split("/")[-2]
download_url2 = "https://fr.osdn.net/" + bs_search2["href"]
break
print("Latest %s version is: %s" % (app_name, version))
print("Download URL is: %s" % download_url2)
# Downloading latest binaries
if not isfile(latest_bin):
print("Downloading: %s" % latest_bin)
wget(download_url2, latest_bin)
else:
print("Binary is present: %s" % latest_bin)
# 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 or not update-package-sources
return result
7c1918ee50f6e5bd253aad0a7a26b915cafb730aa897669881cbaccbb00f45ad : setup.py
d0c3cb52da66743bdf84fb92b67a2d39d819ddad0e7e03ca8fced511452d8041 : update_package.py
af22ffab9f39e29286075b3ad95c4ee1a40c24a150bec41176965386d61f0750 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
e344bbaf92004c3802286c45c57e549b94af72ddf594aa64de597c2648c6ef00 : luti.json
093281e215e57205fe512303872b25b98d6f1dba1059b6e6ddd8704aeeab9f81 : TortoiseSVN-1.14.3.29387-x64-svn-1.14.2.msi
a42a64c09f415921c6cb30eeb24ad6f8afb572b75834522191501411d70a36c1 : WAPT/control