apm-install-procs.tcl

  • last updated 21 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
passing in -clob t for the manifest file as it can be more than 4000 characters

install page was broken in Oracle because it was trying to set an ad client property value larger than 4000 chars without settting -clob t in the call to ad_set_client_property

Added proc to get repository channel from acs-kernel version number

make some Notices either warnings or debug and made them more descriptive by generally including the proc name as well bug #1032

  1. … 74 more files in changeset.
create empty package directories on APM packages create

removing ns_log LARS: debug printouts. Retaining those in the APM dependency check on debug level

  1. … 3 more files in changeset.
cleanup and renaming of import/export procs in lang::catalog namespace. Now there are really only two public procs to know about: lang::catalog::import and lang::catalog::export. Updating all invocations of the procs and test cases. Adding proc lang::message::unregister for deleting message keys - used in test case teardown.

  1. … 10 more files in changeset.
changing apm_package_install proc to not source acs-tcl libraries since they are already sourced on server startup

fixing bug I introduced: making sure ctl_file files are sources last (after datamodel has been created)

typo fix in full install proc - removing .

fixing problem that I introduced earlier with ctl files not being loaded when package is installed from install.xml file and the the proc apm_packages_full_install. The problem was that no data model files were provided and the proc apm_data_model_scripts_find was used to provide the default. However, that proc would not return ctl files. I therefore changed it to do so and removed the proc apm_ctl_files_find that we no longer need

  1. … 2 more files in changeset.
Log errorInfo when installation fails

Installation from package repository -- now we just need the repository up at openacs.org

  1. … 19 more files in changeset.
typo

making backing up of package directories when installing apm files not overwrite old backup files

  1. … 1 more file in changeset.
fixing upgrade bug related to .ctl (ctl_file) files. First of all, don't offer ctl files when upgrading (ok, we should make this possible if we need it). Second of all, use the ctl file selections the user actually made when choosing files to source (in proc apm_package_install_data_model)

  1. … 1 more file in changeset.
Oracle9i porting changes

- Changed procedure names from delete to del

- Changed view declaration to use actual column names

- Changed "rel_constraints_violated_one" and "rel_constraints_violated_two"

(http://openacs.org/forums/message-view?message_id=81045)

  1. … 275 more files in changeset.
bug 50 - adding note saying that sql scripts can be sourced manually when install fails

  1. … 1 more file in changeset.
bug 335 - making sure it's possible to install from .apm files again. The UI needs improvement. Robustness could also be improved. May need to handle the case when there is a later version of a package in the packages directory than in the apm_workspace dir

  1. … 6 more files in changeset.
Fixed bug #439: wrong text in package installation output

Fixing Bug #439.

Bug 664. Sourcing sql files before the package is marked as installed/upgraded in the db.

removing package_name switch from invocations of site_node::instantiate_and_mount for the core packages as it wasn't doing anything. We should instead change the names of these packages to be more readable (drop the ACS/OpenACS prefix) in the info files

fixed misspelled comment

Merged 4.6.4d1 (unreleased) to HEAD. This marks the end of the life of the oacs-4-6 branch.

  1. … 816 more files in changeset.
mounting acs-automated-testing under /test rather than /acs-automated-testing (less typing)

fixed copy-and-paste error

mounting acs-automated-testing as part of a normal OpenACS install

I sped up the code Peter Marklund wrote to automatically resolve package

dependencies (so you don't need to check off every package you need) by, oh,

a couple of orders of magnitude for large dependency lists.

This code could be cleaned up a *log* and probably made faster as a result

but I'm satisified with this speed-up for now.

Added code to allow loading of data for packages like ref-timezones with

SQL*Loader or PostgreSQL's COPY command.

  1. … 8 more files in changeset.