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

+1 -2
View File
@@ -296,8 +296,7 @@ class PackageBuilder:
],
check=True,
)
# Find created .rpm and copy to dist/
rpms = list(rpms_dir.glob("**/*.rpm"))
rpms = [r for r in rpms_dir.glob(f"**/*{self.version}*.rpm") if not r.name.endswith(".src.rpm")]
if rpms:
for rpm in rpms:
shutil.copy2(str(rpm), str(self.output_dir / rpm.name))
+6 -1
View File
@@ -1,5 +1,5 @@
Name: inventory-collector
Version: 1.1.1
Version: 1.1.2
Release: 1%{?dist}
Summary: Universal homelab and fleet inventory collector and deduplicator
@@ -66,6 +66,11 @@ fi
%doc %{_datadir}/doc/inventory-collector
%changelog
* Sat Oct 03 2026 Mateusz Stomski <zbytatencyjny@gmail.com> - 1.1.2-1
- Use Python standard ipaddress module for robust numerical 32-bit/128-bit IP sorting.
- Handle CIDR notation (/24) and port numbers (:22) gracefully in IP sorting.
- Support default sort configuration (sort_by, sort_reverse) in config.yaml.
* Sat Oct 03 2026 Mateusz Stomski <zbytatencyjny@gmail.com> - 1.1.1-1
- Add host sorting by name and IP (--sort {name,ip}, -r/--reverse).
- Add destination override flags in --sync mode (--ansible-dest, --lc-dest, -o).