tis-tortoisegit icon

TortoiseGit

Paquet d’installation silencieuse pour TortoiseGit

2.17.0.1-9

  • package: tis-tortoisegit
  • name: TortoiseGit
  • version: 2.17.0.1-9
  • categories: Development,Utilities
  • maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ
  • editor: TortoiseGit team
  • licence: GPLv2
  • locale: all
  • target_os: windows
  • impacted_process: TortoiseGitProc,TortoiseGitUDiff,TortoiseGitIDiff,TortoiseGitMerge,TortoiseGitPlink,TortoisePlink,TGitCache,tgittouch,TortoiseGitBlame
  • architecture: x64
  • signature_date:
  • size: 22.92 Mo
  • installed_size: 91.04 Mo
  • homepage : https://tortoisegit.org/
  • depends:

package           : tis-tortoisegit
version           : 2.17.0.1-9
architecture      : x64
section           : base
priority          : optional
name              : TortoiseGit
categories        : Development,Utilities
maintainer        : WAPT Team,Tranquil IT,Jimmy PELÉ
description       : TortoiseGit is a Git revision control client, implemented as a Windows shell extension and based on TortoiseSVN.
depends           : tis-git,tis-vcredist,tis-dotnetfx
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.0
sources           : https://download.tortoisegit.org
installed_size    : 91035264
impacted_process  : TortoiseGitProc,TortoiseGitUDiff,TortoiseGitIDiff,TortoiseGitMerge,TortoiseGitPlink,TortoisePlink,TGitCache,tgittouch,TortoiseGitBlame
description_fr    : TortoiseGit est un client du logiciel de gestion de versions Git, implémenté comme une extension shell de Windows.
description_pl    : TortoiseGit to klient kontroli rewizji Git, zaimplementowany jako rozszerzenie powłoki Windows i oparty na TortoiseSVN
description_de    : TortoiseGit ist eine freie grafische Benutzeroberfläche für die Versionsverwaltungs-Software Git unter Windows.
description_es    : TortoiseGit es un cliente de control de revisiones Git, implementado como una extensión del shell de Windows y basado en TortoiseSVN
description_pt    : TortoiseGit é um cliente de controlo de revisão Git, implementado como uma extensão de shell do Windows e baseado no TortoiseSVN
description_it    : TortoiseGit è un client per il controllo di revisione Git, implementato come estensione della shell di Windows e basato su TortoiseSVN
description_nl    : TortoiseGit is een Git revisiebeheer client, geïmplementeerd als een Windows shell extensie en gebaseerd op TortoiseSVN
description_ru    : TortoiseGit - это клиент контроля ревизий Git, реализованный в виде расширения оболочки Windows и основанный на TortoiseSVN
audit_schedule    : 
editor            : TortoiseGit team
keywords          : tortoisegit,git,tortoise,tortoisesvn,svn,revision,control
licence           : GPLv2
homepage          : https://tortoisegit.org/
package_uuid      : 70a84509-6840-4f43-88d0-adc2eb3d7246
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://tortoisegit.org/docs/releasenotes/
min_os_version    : 6.1
max_os_version    : 
icon_sha256sum    : 63c0fcd7c55ffd99f6cced84a36f6398ebbbefebaba0f742f6d670e99dab860d
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2024-11-06T14:00:39.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         : YPa+DiHSZJEbGY7dXuUt4yFx7AwkrdiWXenPwfyxxs24UvEVKgRsUoBTRFd1wW01rlbaeQjiWyERDWUhVFjeHf28pNVp/6VHb3nIrb8XJMyUrjaVvEpuXm6z0U01UDlJB4LgzENvfMdJOwkN0r197KYzWNOO4YzGAUKYmy77CSEDdZIPLA63qQdSAKV/EbVTF9iCTFRySNFUHkYNTkZdleCzzlbDFiN883cyzYwqhrc954PBve6ltf298SahnJdBnaAdg+bb5O2rLheCUgt2jjn1MxeN0tl0wkjZHT4yydG5kAvZeLY7CVZWm9O3H5Ct1Yo5BO4XH5g5i1SubBgbuw==

# -*- coding: utf-8 -*-
from setuphelpers import *


def install():
    # Initializing variables
    bin_name = glob.glob("*TortoiseGit-*")[0]

    # Installing the package
    print("Installing: %s" % bin_name)
    install_msi_if_needed(
        bin_name,
        min_version=control.get_software_version(),
    )


def session_setup():
    print("Disabling: auto-update-check")
    registry_set(HKEY_CURRENT_USER, r"SOFTWARE\TortoiseGit", "VersionCheck", 0, type=REG_DWORD)

# -*- coding: utf-8 -*-
from setuphelpers import *

bin_contains = "TortoiseGit-"


def update_package():
    # Initializing variables
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    app_name = control.name
    url = "https://tortoisegit.org/download/"
    if control.architecture == "x64":
        arch = "64bit"
    else:
        arch = "32bit"

    # Getting latest version from official sources
    print("URL used is: %s" % url)
    for bs_search in bs_find_all(url, "a", "class", "dl", proxies=proxies):
        if bin_contains in bs_search["href"] and arch in bs_search["href"]:
            version = bs_search["href"].split("/")[-2]
            latest_bin = bs_search["href"].split("/")[-1]
            url_dl = "https:" + bs_search["href"]
            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 (from: %s to: %s)" % (version, version_from_file))
            os.rename(latest_bin, latest_bin.replace(version, version_from_file))
            version = version_from_file

    # Changing version of the package
    control.version = "%s-%s" % (version, control.version.split("-", 1)[-1])
    control.save_control_to_wapt()

    # Deleting outdated binaries
    remove_outdated_binaries(version, filename_contains=arch)

05cf08eb2b004ab22e046cf069a6dd94fa3794cb2d22f815fcc1e0d2c4b8ca9a : TortoiseGit-2.17.0.1-64bit.msi
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
7173b3c830262c583cc8f14f74cb097a57e21f5e1dc7bda3372f6669be37619b : WAPT/control
63c0fcd7c55ffd99f6cced84a36f6398ebbbefebaba0f742f6d670e99dab860d : WAPT/icon.png
4f1a95df56d86be610a15b804e06d8bdb324159af05f5ea4e47698499407e2df : luti.json
2426ce71ccbd52e38a9c2014c47daf3d7c8742cb433645c7fc89c76082b0b7ad : setup.py
5de4b2828be82859294b8a29cc5b6c2a4c4b1c4b33a699b6dcc3fe459c3450f0 : update_package.py