tis-upsync-metadata icon

upsync

Paquet d’installation silencieuse pour upsync

20250813-16

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

package           : tis-upsync-metadata
version           : 20250813-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      : 65c9b76f-ab25-4f6f-b60d-c0f36a75d131
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    : 2025-08-18T14:05:49.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         : PmUimEKWx0kcza79ZZnpOo13Y6Fh2hPkZH7x4VdhHXrpIjpEKIMFj1zZfTiolVC98joBAMm3nkKTEiKDNLDNfJ513E2Q229veZQSUnZlXVu2sLC4DUmhNnybveYgdKkoBSxoOgX1RzBoIpjZD/yohmvXijgFb+p0DiVL3sbLUIs4a3GnKFfi5oMUnOgTHMQZInOzTfooufme5q6TLJAU7QopKF+ku7nwDxQt1gn3dV2MNl8Fssmg9KFoN/5Oa771/GcVvEfrIUUK2Cl6JFCzD21StNjtTgfHSqu6r4vakEAo2pJhM9370Pg5aQC/qZILW8db+u6vzPWISMmGTLX2gw==

# -*- 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
78ed41bd5d25e8d7f30175e308d42f5feb88402e1980c78ddf01e5c43605c5bc : WAPT/control
84ea7df1dddebfac1a4fa0cd25703d6229d0c4728ea10a14f3fdea7976765c7f : WAPT/icon.png
179ae45f80f7dba0a224344dbb1733520b75a68439e527db2017e03a34737520 : luti.json
74917d8fbf8bd66ad69e08577f90237a937c7787407015053fed28c566432a0e : setup.py
52f5f429b863c3e3a4e2741a459125bd8e43f7f78cd7c57ef376ea6064c874de : store/.indexes.zip
0ad0a74a9f3d6a675fa59ce9fd7cd15b02d02c8ba485d3852bfacde1186994cd : store/.toc.json
8e0e9163831e231bc707ce79334ba7c0a96bcbea9ffc2cc8f92adeda7adde94d : store/.types.json
f820f265d36eda03dbeb653e92b9c4be5cd5235eadc85a3008d00a71a79d3b50 : store/0.zip
2d6536c6b787c0527e662105c67f36538090786d017aabba56534d47ba36ab76 : store/1.zip
192abba4a755e0b75f282bae5fe8a7c7146032443f1b2584e4ccff5c1a242e84 : store/10.zip
033794c2f06199b8950ad17a1eafc01e767a456854514fcd2b4d17f5d104675e : store/11.zip
d4606c36b37fd370706e96840b3c029203b45a1d6fe5fb015d068ca670f317b3 : store/12.zip
8f882d6d2c05f172140d62e32412fb0e732c9da3bd8a57017fb6c68562850fb2 : store/13.zip
1f801cb498304966c5b25345817ec8f7de7acbb87fbff296c5887369a2af46ee : store/14.zip
cdbbf3acd3c6ce4bc3e3cfba3fcda35ed9dd9b608155715f1de462cfcc5e420a : store/15.zip
81d7de850285a46262ee15a24d727bb3791a23796b0092d63658457af00f3847 : store/16.zip
76147d12041032303e4bda84a6233cfc6fcdabac2e2723d8630c9976a67b0745 : store/17.zip
246f7c463cee7dcb31e4ff005f7016e61b6ddb1f76b514c0c740ce5f8926e09e : store/18.zip
def632a78f1a3580c03ece415d68d608a2f7228663b2f5868734a25aaa8b4109 : store/19.zip
bef14fa26cd5dc55a8c1d8b8805feaf8ef2ae0d735a753a1136bce5502afce72 : store/2.zip
9659123e0367b027d2ba52326458129d99135f4cc1dafcd1da3e9b9bead531df : store/20.zip
747ef365dee817782071ccea4cd360ef7fe2f7ba1a0bee2961729551b06e3c37 : store/21.zip
338e33f0323fea429f2728fbb1091f8e740b38f152243d9e4f5154082d952d43 : store/22.zip
d8244acf8eca5b3290cfb390b1e600d78b15774fd00ce5d187d9a5e30cc274ad : store/23.zip
b5e19f4e239fbc549eeaa4714d8bea514452c4927427fac0a17a72741fe4edcb : store/24.zip
f963ed1ce96c15d8cf9af62631187e4283d7d4563c9b2a1202d079fccc5c2131 : store/25.zip
f35af170919e1f3738c728e9c53cd2afb67ec00688fb0efec258365a6caa75be : store/26.zip
bb64db16e862ff7923edd198527f12cd8740c8123e5241bcff7802bed401f666 : store/27.zip
3b629b5ce913fce1310555e6df4f3d55db5d4391ef40dffdba4e0cfd85c7de81 : store/28.zip
3e0ad0bc30ed71df4083a040189f6986e6f60deb63bfabef92c6a6879bfd93c0 : store/29.zip
06e49d092d536dacafd7fcd906b9d87aa6659901f4a2db9c4f8634cc25000999 : store/3.zip
0deb8238a5fc4edfe1bb3720be37b6551a97b38bc20b18de70073a804f9aaa56 : store/30.zip
228116d34aa4d653535ece6c4df66d6cdfdae8c1516391dcab87bc509a60fd7b : store/31.zip
643c72400d2201f6aaa7a2e30309900dad6add419e5b88d129975bc5bf52082e : store/32.zip
179693400bc189c7232b0457f5c526f541886a2b08c2e8c2ca479cd2bebe469c : store/33.zip
73ce99c1bc61f63f339df27b490ab4e0548ebd71c5750284ad4dc8c9753ef23c : store/34.zip
2606070882663caf6073eeae34c67698b3ef40b34c98e4ef7c49ccac0846f971 : store/35.zip
827f9b8ac8b12a9ce36d87289332c8f84f9e224e0fc4ed311fd44b286ea46702 : store/36.zip
8cee8552b2ed44cef857190ebc01e86db3a5a9d890b92af9a51f52060150fdf1 : store/37.zip
ebd1baf01ef785132a4f5871b7f956d0d29d0c7250ac3b0bdf954159bee96747 : store/38.zip
0cd8a1907a87825785fcf9d6c17a3d03105d7a945837c7281f96b4c37aa9a395 : store/39.zip
839081a7f9f40422231997166ea92108e648c2952bde20ccbfe2f0f4e46461c0 : store/4.zip
73bef4db29f51967240ce9f25b7205cb11943e4f2ed4d98c2221007a33d730dd : store/40.zip
2bdce3eefeefc651d5d0d6194d7e1707cad1775239725aa76c3aacb9a5e79f7a : store/41.zip
3368700c0a017853e157924f88c69b279e3038ab66a594fb8e32dbc33b2b7626 : store/42.zip
d594466fe69bb97a6f052584a050817e67f1ef6ac44c01cf2bc3fcd093b5bde6 : store/5.zip
82cc5c103a9d792ed3332c9dd69df4c93a0f675cdefe4bbe5b9204ea81f553e1 : store/6.zip
0161562c0bfaf6c6a0fa16db0df4a0268bf330799d1dd08a214623fc02b62837 : store/7.zip
26eca10c028e03e0e17482567d4b4a2b01a18c0da2c68275ec3a28da6f2dd97d : store/8.zip
04ab6bf1e484e331c47bfb3e2a6d4fb958c08f9d3a0e3fe913b711c55cb175b2 : store/9.zip
abd3afbfd1da4ed092ae13325718622bac07b286e258e6e870881a1625724302 : store/identities/MicrosoftUpdate/.identities.json
f098dffa4f6db4fae59c74c192864066c58e826b6c57e987ad25b1ff6540c567 : update_package.py