Skip to content

Make fineGrainedHashExternalRepos work with BzlMod #207

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

Merged
merged 1 commit into from
Mar 13, 2024

Conversation

tgeng
Copy link
Contributor

@tgeng tgeng commented Mar 13, 2024

With Bzlmod, the location of external repository is no longer <exec_root>/external/<repo_name>. Hence, a devoted repo resolver is added and it resolves bzlmod repo location by doing a bazel query. The result is cached to mitigate performance impact of such a call.

With Bzlmod, the location of external repository is no longer
`<exec_root>/external/<repo_name>`. Hence, a devoted repo resolver is
added and it resolves bzlmod repo location by doing a `bazel query`. The
result is cached to mitigate performance impact of such a call.
Copy link
Collaborator

@tinder-maxwellelliott tinder-maxwellelliott left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great stuff

@tinder-maxwellelliott tinder-maxwellelliott merged commit 0dcb2b6 into Tinder:master Mar 13, 2024
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.

2 participants