ancient-vegetable-10556
09/16/2022, 4:07 PMFieldDefaultFactoryResult
rules that compute defaults for resolve names. I may be able to inject environments in there, but there’s currently not anything environment-sensitive being used thereancient-vegetable-10556
09/16/2022, 4:09 PMKnownUserResolveNames
ancient-vegetable-10556
09/16/2022, 4:28 PMEnvironmentsSubsystem, GlobalOptions, GenerateLockfilesSubsystem, JvmSubsystem, PythonSetup
all singletons so I can make the option injection code work, and then come back to how to pick apart the remaining subsystemswitty-crayon-22786
09/16/2022, 5:26 PM[GLOBAL] environments = [..]
with these as a bootstrap option.ancient-vegetable-10556
09/16/2022, 5:28 PMancient-vegetable-10556
09/16/2022, 5:28 PMenvironments =
that were the issue, that would be a nice easy fixwitty-crayon-22786
09/16/2022, 5:30 PMGenerateLockfilesSubsystem
, JvmSubsystem
, etcancient-vegetable-10556
09/16/2022, 5:32 PMJvmSubsystem
and PythonSetup
are dependencies for their respective language’s resolve fieldsancient-vegetable-10556
09/16/2022, 5:33 PMancient-vegetable-10556
09/16/2022, 5:34 PMEnvironmentsSubsystem
a singleton would have just fixed the issuewitty-crayon-22786
09/16/2022, 5:34 PMancient-vegetable-10556
09/16/2022, 5:34 PMPythonSetup
and JvmSubsystem
remain per-environmentwitty-crayon-22786
09/16/2022, 5:35 PMancient-vegetable-10556
09/16/2022, 5:35 PMancient-vegetable-10556
09/16/2022, 5:37 PMPythonSetup
and JvmSubsystem
to be constructed in order to figure out the default values, and currently the field setup side of things is unaware of environments, and it’s not clear that they even should beancient-vegetable-10556
09/16/2022, 5:37 PMancient-vegetable-10556
09/16/2022, 5:39 PMEnvironmentsSubsystem
witty-crayon-22786
09/16/2022, 5:39 PMancient-vegetable-10556
09/16/2022, 5:41 PMwitty-crayon-22786
09/16/2022, 5:41 PMancient-vegetable-10556
09/16/2022, 5:41 PMancient-vegetable-10556
09/16/2022, 5:41 PMhundreds-father-404
09/16/2022, 5:41 PMancient-vegetable-10556
09/16/2022, 5:41 PMancient-vegetable-10556
09/16/2022, 5:42 PMancient-vegetable-10556
09/16/2022, 5:43 PMenvironments
is defined is not going to be a productive change right nowwitty-crayon-22786
09/16/2022, 5:43 PMhundreds-father-404
09/16/2022, 5:44 PMancient-vegetable-10556
09/16/2022, 5:45 PMbusy-vase-39202
09/16/2022, 5:45 PM