• last updated 57 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Bumped to 5.6.0.

  1. … 24 more files in changeset.
file upgrade-5.6.0b2-5.6.0b3.sql was initially added on branch oacs-5-6.

    • -0
    • +0
    ./sql/postgresql/upgrade/upgrade-5.6.0b2-5.6.0b3.sql
Bumped to beta 3 so I could put in this important upgrade script, fixing

a problem with using package_instantiate_object to instantiate a base

(acs_object) object. Never done in core or .lrn code apparently because typically

you instantiate subtypes, but it is important to get right.

  1. … 25 more files in changeset.
Somebody hosed this (probably me). Never caught because no one creates a

base object directly, just subtypes of acs_object with their own (correct)

definition of a new() function.

    • -2
    • +2
    ./sql/postgresql/acs-objects-create.sql
I somehow managed to avoid commiting the "is_child" addition to apm-create

and also the upgrade script.

    • -0
    • +85
    ./sql/oracle/upgrade/upgrade-5.6.0d7-5.6.0d8.sql
- complete change to acs_objects_package_idx for new creates (see http://fisheye.openacs.org/changelog/OpenACS/?cs=oacs-5-6%3Agustafn%3A20100509112929)

    • -2
    • +2
    ./sql/postgresql/acs-objects-create.sql
Bumped remaining packages to 5.6.0b2

  1. … 24 more files in changeset.
Needed to drop bio_mime_type attribute values, too ... this is removed

as it was never actually used so no need to copy it into the persons

table.

Had to remove the drop/create of cc_users because some obscure views make

use of it. No existing code expects cc_users to contain "bio" anyway, so

recreating the view was a matter of tidiness, not need. Drop ... cascade

would work but would break ecommerce and dotlrn-ecommerce, and likely some

other packages, so this seems the lesser of two evils.

Fixed up some "bio" related upgrade stuff, including protection against

trying to upgrade sites that had already applied the upgrade against 5.5

(that script didn't make it into the repository however).

- create index for acs_objects on package_ids and drop old one (as discussed in OCT)

- bump version number to trigger run of upgrade scripts for testing

file upgrade-5.6.0b1-5.6.0b2.sql was initially added on branch oacs-5-6.

    • -0
    • +0
    ./sql/oracle/upgrade/upgrade-5.6.0b1-5.6.0b2.sql
    • -0
    • +0
    ./sql/postgresql/upgrade/upgrade-5.6.0b1-5.6.0b2.sql
Bumped info files for 5.6.0b1

  1. … 22 more files in changeset.
Bumped version number for 5.6.0a1

  1. … 22 more files in changeset.
Making global/instance changes work with Oracle

    • -0
    • +29
    ./sql/oracle/upgrade/upgrade-5.6.0d7-5.6.0d8.sql
  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.

    • -0
    • +249
    ./sql/oracle/upgrade/upgrade-5.6.0d7-5.6.0d8.sql
    • -0
    • +26
    ./sql/postgresql/upgrade/upgrade-5.6.0d7-5.6.0d8.sql
  1. … 4 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
    ./sql/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

    • -8
    • +11
    ./sql/oracle/upgrade/upgrade-5.6.0d6-5.6.0d7.sql
Orace stuff for global parameters.

    • -0
    • +657
    ./sql/oracle/upgrade/upgrade-5.6.0d6-5.6.0d7.sql
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)

    • -3
    • +3
    ./sql/postgresql/acs-metadata-create.sql
    • -8
    • +8
    ./sql/postgresql/acs-objects-create.sql
    • -58
    • +161
    ./sql/postgresql/apm-create.sql
    • -8
    • +8
    ./sql/postgresql/groups-body-create.sql
    • -5
    • +5
    ./sql/postgresql/rel-segments-create.sql
    • -3
    • +3
    ./sql/postgresql/site-nodes-create.sql
    • -0
    • +28
    ./sql/postgresql/upgrade/upgrade-5.6.0d5-5.6.0d6.sql
  1. … 16 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
    ./sql/oracle/upgrade/upgrade-5.6.0d4-5.6.0d5.sql
    • -0
    • +334
    ./sql/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
    ./sql/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
    ./sql/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
    ./sql/postgresql/upgrade/upgrade-5.6.0d4-5.6.0d5.sql