-
-
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
A provided mod can't satisfy a suggestion #1234
Comments
Same behaviour in Win7-64bit command-line. |
Further investigation showed, that the gui calls registry.LatestAvailable(..) instead of registry.LatestAvailableWithProvides(..) |
This is included in the text UI in #2177. Just need to catch ModuleNotFoundKraken here and call LatestAvailableWithProvides: Lines 183 to 199 in 6aac488
|
I don't think that commit made it into #2177 |
Sorry, what I meant was that ConsoleUI allows "provides" mods to satisfy suggestions. #2177 indeed did not modify GUI. |
I can't find that commit "Satisfy suggestions w/ provides as per #1234" in the master tree, and the code as it is doesn't include that change. I think you maybe added it to your branch after it was merged, or didn't push the commit through to GitHub in time? |
This is the code that does it. If CKAN/ConsoleUI/DependencyScreen.cs Lines 156 to 171 in 2692e03
I think the commit you're referencing was an error and had to be removed; if I recall correctly, it treated the mod being installed as the ID to look up for provides, whereas we actually want to look at its suggests/recommends. |
Ah, now I understand! Thanks for persisting in clearing up my confusion. |
Heh, thanks for persisting in asking; I was just as confused until I remembered the story with that commit. |
Steps to reproduce:
Tested on ckan 1.10.0, ksp 1.0.4. Only tested the gui so far.
Reported by Felger on IRC
The text was updated successfully, but these errors were encountered: