
- package: tis-gitextensions
- name: Git Extensions
- version: 5.0.0.17897-2
- categories: Development,Utilities
- maintainer: WAPT Team,Tranquil IT, Flavien Schelfaut
- locale: all
- target_os: windows
- impacted_process: GitExtensions.exe
- architecture: x64
- signature_date:
- size: 23.12 Mo
- installed_size: 50.33 Mo
- depends:
package : tis-gitextensions
version : 5.0.0.17897-2
architecture : x64
section : base
priority : optional
name : Git Extensions
categories : Development,Utilities
maintainer : WAPT Team,Tranquil IT, Flavien Schelfaut
description : Git Extensions is a standalone UI tool for managing git repositories
depends : tis-dotnet8, tis-git
conflicts :
maturity : PROD
locale : all
target_os : windows
min_wapt_version : 2.1
sources : https://github.com/gitextensions/gitextensions
installed_size : 50331648
impacted_process : GitExtensions.exe
description_fr : Git Extensions est un outil d'interface utilisateur autonome pour la gestion des dépôts git
description_pl : Git Extensions to samodzielne narzędzie interfejsu użytkownika do zarządzania repozytoriami git
description_de : Git Extensions ist ein eigenständiges UI-Tool zur Verwaltung von Git-Repositories
description_es : Git Extensions es una herramienta de interfaz de usuario independiente para la gestión de repositorios git
description_pt : Git Extensions é uma ferramenta de IU autónoma para gerir repositórios git
description_it : Git Extensions è uno strumento UI indipendente per la gestione dei repository git
description_nl : Git Extensions is een standalone UI tool voor het beheren van git repositories
description_ru : Git Extensions - это отдельный UI-инструмент для управления репозиториями git
audit_schedule :
editor :
keywords : git,project,projects,version,control,system
licence :
homepage :
package_uuid : e61cca7b-c75a-4daa-bdc9-dc9488903a3e
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version : 10.0
max_os_version :
icon_sha256sum : 2f6632bd61fe8328b5d73ab1f46fba99d8cf1a627413953fa9d821b35bf22925
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date : 2024-09-24T09:02:31.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 : WFLyH4JmUKzcADll1XyBViGBLiYqIRIMR0+jm4LueVCcgAbH/oMfacqXWjBbATDChxsG6/0/AS9kjQfSEnIQKx2oPpLuOdj6lNgVeiz7lewmTvligqaO7EbubaWt+aQZ5n7pvic/wNwm/tk4i8M2K4lzaidt5xDQCyRmNJJ8IYZDqHr+oGWg4oMnEbOTVLaVYcf4sTZhK6HLfZ4XaVJCIzV2O5roBa16iGjOz5GXfyDYYBAQMlM9r9mvrOKfzKqUMVmpgTMQFOKdEhnOFg6laEqg6VNGVMeaprHzHdhaVvVDfpN8slA7f3Uf8/mPmba2xC/Na13Kl7P1MQfUBe+Iow==
# -*- coding: utf-8 -*-
from setuphelpers import *
def install():
# Initializing variables
bin_name = glob.glob("GitExtensions*.msi")[0]
install_msi_if_needed(
bin_name,
min_version=control.get_software_version()
)
# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *
import waptlicences
def update_package():
# Declaring local variables
package_updated = False
proxies = get_proxies_from_wapt_console()
if not proxies:
proxies = get_proxies()
app_name = control.name
api_url = "https://api.github.com/repos/gitextensions/gitextensions/releases/latest"
bin_contains = ".msi"
# Getting latest version information from official sources
print(f"API used is: {api_url}")
json_load = wgets(api_url, proxies=proxies, as_json=True)
version = json_load["tag_name"].replace("v", "")
for to_download in json_load["assets"]:
if bin_contains in to_download["name"]:
download_url = to_download["browser_download_url"]
latest_bin = to_download["name"]
break
# Downloading latest binaries
print(f"Latest {app_name} version is: {version}")
print(f"Download URL is: {download_url}")
if not isfile(latest_bin):
print(f"Downloading: {latest_bin}")
wget(download_url, latest_bin, proxies=proxies)
else:
print(f"Binary is present: {latest_bin}")
# Deleting outdated binaries
for f in glob.glob('*.msi'):
if Version(get_version_from_binary(f)) < Version(version):
remove_file(f)
# Free Code Signing for Open Source software : https://signpath.org/
expected_issuer = 'SignPath Foundation'
sign_name = waptlicences.check_msi_signature(latest_bin)[0]
if sign_name != expected_issuer:
error(f'Bad issuer {sign_name} != {expected_issuer} ')
# Changing version of the package
if Version(version) > Version(control.get_software_version()):
print(f"Software version updated (from: {control.get_software_version()} to: {version})")
package_updated = True
else:
print(f"Software version up-to-date ({version})")
control.set_software_version(get_version_from_binary(latest_bin))
control.save_control_to_wapt()
# Validating update-package-sources
return package_updated
36526a42a6a1ac0ee5b7248084b891a639e844c1bb831e58d71642f826d38cce : GitExtensions-x64-5.0.0.17897-2a3b78b86.msi
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
f233deb1435b1a05bd76c8db05b7513060eed63e4bff2a0fca84f2b120fffb35 : WAPT/control
2f6632bd61fe8328b5d73ab1f46fba99d8cf1a627413953fa9d821b35bf22925 : WAPT/icon.png
f4ebb37d2699dc51f07f1f223d5c11ee188eb4474cb4a157672c2c510402dce6 : luti.json
46723896915049135f2fb378e0b6201ac2e0cd51230b1a926492cb4dd5c22138 : setup.py
f006442f0228b9a1d6f784da3bc0f8e67c531e8a2b6b37b4b7a4d58a16d15359 : update_package.py