ancient-vegetable-10556
09/13/2022, 8:38 PM_OptionBase
(thread to come)ancient-vegetable-10556
09/13/2022, 8:46 PMenvironment_sensitive
, which is apparently a bit ambiguous compared to environment variables.
I didn’t like the proposed alternative of environment_specific
for similar reasons.
Options I could like are:
• overridable_by_environment
• from_environment_target
• supports_environment_target
• environment_target_field
<--- (my preference)
environment_target_field
makes it clear-ish that there’s relevance to environment_target
, and that it would generate a Field
.
Thought, @hundreds-father-404 @witty-crayon-22786?witty-crayon-22786
09/13/2022, 8:49 PMenvironment_specific
is sufficient. anything that mentions targets is too implementation specific.
i expect that we are mostly not going to “teach” environments via the targets… end users of environments will set python_tests(..., environment=..)
, and not worry about whether it’s a target or not.witty-crayon-22786
09/13/2022, 8:49 PMancient-vegetable-10556
09/13/2022, 8:50 PMenvironment_specific
makes it seem like the only choice for setting the option is through the environment
, which is potentially confusingancient-vegetable-10556
09/13/2022, 8:51 PMsensitive
. I realised I was confusing myself as I was documenting the thingwitty-crayon-22786
09/13/2022, 8:52 PMwitty-crayon-22786
09/13/2022, 8:53 PMancient-vegetable-10556
09/13/2022, 8:56 PMhundreds-father-404
09/13/2022, 9:02 PMenvironment_target_field
or supports_environment_target
, but I'm not blocking