Hi folks!! Some notes about upgrader 1) is it upgrader correct name? 2) please read http://www.aikiframework.org/wiki/Aiki_installation/upgrade_process
Dudes: - the name InsertVariable-in.sql is because aiki inserted variables there? - there are some variables that must be inserted aiki widget: @version@ and @revision@. Can somebody fix this using a aiki function instead ? 3) last-version - config/last-version is created and used in not ./bzr/branch/last-version is detected. It is not necessary that /configs/last-version are updated all time, only when manual correction is necesary. 3) manual sql - assets/apps/upgrades/upgrades.php (1) is a file that contain manual sql necessary for revision. For example if revison 501 change field aiki_father to aiki_parents, then upgrades must contains: upgrages[501] = "UPDATE some_table WITH aiki_parent= aiki_father"; Aiki knows in which revision is was installed, so can filter this array to execute only necessary sql (in ascending order of revision) (1) probably a bad name and/or a bad directory 4) configs/changelog.php This files contains an array with useful information about revision. Again, it's not necessary include all revision, only: - bug correction when have number. - important improvements. - changes that requires manual corrections. - changes in version number. 5) Old installation For old installation, upgrade only upgrade database structure, but you can help adding in upgrades.php the SQL necessary to make changes. Ask for help. 6) All is open.. coments? changes? suggestions? 7) future planing - clean upgrade and installer code. - use css to make a theme (as jakub suggests for login). - upgrade database structure is necessary today..but in future these work can be do better by manual SQL. For example upgrages[501] = "ALTER TABLE some_table CHANGE aiki_father, aiki_parent (CHAR 50) not null..."; Roger
_______________________________________________ Mailing list: https://launchpad.net/~aikiframework-devel Post to : [email protected] Unsubscribe : https://launchpad.net/~aikiframework-devel More help : https://help.launchpad.net/ListHelp

