-
-
Notifications
You must be signed in to change notification settings - Fork 345
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
Don't warn about incompatible DLCs, fix conflict highlighting with DLC installed #3304
Conversation
@SliceofLie, if you want to try this out, there's a test build at the bottom of this page: https://github.com/KSP-CKAN/CKAN/actions/runs/593969600 |
Hm, why is CKAN/Core/Relationships/RelationshipResolver.cs Lines 250 to 251 in d3624b9
|
I suspect that our assumptions about handling of installed modules changed over time in the resolver, and |
I think the impact of a slightly misbehaving But testing it everything seems to work as expected, conflicts with already installed modules get shown, as well as conflicts between two modules in the changeset about to be installed. So we should be fine removing |
OK, will do. There's also some unnecessary conversion from |
d7618f5
to
f8be704
Compare
Done; now this looks very similar a block in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
Problems
Similarly, this can appear for a mod that was incompatible when you installed it but has since become compatible (because it's on SpaceDock and someone put in a
ksp_version_min
override).Also if you have any DLC installed and you click to install two conflicting mods, they aren't highlighted red.
Cause
SQUAD didn't update the MH version number correctly (flashbacks to the extra whitespace for the other DLC in #3243). Current
GameData/SquadExpansion/MakingHistory/readme.txt
:...
Since the
Version 1.11.0
line is what CKAN uses to detect DLC versions, CKAN thinks everyone using MH on 1.11.1 has an incompatible DLC.When selecting conflicting rows,
ModuleIsDLCKraken
is thrown here, because the resolver is being told to install DLC:CKAN/GUI/Model/ModList.cs
Lines 483 to 488 in b748670
Changes
Fixes #3302. Fixes #3269.