Skip to content

Comments

[release/v2.3.x] *: require usage of github.com/cockroachdb/errors#551

Merged
chrisseto merged 1 commit intorelease/v2.3.xfrom
backport/release/v2.3.x/pr-535
Mar 21, 2025
Merged

[release/v2.3.x] *: require usage of github.com/cockroachdb/errors#551
chrisseto merged 1 commit intorelease/v2.3.xfrom
backport/release/v2.3.x/pr-535

Conversation

@chrisseto
Copy link
Contributor

Backport

This will backport the following commits from main to release/v2.3.x:

Questions ?

Please refer to the Backport tool documentation

This commit configures the `depguard` linter to reject imports of the `errors`
and `github.com/pkg/errors` libraries and instructs users to instead use
`github.com/cockroachdb/errors`.

Additionally, `gomodguard` has been removed and replaced with `depguard` as
`gomodguard` is incapable of linting std library imports.

(cherry picked from commit 49b468a)

# Conflicts:
#	operator/cmd/run/run.go
@chrisseto chrisseto force-pushed the backport/release/v2.3.x/pr-535 branch from ef89ac7 to cfadc7f Compare March 21, 2025 14:32
@chrisseto chrisseto merged commit c991393 into release/v2.3.x Mar 21, 2025
13 checks passed
@RafalKorepta RafalKorepta deleted the backport/release/v2.3.x/pr-535 branch March 28, 2025 09:17
@chrisseto chrisseto restored the backport/release/v2.3.x/pr-535 branch April 4, 2025 18:03
@chrisseto chrisseto deleted the backport/release/v2.3.x/pr-535 branch April 4, 2025 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants