R-T-B / Kopernicus

Kopernicus is a mod for Kerbal Space Program which allows users to replace the planetary system used by the game.
GNU Lesser General Public License v3.0
32 stars 11 forks source link

Bleeding Edge CKAN metadata problems #46

Closed HebaruSan closed 3 years ago

HebaruSan commented 3 years ago

The homepage goes here if you click on it:

The 7 should be a 6.

And the version numbers sort wrong. This will break updates, since CKAN always tries to update to the most recent compatible version of each mod, and these verison numbers indicate that this is UBEE_1101_50 rather than UBEE_111_57. The numeric chunks are interpreted as numbers, so 1101 is numerically compared to 111, and the former is larger. UBEE_1110_57 would sort properly.

The most recent should be at the top:

image

Pointed out by @DasSkelett on Discord.

R-T-B commented 3 years ago

The version numbers sorting wrong should be a non-issue since it will only take/consider the releases it is compatible with, no? And Kopernicus is version locked to a single version.

Still, I will fix it. Also thanks for the pointer on the forum link, it must've been machine replaced by acccident. I'll check my scripts.

HebaruSan commented 3 years ago

The trick is that most users have 1.8–1.11 marked as compatible, because so few mod authors bother to keep their compatibilities completely updated. A user on 1.11 with 1.10 marked as compatible will be "upgraded" to the 1101 releases.

R-T-B commented 3 years ago

Should be retroactively fixed now, do advise. And thanks!

And re compatability, yeah, ModuleManager dependency makes KSP 1.11 builds not autoselect anyways.

HebaruSan commented 3 years ago

Yup, both problems look good now. Thanks for the quick response. :+1: