From 52ad6ceeebac37350733edae86115da66305ca36 Mon Sep 17 00:00:00 2001 From: Tamir Duberstein Date: Wed, 3 Feb 2021 12:12:13 -0800 Subject: Remove gazelle noise patch Confirmed gazelle generates no significant noise. Fix documented gazelle invocation while I'm here. PiperOrigin-RevId: 355452758 --- WORKSPACE | 3 --- tools/bazel_gazelle_noise.patch | 24 ------------------------ 2 files changed, 27 deletions(-) delete mode 100644 tools/bazel_gazelle_noise.patch diff --git a/WORKSPACE b/WORKSPACE index a6b3144e4..aa6e65a19 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -57,9 +57,6 @@ http_archive( # This is actually a no-op with the hacky patch above, but should # slightly future proof this mechanism. "//tools:bazel_gazelle_generate.patch", - # False positive output complaining about Go logrus versions spam the - # logs. Strip this message in this case. Does not affect control flow. - "//tools:bazel_gazelle_noise.patch", ], sha256 = "222e49f034ca7a1d1231422cdb67066b885819885c356673cb1f72f748a3c9d4", urls = [ diff --git a/tools/bazel_gazelle_noise.patch b/tools/bazel_gazelle_noise.patch deleted file mode 100644 index e35f38933..000000000 --- a/tools/bazel_gazelle_noise.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff -r -u2 a/language/go/resolve.go b/language/go/resolve.go ---- a/language/go/resolve.go 2020-10-02 14:22:18.000000000 -0700 -+++ b/language/go/resolve.go 2020-11-17 19:40:59.770648029 -0800 -@@ -20,5 +20,4 @@ - "fmt" - "go/build" -- "log" - "path" - "regexp" -@@ -80,5 +79,5 @@ - resolve = ResolveGo - } -- deps, errs := imports.Map(func(imp string) (string, error) { -+ deps, _ := imports.Map(func(imp string) (string, error) { - l, err := resolve(c, ix, rc, imp, from) - if err == skipImportError { -@@ -95,7 +94,4 @@ - return l.String(), nil - }) -- for _, err := range errs { -- log.Print(err) -- } - if !deps.IsEmpty() { - if r.Kind() == "go_proto_library" { -- cgit v1.2.3