Commit Graph

5 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 ad22af35c4 NetKAN generated mods - BDArmory/BDArmory-v0.8.1, FTLDrive/FTLDrive-Rev_6, FieldExperience/FieldExperience-1.0.1, KerbalKonstructs/KerbalKonstructs-0.7.3, NearFutureConstruction/NearFutureConstruction-0.5.2, NearFutureProps/NearFutureProps-0.3.1, StationPartsExpansion/StationPartsExpansion-0.3.2 2015-05-04 17:19:34 +02:00
NetKAN bot 5291eceaad NetKAN generated mods - CapCom/CapCom-0.3, ContractRewardModifier/ContractRewardModifier-2.0, ContractsWindowPlus/ContractsWindowPlus-5.0, FTLDrive/FTLDrive-Rev_5, PilotAssistant/PilotAssistant-1.5.5, ScienceFunding/ScienceFunding-1.1, WaypointManager/WaypointManager-2.3.0 2015-04-27 22:21:21 +02:00
NetKAN bot 6f38bae8b7 NetKAN generated mods - FTLDrive/FTLDrive-Rev_4 2015-04-21 23:23:19 +02:00
NetKAN bot 100c45bfb0 NetKAN generated mods - FTLDrive/FTLDrive-3, KOSMOS-URM/KOSMOS-URM-0.15.0, MoarEggs/MoarEggs-1.11 2015-04-19 14:22:21 +02:00