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

Submit YAML netkans from SpaceDock #221

Merged
merged 1 commit into from Jun 15, 2021

Conversation

HebaruSan
Copy link
Member

@HebaruSan HebaruSan commented Jun 12, 2021

Motivation

As of KSP-CKAN/CKAN#3367, netkans are allowed to use YAML format. I don't know how quickly we want to convert random mods to YAML since that would represent a dependency on YAML and we would lose the option to roll it back to JSON, but at some point it might be nice to start changing over.

Thought of while reviewing KSP-CKAN/NetKAN#8568, in which the YAML validator complained about a missing newline at the end of the file. Rather than just adding a newline, we might as well take full advantage of the YAML work.

Changes

Now if we merge this PR, newly added mods on SpaceDock with the CKAN badge will have the netkans in their pull requests submitted in YAML instead of JSON. This should make them easier to read and edit, without disrupting already indexed mods.

@HebaruSan HebaruSan added Enhancement New feature or request Question Further information is requested SpaceDock Adder Receives indexing requests and generates PRs. labels Jun 12, 2021
Copy link
Member

@DasSkelett DasSkelett left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not, let's give it a go.

@DasSkelett DasSkelett merged commit ea42706 into KSP-CKAN:master Jun 15, 2021
@HebaruSan HebaruSan deleted the feature/yaml-from-sd branch June 15, 2021 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request Question Further information is requested SpaceDock Adder Receives indexing requests and generates PRs.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants