changeset 344 | 0fa28c5aabe9 |
parent 340 | b3ffcc800def |
343:7e6537fd4730 | 344:0fa28c5aabe9 |
---|---|
68 |
68 |
69 // SCRIPT CONFIGURATION |
69 // SCRIPT CONFIGURATION |
70 // Everything related to versions goes here! |
70 // Everything related to versions goes here! |
71 |
71 |
72 // Valid versions to upgrade from |
72 // Valid versions to upgrade from |
73 $valid_versions = Array('1.0b1', '1.0b2', '1.0b3', '1.0b4', '1.0RC1', '1.0RC2', '1.0RC3', '1.0', '1.0.1', '1.0.1.1', '1.0.2b1', '1.0.2', '1.0.3', '1.0.4', '1.0.5', '1.0.6', '1.0.6pl1', '1.0.6pl2'); |
73 $valid_versions = Array('1.0b1', '1.0b2', '1.0b3', '1.0b4', '1.0RC1', '1.0RC2', '1.0RC3', '1.0', '1.0.1', '1.0.1.1', '1.0.2b1', '1.0.2', '1.0.3', '1.0.4', '1.0.5', '1.0.6', '1.0.6pl1', '1.0.6pl2', '1.0.6pl3'); |
74 |
74 |
75 // Basically a list of dependencies, which should be resolved automatically |
75 // Basically a list of dependencies, which should be resolved automatically |
76 // If, for example, upgrading from 1.0b1 to 1.0RC1 requires one extra query that would not |
76 // If, for example, upgrading from 1.0b1 to 1.0RC1 requires one extra query that would not |
77 // normally be required (for whatever reason) then you would add a custom version number to the array under key '1.0b1'. |
77 // normally be required (for whatever reason) then you would add a custom version number to the array under key '1.0b1'. |
78 $deps_list = Array( |
78 $deps_list = Array( |
90 '1.0.2' => Array('1.0.3'), |
90 '1.0.2' => Array('1.0.3'), |
91 '1.0.3' => Array('1.0.4'), |
91 '1.0.3' => Array('1.0.4'), |
92 '1.0.4' => Array('1.0.5'), |
92 '1.0.4' => Array('1.0.5'), |
93 '1.0.5' => array('1.0.6'), |
93 '1.0.5' => array('1.0.6'), |
94 '1.0.6' => array('1.0.6pl1'), |
94 '1.0.6' => array('1.0.6pl1'), |
95 '1.0.6pl1' => array('1.0.6pl2') |
95 '1.0.6pl1' => array('1.0.6pl2'), |
96 '1.0.6pl2' => array('1.0.6pl3') |
|
96 ); |
97 ); |
97 $this_version = '1.0.6pl3'; |
98 $this_version = '1.0.6pl4'; |
98 $func_list = Array( |
99 $func_list = Array( |
99 '1.0' => Array('u_1_0_1_update_del_votes'), |
100 '1.0' => Array('u_1_0_1_update_del_votes'), |
100 '1.0b4' => Array('u_1_0_RC1_update_user_ids', 'u_1_0_RC1_add_admins_to_group', 'u_1_0_RC1_alter_files_table', 'u_1_0_RC1_destroy_session_cookie', 'u_1_0_RC1_set_contact_email', 'u_1_0_RC1_update_page_text'), // , |
101 '1.0b4' => Array('u_1_0_RC1_update_user_ids', 'u_1_0_RC1_add_admins_to_group', 'u_1_0_RC1_alter_files_table', 'u_1_0_RC1_destroy_session_cookie', 'u_1_0_RC1_set_contact_email', 'u_1_0_RC1_update_page_text'), // , |
101 // '1.0RC2' => Array('u_1_0_populate_userpage_comments') |
102 // '1.0RC2' => Array('u_1_0_populate_userpage_comments') |
102 '1.0RC3' => Array('u_1_0_RC3_make_users_extra'), |
103 '1.0RC3' => Array('u_1_0_RC3_make_users_extra'), |