mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
The json schema for packages implies that kicad min/max version restriction takes major.minor.patch string but actual logic only checks major and minor. This fixes the logic to work with full major.minor.patch tuple. Additionally the version max logic will substitute missing portions with 999 for a reasonable default so that say 7.1 is still considered as >= 7.1.5 when checking for max version. Reported here https://forum.kicad.info/t/updating-already-installed-plugins-using-content-manager/35532/5?u=qu1ck (cherry picked from commit 06028d50155f0f5b240a9748f6f06fb66269cd72)