summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorTamir Duberstein <tamird@google.com>2021-02-03 12:12:13 -0800
committergVisor bot <gvisor-bot@google.com>2021-02-03 12:14:28 -0800
commit52ad6ceeebac37350733edae86115da66305ca36 (patch)
treefbd5c7d592a059e5d5f4c868391f49d6bbcb7f1e
parentd1bb263b9bff9d997eff2ff175ae6dd32561112b (diff)
Remove gazelle noise patch
Confirmed gazelle generates no significant noise. Fix documented gazelle invocation while I'm here. PiperOrigin-RevId: 355452758
-rw-r--r--WORKSPACE3
-rw-r--r--tools/bazel_gazelle_noise.patch24
2 files changed, 0 insertions, 27 deletions
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" {