github-cli
Silent install package for github-cli
2.98.0-1
Preprod packages are packages built on LUTI.
They remain in PREPROD usually for 5 days, after which a second VirusTotal scan is performed to verify that the status has not changed.
If the package passes this last check, it is promoted to PROD and published on the store.
- package: tis-github-cli
- name: github-cli
- version: 2.98.0-1
- maintainer: Amel FRADj
- licence: MIT License Copyright (c) 2019 GitHub Inc.
- target_os: windows
- architecture: x64
- signature_date:
- size: 15.29 Mo
- homepage : https://cli.github.com/
- depends:
package : tis-github-cli
version : 2.98.0-1
architecture : x64
section : base
priority : optional
name : github-cli
categories :
maintainer : Amel FRADj
description : gh is GitHub on the command line. It brings pull requests, issues, and other GitHub concepts to the terminal next to where you are already working with git and your code
depends : tis-github-desktop
conflicts :
maturity : PREPROD
locale :
target_os : windows
min_wapt_version :
sources : https://github.com/cli/cli/releases
installed_size :
impacted_process :
description_fr : gh est GitHub sur la ligne de commande. Il apporte les demandes d'extraction, les problèmes et d'autres concepts GitHub au terminal à côté de l'endroit où vous travaillez déjà avec git et votre code.
description_pl : gh to GitHub w wierszu poleceń. Przenosi żądania ściągnięcia, problemy i inne koncepcje GitHub do terminala tam, gdzie już pracujesz z git i swoim kodem.
description_de : gh ist GitHub auf dem Kommando-Rig. Porta Richest Pull, Probleme und andere Konzepte von GitHub bis zum Ende, als ich anfing, mit Git und Ihrem Code zu arbeiten.
description_es : gh es GitHub en la línea de comando. Trae solicitudes de extracción, problemas y otros conceptos de GitHub a la terminal junto con donde ya estás trabajando con git y tu código.
description_pt : gh é GitHub na linha de comando. Ele traz solicitações pull, problemas e outros conceitos do GitHub para o terminal onde você já está trabalhando com o git e seu código.
description_it : gh è GitHub sulla riga di comando. Porta richieste pull, problemi e altri concetti di GitHub al terminale insieme a dove stai già lavorando con git e il tuo codice.
description_nl : gh è GitHub op de commandoinstallatie. Met de rijkste trekkracht zijn er meer problemen en problemen met GitHub op de terminal die een duif blijft binnendringen met zijn code.
description_ru : gh — это GitHub в командной строке. Он переносит запросы на включение, проблемы и другие концепции GitHub на терминал рядом с тем местом, где вы уже работаете с git и своим кодом.
audit_schedule :
editor :
keywords :
licence : MIT License Copyright (c) 2019 GitHub Inc.
homepage : https://cli.github.com/
package_uuid : 9d3a8ea6-f196-458d-b782-b4358c5a6e3f
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version :
max_os_version :
icon_sha256sum : 23f96a59fef97fdc1458f1b383bf716474d6f5cfa0319fa6ccdc196a40d6dcd3
signer : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date : 2026-08-20T23:00:22.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 : up8YvcIpMgl9LCgG6xgjohLfk97ACwKcpAGugckp0WrZqJn5s9Jd/6dS+ArwVXd6PHGhV/MjyyCy0rvYuNtWH2jR+Wx7RlJjC9iYVMTZrTg5N4DvjkfWT8Ak6Xh+s3phlOoa48qtAw3d/Ag69h0wi4MTP/NezwPHaBEo/cU9GaQZSr6EHOrYQqh6fRModI1uq53V8tX5pmyBsi5d+So09Y5AOlIinFDLC29d4GqzQoM10/2/blp8jFnkmdUMzVcPC7TPWKexX15NJ3NfI2LZagQpZPKxBXidPeelB5phs84GREdZYrwcf3k3x43/SMh+jVkaPNz/6+m9JVlFWtLQMw==
# -*- coding: utf-8 -*-
from setuphelpers import *
r"""
Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()
"""
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls
def install():
# Declaring local variables
bin_name = glob.glob('gh_*_windows_amd64.msi')[0]
# Installing the software
install_msi_if_needed(bin_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":"windows_amd64"}
api_url = "https://api.github.com/repos/cli/cli/releases/latest"
# Get data from API
releases_dict = json.loads(wgets(api_url, proxies=proxies))
msi_found = False # Flag pour indiquer la découverte d'un fichier .msi
for release in releases_dict:
if msi_found:
break
for asset in releases_dict["assets"]:
if asset["browser_download_url"].endswith(".msi") and dict_arch[control.architecture] in asset["browser_download_url"]:
url_download = asset["browser_download_url"]
latest_bin = url_download.split("/")[-1]
version = releases_dict["name"][11:]
msi_found = True # Mettre à jour le flag pour indiquer qu'un msi a été trouvé
break
# Deleting binaries
for f in glob.glob("*.msi"):
if f != latest_bin:
remove_file(f)
# Downloading latest binaries
print("Download URL is: %s" % url_download)
if not isfile(latest_bin):
print("Downloading: %s" % latest_bin)
wget(url_download, latest_bin, proxies=proxies)
else:
print("Binary is present: %s" % latest_bin)
version = get_version_from_binary(latest_bin)
control.set_software_version(version)
control.save_control_to_wapt()
01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
dbb05c59a627a6e3fdf0199996f7c4561dfc7c71790885d13ee840be44dadf91 : WAPT/control
23f96a59fef97fdc1458f1b383bf716474d6f5cfa0319fa6ccdc196a40d6dcd3 : WAPT/icon.png
1793a0dd0064b3f03fe8ceb16b18da751d60e0c7efcfe7bbb4715fca3b675392 : gh_2.98.0_windows_amd64.msi
b03fb8688c85b8ee1c18208361b600736213a554efe8048c73e23da92cc9b9f9 : luti.json
43335cbae0e286dbdd09bff5e3a06adfdf2e82b68bd9a5d8283e9de8c83cd3c3 : setup.py
141446c2ab93520e026064308f3a8d76f5448b2edb4f0d55f6a2009ca33dafe7 : update_package.py