Skip to content
Snippets Groups Projects
Commit 52157acb authored by qu1ck's avatar qu1ck Committed by Seth Hillbrand
Browse files

PCM: fix kicad version restriction logic

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 06028d50)
parent 17f22059
No related branches found
Tags 6.0.7-rc1
No related merge requests found
Pipeline #599493541 passed with warnings
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment