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

refactor: migrate to yaml.v3 #57

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

refactor: migrate to yaml.v3 #57

wants to merge 1 commit into from

Conversation

scop
Copy link
Collaborator

@scop scop commented Oct 30, 2023

ghodss/yaml is used only in config loading, and the yaml.v3 unmarshaling appears to be a drop-in replacement; the ghodss/yaml feature of reusing json struct tags for YAML is not used there.

For other uses in the tree, yaml.v3 looks like a drop in replacement for yaml.v2, too.

Caveat: untested beyond test suite and go run ./cmd/ssh-inscribe defaults output eyeballing.

@scop scop requested a review from aakso October 30, 2023 08:14
ghodss/yaml is used only in config loading, and the yaml.v3 unmarshaling
appears to be a drop-in replacement; the ghodss/yaml feature of reusing
`json` struct tags for YAML is not used there.

For other uses in the tree, yaml.v3 looks like a drop in replacement for
yaml.v2, too.
@scop scop force-pushed the refactor/yaml-v3 branch from 9c1427b to 3b10df6 Compare October 30, 2023 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant