Skip to content

Commit

Permalink
Add default directives for github.com/containerd (#1866)
Browse files Browse the repository at this point in the history
**What type of PR is this?**

Other

**What package or component does this PR mostly affect?**

internal/bzlmod

**What does this PR do? Why is it needed?**

Disable github.com/containerd proto generation in default directives as
[suggested in `rules_go`
documentation](https://github.com/bazelbuild/rules_go/blob/master/docs/go/core/bzlmod.md#gazelle-directives).

**Which issues(s) does this PR fix?**

**Other notes for review**
  • Loading branch information
mering authored Aug 14, 2024
1 parent 2c65af5 commit 15cd97e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions internal/bzlmod/default_gazelle_overrides.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,15 @@ DEFAULT_DIRECTIVES_BY_PATH = {
"github.com/cockroachdb/errors": [
"gazelle:proto disable",
],
"github.com/containerd/containerd": [
"gazelle:proto disable",
],
"github.com/containerd/containerd/api": [
"gazelle:proto disable",
],
"github.com/containerd/ttrpc": [
"gazelle:proto disable",
],
"github.com/gogo/googleapis": [
"gazelle:proto disable",
],
Expand Down

0 comments on commit 15cd97e

Please sign in to comment.