### Key Fix: - **Eliminate Duplicates**: Each package now appears once regardless of host configurations - **Base Name Tracking**: Use `processed_packages` set to track unique packages by base name - **Clean Logic**: Check `app_base_name not in processed_packages` instead of full package name ### Problem Solved: Before: Same package appeared multiple times for different host configurations ``` comi-parsec : 150.99.0.0-1 from : 150.93.2.0-2 comi-parsec : 150.99.0.0-1 from : 150.93.2.0-2 comi-parsec : 150.99.0.0-1 from : 150.93.2.0-2 ``` After: Each package appears once with correct version information ``` comi-parsec : 150.99.0.0-1 from : 150.93.2.0-2 comi-stormshield-vpn : 5.1.2-8 from : 5.1.1-7 ``` ### Technical Changes: - Added `processed_packages = set()` for duplicate tracking - Extract `app_base_name` once for cleaner code - Mark packages as processed with `processed_packages.add(app_base_name)` ### Version Bump: Updated to version 2-2 for this bug fix
44 lines
2.1 KiB
Plaintext
44 lines
2.1 KiB
Plaintext
package : comi-apps-to-update-on-wapt-server
|
|
version : 2-2
|
|
architecture : all
|
|
section : base
|
|
priority : optional
|
|
name : apps-to-update-on-wapt-server
|
|
categories : Utilities
|
|
maintainer : Comitari,pcosson
|
|
description : Package to audit the wapt-server and generate an alert
|
|
depends :
|
|
conflicts :
|
|
maturity : PROD
|
|
locale : all
|
|
target_os : all
|
|
min_wapt_version : 2.3
|
|
sources :
|
|
installed_size :
|
|
impacted_process :
|
|
description_fr :
|
|
description_pl :
|
|
description_de :
|
|
description_es :
|
|
description_pt :
|
|
description_it :
|
|
description_nl :
|
|
description_ru :
|
|
audit_schedule : 1d
|
|
editor :
|
|
keywords :
|
|
licence : opensource_free,wapt_public
|
|
homepage :
|
|
package_uuid : ab4f77cb-2415-f2a2-d615-3794f84041a3
|
|
valid_from :
|
|
valid_until :
|
|
forced_install_on :
|
|
changelog :
|
|
min_os_version :
|
|
max_os_version :
|
|
icon_sha256sum : d642b35ce6441158dc071677fb958ad01830271d373c332d64e48dec67f80834
|
|
signer : pcosson_key
|
|
signer_fingerprint: a25582410cf03bad179a60c189f459a0b03821c92c0cedf209e82448a66a9b4e
|
|
signature_date : 2025-12-30T15:09:27.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 : TQFiZPpMiQEDexrKxDjos2azCOq/oqiJ7uEXr6eaN6VL1oLwsoDRi7kcep7EDQka2tDhdluaJJAVscaMaHe0JRXyGketu8lZr0R+bowpo/NXAlyFmjXsa58CihN70WWND+S00HtGYbfAfpQPxxB6yitoqEMeqNOdDxCOKlTeW0uYdORTZ5/Mf1T2CW4hRlXclZYzMeBrZjEYq4pFQCTT38KSEJ3HgPmat+Y5TN0mtUwnwGoZRD5URcwtVQG/1G5n9ZUPVNLpr+q7esdSZjIsYHcp06v+NZaVo0ma4+v/wj6yJphKLdT85A0KRbgKoHdT/+hXcNbA8T2/DEkzmc68bw== |