History of bitweaverUpgrade
Version 4
bitweaverUpgrade
How to Upgrade bitweaver
All of this code is only in bitweaverCVS and the latest fresh build
We now have single click upgrading with all upgrade info *per package*. This architecture enables you to upgrade *any* CMS to *any* bitweaver version.
http://clyde.bitweaver.org/ has an upgraded tp.o - there are still lots of holes to fill in (like structures data, comments, wiki attachments) however the core process for implementing the updating is all in place.
install/upgrade.php does all the magic by looking at every package's <package>/admin/upgrade_inc.php. I suggest you look at liberty/admin/upgrade_inc.php if you are interested in seeing a complete example of how it works, or shoutbox/admin/upgrade_inc.php for a simpler example.
Currently it handles BONNIE (and almost TW1.8 - if someone sends me a TW1.8 dump, I will get TW18 working too). I also used a lot of subselects (not required), so you will need a real database or at least MySQL 4.1, or if you want to fix the Subselects with PHP, feel free to chow down on the upgrade_inc's.
Unresolved issues / TODO list:
- upgrade.php does not ask for database connection info...
- Wiki attachments table data conversion
- tiki_structures table data conversion
- tiki_comments conversion
- adding new modules don't seem to display
- TW18 conversion
- upgrade.php security
Anyone up for a drupal upgrader? *nuke upgrader? TW1.9 upgrader?</package>