craft_parts.sequencer module¶
Determine the sequence of lifecycle actions to be executed.
- class craft_parts.sequencer.Sequencer(*, part_list, project_info, ignore_outdated=None, base_layer_hash=None)¶
Bases:
objectObtain a list of actions from the parts specification.
The sequencer takes the parts definition and the current state of a project to plan all the actions needed to reach a given target step. State is read from persistent storage and updated entirely in memory. Sequencer operations never change disk contents.
- Parameters:
- plan(target_step, part_names=None, *, rerun=False)¶
Determine the list of steps to execute for each part.