Skip to main content

Module artifact_to_build_mapping

Module artifact_to_build_mapping 

Source
Expand description

Mapping from petri artifact IDs to flowey build/download selections.

This module defines a lookup table that maps the string representation of petri ArtifactHandle IDs (as output by --list-required-artifacts) to their corresponding build selections and download artifacts.

FUTURE: This is currently a manual lookup table that requires fixups each time a new artifact is added, but this requires a rearchitecture of petri’s artifact system and type erasure. Live with this for now since this is only used in the local vmm-test-run workflow, and is straightforward to fix.

Structs§

ResolvedArtifactSelections
Result of resolving artifact requirements to build/download selections.