unison
Silent install package for unison
2.53.8-1
Preprod packages are packages built on LUTI.
They remain in PREPROD usually for 5 days, after which a new VirusTotal scan is performed.
If the package passes this last check, it is promoted to PROD and published on the store.
- package: tis-unison-portable
- name: unison
- version: 2.53.8-1
- maintainer: Amel FRADJ
- licence: GPL-3.0 license
- target_os: windows
- architecture: x64
- signature_date:
- size: 32.14 Mo
- homepage : https://www.cis.upenn.edu/~bcpierce/unison/
package : tis-unison-portable
version : 2.53.8-1
architecture : x64
section : base
priority : optional
name : unison
categories :
maintainer : Amel FRADJ
description : Unison is a file synchronization tool for OSX, Unix and Windows. It lets you store two replicas of a collection of files and directories on different hosts
depends :
conflicts :
maturity : PREPROD
locale :
target_os : windows
min_wapt_version :
sources : https://github.com/bcpierce00/unison/releases/
installed_size :
impacted_process :
description_fr : Unison est un outil de synchronisation de fichiers pour OSX, Unix et Windows. Il permet de stocker deux répliques d'une collection de fichiers et de répertoires sur des hôtes différents
description_pl : Unison to narzędzie do synchronizacji plików dla systemów OSX, Unix i Windows. Umożliwia przechowywanie dwóch replik kolekcji plików i katalogów na różnych hostach
description_de : Unison ist ein Werkzeug zur Dateisynchronisation für OSX, Unix und Windows. Es ermöglicht, zwei Repliken einer Sammlung von Dateien und Verzeichnissen auf verschiedenen Hosts zu speichern
description_es : Unison es una herramienta de sincronización de archivos para OSX, Unix y Windows. Permite almacenar dos réplicas de una colección de archivos y directorios en hosts diferentes
description_pt : O Unison é uma ferramenta de sincronização de ficheiros para OSX, Unix e Windows. Permite-lhe armazenar duas réplicas de uma coleção de ficheiros e directórios em hospedeiros diferentes
description_it : Unison è uno strumento di sincronizzazione dei file per OSX, Unix e Windows. Consente di memorizzare due repliche di una raccolta di file e directory su host diversi
description_nl : Unison is een bestandssynchronisatietool voor OSX, Unix en Windows. Hiermee kun je twee replica's van een verzameling bestanden en mappen op verschillende hosts opslaan
description_ru : Unison - это инструмент синхронизации файлов для OSX, Unix и Windows. Он позволяет хранить две копии коллекции файлов и каталогов на разных хостах
audit_schedule :
editor :
keywords :
licence : GPL-3.0 license
homepage : https://www.cis.upenn.edu/~bcpierce/unison/
package_uuid : c0c8c7ff-56b4-4f8d-81bb-f7ed758e6d5e
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version :
max_os_version :
icon_sha256sum : c65d478ac9630670ed5f1e51328751b3f0a41ca862254bce117ec91796e0320b
signer : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date : 2025-11-05T00:59:34.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 : I+p5LCNN9+0HQoXxLU+KKyDs4X9rfvbi71MI7o/s8Kw8NCvJc+RsPEWub9RX+Mlyc6j6+hVFOQSa5Rqa3QfO+elq1BwyMlzxqdCYH9wE2dHF+0x37r0EFeJreZapbypim04FYTlfw6CwozsdJFszDMBvHQfdGC62ID/KFIENj/UQ4tlrmucS2RQAb96+SV28yB/hVAXSqELmWOe8Qy4+hGznQPWmoncoNLw+JYcV4VNr+DNRDgUP0uJPhP3+k9VUYmz2rMrwkR0Re4XgNIJeMFKxzxh0HJmhsiy/vP3WGUpUTZnosPPkk9m80DqBMBxSIKjDbQlGQpifbdvKfYdGbQ==
# -*- coding: utf-8 -*-
from setuphelpers import *
"""
"""
app_name = "unison "
editor_dir = makepath(programfiles, "unison")
app_dir = makepath(editor_dir, "unison")
app_path = makepath(app_dir,"bin", "unison.exe")
#icon_path = makepath(app_dir, "resources", "app", "build", "crushee.ico") #tis-crushee\windows\crushee\resources\resources\build
audit_version = False
def get_installed_version(app_path):
return get_file_properties(app_path).get("FileVersion", "")
def install():
# Declaring local variables
zip_name = glob.glob(f"unison-*.zip")[0]
unzipped_dir = "unison"
# Installing software
killalltasks(ensure_list(control.impacted_process))
if isdir(app_dir) and force:
remove_tree(app_dir)
mkdirs(app_dir)
print("Extracting: %s to: %s" % (zip_name, unzipped_dir))
unzip(zip_name, unzipped_dir)
print('Copy unison to %s' % app_dir)
copytree2(unzipped_dir, app_dir, onreplace=default_overwrite)
add_to_system_path(app_dir)
def audit():
# Auditing software
audit_status = "OK"
installed_version = get_installed_version(app_path)
if Version(installed_version) < Version(control.get_software_version()) and audit_version:
print("%s is installed in version (%s) instead of (%s)" % (app_name, installed_version, control.get_software_version()))
audit_status = "WARNING"
elif isdir(app_dir) and not dir_is_empty(app_dir):
print("%s (%s) is installed" % (app_name, installed_version))
audit_status = "OK"
else:
print("%s is not installed" % app_name)
audit_status = "ERROR"
return audit_status
def uninstall():
# Uninstalling software
killalltasks(ensure_list(control.impacted_process))
if isdir(app_dir):
remove_tree(app_dir)
if dir_is_empty(editor_dir):
remove_tree(editor_dir)
# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *
import json
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls
def update_package():
result = False
proxies = get_proxies()
if not proxies:
proxies = get_proxies_from_wapt_console()
dict_arch = {
"x64" : "windows-x86_64.zip",
"x86" : "-windows-i386.zip"
}
git_repo = "bcpierce00/unison"
url_api = "https://api.github.com/repos/%s/releases/latest" % git_repo
# Getting latest version information from official sources
print("API used is: %s" % url_api)
json_load = json.loads(wgets(url_api, proxies=proxies))
for download in json_load["assets"]:
if download["browser_download_url"].endswith('.zip') and dict_arch[control.architecture] in download["browser_download_url"] :
url_dl = download["browser_download_url"]
version = json_load["tag_name"].replace("v","")
filename = download["name"]
break
if not isfile(filename):
package_updated = True
wget(url_dl,filename,proxies=proxies)
#nettoyer les fichiers temporaires
for f in glob.glob('*.zip'):
if f != filename:
remove_file(f)
control.set_software_version(version)
control.save_control_to_wapt()
01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
85ef7021418eac162f645b99bf8abd74025367402857f38bfbd8d7e01816cbe7 : WAPT/control
c65d478ac9630670ed5f1e51328751b3f0a41ca862254bce117ec91796e0320b : WAPT/icon.png
a38f3ffac09e734d1342692eb4fb0010e12ebbb334e1131b4af77ba27d9c1793 : luti.json
0fb08b3737f0252212ff9236f8e0e057c5611fcf67b7850cad67782b9231a3c2 : setup.py
b54bfe2999d7fc0924f39c13ca5333d8e80a9e6ccf9cac8e92400ca1399ed0e3 : unison-2.53.8-windows-x86_64.zip
e81fe076f5694d67fbc416414f388244f5c9a4d2fbb5d0158c29aeaa48c393b3 : update_package.py