Class | SnapArchitecturesParserError | Base class for all exceptions in this module. |
Class | MissingPropertyError | Error for when an expected property is not present in the YAML. |
Class | IncompatibleArchitecturesStyleError | Error for when architectures mix incompatible styles. |
Class | DuplicateBuildOnError | Error for when multiple `build-on`s include the same architecture. |
Class | UnsupportedBuildOnError | Error for when a requested architecture is not supported. |
Class | SnapArchitecture | A single entry in the snapcraft.yaml 'architectures' list. |
Class | SnapBuildInstance | A single instance of a snap that should be built. |
Function | determine_architectures_to_build | Return a list of architectures to build based on snapcraft.yaml. |
Return a list of architectures to build based on snapcraft.yaml. :param snapcraft_data: A parsed snapcraft.yaml. :param supported_arches: An ordered list of all architecture tags that we can create builds for. :return: a list of `SnapBuildInstance`s.