Rig
Silent install package for Rig
0.8.0-2
Development
Development
- package: tis-rig
- name: Rig
- version: 0.8.0-2
- categories: Development
- maintainer: WAPT Team,Tranquil IT,Ingrid TALBOT
- editor: Gabor Csardi
- licence: opensource_free,cpe:/a:mit:x11_license,wapt_private
- locale: all
- target_os: windows
- impacted_process: rig
- architecture: x64
- signature_date:
- size: 6.38 Mo
- installed_size: 16.78 Mo
package : tis-rig
version : 0.8.0-2
architecture : x64
section : base
priority : optional
name : Rig
categories : Development
maintainer : WAPT Team,Tranquil IT,Ingrid TALBOT
description : R Installation Manager (rig) installs,removes and configures R versions
depends :
conflicts :
maturity : PROD
locale : all
target_os : windows
min_wapt_version : 2.3
sources :
installed_size : 16776922
impacted_process : rig
description_fr : R Installation Manager (rig) installe, supprime et configure les versions de R
description_pl : R Installation Manager (rig) instaluje, usuwa i konfiguruje wersje R
description_de : R Installation Manager (rig) installiert, entfernt und konfiguriert R-Versionen
description_es : R Installation Manager (rig) instala, elimina y configura versiones de R
description_pt : O R Installation Manager (rig) instala, remove e configura versões do R
description_it : R Installation Manager (rig) installa, rimuove e configura le versioni di R
description_nl : R Installation Manager (rig) installeert, verwijdert en configureert R-versies
description_ru : R Installation Manager (rig) устанавливает, удаляет и настраивает версии R
audit_schedule :
editor : Gabor Csardi
keywords : r,rstudio
licence : opensource_free,cpe:/a:mit:x11_license,wapt_private
homepage :
package_uuid : 30b4de7d-1e36-4561-b7ed-37318c8fc4df
valid_from :
valid_until :
forced_install_on :
changelog : https://github.com/r-lib/rig/releases
min_os_version :
max_os_version :
icon_sha256sum : 3078632e09e88905a16939aca654ceda7fd5d7acd4d42c79d49d2f1d5943d363
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date : 2026-05-02T15:00:29.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 : Stz2hLCXYzpgQ3GBKwJlS7/udVTnPBGKT9HGTQY0zNo2ESdRPeTP2SPiMwTQePf5g10D09ngdrMYnE1C1dM6DcjGWQBysuLT0n44a6uOtFUshqjuydQROqwCf1nWnWFYhdnXCA5elq8t1UC07KdvtaZqSQNBSMPIwMqKI/KG9Gc94RMZ8Mtie+l0uMzcIB4c8KTHZCwRE3PKS59VSWLTCfq8aZecau7uQk73fIObKsGJi3q8tq1MppvOl91jPlyGjreM06fX3fh7zPC+R1iHKJWLmxrjHzjLPIIRDRNxtv+yPIYJ4RiyZyTuJHcFPPfhvN7p/MGUl/cWT8tagfRlzg==
# -*- coding: utf-8 -*-
from setuphelpers import *
def install():
bin_name = glob.glob("rig-windows-*.exe")[0]
install_exe_if_needed(bin_name, silentflags="/VERYSILENT /SUPPRESSMSGBOXES",
key = "{A6B1E72E-CEB0-4E4B-A444-6DD0DC0DF0C0}_is1",
min_version=control.get_software_version())
# -*- 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()
update_dict = {"windows": ".exe", "macos": ".pkg", "debian_based": "amd64.deb", "redhat_based": "x86_64.rpm"}
api_url = "https://api.github.com/repos/r-lib/rig/releases/latest"
# Get data from API
releases_dict = json.loads(wgets(api_url, proxies=proxies))
exe_found = False # Flag pour indiquer la découverte d'un fichier .exe
for release in releases_dict:
if exe_found:
break
for asset in releases_dict["assets"]:
if asset["browser_download_url"].endswith(".exe") and update_dict[control.target_os] in asset["browser_download_url"]:
url_download = asset["browser_download_url"]
latest_bin = url_download.split("/")[-1]
version = releases_dict["name"].split(" ")[1]
exe_found = True # Mettre à jour le flag pour indiquer qu'un exe a été trouvé
break
# Deleting binaries
for f in glob.glob("*.exe"):
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
72dc0280d9f6eaef3d2c89b2861d5376431dfc3d17f42aef90bf35870835d38d : WAPT/control
3078632e09e88905a16939aca654ceda7fd5d7acd4d42c79d49d2f1d5943d363 : WAPT/icon.png
c888c7dfc7de2d650bdf4d56b775553310d696c1f39b45df9d702d5c9984abbf : luti.json
1de99a3906453c2e18848a587cfd752183e9cfaa2b7931f60c64c40f04489eab : rig-windows-0.8.0.exe
53aa287989abce1563a217b0eafcc5b3b8d4645dd6dd89f675857ae61bce5475 : setup.py
a8b05c3731cb9908d4312dffc6c208d6a9c99576e9ba998212cddd76f213f408 : update_package.py