tis-upsync-metadata icon

upsync

Paquet d'installation silencieuse pour upsync

20260708-16

  • package: tis-upsync-metadata
  • name: upsync
  • version: 20260708-16
  • maintainer: WAPT Team,Tranquil IT, Thomas Prudhomme
  • locale: all
  • target_os: windows,debian
  • architecture: x64
  • signature_date:
  • size: 5.70 Go
  • depends:

package           : tis-upsync-metadata
version           : 20260708-16
architecture      : x64
section           : base
priority          : optional
name              : upsync
categories        : 
maintainer        : WAPT Team,Tranquil IT, Thomas Prudhomme
description       : 
depends           : tis-upsync
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows,debian
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      : 8834c685-2bbd-4048-9c93-c64459da4ac1
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 10
max_os_version    : 
icon_sha256sum    : 84ea7df1dddebfac1a4fa0cd25703d6229d0c4728ea10a14f3fdea7976765c7f
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2026-07-13T00:02:30.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         : h4LasMqtkBQIBGyHa08K4lzjqa5H78Sq9U99xFkdKdsvtYoNxu8jsZPwamgQmM+Fub3/5WmKfWxyMUWbhtn4ExDtImTGzZ1TLcO9If7GwU6QCxiircGe5yEuczV3puQlQRBsRjiPttW6ogVj9aBXd/5e3Mj7Jimif++E8ACrQ0bcWD3kz3/KVz/qYpRuKh95zexkaUNXszBagv78tR3/gRESJ5MwmoywKtLbi71bhSNUqhDuo0hdAs0qa8tasMKqfxOjMY37AtcChRdLCSaBpLsVz/TzBUjHnwD9N6nLMU+CcB23Gwa2AnvRYmokI6/JCI/E+BLBCSDOpX8KMzzEpQ==

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


if platform.system() == 'Windows':
    binary = 'upsync.exe'
    bin_folder = makepath(programfiles(),'upsync')
    full_bin_path = makepath(bin_folder,binary)
else:
    bin_folder = '/opt/upsync'
    full_bin_path = makepath(bin_folder,'upsync')

store_path = makepath(bin_folder,'store')


def install():
    if isdir(store_path):
        remove_tree(store_path)
    copytree2('store',store_path)

def uninstall():
    if isdir(store_path):
        remove_tree(store_path)

# -*- coding: utf-8 -*-
from setuphelpers import *
import platform
from common import Wapt
import datetime

if platform.system() == 'Windows':
    binary = 'upsync.exe'
    bin_folder = makepath(programfiles(),'upsync')
    full_bin_path = makepath(bin_folder,binary)
else:
    bin_folder = '/opt/upsync'
    full_bin_path = makepath(bin_folder,'upsync')

store_path = makepath(bin_folder,'store')


