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):
- 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