Prepare next major release¶
Once a major release has been finished, it’s time to think about the next one!
You’ll have to remember a few steps in order to get that working well:
bump version in
config/define.phpcreate SQL empty script (copying last one) in
install/mysql/glpi-{version}-empty.sqlchange empty SQL file calls in
inc/toolbox.class.php(look for the$DB->runFilecall)create a PHP migration script copying provided template
install/update_xx_xy.tpl.phpchange its main comment to reflect reality
change method name
change version in
displayTitleandsetVersioncalls
add the new
caseininstall/update.phpandtools/cliupdate.php; that will include your new PHP migration script and then call the function defined in itchange the
includeand the function called in the--forceoption part of thetools/cliupdate.phpscript
That’s all, folks!
