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

[7.0.0] Expose repo mapping manifest to Starlark #20022

Merged
merged 2 commits into from
Nov 2, 2023

Conversation

bazel-io
Copy link
Member

@bazel-io bazel-io commented Nov 2, 2023

The new repo_mapping_manifest field on FilesToRunProvider allows Starlark rule implementations to access the File containing the repo mapping manifest for an executable target, e.g. to include the manifest into a synthetic runfiles structure for packaging purposes.

Fixes #19937

Closes #19944.

Commit 3575211

PiperOrigin-RevId: 578735848
Change-Id: Ida78778af5aef4ba0c216815563aef4b54c9d1db

The new `repo_mapping_manifest` field on `FilesToRunProvider` allows Starlark rule implementations to access the `File` containing the repo mapping manifest for an executable target, e.g. to include the manifest into a synthetic runfiles structure for packaging purposes.

Fixes bazelbuild#19937

Closes bazelbuild#19944.

PiperOrigin-RevId: 578735848
Change-Id: Ida78778af5aef4ba0c216815563aef4b54c9d1db
@bazel-io bazel-io requested a review from a team as a code owner November 2, 2023 04:53
@bazel-io bazel-io added team-Configurability platforms, toolchains, cquery, select(), config transitions awaiting-review PR is awaiting review from an assigned reviewer labels Nov 2, 2023
@iancha1992 iancha1992 enabled auto-merge (squash) November 2, 2023 05:22
@iancha1992 iancha1992 merged commit f71be9c into bazelbuild:release-7.0.0 Nov 2, 2023
31 checks passed
@github-actions github-actions bot removed the awaiting-review PR is awaiting review from an assigned reviewer label Nov 2, 2023
cerisier added a commit to cerisier/bazel-lib that referenced this pull request Sep 14, 2024
Since it was exposed only in Bazel 7.0.0
See bazelbuild/bazel#20022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team-Configurability platforms, toolchains, cquery, select(), config transitions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants