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

fix: unknown repo error with mtree_mutate and Bzlmod #948

Merged
merged 1 commit into from
Oct 4, 2024

Conversation

mering
Copy link
Contributor

@mering mering commented Sep 24, 2024

With Bzlmod, every repo has its own namespace. Using Label() should make sure it uses the namespace of the .bzl file instead of the caller's one.

@mering mering changed the title Fix unknown repo error with mtree_mutate and Bzlmod fix: unknown repo error with mtree_mutate and Bzlmod Sep 24, 2024
With Bzlmod, every repo has its own namespace. Using Label() should make sure it uses the namespace of the .bzl file instead of the caller's one.
Copy link
Collaborator

@alexeagle alexeagle left a comment

Choose a reason for hiding this comment

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

good catch, thanks

@alexeagle alexeagle enabled auto-merge (squash) October 4, 2024 15:33
@alexeagle alexeagle merged commit ca80d07 into bazel-contrib:main Oct 4, 2024
22 checks passed
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