pkg_info_new (public)

 pkg_info_new package_key spec_file_path embeds extends provides \
    requires [ dependency_p ] [ comment ]

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

Returns a datastructure that maintains information about a package.

Parameters:
package_key (required)
The key of the package.
spec_file_path (required)
The path to the package specification file
embeds (required)
A list of packages to be embedded in the package.
extends (required)
A list of packages extended by the package.
provides (required)
A list of dependencies provided by the package.
requires (required)
A list of requirements provided by the package..
dependency_p (optional)
Can the package be installed without violating dependency checking.
comment (optional)
Some text about the package. Useful to explain why it fails dependency check.
Returns:
a list whose first element is a package key and whose second element is a path to the associated .info file.

Partial Call Graph (max 5 caller/called nodes):
%3 apm_dependency_check apm_dependency_check (private) pkg_info_new pkg_info_new apm_dependency_check->pkg_info_new apm_simple_package_install apm_simple_package_install (public) apm_simple_package_install->pkg_info_new packages/acs-admin/www/apm/packages-install-2.tcl packages/acs-admin/ www/apm/packages-install-2.tcl packages/acs-admin/www/apm/packages-install-2.tcl->pkg_info_new packages/acs-admin/www/apm/packages-install.tcl packages/acs-admin/ www/apm/packages-install.tcl packages/acs-admin/www/apm/packages-install.tcl->pkg_info_new

Testcases:
No testcase defined.
Source code:
    return [list $package_key $spec_file_path $embeds $extends $provides $requires $dependency_p $comment]
Generic XQL file:
packages/acs-tcl/tcl/apm-install-procs.xql

PostgreSQL XQL file:
packages/acs-tcl/tcl/apm-install-procs-postgresql.xql

Oracle XQL file:
packages/acs-tcl/tcl/apm-install-procs-oracle.xql

[ hide source ] | [ make this the default ]
Show another procedure: