tis-upsync-metadata icon

upsync

Paquet d’installation silencieuse pour upsync

20250514-16

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

package           : tis-upsync-metadata
version           : 20250514-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      : 15483475-9c13-4a1e-8fc0-72a7705860cb
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-05-19T12:09:48.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         : uL+2WPYOGjkESvye6CJLMG9f4XK6m89baKz4UiYDoqS+uuCGv1g5djbyE94LJx5mJhK8KmlFaWdokVqhBWrKe45mcbylfBlxdENkPffiVKUJvFmae8hl2biZjVD384hWqANL/Igd4bGO9RRs0NHB12IRYMdBZBGZcN7Ztp+NgR9n7yIEITVkKT32NjpiK+rOtTxjDroj4d1brWnw3hjBVeW9+xCVDl1faVSl5dvpXCcWry4HxZK9ZMljeoUiivRuw4fBCngPaJ+VtZS+xERKridDJwiFCfhDNbkQB3FgpYqmULNVwaxQ0dw1QNKIWDdY+Ii5qIZfL4Btvj2fnvKlCA==

# -*- 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
af55a52c5890bce390403b69acdb9f91213b60b201369ec88ca744dacc5897d9 : WAPT/control
84ea7df1dddebfac1a4fa0cd25703d6229d0c4728ea10a14f3fdea7976765c7f : WAPT/icon.png
f464b75cf6728c763efe7882b76e0728306f61431232135d991165f5e1a9c4ab : luti.json
74917d8fbf8bd66ad69e08577f90237a937c7787407015053fed28c566432a0e : setup.py
23f5b305b97879c0c6d7f460706de376c409be7dd5fbd01998f71f749b9b2d31 : store/.indexes.zip
c3b0604f2b4c0419f5f371cd8238d6a10cf877984939d2026fb6c2a82c331b11 : store/.toc.json
9f098e01ebb96fb9bf63f2d866c91ea0555ae76f969514825a0d6b8bf6d02b62 : 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
06e49d092d536dacafd7fcd906b9d87aa6659901f4a2db9c4f8634cc25000999 : store/3.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
1af44f865717b6b9aa7aa528b49b2c3e8504f94da55fab1a0195f59301ab61d9 : store/identities/MicrosoftUpdate/.identities.json
6323cb12b6776c22ad640e3cf5928712775ce8137252cc5cecea8dc22bc2eb51 : update_package.py