Forum OpenACS Development: Re: SCORM RTE

Collapse
3: Re: SCORM RTE (response to 2)
Posted by Michele Slocovich on
keep tuned: i'm doing diffs and i will soon commit, at least lorsm part. (i've got something on lors and something for lorsm-portlet, if it can be accepted).

In any case, yes, we had agreed on using the oacs-5-3 branch.

Btw do you know what should i do with version numbering ? shall i increase it for whatever datamodel change ? and how ? is there around any kind of guide ?

thanks

if you want to do some testing "privately" just msg me in #openacs i can send zipfiles to you.

Collapse
4: Re: SCORM RTE (response to 3)
Posted by Don Baccus on
If there's a datamodel change, yes, you need to increment the version number and we also need upgrade scripts.

What kind of datamodel changes are involved? If they can be expressed using SQL's ALTER TABLE syntax, it is generally easiest to write an APM upgrade callback in Tcl, because PG and Oracle both largely implement the SQL standard syntax for this command. Which means you only need to write your upgrade script once.

Collapse
6: Re: SCORM RTE (response to 4)
Posted by Michele Slocovich on
some are alter column, althought to be performed I think i'll have to perform a drop of some automatically created views and reregister the object classes creating them, but what do you mean by APM upgrade callback ? can you give me a pointer to an example ?