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

Don't raise inflation errors for single-hosted prereleases of multi-hosted mods #4273

Merged
merged 1 commit into from
Dec 7, 2024

Conversation

HebaruSan
Copy link
Member

Motivation

Prereleases currently get indexed, and then in subsequent passes an inflation error Out-of-order version found on unreliable server occurs because only one host has the prerelease, and that host's latest release appears to be out of order by comparison.

Changes

Now the Inflator has a --highest-version-prerelease parameter and supports a HighestVersionPrerelease message attribute (to be populated by KSP-CKAN/NetKAN-Infra#352) that can specify the version of the latest prerelease separately from the regular releases. When we check for out-of-order versions, regular releases are only compared to other regular releases, and prereleases are compared to both.

Once both PRs are merged, the inflation errors associated with prereleases should drop off, which is important for minimizing the re-downloading of modules.

@HebaruSan HebaruSan added Enhancement New features or functionality Netkan Issues affecting the netkan data Tests Issues affecting the internal tests labels Dec 7, 2024
@HebaruSan HebaruSan merged commit 1cade54 into KSP-CKAN:master Dec 7, 2024
3 checks passed
@HebaruSan HebaruSan deleted the fix/max-prerelease branch December 7, 2024 00:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New features or functionality Netkan Issues affecting the netkan data Tests Issues affecting the internal tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant