Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow manual downloads of mod packages #1788

Closed
mario-ragucci-sp opened this issue Jun 21, 2016 · 4 comments
Closed

Allow manual downloads of mod packages #1788

mario-ragucci-sp opened this issue Jun 21, 2016 · 4 comments
Labels
Core (ckan.dll) Issues affecting the core part of CKAN Enhancement New features or functionality ★☆☆

Comments

@mario-ragucci-sp
Copy link

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!

@mario-ragucci-sp mario-ragucci-sp changed the title Enhancement Request: Allow manually downloading mod packages Enhancement Request: Allow manual downloads mod packages Jun 21, 2016
@mario-ragucci-sp mario-ragucci-sp changed the title Enhancement Request: Allow manual downloads mod packages Enhancement Request: Allow manual downloads of mod packages Jun 21, 2016
@politas
Copy link
Member

politas commented Jun 22, 2016

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

@politas politas added Enhancement New features or functionality Core (ckan.dll) Issues affecting the core part of CKAN ★☆☆ labels Jun 22, 2016
@politas
Copy link
Member

politas commented Jun 22, 2016

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

@ayan4m1 ayan4m1 changed the title Enhancement Request: Allow manual downloads of mod packages Allow manual downloads of mod packages Aug 3, 2016
@HebaruSan
Copy link
Member

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.

@EvansJahja
Copy link

👍 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.

HebaruSan added a commit to HebaruSan/CKAN that referenced this issue Nov 24, 2017
HebaruSan added a commit to HebaruSan/CKAN that referenced this issue Nov 24, 2017
HebaruSan added a commit to HebaruSan/CKAN that referenced this issue Nov 24, 2017
HebaruSan added a commit to HebaruSan/CKAN that referenced this issue Nov 24, 2017
HebaruSan added a commit to HebaruSan/CKAN that referenced this issue Nov 24, 2017
HebaruSan added a commit to HebaruSan/CKAN that referenced this issue Nov 27, 2017
HebaruSan added a commit to HebaruSan/CKAN that referenced this issue Nov 29, 2017
HebaruSan added a commit to HebaruSan/CKAN that referenced this issue Dec 1, 2017
HebaruSan added a commit to HebaruSan/CKAN that referenced this issue Dec 2, 2017
HebaruSan added a commit to HebaruSan/CKAN that referenced this issue Dec 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Core (ckan.dll) Issues affecting the core part of CKAN Enhancement New features or functionality ★☆☆
Projects
None yet
Development

No branches or pull requests

4 participants