Skip to content

Prompt to install missing system dependencies #435

@asgrim

Description

@asgrim

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.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestmaintainer investigatingThis ticket is being investigated by maintainers. Please check with us before contributing PRs etc!

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions