• last updated 22 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
rephrasing log statement to be able to close bug 222

making apm_load_libraries be based on apm_get_package_files for consistency

making apm_version_load_status use file system based procs rather than db. Making apm_load_libraries be based on apm_get_package_files for consistency

Upgrade to 4.6.2

  1. … 30 more files in changeset.
return a more meaningful error when a package is not mounted

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.
Lars added proc util_get_current_url. Removing updates of nsv apm_library_mtime that now happen in apm_source proc. Removing proc apm_mark_packages_for_bootstrap that was used to avoid server restart after package installation (we are now requiring server restart). Moving flushing of package_installed_p cache to happen at end of apm_package_install proc instead of the beginning. Adding parameter PermissionCacheTimeout that determines the lifetime of the permissions cache.

  1. … 7 more files in changeset.
caching the proc apm_package_installed_p with util_memoize

  1. … 3 more files in changeset.
added a check that Tcl callback procs specified in the APM UI have correct argument lists

  1. … 1 more file in changeset.
adding before-uninstall, before-uninstantiate, and before-unmount Tcl callbacks for packages

  1. … 2 more files in changeset.
making apm_package_instance_new the canonical proc for instantiating a package. Deprecating the create_package proc. Adding apm_mark_packages_for_bootstrap that will is used to schedule all necessary files for reload after a set of applications have been installed. Extracting apm_mark_files_for_reload from apm_mark_version_for_reload so that the functionality of scheduling files for reload could be reused.

  1. … 3 more files in changeset.
adding support for Tcl proc package callbacks. Currently only supporting after-install and after-instantiate callbacks (next up is after-mount). There is no UI yet.

  1. … 8 more files in changeset.
adding the proc apm_supported_callback_types for the new package callbacks. Making apm_load_packages take arguments to make it optional to source libraries and queries (only load tests, needed for acs-tcl)

renaming apm_load_package to apm_load_packages and making the proc source Tcl files in the right order (-procs before all -init etc.)

  1. … 2 more files in changeset.
adding proc apm_load_tests_p. changing a couple of procs to proper use of boolean argument

  1. … 2 more files in changeset.
making sure catalog messages are cached when new package is installed in APM. Also making sure tcl libraries and xql queries are loaded for the package after installation so that restart of server is no longer necessary (I hope). Resorted to using the force_install_p flag since the tcl libraries wouldn't source otherwise in the apm_files_load proc. This doesn't feel like the ideal solution but it gets the job done

  1. … 2 more files in changeset.
apm_load_package should not cache that package is enabled

adding a procedure apm_load_package for loading a package so that this can be done without restarting the server, for example directly after installation. Moving Ben's comment for apm_load_queries into ad_proc

adding new proc for checking if there is an enabled version of a certain package_key

  1. … 1 more file in changeset.
removing inlined oracle specific queries, removing -default flag from db_string where not needed, correcting misnamed (copy paste) query

  1. … 1 more file in changeset.
Added apm_instance_name_from_package_id procs.

Added code for optionally sourcing automated tests and associated queries.

  1. … 1 more file in changeset.
Peter: added proc apm_package_key_from_version_id

Added apm_package_url_from_id procedure and changed apm_package_url_from_key to use that

  1. … 2 more files in changeset.
Do not error out completely when queries cannot be loaded, but do log an error log message. The old 'error' call could prevent the server from starting at all if you e.g. deleted a package from the file system without deleting it from the APM first.

added apm_log proc

Fixed up a merge mess ...

Fixing apparent conflict from last merge

Merged with the 4.5 branch (oacs-4-5 tag "don-merge-1")

  1. … 58 more files in changeset.
Mostly adding infrastructure for community delete. some misc cleanups and additions elsewhere

  1. … 20 more files in changeset.