Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix Netkan error message when both ksp_version and ksp_version_min/_max are present #2480
KSP-CKAN/NetKAN#6654 got tripped up by this very confusing error message:
The root cause was that the generated metadata had this:
"ksp_version": "1.4.0", "ksp_version_min": "1.4.0", "ksp_version_max": "1.4.99",
These properties aren't supposed to be combined; either you have
However, that info wasn't making it all the way to the output.
Netkan now uses
Now the error looks like this instead:
is wrong. While duplicative, it is fine to have both. If min/max are there, the ksp_version is ignored.