tis-upsync-metadata icon

upsync

Silent install package for upsync

20250225-15

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

package           : tis-upsync-metadata
version           : 20250225-15
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      : b68bd4ef-48e9-4545-81a3-83499b3ee586
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-03-02T16:41:55.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         : mlaBN8ZCKKWs7sbarJtokGHEo0pq18NW7EgJem5NQIBPLsEpzBir5Su1cpEjYXdqFAqks2GJyWuNZ2vhEtvIhxOOEWxhwQqN+jD7ZTHw93ErnA61ABsNlmwLowJsTEwxE+Mj/WLa/zobdj9nGBq1V9HekbQUybdstMjpqNdRbxhPNBDvb6+s8zVc35dt4JMDstLCekyTWGzA34rgMZaUnB+GjlhCopcqchMlUWCGFj0LzMV7RitLePf8b7/Qk3fPR/L6qEfh18gPNmq4vU6WvBcmlMzkDNhHVK2X7/iuZ2H5XRW80BoX6x69x3XjjzqDxrNaMxZknqnet7sLuSYl+w==

# -*- 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
e17b112c403cb5d099addb6ce96b8b402f96333af775014e2237321f22f5ce88 : WAPT/control
84ea7df1dddebfac1a4fa0cd25703d6229d0c4728ea10a14f3fdea7976765c7f : WAPT/icon.png
4da9dcfddc95287303a9b3b4bc8e5c66940423f2108b1eb8a2720abc42eaf260 : luti.json
74917d8fbf8bd66ad69e08577f90237a937c7787407015053fed28c566432a0e : setup.py
a3a7a990798d4e7409f489c03fa0c54d0b3619792cb6a17217370c46da53c1d4 : store/.indexes.zip
1242975e8bba58b8bcccb2e6cd357bf211b94d0848112b45df2aef33881948ad : store/.toc.json
a3200bf0f6362b63b9bd090e0d3a7c10a382018ad8c766c8adcac06250bf6188 : store/.types.json
f820f265d36eda03dbeb653e92b9c4be5cd5235eadc85a3008d00a71a79d3b50 : store/0.zip
2d6536c6b787c0527e662105c67f36538090786d017aabba56534d47ba36ab76 : store/1.zip
192abba4a755e0b75f282bae5fe8a7c7146032443f1b2584e4ccff5c1a242e84 : store/10.zip
033794c2f06199b8950ad17a1eafc01e767a456854514fcd2b4d17f5d104675e : store/11.zip
d4606c36b37fd370706e96840b3c029203b45a1d6fe5fb015d068ca670f317b3 : store/12.zip
bef14fa26cd5dc55a8c1d8b8805feaf8ef2ae0d735a753a1136bce5502afce72 : store/2.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
6e7be9dfb59a3fa00af10c74058a9a08839b27226200bfa81ee7983170b5266f : store/identities/MicrosoftUpdate/.identities.json
6323cb12b6776c22ad640e3cf5928712775ce8137252cc5cecea8dc22bc2eb51 : update_package.py