apm_dependency_check (private)

 apm_dependency_check [ -callback callback ] [ -initial_install ] \
    [ -pkg_info_all pkg_info_all ] spec_files

Defined in packages/acs-tcl/tcl/apm-install-procs.tcl

Check dependencies of all the packages provided.

Switches:
-callback (optional, defaults to "apm_dummy_callback")
-initial_install (optional, boolean)
Only process spec files with the initial install attribute.
-pkg_info_all (optional)
If you supply this argument, when a requirement goes unsatisfied, instead of failing, this proc will try to add whatever other packages are needed to the install set. The list of package keys to add will be the third element in the list returned.
Parameters:
spec_files (required)
A list of spec files to be processed.
Returns:
A list whose first element indicates whether dependencies were satisfied (1 if so, 0 otherwise). The second element is the package info list with the packages ordered according to dependencies. Packages that can be installed come first. Any packages that failed the dependency check come last. The third element is a list of package keys on additional packages to install, in order to satisfy dependencies.

Partial Call Graph (max 5 caller/called nodes):
%3 apm_simple_package_install apm_simple_package_install (public) apm_dependency_check apm_dependency_check apm_simple_package_install->apm_dependency_check apm_callback_and_log apm_callback_and_log (public) apm_dependency_check->apm_callback_and_log apm_dependency_provided_p apm_dependency_provided_p (public) apm_dependency_check->apm_dependency_provided_p apm_package_supports_rdbms_p apm_package_supports_rdbms_p (public) apm_dependency_check->apm_package_supports_rdbms_p apm_read_package_info_file apm_read_package_info_file (public) apm_dependency_check->apm_read_package_info_file pkg_info_embeds pkg_info_embeds (private) apm_dependency_check->pkg_info_embeds

Testcases:
No testcase defined.
[ show source ]
Show another procedure: