• last updated 9 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
.xql-file reform of acs-tcl (part 2)

- remove unsused .xql queries

apm_package_list_search_order.get_dependencies

- remove redundant .xql queries

apm_package_version_installed_p.apm_package_version_installed_p

apm_generate_package_spec.callback_info

  1. … 3 more files in changeset.
- make apm_package_installed_p more rubust, such it can be used early in the startup phase

  1. … 1 more file in changeset.
More code dealing with instance and global parameter semantics. I finally

have a reasonable model of inheritance and semantics implemented, not

perfect from a language-theoretic point of view, but works well without

having to rewrite every bit of parameter-handling code in acs-core.

  1. … 8 more files in changeset.
Fixed up the apm parameter stuff to the point where I can at least

register and unregister, and cache values of, global parameters. There's

some really funky code here, I also took the time to have the unregister

code use the unregister API in PL/[pg]SQL rather than roll its own.

  1. … 7 more files in changeset.
1. Changed trigger functions from "opaque" to "trigger" to get rid of the

warnings during initial install (only for acs-kernel, there are a lot

elsewhere!)

2. Added "embeds" for postgresql and partially for oracle.

3. Added global parameters for postgresql and partially for oracle.

(oracle will be forthcoming shortly)

  1. … 29 more files in changeset.
Moved package conversion code from acs-subsite to acs-tcl, as part of

the apm Tcl API.

  1. … 9 more files in changeset.
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.
Added support for custom error templates. Added negative float procedure from Brian Fenton (Quest)

  1. … 7 more files in changeset.
commit to HEAD of merge of changes on oacs-5-1 branch between tags jcd-merge-5-1-20050111 and jcd-merge-5-1-20050224

  1. … 321 more files in changeset.
Don't call site_nodes_sync from apm_package_rename. site_nodes_sync rebuilds the entire site_nodes cache, which takes large sites, such as .LRN sites with tens of thousands of site nodes, completely offline for several minutes. Instead, update the cache for the specific node(s) at which the package is mounted.

  1. … 1 more file in changeset.
Filled the parameter cache with default values tagged with package_id 0

rather than NULL to fit with the apm_package_id_from_key's default value

for package_id when there's no instance available (can't really use null

because "package_id = NULL" is always false in SQL).

  1. … 2 more files in changeset.
Remerge Timo's changes for tip 42,43, cf tip 53

  1. … 97 more files in changeset.
rollback of Timo's name, package_id commit; see TIP 53

  1. … 96 more files in changeset.
TIP#42,43: adding package_id and title to acs_objects table

  1. … 96 more files in changeset.
fixing typo in query apm_version_get.select_version_info

- Added apm_highest_version_name proc

- Added package pretty name to apm_version_get

  1. … 3 more files in changeset.
making the procs ad_acs_version and ad_acs_release_date do something sensible. Adding proc apm_version_get (should go into a namespace and be cached)

  1. … 2 more files in changeset.
changing APM Tcl API to reflect that we are no longer storing file info in the db (apm_package_file_types and apm_package_files tables are gone)

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

  1. … 30 more files in changeset.
removing package_key_select queries no longer used

caching the proc apm_package_installed_p with util_memoize

  1. … 3 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.
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 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.
merge from oacs-4-6

  1. … 130 more files in changeset.
Added missing queries.

  1. … 4 more files in changeset.
Fixed a bug reported by Andrew Grumet (in the forums) - the default parameter

value could be returned at times even if a value was set. This happened

if you added a parameter because the cache update query was wrong. Rebooting

would fix it so no one had noticed ...

  1. … 1 more file in changeset.

1. Fixed a couple of .info files

2. Got rid of Ben's hack to always reload query files before doing a query

mapping. He did this so you wouldn't have to reboot AOLserver every

time you change query files. It was a short-term hack but unfortunately

it looped virgin installs.

3. Added code to the APM to make the "watch" feature work with query files

as well as library files. This makes Ben's hack mentioned above

unnecessary.

  1. … 8 more files in changeset.