Preprod packages are packages built on LUTI.
They remain in PREPROD usually for 5 days, after which a new VirusTotal scan is performed.
If the package passes this last check, it is promoted to PROD and published on the store.
- package: tis-vscode
- name: Visual Studio Code
- version: 1.104.1-42
- categories: Development
- maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ,Jordan ARNAUD
- editor: Microsoft
- licence: MIT,TypeScript
- locale: all
- target_os: redhat_based
- impacted_process: Code,code
- architecture: x64
- signature_date:
- size: 161.46 Mo
- installed_size: 415.31 Mo
- homepage : https://code.visualstudio.com/
package : tis-vscode
version : 1.104.1-42
architecture : x64
section : base
priority : optional
name : Visual Studio Code
categories : Development
maintainer : WAPT Team,Tranquil IT,Jimmy PELÉ,Jordan ARNAUD
description : Visual Studio Code is a source-code editor developed by Microsoft
depends :
conflicts :
maturity : PREPROD
locale : all
target_os : redhat_based
min_wapt_version : 2.3
sources : https://code.visualstudio.com/Download
installed_size : 415312378
impacted_process : Code,code
description_fr : Visual Studio Code est un éditeur de code extensible développé par Microsoft
description_pl : Visual Studio Code to edytor kodu źródłowego opracowany przez firmę Microsoft
description_de : Visual Studio Code ist ein von Microsoft entwickelter Quellcode-Editor
description_es : Visual Studio Code es un editor de código fuente desarrollado por Microsoft
description_pt : Visual Studio Code é um editor de código-fonte desenvolvido pela Microsoft
description_it : Visual Studio Code è un editor di codice sorgente sviluppato da Microsoft
description_nl : Visual Studio Code is een broncode-editor ontwikkeld door Microsoft
description_ru : Visual Studio Code - это редактор исходного кода, разработанный компанией Microsoft
audit_schedule :
editor : Microsoft
keywords : visual,studio,code,vs,vscode,editor,debugger
licence : MIT,TypeScript
homepage : https://code.visualstudio.com/
package_uuid : 04cb6d69-29e8-4cc9-9564-8c1476c6a3fa
valid_from :
valid_until :
forced_install_on :
changelog : https://code.visualstudio.com/updates
min_os_version : 8
max_os_version :
icon_sha256sum : 50b90b0ed98d91261db603bf1d2f762c0912d9f615961b92af1e483fbd129aa7
signer : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date : 2025-09-18T01:58:57.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 : of5e530bhiMSNPO2uuY4geTK/8+p5O2p3/w0kQGdfBH6ClAZacACx+M6kr/+Ev9PkM8K9IFUZUCJDqP8p3u4s7fqnFXpbYdT7XpVSDZFcDs74kODJo6/QsOVb85r2371Zc5zVwzC4HuQKIsBLuPvqB2oKvA/xVD3Ij4GVeq0SR04e4bxLqbLUv7PIdXedFG8A38+bknF7XxZe2a8vaybvjcG+7rsCnF38fP9+geDgnOVrtAPZDl0WRcR5WVIXLEAGfNtHcTvDtDJO4CKIVQN4JUWc84CVz0coPRTKYlT5jGC8KiEpJU1Pswg/gniCzkpSPy5o/PTNKEOHdhQMHH1ZQ==
# -*- coding: utf-8 -*-
from setuphelpers import *
import json
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls
bin_contains = "code-"
package_name = "code"
app_dist_source_path = "/etc/yum.repos.d/vscode.repo"
def install():
# Declaring local variables
package_version = control.get_software_version()
bin_name = glob.glob("*%s*.rpm" % bin_contains)[0]
# Installing the software
print("Installing: %s" % bin_name)
install_yum(bin_name)
# Deleting the distribution source file of the application
if isfile(app_dist_source_path):
print("Removing: %s" % app_dist_source_path)
remove_file(app_dist_source_path)
def uninstall():
# Uninstalling the package
print("Uninstalling: %s" % package_name)
uninstall_yum(package_name)
def session_setup():
print("Disabling: Telemetry, automatic updates, surveys")
# Configuration procedure: https://supunkavinda.blog/vscode-editing-settings-json
# C:\Users\username\AppData\Roaming\Code\User\settings.json
# Initializing variables
user_conf_dir = makepath(user_home_directory(), ".config", "Code", "User")
user_conf_file = makepath(user_conf_dir, "settings.json")
user_conf_content = r"""{
"update.mode": "none",
"update.enableWindowsBackgroundUpdates": false,
"update.showReleaseNotes": false,
"telemetry.telemetryLevel": "off",
"typescript.surveys.enabled": false,
"extensions.autoCheckUpdates": false,
"extensions.autoUpdate": false
}"""
user_conf_data = json.loads(user_conf_content.strip(","))
if not isdir(user_conf_dir):
mkdirs(user_conf_dir)
if not isfile(user_conf_file):
print("Creating: %s" % user_conf_file)
json_write_file(user_conf_file, user_conf_data)
else:
new_user_conf_data = json_load_file(user_conf_file)
new_user_conf_data.update(user_conf_data)
print("Updating: %s" % user_conf_file)
json_write_file(user_conf_file, new_user_conf_data)
# -*- coding: utf-8 -*-
from setuphelpers import *
import json
def update_package():
# Declaring local variables
result = False
proxies = get_proxies()
if not proxies:
proxies = get_proxies_from_wapt_console()
app_name = control.name
arch = control.architecture
api_url = "https://api.github.com/repos/microsoft/vscode/releases/latest"
# Getting latest version information from official sources
print("API used is: %s" % api_url)
json_load = json.loads(wgets(api_url, proxies=proxies))
version = json_load["tag_name"]
download_url = f"https://update.code.visualstudio.com/{version}/linux-rpm-x64/stable"
latest_bin = f"code-{version}-{arch}.rpm"
print("Latest %s version is: %s" % (app_name, version))
print("Download URL is: %s" % download_url)
# Downloading latest binaries
if not isfile(latest_bin):
print("Downloading: %s" % latest_bin)
wget(download_url, latest_bin, proxies=proxies)
# Changing version of the package
if Version(version) > Version(control.get_software_version()):
print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))
result = True
else:
print("Software version up-to-date (%s)" % Version(version))
control.version = "%s-%s" % (Version(version), control.version.split("-", 1)[-1])
# control.set_software_version(version)
control.save_control_to_wapt()
# Deleting outdated binaries
remove_outdated_binaries(version)
# Validating update-package-sources
return result
01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
849c2010091f1c549c1de1ac7f2036f248b86ed84d8f803066b9b613f174c51b : WAPT/control
50b90b0ed98d91261db603bf1d2f762c0912d9f615961b92af1e483fbd129aa7 : WAPT/icon.png
f7348dcc142c9c87cac78c4838790ced7755717e173fb8cf56bfeba074556029 : code-1.104.1-x64.rpm
5b8555c6c35e3b35d78e8514437b6ef73b7d12540088b6007fc3de6ce8891856 : luti.json
9d77bfe084ae2955c8bef7735ee0600fc8a998d5d242e0f5e85540d6892bb399 : setup.py
c7fa5f677ed19c381ce1efa95002ad4b83e869d9d85ad29d5a9e585629dc0d0c : update_package.py