Josm
Silent install package for Josm
19555-1
Preprod packages are packages built on LUTI.
They remain in PREPROD usually for 5 days, after which a second VirusTotal scan is performed to verify that the status has not changed.
If the package passes this last check, it is promoted to PROD and published on the store.
- package: tis-josm
- name: Josm
- version: 19555-1
- maintainer: Administrator
- target_os: windows
- architecture: x64
- signature_date:
- size: 91.78 Mo
package : tis-josm
version : 19555-1
architecture : x64
section : base
priority : optional
name : Josm
categories :
maintainer : Administrator
description : JOSM is an extensible editor for OpenStreetMap (OSM) for Java 8+. JOSM is open source and licensed under GPL
depends :
conflicts :
maturity : PREPROD
locale :
target_os : windows
min_wapt_version :
sources :
installed_size :
impacted_process :
description_fr : JOSM est un éditeur extensible pour OpenStreetMap (OSM) pour Java 8+. JOSM est open source et sous licence GPL
description_pl : JOSM to rozszerzalny edytor dla OpenStreetMap (OSM) dla Java 8+. JOSM jest oprogramowaniem open source na licencji GPL
description_de : JOSM ist ein erweiterbarer Editor für OpenStreetMap (OSM) für Java 8+. JOSM ist Open Source und lizenziert unter GPL
description_es : JOSM es un editor extensible para OpenStreetMap (OSM) para Java 8+. JOSM es de código abierto y licenciado bajo GPL
description_pt : O JOSM é um editor extensível para o OpenStreetMap (OSM) para Java 8+. O JOSM é de código aberto e licenciado sob a GPL
description_it : JOSM è un editor estensibile per OpenStreetMap (OSM) per Java 8+. JOSM è open source e ha una licenza GPL
description_nl : JOSM is een uitbreidbare editor voor OpenStreetMap (OSM) voor Java 8+. JOSM is open source en gelicentieerd onder GPL
description_ru : JOSM - это расширяемый редактор для OpenStreetMap (OSM) для Java 8+. JOSM имеет открытый исходный код и лицензию GPL
audit_schedule :
editor :
keywords :
licence :
homepage :
package_uuid : 9b69f490-7fca-42ab-af4f-6845e08cd7cd
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version :
max_os_version :
icon_sha256sum : f61fc2a800f385f6d0eb5f4f23d18f0c9ec9bb8571a7067b0b36d0f3cb2a58ef
signer : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date : 2026-03-31T08:12:25.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 : dirHFgt9l6kaITm28oaZFC2uNnBlYNrSQoSfJyrVprNpmKTs9OJGZQXEk3/B95oew61ilJCZPFMzMeDJPdKb172PKq4rDZvn2wHOTd2yvvSbt923n+BEdrDwpyqBDO5v2nrVILo6Oh2mx8iZ6tjb10RpeQeMLd+yIfLH2ZJ6pw6ovK7dPsG/7W8w4B+ZqysvUHACTTmlwNXnWNhGRrRwbzq+M4yK877DU6EuRrySACJDWL5DiWHsg6q0a54d4Px/Jx7RZwaXZx4tTHIkGIZX6VXK+ObrNakwzNstNoLe1fHtLUjpFJtnVttT+4x/ATqrY28QblVEmMiyU6cCE1XXzA==
# -*- coding: utf-8 -*-
from setuphelpers import *
r"""
Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()
"""
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls
def install():
# Declaring local variables
bin_name = glob.glob('josm-windows-*.msi')[0]
# Installing the software
install_msi_if_needed(bin_name)
from setuphelpers import *
import requests
import re
import json
def update_package():
# Déclarer les variables locales
result = False
proxies = get_proxies()
if not proxies:
proxies = get_proxies_from_wapt_console()
git_repo = "JOSM/josm"
api_url = f"https://api.github.com/repos/{git_repo}/releases/latest"
os_dict = {"windows": ".msi", "debian_based": ".deb", "redhat_based": ".rpm", "darwin": "-x64.zip"}
# Getting latest version information from official sources
print("API used is: %s" % api_url)
json_load = json.loads(wgets(api_url, proxies=proxies))
for to_download in json_load["assets"]:
if os_dict[control.target_os] in to_download["name"] and "java25" in to_download['name']:
download_url = to_download["browser_download_url"]
version = json_load["tag_name"].split("-")[0]
latest_bin = to_download["name"]
break
# Deleting outdated binaries
remove_outdated_binaries(version)
# Downloading latest binaries
print("Latest %s version is: %s" % (control.name, version))
print("Download URL is: %s" % download_url)
if not isfile(latest_bin):
print("Downloading: %s" % latest_bin)
wget(download_url, latest_bin, proxies=proxies)
else:
print("Binary is present: %s" % latest_bin)
control.set_software_version(version)
control.save_control_to_wapt()
d65b3178a4173523e848ec812694e9ddd7508b7f42685d472eada036f1856d69 : JOSM-Windows-java25-19555.msi
01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
ba03ad03e62fdb42a217189874645caed3202ac377627365b3b73ff1544447be : WAPT/control
f61fc2a800f385f6d0eb5f4f23d18f0c9ec9bb8571a7067b0b36d0f3cb2a58ef : WAPT/icon.png
fe0ff7c0761a862594c300d8e5c8a4c2ebe6eb28ccbcfb25d905b13211f00fb1 : luti.json
438228aff8d7dff797fdb2ad2087eb8d19dc4e6330065a917d7fdddc0080c040 : setup.py
1ba4cf8a695798567e48a917f8528794c398f9fa5493ae04b9d4b2a5fd4bd6bb : update_package.py