apm-install-procs.tcl

  • last updated 21 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
sort the attribute names so the xml always comes out in the same way

Adding new package version attributes maturity, license, and license_url. Introducing the concept of dynamic package version attributes so that these can be added easily in the future. The attributes are driven by a metadata spec returned by the proc apm::package_version::attributes::get_spec.The attributes are stored in the skinny table apm_package_version_attr and managed through the Tcl API in namespace apm::package_version::attributes. Changing the parse and generate info XML file procs to use the dynamic attributes. Adding the dynamic attributes to the manifest XML file as well. The attributes are editable in the APM admin UI.

  1. … 10 more files in changeset.
merge all the changes on the oacs-5-1 and dotlrn-2-0 branches up to tag jcd-merge-20040420

  1. … 647 more files in changeset.
Fixed Bug #1646 by applying Patch #1646 with modifications for a typo

  1. … 1 more file in changeset.
Removed bogus tree_sortkey reference in the Oracle version ...

  1. … 1 more file in changeset.
merge of changes on oacs-5-0 branch to oacs-5-0-0b4 tag

  1. … 598 more files in changeset.
removing invocation of removed proc lang::catalog::reset_upgrade_status_message_keys. Making invocation of db_source_sql_file pass on the callback variable.

removing debug printouts

fixing bug 1019 by making sure message keys are deleted and removed from the cache on package deletion. Moving all package deletion logic into proc. Adding an instruction on the package delete page that the server should be restarted after deletion

  1. … 3 more files in changeset.
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.