Open Source Training Seminar FreePBX Paid Support

Ticket #2003 (new Feature Requests)

Opened 1 year ago

add module API dependency resolution

Reported by: gregmac Assigned to: gregmac
Priority: major Milestone: 4.0
Component: Core - Module Admin Version: SVN-HEAD
Keywords: Cc:
Confirmation: SVN Revision (if applicable):
Backend Engine: All Backend Engine Version:

Description

Module API needs a new function check_depends_multiple that should have the ability to resolve dependencies, automatically adding any modules (and checking their dependencies as it goes) that are required. It should be passed an array of modules by reference, and it may add to that array for any additional modules required. Only if there is some unresolvable dependency (eg, an unmet engine dependency, or a non-existant module) should it fail.

The Web UI and the module_admin script should both use this method by default (allowing you to confirm). module_admin should get a flag --no-auto-depends (or something) to override this behaviour.

Donate



Support
Download
Develop
Forums
News
Documentation
Paid Support
About

Paid Ads