apm_build_subsite_packages_list (public)

 apm_build_subsite_packages_list

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

Build the nsv_set cache of all packages which claim to implement subsite semantics. The kludge to add acs-subsite if it's not declared with the subsite attribute set true is needed during the upgrade process ...

Partial Call Graph (max 5 caller/called nodes):
%3 apm_package_install apm_package_install (public) apm_build_subsite_packages_list apm_build_subsite_packages_list apm_package_install->apm_build_subsite_packages_list packages/acs-admin/www/apm/package-add-2.tcl packages/acs-admin/ www/apm/package-add-2.tcl packages/acs-admin/www/apm/package-add-2.tcl->apm_build_subsite_packages_list packages/acs-bootstrap-installer/bootstrap.tcl packages/acs-bootstrap-installer/ bootstrap.tcl packages/acs-bootstrap-installer/bootstrap.tcl->apm_build_subsite_packages_list db_list db_list (public) apm_build_subsite_packages_list->db_list

Testcases:
No testcase defined.
Source code:
    nsv_set apm_subsite_packages_list package_keys {}

    # Make sure old versions work ...
    catch { nsv_set apm_subsite_packages_list package_keys [db_list get_subsites {}] }
    if {"acs-subsite" ni [nsv_get apm_subsite_packages_list package_keys]} {
        nsv_lappend apm_subsite_packages_list package_keys acs-subsite
    }
Generic XQL file:
<fullquery name="apm_build_subsite_packages_list.get_subsites">
    <querytext>
      select package_key
      from apm_package_types
      where implements_subsite_p = 't'
    </querytext>
</fullquery>
packages/acs-tcl/tcl/apm-procs.xql

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

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

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