Commit Graph

4 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 f83be9aadf NetKAN generated mods - CryoEngines/CryoEngines-0.1.4 2015-05-03 05:00:04 +02:00
NetKAN bot 7cf04ce553 NetKAN generated mods - Chatterer/Chatterer-0.9.1, CryoEngines/CryoEngines-0.1.4, DistantObject-RealSolarSystem/DistantObject-RealSolarSystem-v1.5.5, DistantObject-default/DistantObject-default-v1.5.5, DistantObject/DistantObject-v1.5.5, FinalFrontier/FinalFrontier-0.7.8-969, NearFutureConstruction/NearFutureConstruction-0.5.0, NearFutureSolar/NearFutureSolar-0.5.0, NearFutureSpacecraft/NearFutureSpacecraft-0.4.0, StageRecovery/StageRecovery-1.5.5 2015-05-02 20:24:29 +02:00
NetKAN bot 098ef79b86 NetKAN generated mods - CryoEngines/CryoEngines-0.1.4, KerbalEngineerRedux/KerbalEngineerRedux-1.0.16.6 2015-05-02 19:21:47 +02:00