Skip to content

Commit

Permalink
Update x/tools repository to v0.1.8 bazel-contrib#3030 (bazel-contrib…
Browse files Browse the repository at this point in the history
…#3031)

Ran the following commands:

bazel build go/tools/releaser
sed -i /org_golang_x_tools-public-visibility.patch/d go/private/repositories.bzl
rm third_party/org_golang_x_tools-public-visibility.patch
bazel-bin/go/tools/releaser/releaser_/releaser upgrade-dep org_golang_x_tools
  • Loading branch information
chressie authored Dec 16, 2021
1 parent 34a808c commit d0d326e
Show file tree
Hide file tree
Showing 4 changed files with 2,433 additions and 1,233 deletions.
11 changes: 5 additions & 6 deletions go/private/repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -75,21 +75,20 @@ def go_rules_dependencies(is_rules_go = False):
_maybe(
http_archive,
name = "org_golang_x_tools",
# v0.1.7, latest as of 2021-10-06
# v0.1.8, latest as of 2021-12-15
urls = [
"https://mirror.bazel.build/github.com/golang/tools/archive/v0.1.7.zip",
"https://github.com/golang/tools/archive/v0.1.7.zip",
"https://mirror.bazel.build/github.com/golang/tools/archive/v0.1.8.zip",
"https://github.com/golang/tools/archive/v0.1.8.zip",
],
sha256 = "c069fd1d1dcbbfd2e396993307adf0edde5ef5d419c5db92649ab8cfabec255e",
strip_prefix = "tools-0.1.7",
sha256 = "aec8a9ade0974bafc290bad1c53fa2b4d2b87ac8a90bf5340ded216ff81d1b2a",
strip_prefix = "tools-0.1.8",
patches = [
# deletegopls removes the gopls subdirectory. It contains a nested
# module with additional dependencies. It's not needed by rules_go.
# releaser:patch-cmd rm -rf gopls
"@io_bazel_rules_go//third_party:org_golang_x_tools-deletegopls.patch",
# releaser:patch-cmd gazelle -repo_root . -go_prefix golang.org/x/tools -go_naming_convention import_alias
"@io_bazel_rules_go//third_party:org_golang_x_tools-gazelle.patch",
"@io_bazel_rules_go//third_party:org_golang_x_tools-public-visibility.patch",
],
patch_args = ["-p1"],
)
Expand Down
Loading

0 comments on commit d0d326e

Please sign in to comment.