-
Notifications
You must be signed in to change notification settings - Fork 335
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
deps(*) move from github.com/pkg/errors to 'errors' and 'fmt' #4486
Conversation
Signed-off-by: Matthieu MOREL <mmorel-35@users.noreply.github.com>
Codecov Report
@@ Coverage Diff @@
## master #4486 +/- ##
==========================================
- Coverage 55.43% 55.39% -0.05%
==========================================
Files 947 946 -1
Lines 58052 58062 +10
==========================================
- Hits 32184 32164 -20
- Misses 23320 23344 +24
- Partials 2548 2554 +6
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have the same reservations outlined here
OK so should we just keep it as is until there's potentially a better API in the lib? @jakubdyszkiewicz what's your opinion here? |
Is there a risk of a security vuln not getting patched if we stay on this? |
I'd say it's very low. It's not a big package and it's used in many projects.
Honestly, I don't have a strong opinion here. I would be fine with I'd be ok with a wrapper, but it has to be consistent across all Kuma-related projects (for example: kuma-net etc.). Right now I think that all Kuma related projects depend on |
We've decided that this change wasn't worth it for the moment. Thanks! |
Summary
The package https://github.com/pkg/errors is not maintained anymore.
This PR replaces https://github.com/pkg/errors with official errors and fmt golang packages
Testing
Backwards compatibility
UPGRADE.md
with any steps users will need to take when upgrading.backport-to-stable
label if the code follows our backporting policySigned-off-by: Matthieu MOREL mmorel-35@users.noreply.github.com