-
Notifications
You must be signed in to change notification settings - Fork 180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Should bazel_skylib_gazelle_plugin_setup()
live elsewhere?
#435
Comments
I think clearly indicating in this repo that it should be omitted would probably be the correct path forward. That said, I think most of this goes away with bzlmod which should solve all the worlds problems ™️ |
sure, but |
rules_go and gazelle both have proper support for Bzlmod by now. The warnings you see are emitted by old versions that are still fetched during version resolution but not used. Getting rid of them is surprisingly difficult, but bazelbuild/bazel#18698 will realize this for Bazel 6.3.0. |
Good catch; further review confirms this. I only have bzlmod enabled in a secondary build+test pipeline; I'm not using it by default yet, so I hadn't looked deeper into this. |
The instructions mention to call the following:
This caused an error for me as I already had those same initialization calls in my WORKSPACE. I wonder if we should amend the instructions to only call that if you do not already have a Gazelle extension installed. Alternatively, I wonder if the boilerplate that
bazel_skylib_gazelle_plugin_setup()
includes should actually live in thebazel-gazelle
repository.The text was updated successfully, but these errors were encountered: