You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- First commit: change the repo name from my_rules_go to io_bazel_rules_go.
- Second commit: change the repo name to rules_go and run gazelle.
Reproduces bazelbuild#1823
What version of gazelle are you using?
0.37.0
What version of rules_go are you using?
0.48.0
What version of Bazel are you using?
7.2.0rc3
Does this issue reproduce with the latest releases of all the above?
Yes
What operating system and processor architecture are you using?
macOS arm64
What did you do?
I manually replaced all instances of
io_bazel_rules_go
torules_go
in my repo.I removed the repo_name from the
rules_go
bazel dep in MODULE.bazel.What did you expect to see?
Running gazelle should do nothing.
What did you see instead?
Gazelle removed the
go_library.embed
for everygo_proto_library
embedded into ago_library
.Before
After
Debugging
The problem might be that `io_bazel_rules_go is hardcoded:
bazel-gazelle/config/constants.go
Line 22 in 7d10bf7
The text was updated successfully, but these errors were encountered: