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(runfiles): support bzlmod repo mappings #3771

Merged
merged 1 commit into from
Sep 17, 2024

Conversation

jbedard
Copy link
Collaborator

@jbedard jbedard commented Aug 19, 2024

Inspired by: bazelbuild/rules_python@9662139, bazelbuild/rules_go@fd8c041

It seems like the packages/runfiles/tests have not been run for quite some time and can't be run in their current form. I've added those tests rules_js in aspect-build/rules_js#1895 and I've been testing there where tests were failing with bzlmod which this PR fixes.

PR Checklist

Please check if your PR fulfills the following requirements:

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature (please, look at the "Scope of the project" section in the README.md file)
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Other... Please describe:

What is the current behavior?

Issue Number: #3714

What is the new behavior?

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

@jbedard jbedard marked this pull request as ready for review August 19, 2024 02:27
@jbedard jbedard force-pushed the runfiles-bzlmod branch 2 times, most recently from e9895ad to e826550 Compare August 19, 2024 02:29
@jbedard jbedard removed the request for review from mattem August 19, 2024 02:32
@jbedard jbedard requested a review from mattem August 20, 2024 06:53
packages/runfiles/runfiles.ts Outdated Show resolved Hide resolved
@jbedard jbedard force-pushed the runfiles-bzlmod branch 3 times, most recently from cf0fa5b to e2da746 Compare September 12, 2024 03:07
packages/runfiles/index.ts Outdated Show resolved Hide resolved
@jbedard jbedard force-pushed the runfiles-bzlmod branch 3 times, most recently from 60b3e57 to db7fa65 Compare September 12, 2024 03:13
Copy link
Collaborator

@gregmagolan gregmagolan left a comment

Choose a reason for hiding this comment

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

🌮

@jbedard jbedard merged commit 21b56da into bazel-contrib:main Sep 17, 2024
27 checks passed
@jbedard jbedard deleted the runfiles-bzlmod branch September 17, 2024 20:45
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