tis-upsync-metadata icon

upsync

Silent install package for upsync

20260513-16

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

package           : tis-upsync-metadata
version           : 20260513-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      : 24bb7ee4-a017-407e-ad6a-809b29a5ed26
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-05-18T00:17:01.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         : eH5d03SlaxUwpOqH7eCL4qYbxA0X9D/HJPCVxcA2EePveTEd+nE8GBlb4B/ICdZDOJ/0+5ppG2AsRn4rNp446NetYkTi+ye9AVijcUA+cJ0X8pl58j7+88dm+I7mIYTwvl9FjgezRG49qzCir/WBbrNPLDriCYSi6VrHiD2aHuw7t8upRGHysO4UlbVnUJJ/kj9XKBXfj/6HNYss9Q2vGn088iQSwsKBIwKajS3wQHvLziCM0zUDpGGhPU6UzX+X+ePxpS8xiWYbJF0thfUvjHPFrq2XujVTkVY925GIVhDy/kv+KaN4uvrBsN/vSUl3WhZ6ehDk3D1ssA9tGT4+vA==

# -*- 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
c882b655950ddbe192a5782bcc410c3deb435475c9a16356e0c782e09be509d2 : WAPT/control
84ea7df1dddebfac1a4fa0cd25703d6229d0c4728ea10a14f3fdea7976765c7f : WAPT/icon.png
c5f8286ea3f71e09d8a603d4ab19ae6db26fdaec3ef8192195d7d722eaf83a5a : luti.json
74917d8fbf8bd66ad69e08577f90237a937c7787407015053fed28c566432a0e : setup.py
4c1b47249aebaf253a55d4208ea9aed084c0acd49b76db7ae3f2615f9181a584 : store/.indexes.zip
8aebd6c33eacb48bc3fd45d2f8a4d2b313117308f926bfa629e1265d18c944f5 : store/.toc.json
8aad513ed5332370f0341c70b0f1d05c4fee4922a4311db68c1170ca166612cd : 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
b6c2af0fe84c3849a0c32fd257ce62afc8d033b8cd9577f3c9764bed2109373d : store/2.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
9598ff17c228916ad63e4fdb8d7b5f97e5e400f93befd9ad210624e198533555 : store/identities/MicrosoftUpdate/.identities.json
f098dffa4f6db4fae59c74c192864066c58e826b6c57e987ad25b1ff6540c567 : update_package.py