feat: release v1.1.2 - hardened IP sorting with ipaddress and config sort defaults
Build and Publish Release / Build Packages and Publish (push) Successful in 10s

This commit is contained in:
soda64 committed 2026-10-03 22:18:10 +02:00
1 parent 62710d8bb7
commit 1dbbb1ce56
12 files changed
+88 -21

No files matched your search

+6
View File
@@ -31,6 +31,8 @@ class AppConfig:
output_linux_connector: Optional[Path] = None
output_yaml: Optional[Path] = None
output_xml: Optional[Path] = None
sort_by: str = "name"
sort_reverse: bool = False
class ConfigLoader:
"""Loads configuration with environment variable interpolation."""
@@ -197,6 +199,10 @@ class ConfigLoader:
config.default_ssh_user = defaults.get("ssh_user", config.default_ssh_user)
config.default_ssh_port = int(defaults.get("ssh_port", config.default_ssh_port))
config.conflict_policy = defaults.get("conflict_policy", config.conflict_policy)
if "sort_by" in defaults:
config.sort_by = str(defaults["sort_by"])
if "sort_reverse" in defaults:
config.sort_reverse = bool(defaults["sort_reverse"])
# Parse destinations
destinations = data.get("destinations", {})