mirror of
https://github.com/KSP-CKAN/CKAN-meta.git
synced 2024-10-13 00:59:46 +00:00
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.
39 lines
1.2 KiB
Plaintext
39 lines
1.2 KiB
Plaintext
{
|
|
"spec_version": 1,
|
|
"identifier": "StarTrekEngines",
|
|
"license": "CC-BY-NC-SA-4.0",
|
|
"resources": {
|
|
"homepage": "https://kerbalstuff.com/mod/640/Star-Trek%20Style%20Engines%20for%20KSPI",
|
|
"kerbalstuff": "https://kerbalstuff.com/mod/640/Star-Trek%20Style%20Engines%20for%20KSPI"
|
|
},
|
|
"depends": [
|
|
{
|
|
"name": "HotRockets"
|
|
},
|
|
{
|
|
"name": "KSPInterstellarExtended"
|
|
}
|
|
],
|
|
"install": [
|
|
{
|
|
"file": "GameData/SimianEndeavors",
|
|
"install_to": "GameData",
|
|
"filter": "~$engineplan.xlsx",
|
|
"comment": "The parts and models by Bobsyeruncle"
|
|
},
|
|
{
|
|
"file": "GameData/StarLionIndustries",
|
|
"install_to": "GameData",
|
|
"comment": "The KSPI MM Configs"
|
|
}
|
|
],
|
|
"ksp_version": "1.0.0",
|
|
"name": "Star-Trek Style Engines for KSPI",
|
|
"abstract": "KSPI-compatible engine configs using Simian Endeavors Star-Trek style radial engines",
|
|
"author": "ABZB",
|
|
"version": "1.6",
|
|
"download": "https://kerbalstuff.com/mod/640/Star-Trek%20Style%20Engines%20for%20KSPI/download/1.6",
|
|
"x_generated_by": "netkan",
|
|
"download_size": 869917
|
|
}
|