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

Remove spec_version from all netkans #10166

Merged
merged 2 commits into from
Aug 14, 2024

Conversation

HebaruSan
Copy link
Member

As of KSP-CKAN/CKAN#4155, spec_version is now optional and auto-generated by the inflator. KSP-CKAN/NetKAN-Infra#336 and KSP-CKAN/metadata-webtool#49 have removed code that added it to machine-generated netkans, and it has been removed from https://github.com/KSP-CKAN/CKAN/wiki/Adding-a-mod-to-the-CKAN.

Now all existing netkans have spec_version removed. Since this is almost every file in this repo, it will also be a sort of stress test of the metadata tester.

@HebaruSan HebaruSan added the Easy label Aug 14, 2024
@HebaruSan
Copy link
Member Author

That was interesting. Since the download cache size limit is set per game instance, and inflation occurs before any game instances are created, there is effectively no download cache size limit for the inflation step. Which means that it will reliably fill the disk after enough modules are inflated.

Furthermore, we don't know the size of the download before we download it! So even if a limit was defined, there would be no way to know how much space is needed before each inflation.

@HebaruSan HebaruSan merged commit 1091f3b into KSP-CKAN:master Aug 14, 2024
1 check failed
@HebaruSan HebaruSan deleted the remove/spec-version branch August 14, 2024 20:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant