-
Notifications
You must be signed in to change notification settings - Fork 50
Description
If a package requires some missing system dependencies, by default PIE should prompt to see if we want to attempt to install the system dep with apt/yum/apk, etc. depending on the system. If we can't detect how to install the dependency, or we are running non-interactively, just let the Composer resolution fail (which will highlight that the system dep is missing).
Any dev deps installed by PIE should be subsequently removed (unless they existed beforehand). For example; ext-foo depends on lib-foo which is missing, so we install libfoo and libfoo-dev; after installing the ext, we remove libfoo-dev but not libfoo. However, if either or both of these were already installed before PIE runs, we should not remove them.
However, this chekcing behaviour should be disabled with a flag, if provided, as some people may not want it.