Sqlcmd Tools
Silent install package for Sqlcmd Tools
1.8.2-1
Development
Development
- package: tis-sqlcmd
- name: Sqlcmd Tools
- version: 1.8.2-1
- categories: Development
- maintainer: WAPT Team,Tranquil IT,Amel FRADJ
- licence: opensource_free,wapt_public
- target_os: windows
- architecture: x64
- signature_date:
- size: 7.34 Mo
- homepage : https://learn.microsoft.com/sql/tools/sqlcmd/go-sqlcmd-utility
package : tis-sqlcmd
version : 1.8.2-1
architecture : x64
section : base
priority : optional
name : Sqlcmd Tools
categories : Development
maintainer : WAPT Team,Tranquil IT,Amel FRADJ
description : sqlcmd is a cross-platform command line experience for Microsoft SQL Server and Azure SQL
depends :
conflicts :
maturity : PROD
locale :
target_os : windows
min_wapt_version : 2.3
sources :
installed_size :
impacted_process :
description_fr : sqlcmd est une expérience de ligne de commande multiplateforme pour Microsoft SQL Server et Azure SQL
description_pl : sqlcmd to wieloplatformowe środowisko wiersza poleceń dla Microsoft SQL Server i Azure SQL
description_de : sqlcmd ist ein plattformübergreifendes Kommandozeilenexperiment für Microsoft SQL Server und Azure SQL
description_es : sqlcmd es una experiencia de línea de comandos multiplataforma para Microsoft SQL Server y Azure SQL
description_pt : O sqlcmd é uma experiência de linha de comandos multiplataforma para o Microsoft SQL Server e o Azure SQL
description_it : sqlcmd è un'esperienza a riga di comando multipiattaforma per Microsoft SQL Server e Azure SQL
description_nl : sqlcmd is een cross-platform opdrachtregel-ervaring voor Microsoft SQL Server en Azure SQL
description_ru : sqlcmd - это кроссплатформенная командная строка для Microsoft SQL Server и Azure SQL
audit_schedule :
editor :
keywords :
licence : opensource_free,wapt_public
homepage : https://learn.microsoft.com/sql/tools/sqlcmd/go-sqlcmd-utility
package_uuid : 48f7bb8f-3cf9-4ed7-a921-2b9e41950dbb
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version :
max_os_version :
icon_sha256sum : c856edcdded53e44013757a20187af80a14a1ce933ff32df617ecd9390c8f7e8
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date : 2025-01-04T17:00:13.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 : PQANj9kvqRjyf5SDtxvAYv5V3JG+2G5TAbeoFeAoM290op2few8n33SovezEYiejuPp9Yp+o6f19GGFbEzxAq47Dz5IoXi6jGDhqFi9RkNc8QTYvOCooKUoYflxmMN31IdaWNV0yQ/SksY6OE6Zt2wYLCVy4dBxfyHRImHGCa8ZprsdOA/8Xu7axYiMa5wqf7ThIE8PZhIElmSMbXwx998WXB01GqjQv6wGm1XcKGGw+XYIiLdrqPkfWOi1+7p9jDJTjKRhDBL++gkGuiL+TGMCGFN2iETKmhhlw2ivw1hVYpZ6pSP9OhfvvCfCb8+e4v8UcrNCzpGtzJtdjumzJ5Q==
# -*- 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
# Installing the software
print("Installing: sqlcmd-amd64.msi")
install_msi_if_needed('sqlcmd-amd64.msi')
# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *
import json
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls
def update_package():
result = False
proxies = get_proxies()
if not proxies:
proxies = get_proxies_from_wapt_console()
git_repo = "microsoft/go-sqlcmd"
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('.msi') :
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('*.msi'):
if f != filename:
remove_file(f)
version =get_version_from_binary(filename)
control.set_software_version(version)
control.save_control_to_wapt()
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
229a2cf4c02346d95e4d34b865c4709cb9a22629fc15bb0a18958f40131848a5 : WAPT/control
c856edcdded53e44013757a20187af80a14a1ce933ff32df617ecd9390c8f7e8 : WAPT/icon.png
45ac262b8ee1d906a51715a8746fbe163423ff6632f46105cbdb0869a21c1873 : luti.json
709991b9270cc4988c9aae49ff32203d6a613e232f524495f13cdfb53f4c7101 : setup.py
ef06d4e2d139d290e95e74055efff41af0445523d43abc75b4cfa957c86b0959 : sqlcmd-amd64.msi
da8d2693c5519202507a12f3d8f5afb099c680cfd705506843bfb08472296ba1 : update_package.py