Expand description

find used variables on a Raw (YAML) recipe This does an initial “prerender” step where we evaluate the Jinja expressions globally based on the variables in the context section of the recipe. This also evaluates any Jinja functions such as compiler and pin_subpackage in a way that we can post-process them as “used variables” more easily later.

Step 1:

  • use only outer variables such as target_platform
  • extract all if ... then ... else and jinja statements and find used variables
  • retrieve used variables from configuration and flatten selectors
  • extract all dependencies and add them to used variables to build full variant