Expand description
Plan construction: phases, launch lines, environments, tool calls.
The planner is pure. run executes the commands built here.
Structs§
- Cmd
- One subprocess the driver starts.
- Deselected
- A line that the target’s selector left out.
- Plan
- The plan file
planwrites: every phase of a run, with its commands. - Plan
Phase - One phase of a plan.
- Planner
- Builds the commands of one target’s run of a build list.
- StemSeq
- Hands out log stems that stay unique across a whole run.
- Unit
- A build unit: the whole list, or one shard list.
Constants§
- PHASES
- Every phase, in the order a run goes through them.
Functions§
- build_
plan - Build the whole plan for one target and list.
- module_
rel - Module path of an easyconfig relative to
<modules_root>/all, without extension. - read_
units - Read the units a
stack shardrun wrote intodir. - shell_
line - Render a command as one shell-quoted line.
- unique_
stems - Log stems, unique across the lines.
- valid_
job_ id - A scheduler job id: digits only, positive, no leading zero.
- wants_
rebuild - Whether a build list line asks for a rebuild, by whole options only.
- without_
robot - Line options for a fetch with the robot disabled: a bare
--robotgoes, and the last--robot=Pstays at the front of the search path so the line’s easyconfig is still found. EasyBuild searchesPthen--robot-paths, which--robot-paths=P:Xkeeps;P:isPfollowed by the default paths.