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
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.