tis-upsync-metadata icon

upsync

Silent install package for upsync

20260610-16

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

package           : tis-upsync-metadata
version           : 20260610-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      : 22175f5e-d757-48da-9b99-9cd4ebfdfe25
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-06-15T00:17:54.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         : mm8IGSIGQVS1NCE2ZlZLeQu2qPIy9NMF1odFpwdJslkhAyCxN+aJKKHLilkZAExQr8xcerRutJqEcN7ZzyjwPLxhDuHNhk6RmlcOZYlfff3atktnG3QoCJmgQvAHiaSRFWqbQtmfX/13JCg1qXV4ZCsQSnSoWFvIeEiFnmgXbNmluQDwTRAyr9Z0zNNhgGA4+i1XKOIbAKAC5fc0XNhjFCi//7TZFu12riGFu14cTBVOfW6rzcsCj7nSFPdo31JPfw9mIQ56C3fNPFpDgTmPmfPewAEQWO2t4O22FDNRWCvPSxdbL9R3yIVnOD1JwKHH1yP6AOYIVNL1dYAJl9OtcA==

# -*- 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
f5e1a92abace06e400754d73041812cbf28bc94e03464d54c7f1871d647d20cc : WAPT/control
84ea7df1dddebfac1a4fa0cd25703d6229d0c4728ea10a14f3fdea7976765c7f : WAPT/icon.png
f4982e759577180fa6336658cd4dd7b413c8953c84bb816d98aeb17c8a220249 : luti.json
74917d8fbf8bd66ad69e08577f90237a937c7787407015053fed28c566432a0e : setup.py
ade21ab7448847869d52777cd990949db07214f7e17a325c421eeaa5b30fa94e : store/.indexes.zip
744ec80b12fe662b3b37c2eeee4328b0c0b1c7f27f98f8eba7df36b9e4534d3f : store/.toc.json
6b63dfe802e1c70b1a6d073425c997b9c49b76ad7f0675374f7d7e3c0840da25 : 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
69405a063a436ad068d1f483c6f3085b3a6e6d48a82608f90476b80d19e6776c : store/3.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
d760283698ea0c5130c7b96829423d8b6cdb64ac54c299152b78fd811d4d78b5 : store/identities/MicrosoftUpdate/.identities.json
f098dffa4f6db4fae59c74c192864066c58e826b6c57e987ad25b1ff6540c567 : update_package.py