bazelbuild / bazel

a fast, scalable, multi-language and extensible build system
https://bazel.build
Apache License 2.0
23.32k stars 4.09k forks source link

Rename config_setting #18112

Open pauldraper opened 1 year ago

pauldraper commented 1 year ago

Description of the feature request:

Sorry for the bike shedding, but the naming of build settings, config settings, and constraint settings makes them unnecessarily difficult to grok.

I suggest renaming config_setting to condition.

These are not actually "settings" but in fact "conditions". Compare with //conditions:default.

What underlying problem are you trying to solve with this feature?

The general confusion around the three flavors of Bazel "settings."

Have you found anything relevant by searching the web?

https://groups.google.com/g/bazel-discuss/c/2CNZiC-CvG4/m/EvFshjSUBAAJ

gregestren commented 1 year ago

Point taken, and we do appreciate this. We'll make sure this idea gets some discussion.