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

Add support for include() in MODULE.bazel #1810

Merged
merged 3 commits into from
May 29, 2024
Merged

Add support for include() in MODULE.bazel #1810

merged 3 commits into from
May 29, 2024

Conversation

fmeum
Copy link
Collaborator

@fmeum fmeum commented May 21, 2024

What type of PR is this?

Bug fix

What package or component does this PR mostly affect?

cmd/gazelle

What does this PR do? Why is it needed?

Previously, gazelle wouldn't look into includeed segments of module files when collecting the apparent to module name mapping.

Which issues(s) does this PR fix?

Fixes #1804

Other notes for review

@fmeum
Copy link
Collaborator Author

fmeum commented May 21, 2024

@mortenmj Could you test this?

@tyler-french
Copy link
Contributor

Tested at Uber with Bazel 7.1.1

@fmeum fmeum enabled auto-merge (squash) May 28, 2024 20:49
@fmeum fmeum disabled auto-merge May 28, 2024 20:49
@fmeum fmeum force-pushed the 1804-include branch 2 times, most recently from 1a9cb50 to f6e41bf Compare May 28, 2024 21:23
@fmeum fmeum enabled auto-merge (squash) May 28, 2024 21:24
fmeum added 2 commits May 29, 2024 00:13
Previously, `gazelle` wouldn't look into `include`ed segments of module files when collecting the apparent to module name mapping.
@fmeum fmeum merged commit f738979 into master May 29, 2024
17 checks passed
@fmeum fmeum deleted the 1804-include branch May 29, 2024 22:20
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 this pull request may close these issues.

Gazelle should extract module mappings from imported foo.MODULE.bazel files
2 participants