Ckan: Allow manual downloads of mod packages

Created on 22 Jun 2016  ·  4Comments  ·  Source: KSP-CKAN/CKAN

Hi,
CKAN v1.18.0-0-geeb9127
OS: Mac OS X (el capitan) / Windows 10

I am currently trying to install several mods via CKAN, however it is not working because of the awful speed a get on those downloads. I tried downloading those files via browser, and the download was bleeding fast. So my request is:
Please add the funcionality to download packages on my own and put them to a special folder so CKAN will check if the file was downloaded manually before accessing the download url (like you do it with cached downloads).

Thanks!

Core (ckan.dll) Enhancement ★☆☆

Most helpful comment

I see this as an "Import downloaded mods" menu option...

  1. Prompt the user to select one or more zip files they downloaded
  2. Calculate their SHA1-sums
  3. Search the registry for matches
  4. If there are multiple (some mods share downloads, e.g. RasterPropMonitor and RasterPropMonitor-Core), ask the user which of them to import
  5. Copy the zips into the cache under the names that would be used if they were downloaded by CKAN
  6. If they're compatible with the current instance, prompt user whether they want to install, otherwise alert that they're not compatible

This could be a pretty nice option for getting started with CKAN if a user has a long term downloads folder where they've kept everything they've installed manually. Run CKAN, choose the import option, select your old downloads, then say Yes to install all of the ones that are compatible, and when it finishes, you are up and running on CKAN.

All 4 comments

Go to the Contents tab, and you can download mods there. See how that compares for speed.

We are now adding file hashes to the local registry, so importing files downloaded outside CKAN could be added.

I see this as an "Import downloaded mods" menu option...

  1. Prompt the user to select one or more zip files they downloaded
  2. Calculate their SHA1-sums
  3. Search the registry for matches
  4. If there are multiple (some mods share downloads, e.g. RasterPropMonitor and RasterPropMonitor-Core), ask the user which of them to import
  5. Copy the zips into the cache under the names that would be used if they were downloaded by CKAN
  6. If they're compatible with the current instance, prompt user whether they want to install, otherwise alert that they're not compatible

This could be a pretty nice option for getting started with CKAN if a user has a long term downloads folder where they've kept everything they've installed manually. Run CKAN, choose the import option, select your old downloads, then say Yes to install all of the ones that are compatible, and when it finishes, you are up and running on CKAN.

👍 to this.
I've came up to this thread for another reason, that is
CKAN seems to suffer from the trouble of:

  • slow download (halting)
  • unable to continue interrupted download.

So I think this needs a fix as well.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Rook-TEK picture Rook-TEK  ·  7Comments

btbonval picture btbonval  ·  6Comments

Unhunter picture Unhunter  ·  3Comments

davidgiven picture davidgiven  ·  6Comments

DasSkelett picture DasSkelett  ·  5Comments