Goal-oriented target field name schema #17270
Replies: 2 comments 1 reply
-
My own 2c is that In the case of |
Beta Was this translation helpful? Give feedback.
-
For behavioral field names, I'd like to see the verb come first: There are ALSO namespaced tool options |
Beta Was this translation helpful? Give feedback.
-
We're starting to add (or want to add) more fields to targets that are single-goal oriented. Without some formal schema I can see us reeeeeally splatting the names here (much like our env field/option handling), so I want us to discuss and decide on a schema.
As a noodle-tickler, I'd love to add plugin fields to targets for skipping them in the multi-tool goals. E.g.
python_source
hasskip_fmt
orfmt_skip
, etc...There is (AFAIK) one single existing art:
python_source
'srun_goal_use_sandbox
.So the current de-facto standard is
<goal_name>_goal_<behavior>
.Beta Was this translation helpful? Give feedback.
All reactions