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 8b2288908d NetKAN generated mods - ActiveTextureManagement-x64-Aggressive/ActiveTextureManagement-x64-Aggressive-4-3, ActiveTextureManagement-x64-Basic/ActiveTextureManagement-x64-Basic-4-3, ActiveTextureManagement-x86-Aggressive/ActiveTextureManagement-x86-Aggressive-5-0, ActiveTextureManagement-x86-Basic/ActiveTextureManagement-x86-Basic-5-0, AtomicAge/AtomicAge-2.0, BDArmory/BDArmory-v0.8.2, CactEye2/CactEye2-BETA_5.2, CrowdSourcedScience/CrowdSourcedScience-v3.0, DavonTCsystemsMod/DavonTCsystemsMod-076, EVAManager/EVAManager-3, EditorExtensions/EditorExtensions-2.7, Firespitter/Firespitter-v7.1.1, FirespitterCore/FirespitterCore-v7.1.1, InfernalRobotics/InfernalRobotics-0.21.2, LSPFlags/LSPFlags-1.6, OMSKSpaceProducts/OMSKSpaceProducts-3.7, Protractor/Protractor-v2.5.0.2, StockBugFixModules/StockBugFixModules-v1.0.2b, Targetron/Targetron-v1.4.2.1 2015-05-09 23:50:30 +02:00
NetKAN bot dd46270e4d NetKAN generated mods - BaconLabs/BaconLabs-0.3.1.01, EditorExtensions/EditorExtensions-2.7, QuickContracts/QuickContracts-v1.01, QuickGoTo/QuickGoTo-v1.10, QuickIVA/QuickIVA-v1.03, QuickMute/QuickMute-v1.03, QuickScroll/QuickScroll-v1.22, QuickSearch/QuickSearch-v1.12 2015-05-03 03:21:48 +02:00