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

Remove github.com/zeebo/errs dependency #5716

Merged
merged 7 commits into from
Jan 14, 2025

Conversation

rturner3
Copy link
Collaborator

@rturner3 rturner3 commented Dec 14, 2024

We don't really use this dependency for much other than to group some errors together with a common error message prefix. The same can now be accomplished with a couple custom error types and the errors standard library package.

This package also wasn't consistently adopted throughout the project, so at this point it's probably better to just rely on the standard library functionality, since it's sufficient for the project's use cases.

Fixes #5631.

We don't really use this dependency for much other than to group some
errors together with a common error message prefix. The same can now
be accomplished with a couple custom error types and the `errors`
standard library package.

This package also wasn't consistently adopted throughout the project, so
at this point it's probably better to just rely on the standard library
functionality, since it's sufficient for the project's use cases.

Signed-off-by: Ryan Turner <[email protected]>
@MarcosDY MarcosDY self-assigned this Dec 17, 2024
pkg/server/datastore/sqlstore/errors.go Outdated Show resolved Hide resolved
pkg/server/datastore/sqlstore/errors.go Outdated Show resolved Hide resolved
pkg/server/datastore/sqlstore/errors_test.go Outdated Show resolved Hide resolved
pkg/server/datastore/sqlstore/migration.go Show resolved Hide resolved
pkg/server/datastore/sqlstore/mysql.go Outdated Show resolved Hide resolved
support/oidc-discovery-provider/config.go Outdated Show resolved Hide resolved
@rturner3 rturner3 added this to the 1.11.2 milestone Jan 14, 2025
@rturner3 rturner3 merged commit 6a22b99 into spiffe:main Jan 14, 2025
35 checks passed
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.

Remove zeebo dependency
4 participants