tis-sqlcmd icon

Sqlcmd Tools

Paquet d’installation silencieuse pour Sqlcmd Tools

1.9.0-1
Development
Development

  • package: tis-sqlcmd
  • name: Sqlcmd Tools
  • version: 1.9.0-1
  • categories: Development
  • maintainer: WAPT Team,Tranquil IT,Amel FRADJ
  • licence: opensource_free,wapt_public
  • target_os: windows
  • architecture: x64
  • signature_date:
  • size: 7.61 Mo
  • homepage : https://learn.microsoft.com/sql/tools/sqlcmd/go-sqlcmd-utility

package           : tis-sqlcmd
version           : 1.9.0-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      : c8330070-fa49-4d1b-a9f9-16a70609b27e
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-11-27T00:13:43.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         : bC+xApdJ6rbBwl28ETLN7vhT0bvn5wG/+2GI4Z4T2CVerP+NiHgKPlJkVLtwcKEGV1iiHW1jNWyEK0vTZHjDtWfb2sKBSa1LFQBqUCuj4fVgrktqu3mBQFqUxOzPWcr4IhBRyEOFoLBFVQwfCFe8gglDfYFlwHD6Fwf1qRVhWBBz7zx9uFXctuhdvOO5NDaows3a+hw1YZilx8CRVvdQ4Xr1wQovQ//4iyf36TDSxSzcWRINvpoCHAsfTHYF6kxc6jzEwXX6CWePiBWagLcew6oAyW5ijB4D5DYWfm5UqyKL98oTo38bUZwc/Ah1T1hagQFkC5/BPbQ/vAQfH+m1eQ==

# -*- 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
218a64eb53d9ad8112875959c860a03c9d53794555446b2d0e84c04e64caddac : WAPT/control
c856edcdded53e44013757a20187af80a14a1ce933ff32df617ecd9390c8f7e8 : WAPT/icon.png
cfe3591e9fc336eb2fb6412a3a79231867aff0fc6f7c0034e17bbd69db63f24b : luti.json
709991b9270cc4988c9aae49ff32203d6a613e232f524495f13cdfb53f4c7101 : setup.py
1c3c0d4ee480fc4009b3262ab679e28db4767e438c17e941846ab1f7ed96d005 : sqlcmd-amd64.msi
da8d2693c5519202507a12f3d8f5afb099c680cfd705506843bfb08472296ba1 : update_package.py