Skip to content

Conversation

@mmorel-35
Copy link
Contributor

What this PR does / why we need it:

remove github.com/hashicorp/go-multierror dependency

github.com/hashicorp/go-multierror is under MPL-2.0 License which is not approved in CNCF Allowlist

Special notes for your reviewer:

If applicable:

  • this PR contains user facing changes (the docs needed label should be applied if so)
  • this PR contains unit tests
  • this PR has been tested for backwards compatibility

@pull-request-size pull-request-size bot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Apr 21, 2025
@mmorel-35 mmorel-35 force-pushed the github.com/hashicorp/go-multierror branch from 8d5c735 to 55f2d3b Compare April 21, 2025 17:26
@mmorel-35 mmorel-35 force-pushed the github.com/hashicorp/go-multierror branch from 55f2d3b to d3eeb2c Compare April 21, 2025 17:27
Copy link
Collaborator

@mattfarina mattfarina left a comment

Choose a reason for hiding this comment

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

lgtm

@mattfarina mattfarina added the Has One Approval This PR has one approval. It still needs a second approval to be merged. label Apr 21, 2025
Copy link
Member

@scottrigby scottrigby left a comment

Choose a reason for hiding this comment

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

@mmorel-35 Thanks for this PR. Nice work.

Also noting that while this is also addressed in #13460, that doesn't include the depguard rule to .golangci.yml like your PR does. Because of this I think we should merge this, and then the other PR can rebase against main again to focus only on "github.com/pkg/errors". I also think that PR should add a similar depguard rule for that package after this merges. Will note there.

@scottrigby scottrigby added refactor and removed Has One Approval This PR has one approval. It still needs a second approval to be merged. labels Apr 22, 2025
@scottrigby scottrigby merged commit 9c0d90a into helm:main Apr 22, 2025
5 checks passed
@mmorel-35 mmorel-35 deleted the github.com/hashicorp/go-multierror branch April 22, 2025 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactor size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants