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

Inflation error for version_min and version_max #3657

Merged
merged 1 commit into from
Sep 6, 2022

Conversation

HebaruSan
Copy link
Member

@HebaruSan HebaruSan commented Sep 6, 2022

Problem

See KSP-CKAN/NetKAN#9321 and KSP-CKAN/NetKAN#9323, we inadvertently marked the latest version of Parallax as conflicting with it own dependencies by using version_max instead of max_version, which made it impossible to install (but made it easier to install the previous version correctly).

This happened previously in KSP-CKAN/NetKAN#8880 and KSP-CKAN/NetKAN#8881.

Causes

For game version requirements, ksp_version_min and ksp_version_max are the correct forms.

For mod version requirements, min_version and max_version are the correct forms. For metadata maintainers who routinely deal with game version requirements and much more rarely with mod version requirements, this is surprising and very hard to keep in mind. (I even confused them in the initial description of this PR.)

Changes

Now if a relationship contains version_min or version_max, we raise an inflation error.

@HebaruSan HebaruSan added Pull request Netkan Issues affecting the netkan data Relationships Issues affecting depends, recommends, etc. labels Sep 6, 2022
@HebaruSan HebaruSan merged commit bd2d86a into KSP-CKAN:master Sep 6, 2022
@HebaruSan HebaruSan deleted the feature/version-max-error branch September 6, 2022 15:55
@HebaruSan HebaruSan changed the title Inflation error for version_min and version_max Inflation error for version_min and version_max Sep 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Netkan Issues affecting the netkan data Relationships Issues affecting depends, recommends, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants