-
-
Notifications
You must be signed in to change notification settings - Fork 349
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
Feature Request: Multiple KSP Instances -> share downloads #960
Comments
Duplicate of https://github.com/KSP-CKAN/CKAN-core/issues/10, which should probably be moved over here (or will be as the repos merge again). |
I can also see I had some old code for this, might need a bit of checking before it can be merged in. For anyone who wants to see it: https://github.com/mgsdk/CKAN-core/tree/cache_downloads. |
I didn't mentioin it explicitly, but I wanted to imply using metadata across KSP install paths as well. |
So you want to update the repository once, and have it updated for all KSP installs? |
Yes. Unless there is a reason to have a different metadata set for a KSP install? Then there should be some way to configure this I guess. |
Just throwing it out there that some of us use different repositories for different installs, e.g. my main install use the standard and MechJeb2-dev repos while some of my testinstalls use all the canonical repositories. If the same metadata list was used for all installs wouldn't this behaviour become impossible? |
Sharing metadata between installs is harder than it looks, not least because one may have different (and multiple) upstreams for each install. We do have some potential ways to make it more efficient to fetch metadata. As a first pass, flipping from .zip to .tar.gz downloads (I know we've got a ticket for this somewhere), but further in the future we'll likely have a bot that cooks the metadata to only return compatible and/or latest versions. But seriously, switching to .tar.gz will drop metadata download size by a lot, as it seriously takes advantage of the repetition that exists between files. |
Hey there! I'm a fun-loving automated bot who's responsible for making sure old support tickets get closed out. As we haven't seen any activity on this ticket for a while, we're hoping the problem has been resolved and I'm closing out the ticket automaically. If I'm doing this in error, please add a comment to this ticket to let us know, and we'll re-open it! |
@netkan-bot s/automaically/automatically/ |
This would be good to have. The number of times I've had CKAN crash while downloading the same files I know I already have downloaded for another install... |
Not sure if metadata is required, but what about only sharing the mod downloads? Downloaded that mod for another instance, so you just get the file from the common folder, and merge it with the active instance... |
I already do this on linux by symlinking the downloads/ folder |
If installs have different upstreams, wouldn't that make the hashes different, anyway, so the downloads should co-exist without issues, just as different KSP versions will likely use many different downloads. So even if metadata sharing isn't possible, mod download sharing is? |
Well look at that, the OP does mention that. Just ignore me... |
I have more than one KSP instance, at least one Main copy, a testing copy for bug-hunting, and soonish one to test new mods for compatibility without feeding my saves to the Kraken.
Most mods are shared between them - even in the same versions.
I'd like ckan to store the downloaded archives in a centralized location (config setting for this? env i.e. $CKAN-DOWNLOADS) so I don't have to download a mod 3 times, when one time is enough, also saves HD storage.
Short term workaround could be to have ckan look in the other known installs for the required download.
The text was updated successfully, but these errors were encountered: