lazygit
Paquet d’installation silencieuse pour lazygit
								
								0.56.0-3
								
							
							
                                    Les paquets PREPROD sont des paquets construits via LUTI.
                                    Ils restent généralement 5 jours en PREPROD, après quoi un scan VirusTotal est effectué.
                                    
                                    Si le paquet réussit ce dernier contrôle, il est promu en PROD et publié sur le store.
                                
- package: tis-lazygit-portable
 - name: lazygit
 - version: 0.56.0-3
 - maintainer: Amel FRADJ, Bertrand Lemoigne
 - licence: MIT license
 - target_os: windows
 - impacted_process: lazygit
 - architecture: x86
 - signature_date:
 - size: 7.83 Mo
 - homepage : https://donorbox.org/lazygit
 
package           : tis-lazygit-portable
version           : 0.56.0-3
architecture      : x86
section           : base
priority          : optional
name              : lazygit
categories        : 
maintainer        : Amel FRADJ, Bertrand Lemoigne
description       : A simple terminal UI for git commands, written in Go with the gocui library
depends           : 
conflicts         : 
maturity          : PREPROD
locale            : 
target_os         : windows
min_wapt_version  : 
sources           : 
installed_size    : 
impacted_process  : lazygit
description_fr    : Une interface de terminal simple pour les commandes git, écrite en Go avec la bibliothèque gocui
description_pl    : Prosty interfejs terminala dla poleceń git, napisany w języku Go przy użyciu biblioteki gocui
description_de    : Eine einfache Terminal-Oberfläche für Git-Befehle, geschrieben in Go mit der gocui-Bibliothek
description_es    : Una sencilla interfaz de terminal para comandos git, escrita en Go con la biblioteca gocui
description_pt    : Uma interface de terminal simples para comandos git, escrita em Go com a biblioteca gocui
description_it    : Una semplice interfaccia terminale per i comandi di git, scritta in Go con la libreria gocui
description_nl    : Een eenvoudige terminal UI voor git commando's, geschreven in Go met de gocui bibliotheek
description_ru    : Простой терминальный пользовательский интерфейс для команд git, написанный на Go с использованием библиотеки gocui
audit_schedule    : 
editor            : 
keywords          : 
licence           : MIT license
homepage          : https://donorbox.org/lazygit
package_uuid      : 3bafec95-a5db-4e9a-9b61-c09d40d59fc1
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : e34d0e3c2ab4bd743db7dde335dba0c5de73c28ad51e6ffcf003ca15650be2ee
signer            : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date    : 2025-11-01T10:29:27.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         : pMGnrRGvn+Ha4TaW1DOBuKq4cCd/0VOfzyFiG7lOImlBf3y6CktP+yYx2TMtNS00Am2uwOX4Z2ww3ChfE+2+5J1JX5lDozY0i+hFWsRO8Sjby83/ChD4ZLNRxteq32GZ7WVzryn4J5RPlal9jC/BL86bqMlOvsdj188I7mNbalnDTZHrjbRrrtp90xbXbu5uqec3FLVkD0Xg6RvjYZ5RLnVXdW54ngmYg7dzZemK6LEgYq7LbkUyLyT0q1/y8kj+sFGzDO3+b5iF94PO7bV5P8xjqTYEOOQRi6XLjhzNa3KFMUkvbzace8wsuqJLpd425T4Ctpiv6LVzstAVpcZWbA==
                        # -*- coding: utf-8 -*-
from setuphelpers import *
"""
"""
app_name = "lazygit"
editor_dir = makepath(programfiles, "lazygit")
app_dir = makepath(editor_dir, "lazygit")
app_path = makepath(app_dir,"lazygit.exe")
audit_version = False
def get_installed_version(app_path):
    return get_file_properties(app_path).get("FileVersion", "")
def install():
    # Declaring local variables
    zip_name = glob.glob(f"*.zip")[0]
    unzipped_dir = "lazygit"
    # Installing software
    killalltasks(ensure_list(control.impacted_process))
    if isdir(app_dir) and force:
        remove_tree(app_dir)
    mkdirs(app_dir)
    print("Extracting: %s to: %s" % (zip_name, unzipped_dir))
    unzip(zip_name, unzipped_dir)
    print('Copy lazygit to %s' % app_dir)
    copytree2(unzipped_dir, app_dir, onreplace=default_overwrite)
    # Creating custom shortcuts
    create_desktop_shortcut(app_name, target=app_path)
    create_programs_menu_shortcut(app_name, target=app_path)
def audit():
    # Auditing software
    audit_status = "OK"
    installed_version = get_installed_version(app_path)
    if Version(installed_version) < Version(control.get_software_version()) and audit_version:
        print("%s is installed in version (%s) instead of (%s)" % (app_name, installed_version, control.get_software_version()))
        audit_status = "WARNING"
    elif isdir(app_dir) and not dir_is_empty(app_dir):
        print("%s (%s) is installed" % (app_name, installed_version))
        audit_status = "OK"
    else:
        print("%s is not installed" % app_name)
        audit_status = "ERROR"
    return audit_status
def uninstall():
    # Uninstalling software
    killalltasks(ensure_list(control.impacted_process))
    if isdir(app_dir):
        remove_tree(app_dir)
    if dir_is_empty(editor_dir):
        remove_tree(editor_dir)
    # Removing shortcuts
    remove_desktop_shortcut(app_name)
    remove_programs_menu_shortcut(app_name)
                            # -*- coding: utf-8 -*-
from setuphelpers import *
import re
def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    dict_arch ={
        "x64" :"_x86_64.zip",
        "x86": "_windows_32-bit.zip"
    }
    git_repo = "jesseduffield/lazygit"
    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 download["browser_download_url"].endswith(".zip") and dict_arch[control.architecture] in download["browser_download_url"] :
            url_dl = download["browser_download_url"]
            version = json_load["tag_name"].replace("v", "")
            filename = download["name"]
            break
    if not isfile(filename):
        package_updated = True
        wget(url_dl,filename,proxies=proxies)
    #nettoyer les fichiers temporaires
    for f in glob.glob('*.zip'):
        if f != filename:
            remove_file(f)
    control.set_software_version(version)
    control.save_control_to_wapt()
                            01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
2c48c33576b23ead039e6fb605923bfc76900e4f54748e826c906d30e1bc2b05 : WAPT/control
e34d0e3c2ab4bd743db7dde335dba0c5de73c28ad51e6ffcf003ca15650be2ee : WAPT/icon.png
04dfa669146f0ea43b3f65e75e82c4c9d2481d183a5e0cb6617625677d16a49c : lazygit_0.56.0_windows_32-bit.zip
49bb053edd0e9f18d61130b1ed3b3a627a54fe403f36fc075674808cc590008e : luti.json
728c4d376201b55d9ee28f8266f962881e5d39d6873f483d122e80d8341bf1fa : setup.py
0ed6cfd008a950573930ab24aa53aa69f71f827f76371e32dec8909bb16dd371 : update_package.py