Snapcraft nodejs plugin: Add git and python2.7 to build-packages?

Since some packages need to be pulled over git and some packages have postinstall scripts that require building it would make sense to add those two as build-packages via the plugin

The key word is some, for which, it would be best to save the time required to install those for the ones that do not.

python2 is also reaching EOL in a couple of months, so it makes little sense to consider it.

1 Like

What would be cool though is, if the plugin could auto-detect git repos in the package.json and install git if needed