def update_package():
    if params.get("install_with_luti", False):
        waptinstall = Wapt(WAPT.config_filename)
        try:
            waptinstall.install(control.package)
            copytree2(store_path,'store')
        except:
            pass

    while True:
        try:
            data = run('"%s" pre-fetch --store-path "%s"' % (full_bin_path,makepath(basedir,'store')),timeout=86400)
            if 'Done!' in data:
                break
        except:
            time.sleep(1)
            

    list_cassification = {
        #"5c9376ab-8ce6-464a-b136-22113dd69801": "Application",
        #"434de588-ed14-48f5-8eed-a15e09a991f6": "Connectors",
        "e6cf1350-c01b-414d-a61f-263d14d133b4": "CriticalUpdates",
        "e0789628-ce08-4437-be74-2495b842f43b": "DefinitionUpdates",
        #"e140075d-8433-45c3-ad87-e72345b36078": "DeveloperKits",
        "b54e7d24-7add-428f-8b75-90a396fa584f": "FeaturePacks",
        #"9511d615-35b2-47bb-927f-f73d8e9260bb": "Guidance",
        "0fa1201d-4330-4fa8-8ae9-b877473b6441": "SecurityUpdates",
        "68c5b0a3-d1a6-4553-ae49-01d3a7827828": "ServicePacks",
        "b4832bd8-e735-4761-8daf-37f882276dab": "Tools",
        "28bc880e-0592-4cbf-8f95-c79b17911d5f": "UpdateRollups",
        "cd5ffd1e-e932-4e3a-bf74-18bf0b1bbd83": "Updates",
        #"3689bdc8-b205-4af4-8d4a-a63924c5e9d5": "Upgrades",
        "e0789628-ce08-4437-be74-2495b842f43b": "UpdateClassification"
    }

    for u in list_cassification:
        nb = 0
        while True:
            nb = nb + 1
            try:
                data = run('"%s" fetch --store-path "%s" --classification-filter %s' % (full_bin_path,makepath(basedir,'store'),u),timeout=86400)
                if 'Done!' in data:
                    break
            except:
                if nb > 5:
                    raise
                time.sleep(1)
    now =datetime.datetime.now()
    version = str(int(now.strftime("%Y%m%d")))
    control.set_software_version(version)
    control.save_control_to_wapt()

                

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
9c7171ba76c0bee2f5e524580963362f88ad6051a261878c6816efaefb09922c : WAPT/control
84ea7df1dddebfac1a4fa0cd25703d6229d0c4728ea10a14f3fdea7976765c7f : WAPT/icon.png
a1d622482b2bb92798ba98c703d755f0ad155590db0975b22aecf05f71174c2a : luti.json
74917d8fbf8bd66ad69e08577f90237a937c7787407015053fed28c566432a0e : setup.py
ba21baf4d4c7f655f596eb6dffde72c6ec28bf1a4c3f192e5354000d81befce5 : store/.indexes.zip
2d04c6d5f602542b6f170851d793720a0a18ea09bc1c5bc060d9a2c49baae4ea : store/.toc.json
8f35a7bc9fa8a6e92cb8d292da10f6199fc0917ab01ebe72165910e8491760ed : store/.types.json
c4c13438e4385dcad2936bde42671664ec8df924b2d9b99afdff10a3d99fca85 : store/0.zip
1c19206be7ae6bac722ba6478de2f7f608358fb71eb959b453e73e348bd731ad : store/1.zip
ff6b9f89a5e1140860bb7eb47ab5336d5e6751405c8637333badae370afd498d : store/10.zip
3d73c637f562b6a3d2903d684f54f8b4b4c84fa66ebdebc63dfc622a26559a0a : store/11.zip
2092d797faa635e32085cf95a2a7427a08534e6a3896a70e3fb5b2475e4aa77a : store/12.zip
9fe83fbd79166c675bb78ad5e7fcb5b733af7a58e7e42accc7e443910e7af869 : store/13.zip
5f7b6608b05707ece991846572eeb3a9f40fb44a5ba6b8e39925efaebe0d0328 : store/14.zip
dee0ff8949ead9e749a724185b33fe65a198b6028636ec73b01294746664d742 : store/15.zip
3d21a3ab234b48bfbd9bcf23a87586ef5f65e8c0ac750c1b3c4491dad1ca1a61 : store/16.zip
ea194b318eee293450f89bd4911724437f82816ab2cee9fbdf7264327c597ed8 : store/17.zip
af4002717943dbb199cdad9361a24cec62c53e99d6beea68c201ed0d43eb50fe : store/18.zip
f697200cce8d789f6bc29f35cedc3cc0cdd274f12b46388bab7720cfb2be0a73 : store/19.zip
b6c2af0fe84c3849a0c32fd257ce62afc8d033b8cd9577f3c9764bed2109373d : store/2.zip
0188983237f1d5f690e6c20d7452896fb1191e6b4a8cb057ec663e6a17848e5c : store/20.zip
59db09e2b8f368adff64ec9e2b85bce6c2fb51439e97092eda949c37439e74a4 : store/21.zip
f4769965ce17e95c07db6519bdb0e4031397fc847002e3984e096dab52d895db : store/22.zip
34e3db573bf18f8ca0ea72d88189f1afdcf83638242cd5100f380d48d01a40ed : store/23.zip
a326bf3ea029ee59d229d94095738d6370a6d2b2bb300aa951c66f23f4e8b114 : store/24.zip
d0aff944c2ee570cd6c161e0bb78e04edffcf2f95cecc719dd58096fe7851513 : store/25.zip
3e13dd75c4d2814c55ba2b040f7c4b17afc5f5dea73eb60897870cb39eedbbb7 : store/26.zip
c4fdea45bb4549192a1a868b1389be94b973962f2d0f5fdaadb158cda3907de4 : store/27.zip
b39c078f691b883339a54076a5d3ab522b1d61a555694320a6eb5a9a15e84224 : store/28.zip
4c92cc93b9c003fbdff0b7e3e46503e5225f2ca523d9b259e5c1b92851778481 : store/29.zip
69405a063a436ad068d1f483c6f3085b3a6e6d48a82608f90476b80d19e6776c : store/3.zip
a8f3dd3721707fa89b0ce306e0514512f6e8487425ce04e7f10aadb7de4bdcad : store/30.zip
70ccb574df0fc1e4e126c2941daa9b0385245f6191a21e29a95561a6397f2c7f : store/4.zip
bd58810785e5d5271eaa315abbddcdc857f948bf4ccde56858223f7047019b43 : store/5.zip
f7e4e41d44c1a589ef36e3dc5b2e0084afee77161f7ff440ba14fce87931b50a : store/6.zip
eeaeac9f4a410fcd59a0c160bcbd90b11c3f19e22513bddc80a218a67ffbc15c : store/7.zip
6b68103fcb2e07f9c1f3f913b9da18601b356dcbe807f4d53799b48feb19c799 : store/8.zip
345f6bd70f2401a655f54ea73f5f442b78e2efb4745db7c3a66c5bbef5e6f827 : store/9.zip
515b4565f816cbb4b783819560fc3eff1c84ad2c953ac8fd51d1810dd56fb9a9 : store/identities/MicrosoftUpdate/.identities.json
f098dffa4f6db4fae59c74c192864066c58e826b6c57e987ad25b1ff6540c567 : update_package.py