tis-upsync-metadata icon

upsync

Paquet d’installation silencieuse pour upsync

20250611-16

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

package           : tis-upsync-metadata
version           : 20250611-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      : bf8c6f6e-752a-4af6-848f-44706ffa8bb4
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-06-16T08:01:41.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         : GRGbC5AtUeSI37BGCBxyzJiZ+WHGBD0Ma1KJ55W3XWOZ395vEp0JcnT5B/I1OFlAFX97F4UtIEO9sqyO02hjdrzYsLY4p8xfcQJw21DUT16an7Fhtnv7Kd+wPZUseP43a4u/txzHWcM5ElWj18+DFRauGJsHW2it2vigg8c4PRhkLiUgoz15/koEnjGHLMNJcTaBnXOXyFaX77k7K5Gg/YrojBAcW8+fn8FXdopIJUald9b6m0AX/ydGV3HAuZikBufzUfFcUmIFL1TIi6LEkuy8hk694otu42WHG97yWxv2XtCtWAVNPCMi9tEUTgIoSGgWrZzBi2oMfxEUknoTJw==

# -*- 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:
        while True:
            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:
                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
234914c3604040e06f00cb92db75a45111357586f1500dc8c97be678bc7c3fc2 : WAPT/control
84ea7df1dddebfac1a4fa0cd25703d6229d0c4728ea10a14f3fdea7976765c7f : WAPT/icon.png
d06696ded86ec58090d59bdc7c6184125f9731f49fe31da57b08916dda476812 : luti.json
74917d8fbf8bd66ad69e08577f90237a937c7787407015053fed28c566432a0e : setup.py
f2ca94f09cf264881b52007137863ab64d417f7f0acaa519d79c13dcf576b17c : store/.indexes.zip
c95aa961b72fcb0c53413109ff8292cae42dc6fa42d034c0a0ad2f06b43a57dd : store/.toc.json
c7104e04a376016dcba4a311410b8e4c69b52510c54c7019539e1d4e4b96cc4f : 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
839081a7f9f40422231997166ea92108e648c2952bde20ccbfe2f0f4e46461c0 : store/4.zip
d594466fe69bb97a6f052584a050817e67f1ef6ac44c01cf2bc3fcd093b5bde6 : store/5.zip
82cc5c103a9d792ed3332c9dd69df4c93a0f675cdefe4bbe5b9204ea81f553e1 : store/6.zip
0161562c0bfaf6c6a0fa16db0df4a0268bf330799d1dd08a214623fc02b62837 : store/7.zip
26eca10c028e03e0e17482567d4b4a2b01a18c0da2c68275ec3a28da6f2dd97d : store/8.zip
04ab6bf1e484e331c47bfb3e2a6d4fb958c08f9d3a0e3fe913b711c55cb175b2 : store/9.zip
dcd671c75ff12f3bc0cd660d1966906f07e55f2541aee9cdfb0b9e0ded4fb958 : store/identities/MicrosoftUpdate/.identities.json
6323cb12b6776c22ad640e3cf5928712775ce8137252cc5cecea8dc22bc2eb51 : update_package.py