- package: tis-tortoisesvn
- name: Tortoisesvn
- version: 1.14.8.29723-25
- categories: utilities
- maintainer: WAPT Team,Tranquil IT,Tranquil IT System,Pierre COSSON,Jordan ARNAUD
- editor: TortoiseSVN
- licence: opensource_free,cpe:/a:gnu:gpl_v2,wapt_public
- locale: all
- target_os: windows
- impacted_process: TortoiseProc
- architecture: x86
- signature_date:
- size: 18.18 Mo
- installed_size: 47.59 Mo
- homepage : https://tortoisesvn.net/
package : tis-tortoisesvn
version : 1.14.8.29723-25
architecture : x86
section : base
priority : optional
name : Tortoisesvn
categories : utilities
maintainer : WAPT Team,Tranquil IT,Tranquil IT System,Pierre COSSON,Jordan ARNAUD
description : TortoiseSVN is version management software. This free software integrates directly into the Windows context menu, making it accessible with a single mouse-click on a file or folder
depends :
conflicts :
maturity : PROD
locale : all
target_os : windows
min_wapt_version : 2.3
sources : https://tortoisesvn.net/downloads.html
installed_size : 47590537
impacted_process : TortoiseProc
description_fr : TortoiseSVN est un logiciel de gestion de versions. Ce logiciel gratuit s'intègre directement dans le menu contextuel de Windows, ce qui le rend accessible d'un simple clic de souris sur un fichier ou un dossier
description_pl : TortoiseSVN to oprogramowanie do zarządzania wersjami. To darmowe oprogramowanie integruje się bezpośrednio z menu kontekstowym systemu Windows, dzięki czemu jest dostępne za pomocą jednego kliknięcia myszą na pliku lub folderze
description_de : TortoiseSVN ist eine Versionsverwaltungssoftware. Diese kostenlose Software integriert sich direkt in das Windows-Kontextmenü, so dass sie mit einem einzigen Mausklick auf eine Datei oder einen Ordner zugänglich ist
description_es : TortoiseSVN es un software de gestión de versiones. Este software gratuito se integra directamente en el menú contextual de Windows, por lo que es accesible con un solo clic del ratón sobre un archivo o carpeta
description_pt : O TortoiseSVN é um software de gestão de versões. Este software gratuito integra-se diretamente no menu de contexto do Windows, tornando-o acessível com um simples clique do rato sobre um ficheiro ou pasta
description_it : TortoiseSVN è un software di gestione delle versioni. Questo software gratuito si integra direttamente nel menu contestuale di Windows, rendendolo accessibile con un solo clic del mouse su un file o una cartella
description_nl : TortoiseSVN is versiebeheersoftware. Deze gratis software integreert direct in het Windows contextmenu, waardoor het toegankelijk is met een enkele muisklik op een bestand of map
description_ru : TortoiseSVN - это программное обеспечение для управления версиями. Это бесплатное программное обеспечение интегрируется непосредственно в контекстное меню Windows, что делает его доступным одним щелчком мыши на файле или папке
audit_schedule :
editor : TortoiseSVN
keywords : versioning, subversion, open-source
licence : opensource_free,cpe:/a:gnu:gpl_v2,wapt_public
homepage : https://tortoisesvn.net/
package_uuid : 6461bfa8-1908-4bf2-8b51-6f84977cdee2
valid_from :
valid_until :
forced_install_on :
changelog : https://tortoisesvn.net/Changelog.txt
min_os_version : 10.0
max_os_version :
icon_sha256sum : af22ffab9f39e29286075b3ad95c4ee1a40c24a150bec41176965386d61f0750
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date : 2024-10-16T10:05:34.000000
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
signature : WJJ+qfaxMuzAATOwoekva4UBXKOHia4RgTCtla4f2ACpcWc8D3hqO8wmzvECoF11Nr8wm96VRHcuGPR99J/OIidxAxq3Tk+xRQwI0I/Pw3P3r3VjcYLIam5OBa2wum/j/5EI0PslBN3hdt1iyLodlTtpi1cABpw5LlRkNdPbO0KIlfdLx6DbWORyCNQqvvzrH4up1vyVbG19eKlmn/Hzn3lTyXTaCVd94RGGp2jlWdKI9jOOWoyfX9qTuqkdAkDfTm5PoZduLqxpT2xVjAydplOamoNKRH7tPDSccdbyYiGUt7FFZ6HAv5qA7u2+LYcvx8ELYUG4p5eqDmp9NqbpdA==
from setuphelpers import *
msi_properties = {
"ADDLOCAL": "ALL",
}
def install():
bin_name = glob.glob(f"TortoiseSVN-*.msi")[0]
install_msi_if_needed(
bin_name,
properties=msi_properties,
)
def uninstall():
remove_programs_menu_folder("TortoiseSVN")
# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *
def update_package():
# Declaring local variables
package_updated = False
proxies = get_proxies_from_wapt_console()
if not proxies:
proxies = get_proxies()
update_dict = {
"bin_contains": {
"windows-x64": "-x64-svn-1.14.4.msi",
"windows-x86": "-win32-svn-1.14.4.msi",
"windows-arm64": "-ARM64-svn-1.14.4",
}
}
url = "https://tortoisesvn.net/downloads.html"
version = None
# url = update_dict["url"][f'{ensure_list(control.target_os)[0].split("(")[0]}-{ensure_list(control.architecture)[0]}']
# latest_bin = update_dict["latest_bin"][f'{ensure_list(control.target_os)[0].split("(")[0]}-{ensure_list(control.architecture)[0]}']
# download_url = update_dict["download_url"][f'{ensure_list(control.target_os)[0].split("(")[0]}-{ensure_list(control.architecture)[0]}']
# Getting latest version from official sources
print("URL used is: %s" % url)
for bs_search in bs_find_all(url, "a", proxies=proxies):
if update_dict["bin_contains"][f'{ensure_list(control.target_os)[0].split("(")[0]}-{ensure_list(control.architecture)[0]}'] in bs_search.get(
"href", ""
):
download_url = bs_search["href"]
latest_bin = download_url.split("/")[-2] if download_url.endswith("/") else download_url.split("/")[-1]
# latest_bin = download_url.split("/")[-2 if download_url.endswith("/") else -1]
version = latest_bin.split("-")[1]
break
# Downloading latest binaries
print("Latest %s version is: %s" % (control.name, version))
print("Download URL is: %s" % download_url)
if not isfile(latest_bin):
print("Downloading: %s" % latest_bin)
wget(download_url, latest_bin, proxies=proxies)
else:
print("Binary is present: %s" % latest_bin)
# Deleting outdated binaries
remove_outdated_binaries(latest_bin)
# arch_list = ensure_list(control.architecture)
# remove_outdated_binaries(version, filename_contains=("x64" if "x64" in arch_list else "x86" if "x86" in arch_list else []))
# Checking version from file
if get_os_name() == "Windows" and "windows" in control.target_os.lower():
version_from_file = get_msi_properties(latest_bin).get('ProductName', None).split(" ")[1]
if Version(version_from_file, 4) == Version(version, 4):
print(f"INFO: Binary file version ({version_from_file}) corresponds to online version ({version})")
else:
error(f"ERROR: Binary file version ({version_from_file}) do NOT corresponds to online version ({version})")
# Changing version of the package
if Version(version, 4) > Version(control.get_software_version(), 4):
print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))
package_updated = True
else:
print("Software version up-to-date (%s)" % Version(version))
control.set_software_version(version)
control.save_control_to_wapt()
# Validating or not update-package-sources
return package_updated
# # Changing version of the package and validating update-package-sources
# return complete_control_version(control, version)
91a48f1c419752cedc21525fde295faf1ecc88e8c25c3e4a6c9254952433d08d : TortoiseSVN-1.14.8.29723-win32-svn-1.14.4.msi
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
5976123a57ece1fc7979765c5bfb4843e7333cb338c586826ab07931a2e38638 : WAPT/control
af22ffab9f39e29286075b3ad95c4ee1a40c24a150bec41176965386d61f0750 : WAPT/icon.png
a66a7d689b5a70a7ee101501c8c4a6609dd2047e1ade9b8f9c3225f8e6a66e32 : luti.json
11683f2bbcc1c1fa5091aa0527f11388bdefbc63914c5a161e17b22932330530 : setup.py
70715ffca31f20653bf715d719e80f49a272658656ff84ddf7577e160af3870e : update_package.py