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 inflator Robot 2df3fae548 'NetKAN generated mods - StarTrekEngines/StarTrekEngines-1.7.ckan' 2015-05-26 21:17:11 +00:00
NetKAN bot 145aee753c NetKAN generated mods - BDAnimationModules/BDAnimationModules-v0.6.1, ContractConfigurator-GrandTours/ContractConfigurator-GrandTours-1.0.6, ContractConfigurator-KerbinSideJobs/ContractConfigurator-KerbinSideJobs-1.1, ContractConfigurator-UnmannedContracts/ContractConfigurator-UnmannedContracts-0.3.9, DavonSupplyMod/DavonSupplyMod-014, DraftTwitchViewers/DraftTwitchViewers-v1.0.5, EnvironmentalVisualEnhancements-HR/EnvironmentalVisualEnhancements-HR-7-4, EnvironmentalVisualEnhancements-LR/EnvironmentalVisualEnhancements-LR-7-4, EnvironmentalVisualEnhancements/EnvironmentalVisualEnhancements-7-4, ExceptionDetector/ExceptionDetector-v.1.1, FairingWithMass/FairingWithMass-1.3.1, FlagRotate/FlagRotate-1.1.1, GeometricShapeAeroTests/GeometricShapeAeroTests-0.2f, GlassPanesandEnclosures/GlassPanesandEnclosures-1.1.1, Goodspeed/Goodspeed-1.4, HeatResistantSpaceplanePartsHRP/HeatResistantSpaceplanePartsHRP-1.1, JSIPartUtilities/JSIPartUtilities-v0.3, JettisonFuel/JettisonFuel-1, KSO/KSO-4.2, KabinKraziness/KabinKraziness-V0.3, Kerbulator/Kerbulator-0.33, MOVAP/MOVAP-1.0, MinkTechnologies/MinkTechnologies-1.02, ProceduralParts/ProceduralParts-v1.1.1, ShowAllFuels/ShowAllFuels-1, SolarScience/SolarScience-v1.03, SovietEngines/SovietEngines-1.1, SpacetuxSA/SpacetuxSA-0.3.5, StarTrekEngines/StarTrekEngines-1.6, StarTrekTOSSpaceSuits/StarTrekTOSSpaceSuits-1, TACLSMining/TACLSMining-1, UKS/UKS-0.30.3, VenStockRevamp/VenStockRevamp-v1.8.1, kribubble/kribubble-1.1, krispeeder1/krispeeder1-1.0 2015-05-22 19:40:30 +02:00
NetKAN bot ac4688ab82 NetKAN generated mods - StarTrekEngines/StarTrekEngines-1.6 2015-05-22 01:35:40 +02:00