• last updated 7 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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.

    • -0
    • +249
    ./oracle/upgrade/upgrade-5.6.0d7-5.6.0d8.sql
    • -0
    • +26
    ./postgresql/upgrade/upgrade-5.6.0d7-5.6.0d8.sql
  1. … 5 more files in changeset.
Oracle now passes the first set of global parameter tests. More to follow

for both PG and Oracle.

Victor had made an upgrade script for version d4, and committed it before

I got around to adding and committing mine. So now my tcl upgrade commits

and my datamodel ones aren't synchronized :( But they're dev versions so

no harm should result.

    • -0
    • +262
    ./postgresql/upgrade/upgrade-5.6.0d6-5.6.0d7.sql
If I'd known global parameters would be such a PITA, would I have TIP'd to

do them?

Turns out we must make a parameter value when a parameter is registered, else

all sorts of stuff dies. This is for PG. Oracle will come soon.

A bunch of stuff related to global/instance parameters.

Added 'embeds' to allowable dependencies.

Restored the data links upgrade script I'd accidently overwritten earlier.

1. added "bio" attribute to user rather than person (initial install was fine)

2. only make package instance parameter values for instance scope params

Orace stuff for global parameters.

    • -0
    • +657
    ./oracle/upgrade/upgrade-5.6.0d6-5.6.0d7.sql
  1. … 1 more file in changeset.
Added scope attribute to apm_parameters.

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)

    • -4
    • +4
    ./postgresql/acs-permissions-create.sql
    • -2
    • +2
    ./postgresql/acs-relationships-create.sql
    • -3
    • +3
    ./postgresql/rel-constraints-create.sql
    • -0
    • +28
    ./postgresql/upgrade/upgrade-5.6.0d5-5.6.0d6.sql
  1. … 17 more files in changeset.
Accidently added this to the 5.5 branch rather than HEAD earlier (but it

does no harm there so will leave it there).

    • -329
    • +12
    ./oracle/upgrade/upgrade-5.6.0d4-5.6.0d5.sql
    • -0
    • +334
    ./oracle/upgrade/upgrade-5.6.0d5-5.6.0d6.sql
I had forgotten to add the "apm_package.is_child" function to 5.5 ...

    • -0
    • +334
    ./oracle/upgrade/upgrade-5.6.0d5-5.6.0d6.sql
file upgrade-5.6.0d5-5.6.0d6.sql was initially added on branch oacs-5-5.

    • -0
    • +0
    ./oracle/upgrade/upgrade-5.6.0d5-5.6.0d6.sql
Fixing constraint snom_node_id_fk, was connecting wrong field on table. Creation scripts are ok, just needed to correct upgrade files.

    • -0
    • +3
    ./postgresql/upgrade/upgrade-5.6.0d4-5.6.0d5.sql
  1. … 1 more file in changeset.
More "extends" fixing

    • -0
    • +333
    ./oracle/upgrade/upgrade-5.6.0d4-5.6.0d5.sql
add three column constraint to acs_data_links

    • -5
    • +4
    ./postgresql/acs-relationships-create.sql
drop acs_data_links unique constraint, use unique index instead.

    • -4
    • +6
    ./postgresql/acs-relationships-create.sql
TIP #138 - Add relation_tag to acs_data_links

    • -0
    • +9
    ./oracle/upgrade/upgrade-5.6.0d3-5.6.0d4.sql
    • -3
    • +4
    ./postgresql/acs-relationships-create.sql
    • -0
    • +9
    ./postgresql/upgrade/upgrade-5.6.0d3-5.6.0d4.sql
  1. … 4 more files in changeset.
Some very archaic PG code that was only working because of weak type checking

in earlier versions. Uncovered by playing with the subsite admin object type

code.

Added some missing attributes (more to go, though, damn core datamodel)

    • -1
    • +17
    ./postgresql/acs-objects-create.sql
    • -0
    • +16
    ./postgresql/upgrade/upgrade-5.6.0d2-5.6.0d3.sql
Someone didn't realize that "foo;null" in define_function_args calls sets the

default value to 'null' not NULL...this has been there a long time ... maybe

even my fault, but I don't remember, it's ancient!

Got rid of 'bio' attribute declared for 'user' type.

    • -16
    • +0
    ./postgresql/upgrade/upgrade-5.6.0d2-5.6.0d3.sql
Fixed the upgrade script ...

Moved "bio" back to "person", but with type-specific storage. People can

fight over where such things belong on another day, for now keeping it in

"person" has the advantage that the Tcl API is 100% unchanged so moving it

to type-specific storage won't break .LRN.

    • -13
    • +13
    ./oracle/community-core-create.sql
    • -7
    • +4
    ./postgresql/community-core-create.sql
    • -3
    • +20
    ./postgresql/upgrade/upgrade-5.6.0d1-5.6.0d2.sql
  1. … 5 more files in changeset.
One more upgrade ...

    • -0
    • +43
    ./postgresql/upgrade/t.sql
    • -0
    • +59
    ./postgresql/upgrade/upgrade-5.6.0d2-5.6.0d3.sql
Added attributes for "user" columns "screen_name" and "username", as well as the

new "bio" column which replaces the old generic storage attribute assigned to

"person".

    • -0
    • +38
    ./oracle/upgrade/upgrade-5.6.0d2-5.6.0d3.sql
    • -1
    • +51
    ./postgresql/community-core-create.sql
  1. … 2 more files in changeset.
Added bio to users table. Now both initial install and upgrade from older

versions appear to work.

Magically transformed the upgrade script from PG to Oracle.

    • -26
    • +72
    ./oracle/upgrade/upgrade-5.6.0d1-5.6.0d2.sql
Added upgrade scripts (Oracle isn't correct, yet), removed bogus attribute

sql files (PG, for instance, created bio and bio_mime_type but only

dropped bio, Oracle had not bio_mime_type_reference at all).

    • -0
    • +42
    ./oracle/upgrade/upgrade-5.6.0d1-5.6.0d2.sql
    • -0
    • +42
    ./postgresql/upgrade/upgrade-5.6.0d1-5.6.0d2.sql
  1. … 2 more files in changeset.