tis-transmission icon

Transmission

Paquet d’installation silencieuse pour Transmission

4.1.0-1

  • package: tis-transmission
  • name: Transmission
  • version: 4.1.0-1
  • categories: Network
  • maintainer: WAPT Team,Tranquil IT,Simon Fonteneau
  • licence: opensource_free,cpe:/a:gnu:agpl_v3,wapt_private
  • target_os: windows
  • impacted_process: transmission
  • architecture: x64
  • signature_date:
  • size: 19.13 Mo
  • installed_size: 100.53 Mo
  • homepage : https://transmissionbt.com/
  • depends:

package           : tis-transmission
version           : 4.1.0-1
architecture      : x64
section           : base
priority          : optional
name              : Transmission
categories        : Network
maintainer        : WAPT Team,Tranquil IT,Simon Fonteneau
description       : Transmission is a BitTorrent client
depends           : tis-vcredist2015-2022
conflicts         : 
maturity          : PROD
locale            : 
target_os         : windows
min_wapt_version  : 2.3
sources           : https://github.com/transmission/transmission
installed_size    : 100527874
impacted_process  : transmission
description_fr    : Transmission est un client BitTorrent
description_pl    : Transmission é um cliente BitTorrent
description_de    : Transmission is een BitTorrent-client
description_es    : Transmission es un cliente BitTorrent
description_pt    : Transmission é um cliente BitTorrent
description_it    : Transmission è un client BitTorrent
description_nl    : Transmissie is een BitTorrent-client
description_ru    : Transmission — клиент BitTorrent
audit_schedule    : 
editor            : 
keywords          : torrent,bitorrent
licence           : opensource_free,cpe:/a:gnu:agpl_v3,wapt_private
homepage          : https://transmissionbt.com/
package_uuid      : 4fd9ed3b-30d7-493b-b3f5-950f964d1c48
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://github.com/transmission/transmission/releases
min_os_version    : 10
max_os_version    : 
icon_sha256sum    : b3d23d13408029806dd9f4e3dfedec2f52be811d2a01d5ddc1d51a96909b2c0f
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2024-12-18T09:22:02.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         : p1J/9eHLrI5Tv14JE7zkfknSYoGg1MY7Nqc3j7lQjQBoJmYieKREyUkVXS9MKvL22sSabcE1MKPb2qnY058S1zQ+WmMi1JHA7fsuZHHE87974nJSt1fMfwEAzobgpMP/3pUyRRK8Fp2fG/AmmBidaClNV/f08FJBLi3Zesz0W1msZRgvyRw1bDBc1yb1kMyNQKEcKFEOzNf/s3Aeh7ons/lHCWd0iYjXC3nU/tuTuLs1dAhx1aS9x0TmBG1ivUkRyApfAaJGg5LuAgll7eswF2Y73sGON7fMyqdbyYHNi1/WT5M0R9PO8ZaL1vPIkYPC+c3k+QmHgr8LgSs9OzYqaA==

# -*- coding: utf-8 -*-
from setuphelpers import *


def install():
    bin_name = glob.glob("*.msi")[0]

    # Installing the software
    install_msi_if_needed(
        bin_name
    )

# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *


def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    api_url = "https://api.github.com/repos/transmission/transmission/releases"  # not /latest because releases are all in "pre-release"
    download_dict = {
        "windows-x64": "-x64.msi",
        "windows-x86": "-x86.msi",
        "macos-x64": ".dmg",
    }

    # Getting latest version information from official sources
    print("API used is: %s" % api_url)
    json_load = wgets(api_url, proxies=proxies, as_json=True)[0]
    for to_download in json_load["assets"]:
        if download_dict[control.target_os + "-" + ensure_list(control.architecture)[0]] in to_download["name"]:
            download_url = to_download["browser_download_url"]
            latest_bin = to_download["name"]
            version = latest_bin.split('-')[1]
            if 'qt5' in latest_bin:
                continue
            break

    # Downloading latest binaries
    print("Latest %s version is: %s" % (control.name, version))
    print("Download URL is: %s" % download_url)
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(download_url, latest_bin, proxies=proxies)
    else:
        print("Binary is present: %s" % latest_bin)

    for f in glob.glob('*.' + latest_bin.split('.')[-1]):
        if f != latest_bin:
            remove_file(latest_bin)

    # Checking version from file
    if get_os_name() == "Windows" and "windows" in control.target_os.lower():
        version = get_msi_properties(latest_bin)['ProductVersion']

    # Changing version of the package
    if Version(version, 4) > Version(control.get_software_version(), 4):
        print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))
        package_updated = True
    else:
        print("Software version up-to-date (%s)" % Version(version))
    control.set_software_version(version)
    control.save_control_to_wapt()

    # Validating update-package-sources
    return package_updated

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
e8b0f4fb46ac114e82f0acc34713c3b37e59bc448d18765fdab55ff8e3fd2c01 : WAPT/control
b3d23d13408029806dd9f4e3dfedec2f52be811d2a01d5ddc1d51a96909b2c0f : WAPT/icon.png
a3018bb7be7960b80c820b28e267a2d3af53ca1cfc5fbb3e93fa212dbe76f3a4 : luti.json
97f4a35dfc55ac91249a90efcbf8ec2f7223f561c07db76d35325fc3f58d62eb : setup.py
d144c7219e0fb8eb728cba5077c839ca0824f9c76117c84a694ab17ec2cff4ca : transmission-4.1.0-beta.1+rc3a8106077-x64.msi
6bc2386cccf1ca34442f1ec1af6a2f3cb41fec37c82d0fb309b782fa1c60b3bb : update_package.py