bitter-ability-32190
12/18/2023, 4:43 PM--docker-execution on the cmdline (from the global options: https://www.pantsbuild.org/v2.19/docs/reference-global#docker_execution)
$ pants --docker-execution test ::
Unknown flag --execution on docker scope
On Pants 2.18 😬bitter-ability-32190
12/18/2023, 4:44 PM$ PANTS_DOCKER_EXECUTION=true pants test ::
...fast-nail-55400
12/18/2023, 6:29 PM--docker-execution is defined at global scope:?https://github.com/pantsbuild/pants/blob/285a7eae68879794868ed3d15a09246207b90740/src/python/pants/option/global_options.py#L1987fast-nail-55400
12/18/2023, 6:29 PMdocker prefixbitter-ability-32190
12/18/2023, 6:29 PMcurved-television-6568
12/18/2023, 7:11 PMfast-nail-55400
12/18/2023, 7:44 PM--docker-execution onto the docker subsystem. And add an error during option setup to error on these cases.
2. Teach the option lookup logic to fallback to global scope if it does not find the option on a particular scope.curved-television-6568
12/18/2023, 7:45 PMbitter-ability-32190
12/18/2023, 7:46 PMcurved-television-6568
12/18/2023, 7:46 PMcurved-television-6568
12/18/2023, 7:46 PMcurved-television-6568
12/18/2023, 7:47 PMhappy-kitchen-89482
12/18/2023, 9:19 PMhappy-kitchen-89482
12/18/2023, 9:20 PMhappy-kitchen-89482
12/18/2023, 9:20 PMhappy-kitchen-89482
12/18/2023, 9:20 PMhappy-kitchen-89482
12/18/2023, 9:20 PMhappy-kitchen-89482
12/18/2023, 9:20 PM--global-foo is longhand for global-scope --foo