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.
18 lines
935 B
Plaintext
18 lines
935 B
Plaintext
{
|
|
"identifier": "DavonSupplyMod",
|
|
"x_netkan_license_ok": true,
|
|
"spec_version": 1,
|
|
"resources": {
|
|
"kerbalstuff": "https://kerbalstuff.com/mod/430/Davon%20Supply%20Mod"
|
|
},
|
|
"ksp_version": "1.0.0",
|
|
"name": "Davon Supply Mod",
|
|
"license": "restricted",
|
|
"abstract": "Davon Station Logistics Hub. The outsourcing solution for your resupply needs in the Kerbin locale. After transportation and proper activation of the Station Logistics Hub, it allows fuel resupply missions to the station to be undertaken by Davon industries on your request as part of Davon logistic services. Read manual before use. Limited to Kerbin and its moons. Delivery time may vary upon location. Terms of service apply. ",
|
|
"author": "PrivateFlip",
|
|
"version": "013",
|
|
"download": "https://kerbalstuff.com/mod/430/Davon%20Supply%20Mod/download/013",
|
|
"x_generated_by": "netkan",
|
|
"download_size": 1883855
|
|
}
|