Tyler French

Results 15 issues of Tyler French

This PR adds the googleapis repo to the Bazel central registry as a Bazel Module.

### What version of rules_go are you using? HEAD ### What version of gazelle are you using? 0.33.0 ### What version of Bazel are you using? 6.3.2 ### Does this...

This PR prepares the new `0.36.0` release for gazelle.

It references `go_sdk` by name, which is not the name of a repository registered. We should register the sdk under this name, but we don't want to collide with users...

This PR creates a tool that converts either a repository macro file or a WORKSPACE into a set of `go_deps.{}_overrides`. This is supposed to ease the migration to Bzlmod. For...

For migration assistance, we should have an automatic way to read the repos loaded from a `.bzl` files and automatically translate them to `go_deps` overrides. This would probably look something...

We have a use case where we use multiple versions of the same path for different use cases. ``` go_repository( name = "org_golang_x_tools", build_extra_args = [ "-go_naming_convention_external=go_default_library", # exclude dirs...

In `WORKSPACE`, we can run `gazelle update-repos` with the following args: ``` "bazel run //:gazelle -- \ "update-repos" \ "-prune" \ "--from_file=src/code.uber.internal/go.mod" \ "-build_file_proto_mode=disable" \ "-build_file_generation=on" \ "-build_extra_args=-go_naming_convention_external=go_default_library" \ ......

Currently, Uber's `MODULE.bazel` file has 40+ overrides, and this number will only grow. The proposal is this: allow overrides to be specified in file(s): e.g: ``` go_deps.overrides_from_file( "//:go_deps_automatic_overrides.json", "//:go_deps_manual_overrides.json", )...

### What version of gazelle are you using? 0.30.0 ### What version of rules_go are you using? 0.39.1 ### What version of Bazel are you using? 6.1.1 ### Does this...