Forum OpenACS Development: Re: Upgrade and install management

Collapse
Posted by Don Baccus on
d) If it is not possible to undo all, but just the last one, wouldn't it make sense to increase the version number with each single step, effectively changing how we do upgrades?
No, upgrades should be all-or-none.

Remember, your tcl scripts and www pages for version x.x.N+10 are unlikely to work if only x.x.N+1 gets run without error, regardless as to what number(s) you end up putting in the apm_package_versions table.

So I don't see the point behind this.

Collapse
Posted by Malte Sussdorff on
The point behind this would be that I could fix my upgrade script and rerun the upgrade from version x.x.N+1 without having to make sure I do not run scripts which have been successful so far. But probably too much effort, especially as the occasional end user won't be able to fix the upgrade scripts himself.