Ckan: KSP max version is not correctly detected

Created on 24 Oct 2018  路  5Comments  路  Source: KSP-CKAN/CKAN

Background

CKAN Version: v1.24.0

KSP Version: 1.5.1

Operating System: Windows 10

Have you made any manual changes to your GameData folder (i.e., not via CKAN)?

Installed some mods, but not the one in question.

Problem

What steps did you take in CKAN?

Loaded and refreshed the database.

What did you expect to happen?

Mod KSPDev LogConsole is expected to reflect the latest version (v0.21 as of today) with KSP max version 1.5.99.

What happened instead?

For mod KSPDev LogConsole CKAN says the maximum version is 1.4.99. I've checked CKAN/downloads folder and found the archive for v0.21 - it properly specifies the maximum version:

    "KSP_VERSION": {
        "MAJOR": 1, 
        "MINOR": 5, 
        "PATCH": 0
    }, 
    "KSP_VERSION_MAX": {
        "MAJOR": 1, 
        "MINOR": 5, 
        "PATCH": 99
    }, 
    "KSP_VERSION_MIN": {
        "MAJOR": 1, 
        "MINOR": 4, 
        "PATCH": 0
    }, 

The NetKAN metafile seems to be valid as well:

    "version": "0.21",
    "ksp_version_min": "1.4.0",
    "ksp_version_max": "1.5.99",

When I had v0.19 in my system, CKAN was showing that the newest version is v0.21, but it was not offering to upgrade it. I guess, it's because it was assuming the KPS version is incompatible.

One more detail which may help. Some time ago I've changed the mod's repository. The appropriate NetKAN files were updated.

Screenshots:

ckan issue

Metadata

All 5 comments

Versions 0.14 through 0.19 were indexed with an epoch:

image

Try putting this in the .netkan and waiting ~4 hours for a re-index:

    "x_netkan_epoch": "1",

Done. Let's see if it helps. Thanks!

It helped. Thanks!

About that epoch thingy ...

  1. I'm still seeing it.
  2. I have hide epoch ticked.

ckan-epoch

That setting is only for the mod list, the big grid on the left.

Was this page helpful?
0 / 5 - 0 ratings