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: add runfiles _repo_mapping to tar archive #932

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

steeve
Copy link

@steeve steeve commented Sep 8, 2024

Hello and thank you for this great library!

This PR adds _repo_mapping to runfiles directory to enable proper runfiles lookup when bzlmod is enabled. Without it, lookup will fail.

@steeve
Copy link
Author

steeve commented Sep 8, 2024

I tried to keep this as compact as possible

lib/private/tar.bzl Outdated Show resolved Hide resolved
lib/private/tar.bzl Outdated Show resolved Hide resolved
@steeve steeve force-pushed the steeve/runfiles_manifest branch 2 times, most recently from 0f5e449 to c093f08 Compare September 15, 2024 12:42
When using bzlmod, runfiles lookup will fail without it.
@steeve steeve changed the title fix: add runfiles manifest and repo mapping to tar archive fix: add runfiles _repo_mapping to tar archive Sep 15, 2024
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.

Probably @thesayyn is the best reviewer here

lib/private/tar.bzl Show resolved Hide resolved
lib/private/tar.bzl Show resolved Hide resolved
@thesayyn
Copy link
Collaborator

@steeve could you rebase?

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.

4 participants