Skip to content
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

go_deps should expose resolved versions for all Go modules it Bazelizes, for external bookkeeping #1905

Open
Buzz-Lightyear opened this issue Aug 29, 2024 · 0 comments · May be fixed by #1906

Comments

@Buzz-Lightyear
Copy link
Contributor

What version of gazelle are you using?

v0.38.0

What version of rules_go are you using?

v0.49.0

What version of Bazel are you using?

7.1.2

Does this issue reproduce with the latest releases of all the above?

Yes

What operating system and processor architecture are you using?

macOS Sonoma 14.5, arm64 (Apple M1 Max)

This isn't a bug but a feature request. I'd like the go_deps module extension to expose the mapping between every Go module it bazelizes and its resolved version. This would be extremely useful for external bookkeeping (for e.g. we can easily communicate to CI systems that rely on native package manager metadata, precisely what version of each Go module was used in the build).

I'll shortly create a sample PR demonstrating what we might need although I'm not claiming that it would the optimal mechanism to surface this data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant