Fabian Meumertzheim
Fabian Meumertzheim
@JamyDev Could you take a look at this? If we add this new functionality, it would be great if we could also expose it to Bzlmod users. For example, we...
Sorry, I didn't get to answer your questions yet. There is now a draft PR: https://github.com/bazelbuild/rules_go/pull/3706
This may be fixed by updating our copy of `test2json.go` to https://github.com/golang/go/commit/1c72ee7f13831b215b8744f6b35bc4fd53aba5e2#diff-aba3251fae880161e12c38219025123ca9af7607a42f87c7234cb201c770fa04, which was made in response to https://github.com/golang/go/issues/26325. @bryceitoc9 Would you be interested in turning that into a PR?...
Would you be interested in submitting this as a PR? Also, do you happen to have some rough numbers on how much this slows down the first as well as...
@jschaf Which versions of Gazelle and rules_go are you on? https://github.com/bazelbuild/bazel-gazelle/blob/4dfcb75883c6ca2441e6ad17173488068adcfb1c/language/go/generate.go#L541 *should* apply that patch automatically.
Possibly related: https://bazelbuild.slack.com/archives/CDBP88Z0D/p1689260233455729?thread_ts=1689168021.180399&cid=CDBP88Z0D
Could you try adding a `gazelle:resolve` directive to the go_repository for `com_github_googleapis_gax_go_v2` in the format described in the release notes? You probably also need to set `build_file_generation = "on"`. Cc...
With Bzlmod, we have a [registry of default `build_directives`](https://github.com/bazelbuild/bazel-gazelle/blob/d2032781c7d4611ce778360ca345d86a97e06956/internal/bzlmod/default_gazelle_overrides.bzl) which would free users from having to specify them manually.
> It seems that https://github.com/bazelbuild/bazel-gazelle/blob/d2032781c7d4611ce778360ca345d86a97e06956/internal/bzlmod/default_gazelle_overrides.bzl would address the issue for brainless users who picked this up somewhere in a transitive dependency tree - @fmeum, should I send a PR? How...
You can define a `go_bazel_test` target, which allows you to run bazel in bazel with any kind of flags. There are many examples in rules_go that you could use as...