-
-
Notifications
You must be signed in to change notification settings - Fork 344
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]: Upgrade to latest compatible version when a version conflict on absolute latest is encountered #3849
Comments
Sort of to be clear, the idea is to make this work as a way to upgrade an RP-1 v1.x install and keep it an RP-1 v1.x install:
That fails now with:
ROEngines has a similar problem with RealismOverhaul where there's a newer version than what I have installed but the latest version isn't compatible. And pretty much for every other RO-related mod. The manual way is a bit painful. Suspect this will come up more as more people want to upgrade their legacy RP-1 installs but stay on legacy RP-1. Clearly I'm also a CLI user (and Mac user) and I haven't tried to see what happens in the GUI and couldn't see anything in the help (this might be a doc bug for all I know). |
Forgot my CKAN version:
|
Thanks for submitting this, @lamont-granquist! Findings while investigating this:
|
Thanks for poking at this! 👍 |
Problem
So for example I have an RP-1 v1.x install which I'd like to upgrade but keep on v1.x while installing the available compatible upgradable mods.
So for example I have:
When I try to upgrade that I get:
This is correct if I wanted to upgrade to RealismOverhaul v16.x, however CKAN-meta indicates that RealismOverhaul-v15.0.1.0.ckan is available to be installed. Really I'm trying to upgrade to that v15.x version which is compatible.
I can get that to work manually by becoming my own depsolver with:
Suggestion
Probably create some flag which would allow doing more complicated depsolving to upgrade only to the latest compatible versions with all over currently installed mods.
Alternatives
No response
Additional context
I'm not sure how to do this with
--all
and what the correct workflow should be.It may be possible that old versions of RP-1 1.x didn't have the constraint on <= v15.99 -- I'm not sure if all the RP-1 metadata got retconned or not to have that constraint added.
But certainly the situation could happen where CKAN decides to pick a lower version of RP-1 without the constraint and it installs RealismOverhaul v16.x, instead of the other way around and picking the latest RP-1 and an earlier version of RealismOverhaul.
I don't know exactly what to suggest about the ambiguity in that case, but I'd mostly be happy if I could upgrade RP-1 in isolation and thereby disallow downgrades of that mod, then it would make it easier on the depsolver to find the latest non-conflicting version of RealismOverhaul.
I know that this is how bundler/rubygems works (also that it is somewhat difficult to implement and this is probably getting close to where depsolvers become NP-complete)
The text was updated successfully, but these errors were encountered: