-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
bzlmod support #40
Comments
Not yet. I probably won’t have the bandwidth to work on it for several months. I could help review such contribution though. |
I had a chance to take a quick look at this problem I was preparing for v0.0.3 release and tbh, it's not yet clear to me how to solve it. The problem is that today, I am managing the dependencies in this repo with For example, if you only use This, however, is hard to do with bzlmod. First of all, you would need to switch the dependencies management over to Secondly, when users import nogo-analyzer dummy packages as tool dependencies via Lastly, if the BUILD files are overridden, then we will face a problem similar to bazelbuild/bazel#19301, which is still a blocker. I briefly considered rolling my own bzlmod extensions to generate the So I think I will wait a bit longer to implement Bzlmod support for And if any contributors is willing to work on bzlmod support, I could give the PR a review. |
With the latest version of Bazel, you can just do this
All of the go deps could be managed with So I don't think we need additional support for Bzlmod in the repo. This issue could be closed with a simple document update. |
I'm not sure it's that simple. If I do that none of the dependencies are resolved correctly (e.g. |
I think you can use something like this
to work around the repo name issue. We probably want to stay on |
Yeah, that's a workaround but you need to use it for each conflicting name and it also gets exposed to your own project. |
Does
nogo-analyzer
support bzlmod? If so, could a section be added to the documentation stating how to set it up?The text was updated successfully, but these errors were encountered: