Skip to content

[7.0.0] Expose repo mapping manifest to Starlark#20022

Merged
iancha1992 merged 2 commits intobazelbuild:release-7.0.0from
bazel-io:cp19944-7.0.0
Nov 2, 2023
Merged

[7.0.0] Expose repo mapping manifest to Starlark#20022
iancha1992 merged 2 commits intobazelbuild:release-7.0.0from
bazel-io:cp19944-7.0.0

Conversation

@bazel-io
Copy link
Copy Markdown
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
@bazel-io bazel-io requested a review from meteorcloudy November 2, 2023 04:53
@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
@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