This module implements a StackGraph, which is represented as a directed acyclic graph of a Stack’s dependencies.
A Directed Acyclic Graph representing the relationship between a Stack and its dependencies. Responsible for initalising the graph based on a set of Stacks.
Returns the number of incoming edges a given Stack has in the StackGraph. The number of incoming edge also represents the number of Stacks that depend on the given Stack.
Removes a Stack from the StackGraph. This operation will also remove all adjecent edges that represent a ‘depends on’ relationship with other Stacks.
This module implements a ConfigReader class, which is responsible for reading and constructing Stacks.
Parses YAML configuration files and produces Stack objects.
Responsible for loading Resolvers and Hook classes and adding them as constructors to the PyYAML parser.
Parameters: context – A SceptreContext.
Traverses the files under the command path. For each file encountered, a Stack is constructed using the correct config. Dependencies are traversed and a final set of Stacks is returned.
Returns: A set of Stacks. Return type: set
This module contains the implementations of the strategies used to merge config attributes.
Always returns the second parameter.
Takes two dictionaries and merges them.
A merged dict.