apm-install-procs.tcl

  • last updated 6 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Needed to build the subsites package keys cache ...

Finished up PG semantics for global/instance parameters on package upgrade.

The Tcl API stuff to do this should technically be moved down into the

oracle/PG API but 1) it's a fair amount of db-specific work and 2) people

should be using the high level constructs in the first place (and why do

people explicitly register new parameters when they're registered from the

package info file on upgrade in the first place?)

  1. … 4 more files in changeset.
More global parameters stuff: XML file parsing and package installation

  1. … 2 more files in changeset.
1. Changed trigger functions from "opaque" to "trigger" to get rid of the

warnings during initial install (only for acs-kernel, there are a lot

elsewhere!)

2. Added "embeds" for postgresql and partially for oracle.

3. Added global parameters for postgresql and partially for oracle.

(oracle will be forthcoming shortly)

  1. … 29 more files in changeset.
Fixed the copying of inherited and descendent parameters for extending or

embedding packages.

  1. … 3 more files in changeset.
Exposed parameter inheritance for use by the interactive APM package builder.

  1. … 2 more files in changeset.
change all core proc_doc calls to ad_proc calls

  1. … 7 more files in changeset.
provide "extends" entry in version array returned by apm_get_package_repository

- Provide windows compatibility for "upgrade/install" from repository.

Fixed Issues:

windows has no /dev/null,

don't use "gunzip" but "gzip -d",

gzip requires on windows -S switch,

no sh (instead of "cd DIR; tar ..." use "tar ... -C")

no mv (use "file rename" instead)

broken downloads via ns_httpopen + fcopy

  1. … 2 more files in changeset.
remove deprecated calls to ad_parameter

  1. … 11 more files in changeset.
Missed one place where extends implies requires.

Updated install utilities with the latest from xarg, which, surprisingly,

still exists. Thanks to Rob and Lee Dennison for the enhancements.

  1. … 1 more file in changeset.
Preliminary version of "extend package" code, along with new package

attributes that allow the declaration of packages that are subsites.

  1. … 29 more files in changeset.
HTML strict cleanup: removed trailing slash of HR and BR tags

  1. … 25 more files in changeset.
normalize some more expressions

  1. … 6 more files in changeset.
normalize some more expressions

  1. … 5 more files in changeset.
Loading catalog files AFTER apm_package_install_version

Adding the following:

1. Added a new attribute called package-instance-name to use it as label in the context bar.

2. Added a new proc called apm::package_version::attributes::set_all_instances_names which changes all instances names for those packages that have the attribute package-instance-name and the instance name is equal to package-name.

3. Added a new proc called apm::package_version::attributes::get_instance_name which gets the package-instance-name for a given package-key.

Normalizing string comparison operations into tcl 8.4 operations, enabling byte-code compilation for expressions and many conditionals

  1. … 367 more files in changeset.
Merged acs-core oacs-5-2 (currently 5.2.3) -> HEAD.

TODO:

1. Bump acs-core package version numbers to 5.3.0d1

2. Would be nice to do a test install, wouldn't it?

  1. … 721 more files in changeset.
Fixed bug #2496. Obscure locking issue caused PG to hang on any package

trying to drop a table with a foreign key reference to apm_packages.

  1. … 1 more file in changeset.
Moving the call to db_bounce_pools from packages-install-4.tcl to apm_package_install_data_model.

  1. … 1 more file in changeset.
fix string literal arg to empty_string_p

  1. … 2 more files in changeset.
Add adp parse level to install xml parsing to allow use of multirows.

removed the remaining procs which were -deprecated -warn in 5.0 and fixed most occurances of those procs in the code

  1. … 43 more files in changeset.
add default ids to simplify writing install.xml scripts (ACS_KERNEL ACS_TEMPLATING ACS_AUTHENTICATION ACS_LANG and MAIN_SITE) from Lee Denision

add the community-new action for install.xml; allow value field for parameter to be defaulted to {} since otherwise you can't set a parameter to the empty string; add a -nested flag to apm::process_install_xml so that it's possible to do included install.xml's

  1. … 1 more file in changeset.
add an apm_version_sortable public function, add a test which checks the db upgrade scripts are well ordered.

  1. … 4 more files in changeset.
get the before-upgrade and before-install callbacks directly from the .info file since they won't be correct in the db; resolves bug 1963

  1. … 1 more file in changeset.
Adds a public interface apm::process_install_xml to use install.xml

files subsequent to the bootstrap, change bootstrap to use the

provided api, adds install::xml namespace + functions to support the

various xml stanzas (such as set-parameter or set-join-policy) and a

clean extension mechanism via functions in the install::xml::action::

namespace. Thanks to Lee Denison for cleaning up and extending the

existing install functionality.

  1. … 2 more files in changeset.