Add --incompatible_repo_env_ignores_action_env option#25238
Add --incompatible_repo_env_ignores_action_env option#25238Silic0nS0ldier wants to merge 2 commits intobazelbuild:masterfrom
--incompatible_repo_env_ignores_action_env option#25238Conversation
fmeum
left a comment
There was a problem hiding this comment.
I really like this change, this will avoid a bunch of repo rule invalidations down the line.
We may be able to come up with a more descriptive name for the flag. --incompatible_repo_env_ignores_action_env perhaps?
|
@Silic0nS0ldier Can you please make this change? Thanks! |
|
@Silic0nS0ldier Friendly reverse ping, you can probably also just agree to having the Bazel team make the change on import :-) |
2786202 to
e0853d2
Compare
|
Apologies for the slow response. PR has been updated, feel free to make whatever changes you (Bazel maintainers) deem necessary to merge. |
--incompatible_action_env_no_repo option--incompatible_repo_env_ignores_action_env option
|
@bazel-io fork 8.3.0 |
|
@Silic0nS0ldier Thanks, we are importing this PR. In the meantime, can you fill out https://github.com/bazelbuild/bazel/issues/new?template=incompatible_change.yml to better document this change? |
This adds a new flag `--incompatible_repo_env_ignores_action_env` which when flipped stops `--action_env=NAME=VALUE` from affecting repository rule and module extension environments. Split from bazelbuild#24404. Closes bazelbuild#25238. PiperOrigin-RevId: 767031987 Change-Id: I1683935ab2728f6bbfcf499ea8a598770002020d
This adds a new flag `--incompatible_repo_env_ignores_action_env` which when flipped stops `--action_env=NAME=VALUE` from affecting repository rule and module extension environments. Split from #24404. Closes #25238. PiperOrigin-RevId: 767031987 Change-Id: I1683935ab2728f6bbfcf499ea8a598770002020d Commit 216ae9d Co-authored-by: Jordan Mele <jordan.mele@outlook.com.au>
|
The changes in this PR have been included in Bazel 8.3.0 RC1. Please test out the release candidate and report any issues as soon as possible. |
This adds a new flag
--incompatible_repo_env_ignores_action_envwhich when flipped stops--action_env=NAME=VALUEfrom affecting repository rule and module extension environments.Split from #24404.