Page MenuHomePhabricator

Use a proper yaml parser in Toolforge buildpacks
Open, LowPublic


The current python3.7 detect script contains:

grep -q 'type: python3.7' service.template || exit 100
echo "Python 3.7 buildpack"

Since service.template is supposed to be yaml, that grep could fail in so many ways. We should just use a proper yaml parser to avoid this hack. Also it'll be needed for more advanced constructs, like lists.