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

chore: replace github.com/ghodss/yaml with sigs.k8s.io/yaml #1558

Merged
merged 1 commit into from
Jun 25, 2023
Merged

chore: replace github.com/ghodss/yaml with sigs.k8s.io/yaml #1558

merged 1 commit into from
Jun 25, 2023

Conversation

Juneezee
Copy link
Contributor

Summary

The github.com/ghodss/yaml package is no longer being actively maintained. sigs.k8s.io/yaml is a permanent fork of github.com/ghodss/yaml, which is actively maintained by Kubernetes SIG and widely used in K8s projects.

The notable change is that github.com/ghodss/yaml uses gopkg.in/yaml.v2 v2.2.2, while sigs.k8s.io/yaml uses gopkg.in/yaml.v2 v2.4.0. You can see the changes between the two versions here: v2.2.2...v2.4.0, which mostly consists of bug fixes.

Release Note

Replace unmaintained github.com/ghodss/yaml dependency with sigs.k8s.io/yaml.

Documentation

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]>
@Juneezee Juneezee requested review from bobcallaway and a team as code owners June 23, 2023 15:07
@codecov
Copy link

codecov bot commented Jun 23, 2023

Codecov Report

Merging #1558 (9404254) into main (b7427aa) will increase coverage by 19.11%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             main    #1558       +/-   ##
===========================================
+ Coverage   47.78%   66.90%   +19.11%     
===========================================
  Files          75       83        +8     
  Lines        7774     8406      +632     
===========================================
+ Hits         3715     5624     +1909     
+ Misses       3699     2105     -1594     
- Partials      360      677      +317     
Flag Coverage Δ
e2etests 48.31% <ø> (?)
unittests 47.74% <ø> (-0.04%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
pkg/sharding/ranges.go 83.19% <ø> (+1.68%) ⬆️
pkg/types/helm/provenance.go 41.30% <ø> (ø)

... and 54 files with indirect coverage changes

@bobcallaway bobcallaway merged commit c17612e into sigstore:main Jun 25, 2023
@github-actions github-actions bot added this to the v1.2.2 milestone Jun 25, 2023
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.

2 participants