packages-install-4.tcl

  • last updated 21 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
installer-updates:

- distinguish in messages between "install" and "upgrade"

- move code for per-package install.xml from www code to library

function apm_package_install and evaluate the file only on installs

  1. … 2 more files in changeset.
- fix misleading quoery variable (mount_p, which is not a boolean)

  1. … 1 more file in changeset.
- use type checking for boolean parameters in page_contracts to improve security

  1. … 29 more files in changeset.
Merging back to HEAD branch oacs-5-8 (using tag vg-merge-oacs-5-8-from-20141027).

  1. … 2547 more files in changeset.
- provide default to ease upgrade

- remove hard-coded path to template for HTML streaming by adding a package parameter named "StreamingHead" to acs-subsite

  1. … 3 more files in changeset.
- acs-admin/www/apm/packages-install:

* don't html-quote in error.log

- acs-admin/www/apm/packages-install-2:

* handle additional install packages

- apm-packages-install-4

* scroll auotmatically to the end

* load install.xml if present

  1. … 3 more files in changeset.
- enable all packages

- brace expressions to allow for tcl compilation

- use "in" or not in (ni) operator instead of lsearch (for readability and performance)

  1. … 10 more files in changeset.
- use streaming header for install and install-4

- all usages of apm_header are removed

  1. … 1 more file in changeset.
- make code more uniform

  1. … 1 more file in changeset.
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.
Moving the call to db_bounce_pools from packages-install-4.tcl to apm_package_install_data_model.

  1. … 1 more file in changeset.
Adding new proc db_bounce_pools and calling it after each package is installed or upgraded. Installations/upgrades are done in a separate process, making changes that could affect our sessions. This is particularly a problem with the content_item package on Oracle. To be on the safe side we refresh the db connections after each install/upgrade.

  1. … 1 more file 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.
Added simpler package install/upgrade UI

  1. … 14 more files in changeset.
Templated server restart page, even though the code claimed it wasn't possible

  1. … 4 more files in changeset.
If installation of one packages fails, bail out of installing any other packages. Not a great solution, but better than just continuing

merge of 4.6.3b1 to HEAD

  1. … 101 more files in changeset.
adding a restart server link after package installation. People (including myself) used to forget restarting the server which was frustrating

  1. … 1 more file in changeset.
adding a restart server link after package installation. People (including myself) used to forget restarting the server which was frustrating

  1. … 1 more file in changeset.
Upgrade to 4.6.2: The infamous APM changes, workflow, bug-tracker, etc.

  1. … 35 more files in changeset.
Changed the file manage page of the APM to reflect that file paths are no longer in the database. The page now just serves the purpose of showing the file types that the APM thinks your files are and watching files. Making paths to sql files and catalog files be fetched directly from the filesystem. Offering to mount applications under /package_key upon install for convenience. Making sure the package-delete page works by unmounting and uninstantiating packages with the Tcl API (to trigger callbacks) before uninstall. Adding ability to watch all files in a package. Minor update of I18N instructions

  1. … 10 more files in changeset.
Not marking procs for reloading anymore after package installation. Adding comment saying server must be restarted after installation and upgrading of packages.

adding editing of auto-mount and Tcl callbacks to the APM UI

  1. … 21 more files in changeset.
using the new apm_load_packages proc to source all enabled packages after APM installation so that restart of server is not needed

changing message after package installation to reflect that server restart is no longer necessary. Caching if package is enabled after installation as is done in bootstrap.tcl

making sure message catalog files are loaded during package installation and package upgrade

  1. … 4 more files in changeset.