acs-bootstrap-installer

  • last updated 7 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
tcl9 changes in regression test: address changes in tcl9 tilde explansion

merge with missing files

    • -0
    • +0
    ./tcl/40-db-query-dispatcher-procs.tcl
    • -0
    • +21
    ./tcl/test/30-apm-load-procs-oracle.xql
    • -0
    • +20
    ./tcl/test/30-apm-load-procs-postgresql.xql
    • -0
    • +495
    ./tcl/test/30-apm-load-procs.tcl
  1. … 1451 more files in changeset.
merge from oacs-5-10

    • -12
    • +19
    ./installer/www/blank-master.tcl
    • -0
    • +11
    ./installer/www/SYSTEM/csp-collector.tcl
  1. … 8085 more files in changeset.
bumped version number from development version to release version

  1. … 93 more files in changeset.
provide a fallback for script name, when [info script] returns empty

promote warning message from ns_log to ad_log

silence excpected errors during the regression test

Provide log statistics including full startup

Bump version number to 5.10.1b2 to make sure, that recent zz-postload.tcl is installed

fixed test server_startup_ok

Previously, the test was returning different results depending on the order of

tests.

While it is in general better to avoid error entries in the log file during

regression test, since these testing expected behavior, while error entries

in the log file should indicated unexpected behavior. However, it is still

a long way to let the regression test run cleanly.

  1. … 1 more file in changeset.
Fixed regression test and make more use of "aa_test_start" and "aa_test_end"

This change reduces the errors in the log file a lets run the

regression test (on my site) without reported errors as reported by

acs_kernel__server_startup_ok.

  1. … 3 more files in changeset.
clean dirty editor buffer

    • -1
    • +1
    ./tcl/40-db-query-dispatcher-procs.tcl
improved spelling

    • -2
    • +3
    ./tcl/40-db-query-dispatcher-procs.tcl
  1. … 2 more files in changeset.
Made startup more robust

- handle not-yet-defined callback procs gracefully

Made "ad_find_all_files" more robust when some subdirectory has too restrictive permissions

Previously, on some OS, Tcl's "glob" command was returning file names,

also, when the permissions should not allow it (macOS), while one

other systems, it raised an error (Linux). The problem is that

"ad_find_all_files" raises an error during startup, not all files are

found, and e.g. some of the files (like e.g. .xql) are not picked up,

... and as a consequence, strange things happen.

With this change, loading is more robust. Now, warnings are issued instead of exceptions.

bumped version numbers to 5.10.1b1

  1. … 85 more files in changeset.
Make so that -all also overrides the database type check, which appears to have been the expected behavior: in fact, this api was used to retrieve the files to extract in the tarball generation

Test that "apm_get_package_files -all" should return all files for a package

This currently fails, as "-all" does not override the dbms check, so e.g. on a Postgres installation, all Oracle xql files would be skipped.

Note that the test uses acs-tcl as target because it is a package that is only supposed to contain "package-relevant" files. This is not a rule and is not the case in other packages such as acs-automated-testing, which creates many files during its operations that do not belong to the source tree.

No need to access the form directly here

ns_getform will return the empty string only when invoked outside of a connection thread, which is a non-issue at installation time

improve spelling

Activate translator mode only when developer support is active

We just do this when the developer support is active, but this does

not have to be this way. By showing the translator mode only for

developer support, we save for large sites many set operations client

for client properties via "lang::util::translator_mode_p" and

"ad_get_client_property".

added support for body.translate in the blank master

file 30-apm-load-procs-oracle.xql was initially added on branch oacs-5-10.

    • -0
    • +0
    ./tcl/test/30-apm-load-procs-oracle.xql
file 30-apm-load-procs.xql was initially added on branch oacs-5-10.

    • -0
    • +0
    ./tcl/test/30-apm-load-procs.xql
file 30-apm-load-procs.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    ./tcl/test/30-apm-load-procs.tcl
file 30-apm-load-procs-postgresql.xql was initially added on branch oacs-5-10.

    • -0
    • +0
    ./tcl/test/30-apm-load-procs-postgresql.xql
Complete proc coverage for the package

    • -0
    • +21
    ./tcl/test/30-apm-load-procs-oracle.xql
    • -0
    • +20
    ./tcl/test/30-apm-load-procs-postgresql.xql
    • -0
    • +459
    ./tcl/test/30-apm-load-procs.tcl
improve strictness of tests

  1. … 8 more files in changeset.
fix bug, when Tcl's file command uses uplevel

This change fixes a bug whem "ad_file tmpfile filename ..." is used.

The output variable "filename" was created on the wrong calling level.

remove constant from deprecated message