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: replace github.com/ghodss/yaml with sigs.k8s.io/yaml #3445

Merged
merged 2 commits into from
Mar 17, 2023
Merged

refactor: replace github.com/ghodss/yaml with sigs.k8s.io/yaml #3445

merged 2 commits into from
Mar 17, 2023

Conversation

Juneezee
Copy link
Contributor

@Juneezee Juneezee commented Mar 1, 2023

The package github.com/ghodss/yaml is no longer actively maintained. See discussion in ghodss/yaml#75 and ghodss/yaml#80. sigs.k8s.io/yaml is a permanent fork of github.com/ghodss/yaml.

The notable change is that github.com/ghodss/yaml uses gopkg.in/yaml.v2 v2.2.2, but sigs.k8s.io/yaml uses gopkg.in/yaml.v2 v2.4.0. Changes can be seen here v2.2.2...v2.4.0, mostly bug fixes.

Pantani
Pantani previously approved these changes Mar 2, 2023
@Pantani
Copy link
Collaborator

Pantani commented Mar 8, 2023

@Juneezee can you please add a changelog?

@Pantani Pantani requested a review from ilgooz as a code owner March 8, 2023 00:45
@codecov
Copy link

codecov bot commented Mar 8, 2023

Codecov Report

Merging #3445 (0cdbeb6) into main (571eb43) will increase coverage by 0.01%.
The diff coverage is 46.66%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #3445      +/-   ##
==========================================
+ Coverage   23.45%   23.46%   +0.01%     
==========================================
  Files         298      298              
  Lines       23510    23525      +15     
==========================================
+ Hits         5514     5521       +7     
- Misses      17499    17507       +8     
  Partials      497      497              
Impacted Files Coverage Δ
ignite/cmd/node.go 0.00% <0.00%> (ø)
ignite/cmd/node_tx.go 0.00% <0.00%> (ø)
ignite/pkg/chaincmd/runner/runner.go 0.00% <ø> (ø)
ignite/pkg/cosmosclient/cosmosclient.go 72.31% <100.00%> (+0.42%) ⬆️

At the time of making this commit, the package `github.com/ghodss/yaml`
is no longer actively maintained.

`sigs.k8s.io/yaml` is a permanent fork of `ghodss/yaml` and is actively
maintained by Kubernetes SIG.

Signed-off-by: Eng Zer Jun <[email protected]>
Signed-off-by: Eng Zer Jun <[email protected]>
@Juneezee Juneezee requested review from Pantani and removed request for tbruyelle March 8, 2023 01:03
@ilgooz
Copy link
Member

ilgooz commented Mar 17, 2023

Thank you for the contribution!

@ilgooz ilgooz merged commit e1afda9 into ignite:main Mar 17, 2023
Jchicode pushed a commit to Jchicode/cli that referenced this pull request Aug 9, 2023
…gnite#3445)

* refactor: replace `github.com/ghodss/yaml` with `sigs.k8s.io/yaml`

At the time of making this commit, the package `github.com/ghodss/yaml`
is no longer actively maintained.

`sigs.k8s.io/yaml` is a permanent fork of `ghodss/yaml` and is actively
maintained by Kubernetes SIG.

Signed-off-by: Eng Zer Jun <[email protected]>

* Update changelog.md

Signed-off-by: Eng Zer Jun <[email protected]>

---------

Signed-off-by: Eng Zer Jun <[email protected]>
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.

3 participants