apm_package_install (public)

 apm_package_install [ -enable ] [ -callback callback ] \
    [ -load_data_model ] [ -install_from_repository ] \
    [ -data_model_files data_model_files ] \
    [ -package_path package_path ] [ -mount_path mount_path ] \
    spec_file_path

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

Registers a new package and/or version in the database, returning the version_id. If $callback is provided, periodically invokes this procedure with a single argument containing a human-readable (English) status message.

Switches:
-enable (optional, boolean)
-callback (optional, defaults to "apm_dummy_callback")
-load_data_model (optional, boolean)
-install_from_repository (optional, boolean)
-data_model_files (optional, defaults to "0")
-package_path (optional)
-mount_path (optional)
Parameters:
spec_file_path (required)
The path to an XML .info file relative to
Returns:
The version_id if successfully installed, 0 otherwise.

Partial Call Graph (max 5 caller/called nodes):
%3 test_upgrade upgrade (test acs-lang) apm_package_install apm_package_install test_upgrade->apm_package_install acs::try_cache acs::try_cache (private) apm_package_install->acs::try_cache acs_package_root_dir acs_package_root_dir (public) apm_package_install->acs_package_root_dir ad_file ad_file (public) apm_package_install->ad_file ad_try ad_try (public) apm_package_install->ad_try apm::process_install_xml apm::process_install_xml (public) apm_package_install->apm::process_install_xml apm_packages_full_install apm_packages_full_install (private) apm_packages_full_install->apm_package_install lang::test::setup_test_package lang::test::setup_test_package (private) lang::test::setup_test_package->apm_package_install packages/acs-admin/www/apm/packages-install-4.tcl packages/acs-admin/ www/apm/packages-install-4.tcl packages/acs-admin/www/apm/packages-install-4.tcl->apm_package_install packages/acs-admin/www/install/install-3.tcl packages/acs-admin/ www/install/install-3.tcl packages/acs-admin/www/install/install-3.tcl->apm_package_install

Testcases:
upgrade
[ show source ]
Show another procedure: