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

Reconcile compatibility after internal .ckan merge #4224

Merged
merged 1 commit into from
Oct 5, 2024

Conversation

HebaruSan
Copy link
Member

Problem

@SofieBrink is testing out using internal .ckan files and hit a snag:

FATAL CKAN.NetKAN.Program (null) - ksp_version mixed with ksp_version_(min|max)

Cause

SpaceDock provides ksp_version, and the internal .ckan file provides ksp_version_min, and they're not reconciled.

Changes

Now after an internal .ckan file is merged, ModuleService.ApplyVersions is called to massage the compatibility metadata into consistency. This will allow mods on SpaceDock to set their compatibility in internal .ckan files.

@HebaruSan HebaruSan added Bug Something is not working as intended Enhancement New features or functionality Easy This is easy to fix Netkan Issues affecting the netkan data labels Oct 5, 2024
@HebaruSan HebaruSan merged commit 989d4ba into KSP-CKAN:master Oct 5, 2024
3 checks passed
@HebaruSan HebaruSan deleted the fix/internal-ckan-versioning branch October 5, 2024 21:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is not working as intended Easy This is easy to fix Enhancement New features or functionality Netkan Issues affecting the netkan data
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant