
github-cli
Silent install package for github-cli
2.78.0-1
- package: tis-github-cli
- name: github-cli
- version: 2.78.0-1
- maintainer: Amel FRADj
- licence: MIT License Copyright (c) 2019 GitHub Inc.
- target_os: windows
- architecture: x64
- signature_date:
- size: 18.31 Mo
- homepage : https://cli.github.com/
- depends:
package : tis-github-cli
version : 2.78.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 : PROD
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 : da5e392c-d7f9-41be-910d-f3403dac2203
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version :
max_os_version :
icon_sha256sum : 23f96a59fef97fdc1458f1b383bf716474d6f5cfa0319fa6ccdc196a40d6dcd3
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date : 2025-08-26T20:00:19.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 : A4ChZSmKS/6+2uyH+nZf44/orGqlFOVntuf8oH5IJBxgdmGQ68bqnFn1858XenmFt6lzJHLybpg97rxuuEWsHMRcsyW3lRsyCeH2ZNhQO/sn1S22QkL4NHz1JLqcM1KQRnA/lbSSx4DXfhV+FRbYWuE78ppu1f0MDnOg7CdXDuk2ARmcDAhSf5Yoq4gnFbXqALYRoYCxE0TPLiHRkKLP4wz3l4TYNCbCVksRwDI1qG8mamq8g7YtJMo7636h8ZAuTBPlNtCVksbtbZ1v9z7FzUfKZ0YmgcKEulv7rdMid4Fc+lhbS3t05Jp2BcJ/B8hRIIVzsy7joHSwMLhHOkt3kg==
# -*- 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()
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
9efa41145fc1330f430360dfc37d9de4bb44a1e76998686bd45cd0208d2ab689 : WAPT/control
23f96a59fef97fdc1458f1b383bf716474d6f5cfa0319fa6ccdc196a40d6dcd3 : WAPT/icon.png
4fcaedfca3ed050c63c76fd107c7d82afef57605d929287ff2518b7d65a800c2 : gh_2.78.0_windows_amd64.msi
ca2b9ca0012046f6e803d00cae7007fb10ca464caf0c4432363eee876aa30c2b : luti.json
43335cbae0e286dbdd09bff5e3a06adfdf2e82b68bd9a5d8283e9de8c83cd3c3 : setup.py
141446c2ab93520e026064308f3a8d76f5448b2edb4f0d55f6a2009ca33dafe7 : update_package.py