Commit Graph

8 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 75f26408c6 NetKAN generated mods - ContractConfigurator-KerbinSpaceStation/ContractConfigurator-KerbinSpaceStation-1.3.3.1, EnduranceSpaceExplorationSystem/EnduranceSpaceExplorationSystem-0.5.5, PersistentRotation/PersistentRotation-0.5.0, PlanetShine-Config-Default/PlanetShine-Config-Default-0.2.3.1, PlanetShine/PlanetShine-0.2.3.1, QuickMute/QuickMute-v1.04 2015-05-09 21:24:15 +02:00
NetKAN bot 2764320a19 NetKAN generated mods - PlanetShine-Config-Default/PlanetShine-Config-Default-0.2.3, PlanetShine/PlanetShine-0.2.3 2015-05-09 13:19:40 +02:00
NetKAN bot 35df6cb0ef NetKAN generated mods - PlanetShine-Config-Default/PlanetShine-Config-Default-0.2.2.3, PlanetShine/PlanetShine-0.2.2.3 2015-05-03 08:21:53 +02:00
NetKAN bot 8efe61c8c2 NetKAN generated mods - PlanetShine-Config-Default/PlanetShine-Config-Default-0.2.2.2, PlanetShine/PlanetShine-0.2.2.2 2015-04-30 10:22:01 +02:00
NetKAN bot c2f4487aaa NetKAN generated mods - AdvancedJetEngine/AdvancedJetEngine-2.0.4, BlackTippedNosecone/BlackTippedNosecone-1.0, ContractConfigurator-AdvancedProgression/ContractConfigurator-AdvancedProgression-3.0, ContractConfigurator-Banking/ContractConfigurator-Banking-V.01, ContractConfigurator-GrandTours/ContractConfigurator-GrandTours-0.1.5, ContractConfigurator-InitialContracts/ContractConfigurator-InitialContracts-1.0.0, ContractConfigurator-KerbinSpaceStation/ContractConfigurator-KerbinSpaceStation-1.2, ContractConfigurator-UnmannedContracts/ContractConfigurator-UnmannedContracts-0.3.7, CraftHistory/CraftHistory-1.3.0, DockingPortAlignmentIndicator/DockingPortAlignmentIndicator-6.1, FASARefinery/FASARefinery-1.1, FieldExperience/FieldExperience-1.0.1, KerbalScienceExchange/KerbalScienceExchange-1.0.1, MACH-5/MACH-5-0.12, MunarSurfaceExperimentPackage/MunarSurfaceExperimentPackage-2.1, ODFC/ODFC-1.0, OTHOABstexturesforProceduralParts/OTHOABstexturesforProceduralParts-0.12, OkramSA/OkramSA-1.0, PlanetShine-Config-Default/PlanetShine-Config-Default-0.2.2.1, PlanetShine/PlanetShine-0.2.2.1, Protractor/Protractor-v2.4.16, QuickMute/QuickMute-v1.01, RKE-Kanadarm/RKE-Kanadarm-0.10, RoadToCosmosCore/RoadToCosmosCore-04, SETI/SETI-0.8.8, SerialIO-MacLinuxWin/SerialIO-MacLinuxWin-0.17.1-2, SpaceX-HistoricArchive-HD/SpaceX-HistoricArchive-HD-90, SpacetuxSA/SpacetuxSA-0.3.4, SpearofLonginus/SpearofLonginus-0.7, TarsierSpaceTechnologyWithGalaxies/TarsierSpaceTechnologyWithGalaxies-4.5d, UniversalStorage-ECLSS/UniversalStorage-ECLSS-Deprecated, UniversalStorage-IFI/UniversalStorage-IFI-Deprecated, UniversalStorage-KAS/UniversalStorage-KAS-Deprecated, UniversalStorage-SNACKS/UniversalStorage-SNACKS-Deprecated, UniversalStorage-TAC/UniversalStorage-TAC-Deprecated 2015-04-19 14:34:04 +02:00
NetKAN bot dc366ff328 NetKAN generated mods - PlanetShine-Config-Default/PlanetShine-Config-Default-0.2.2.1 2015-01-11 01:43:32 +01:00
NetKAN bot 853210658c NetKAN generated mods - PlanetShine-Config-Default/PlanetShine-Config-Default-0.2.2.1, PlanetShine/PlanetShine-0.2.2.1 2015-01-11 01:25:22 +01:00