Re: Sort of maintenance during mod install
Reply #1 –
Sounds like a good idea, in general.
Re: Sort of maintenance during mod install
Reply #2 –
That's sort of doable already - Niko did it for one of his mods, Project Tools, IIRC.
The big problem is when you have mods doing things like altering a very large table (e.g. messages) which can lead to 'MySQL has gone away' type issues.
Re: Sort of maintenance during mod install
Reply #3 –
Now that you made me think about it, it would probably just require a redirectexit in install.php to the maintenance task, then depending on things it would require to manually set up the "installation finished" page or completely ignore it and redirectexit again to some other scree, not a big issue though...
mmm...yeah, probably it's not necessary to make things more complex than they are now...
Re: Sort of maintenance during mod install
Reply #4 –
IIRC that was all Niko did - but most of the time it's no huge deal.
I would note that I did make a nod towards this by allowing plugins to insist on maintenance mode if they would be heavy (like altering the members or messages tables)