### Key Changes: - **Code Structure**: Complete refactoring removing 392→180 lines of duplicated code - **Error Handling**: Added comprehensive error handling with detailed tracebacks - **Configuration**: Added configurable notification methods (email/rocket/both) - **Security**: Fixed function naming inconsistency (send_mail→send_email) - **Validation**: Added input validation and graceful error fallbacks ### Bug Fixes: - Fixed version conflict in WAPT/control (removed duplicate version entry) - Fixed syntax error in French string (unescaped apostrophe) - Fixed missing function calls and import issues ### New Features: - Configurable notification channels via wapt_api.ini [notifications] section - Default configuration fallbacks when config files missing - Network timeout handling (30s for external requests) - SSL certificate validation with proper error messages ### Technical Improvements: - Modular function design for better testability - Proper exception handling for all network operations - Better error messages with tracebacks for debugging - Cleaner separation of concerns
43 lines
1.1 KiB
Plaintext
43 lines
1.1 KiB
Plaintext
package : comi-apps-to-update-on-wapt-server
|
|
version : 0-17
|
|
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 : 081d68fb-fd04-4bbc-a1f8-734c1ca909eb
|
|
valid_from :
|
|
valid_until :
|
|
forced_install_on :
|
|
changelog :
|
|
min_os_version :
|
|
max_os_version :
|
|
icon_sha256sum :
|
|
signer :
|
|
signer_fingerprint:
|
|
signature_date :
|
|
signed_attributes : |