Skip to content

Conversation

@dmoody256
Copy link
Contributor

@dmoody256 dmoody256 commented May 24, 2022

Downstream mongodb implemented the original SHELL_ENV_GENERATOR and found that it was limiting having a single slot to store such functions and required cumbersome chaining techniques.

This PR updates the variable to be a list of functions that will be called to modify the execution environment for a given action.

Contributor Checklist:

  • I have created a new test or updated the unit tests to cover the new/changed functionality.
  • I have updated CHANGES.txt (and read the README.rst)
  • I have updated the appropriate documentation

CHANGES.txt Outdated
Now setting NINJA_DEPFILE_PARSE_FORMAT to [msvc,gcc,clang] can force the ninja expected
format. Compiler tools will also configure the variable automatically.
- Added SHELL_ENV_GENERATOR construction variables. This variable allows the user to Define
- Added SHELL_ENV_GENERATOR construction variable. This variable allows the user to Define
Copy link
Contributor

Choose a reason for hiding this comment

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

Can collapse these two entries.

RELEASE.txt Outdated
- Added SHELL_ENV_GENERATOR construction variables. This variable allows the user to Define
a function which will be called to generate or alter the execution environment which will
be used in the shell command of some Action.
- Updated SHELL_ENV_GENERATOR construction variable to SHELL_ENV_GENERATORS. This variable
Copy link
Contributor

Choose a reason for hiding this comment

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

can collapse these two entries.

@bdbaddog bdbaddog merged commit 5c7c997 into SCons:master Jun 1, 2022
@mwichmann mwichmann added this to the 4.4 milestone Jun 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants