apm-install-procs-oracle.xql

  • last updated 19 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fixed typo found while testing package extension stuff for oracle.

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.
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.
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.
merge of 4.6.3b1 to HEAD

  1. … 107 more files in changeset.

1. Made it possible to upgrade from acs-kernel 4.6.1 to acs-kernel 4.6.2

by using the APM rather than running the upgrade script by hand from

PSQL or SQL*Plus.

2. Changed a bunch of package .info files to depend on acs-kernel 4.6.2

to force the APM to upgrade acs-kernel (and therefore the APM datamodel)

before anything else. No guarantee on this though since not all

packages properly define their dependence on the kernel, it appears.

3. Whacked the release notes to suggest people use the APM to upgrade

acs-kernel first, other package later, just for safety's sake.

4. Fixed goof-up in acs-subsite I accidently introduced.

  1. … 35 more files in changeset.
Upgrade to 4.6.2

  1. … 30 more files in changeset.
Adding the before-upgrade and after-upgrade callback types. To go along with the upgrade callbacks Lars added the excellent apm_upgrade_logic proc that lets you specify arbitrary pieces of Tcl code to be executed on upgrade from version X to version Y. The proc figures out which upgrade code chunks to source and in which order (with the same logic as with the traditional upgrade sql scripts). Making paths to sql files (create, drop, upgrade) and catalog files (I18N) be fetched directly from the filesystem rather than from the info file. The file listings in the info files and in the database are now AFAIK superfluous and have no influence on the system. Adding proc apm_watch_all_files for watching all files in a package. Bumping up version name from 4.5 to 4.7.2d

  1. … 5 more files in changeset.
deprecating apm_package_instantiate_and_mount. Adding auto-mounting of packages to the apm_package_install proc. Removing a few inline queries that are not used.

  1. … 2 more files in changeset.
Fixing APM dependency bug. When installing new packages, the version comparison among the packages to install would use a simple Tcl comparison rather than the version_name_greater plsql proc (i.e. version 0.1a would be considered less than 0.1d). I changed to use the plsql proc instead

  1. … 2 more files in changeset.
Fixed problem with two different queries in apm_upgrade_script_compare with the same name that caused upgrade scripts to be run in the wrong order.

  1. … 2 more files in changeset.

1. Added a new attribute to the .info file which tells the bootstrap

installer whether or not a package is part of the acs-core. Only

acs-core packages are now installed during the initial bootstrap install

of the system.

2. Fixed a dupe query name problem in a couple of queryfiles. The problem

is not with the dispatcher but with the extractor, and for the moment it

is just easier to kludge the resulting queryfile than fix the extractor.

  1. … 36 more files in changeset.

1. Ripped out the '' vs. NULL string kludge, which was a stupid idea in the

first place (MY stupid idea, for the record).

2. More .xql file porting...

  1. … 23 more files in changeset.
query extractor output for acs-tcl

    • -0
    • +281
    ./apm-install-procs-oracle.xql
  1. … 41 more files in changeset.