Commit Graph

3 Commits

Author SHA1 Message Date
Paul Fenwick d03d545fee Rewrite versions to be more specific!
As discussed in KSP-CKAN/CKAN#1156, sometimes we see older versions of
mods that have "generic" KSP versions (eg: 1.0), even though newer
versions of those same mods have specific versions (eg 1.0.1). These has
been a side-effect of how KS returns KSP version numbers to us.

This patch adds ".0" to version numbers if and only if we see a later
version of the same mod that has a specific version number in the same
sequence (eg: 1.0 and 1.0.3 causes a rewrite, but 0.24 and 1.0.3 does
not).

Source code coming soon. I haven't checked it into CKAN-meta because
it's not really a place where lots of code should be hanging out.

Also attn @dbent, who identified this issue in the first place.
2015-06-23 13:40:15 +10:00
NetKAN bot 292ac9b03c NetKAN generated mods - AmbientLightAdjustment/AmbientLightAdjustment-1.4.2.1, InfernalRobotics-Sequencer/InfernalRobotics-Sequencer-0.2 2015-04-28 10:20:51 +02:00
NetKAN bot 123463e1c1 NetKAN generated mods - AlcubierreStandalone/AlcubierreStandalone-0.2.0, AmbientLightAdjustment/AmbientLightAdjustment-1.4.2.1, CommunityResourcePack/CommunityResourcePack-0.4.0, KSPIRC/KSPIRC-0.9.0.1, Karbonite/Karbonite-0.6.0, KarbonitePlus/KarbonitePlus-0.4.0, KeepFit/KeepFit-0.4.1.1, KerbalEngineerRedux/KerbalEngineerRedux-1.0.16.3, MissionController2/MissionController2-Version_1.12.1, MoarEggs/MoarEggs-1.2.0_-_KSP_1.0_Update, Protractor/Protractor-v2.5.0, UKS/UKS-0.30.0, USI-EXP/USI-EXP-0.4.0, USI-FTT/USI-FTT-0.4.0, USI-SRV/USI-SRV-0.3.0, USITools/USITools-0.4.0 2015-04-27 21:24:27 +02:00