User tests: Successful: Unsuccessful:
Pull Request for Issue # .
This pull request (PR) combines update SQL scripts to a lower number of scripts according to the following scheme, not combining scripts between different Beta versions, with content of scripts which are removed (marked with (-)
) being moved forward to existing scripts marked with an (+)
.
The order of SQL statements hasn't been changed.
In the remaining scripts where content of removed scripts has been moved to, a comment before the moved content shows from which script it was moved.
The obsolete scripts have been added to the list of files to be deleted in script.php
. There is an additional change in that file for correcting alphabetical order.
Here comes the scheme for combining the SQL scripts:
### Beta 1
--------------------
4.0.0-2016-07-03.sql (-)
4.0.0-2016-09-22.sql (-)
4.0.0-2016-09-28.sql (-)
4.0.0-2016-10-02.sql (-)
4.0.0-2016-10-03.sql (-)
4.0.0-2017-03-18.sql (-)
4.0.0-2017-04-25.sql (-)
4.0.0-2017-05-31.sql (-)
4.0.0-2017-06-03.sql (-)
4.0.0-2017-10-10.sql (-)
4.0.0-2018-02-24.sql (-)
4.0.0-2018-03-05.sql (+)
--------------------
4.0.0-2018-05-15.sql (no change)
--------------------
4.0.0-2018-06-03.sql (-)
4.0.0-2018-06-26.sql (-)
4.0.0-2018-07-02.sql (-)
4.0.0-2018-07-19.sql (+)
--------------------
4.0.0-2018-07-29.sql (no change)
--------------------
4.0.0-2018-08-01.sql (-)
4.0.0-2018-08-29.sql (+)
--------------------
4.0.0-2018-09-12.sql (-)
4.0.0-2018-10-18.sql (-)
4.0.0-2019-01-05.sql (-)
4.0.0-2019-01-16.sql (-)
4.0.0-2019-02-03.sql (-)
4.0.0-2019-03-09.sql (+)
--------------------
4.0.0-2019-03-30.sql (no change)
--------------------
4.0.0-2019-03-31.sql (-)
4.0.0-2019-04-15.sql (+)
--------------------
4.0.0-2019-04-22.sql (no change)
--------------------
4.0.0-2019-05-05.sql (-)
4.0.0-2019-05-20.sql (+)
--------------------
4.0.0-2019-06-28.sql (-)
4.0.0-2019-06-29.sql (+)
--------------------
4.0.0-2019-07-02.sql (-)
4.0.0-2019-07-13.sql (+)
--------------------
4.0.0-2019-07-14.sql (-)
4.0.0-2019-07-16.sql (-)
4.0.0-2019-08-03.sql (-)
4.0.0-2019-08-20.sql (-)
4.0.0-2019-08-21.sql (-)
4.0.0-2019-09-13.sql (+)
--------------------
4.0.0-2019-09-14.sql (-)
4.0.0-2019-09-22.sql (+)
--------------------
4.0.0-2019-09-23.sql (-)
4.0.0-2019-09-24.sql (-)
4.0.0-2019-09-25.sql (-)
4.0.0-2019-09-26.sql (-)
4.0.0-2019-09-27.sql (-)
4.0.0-2019-09-28.sql (-)
4.0.0-2019-09-29.sql (-)
4.0.0-2019-10-06.sql (+)
--------------------
4.0.0-2019-10-13.sql (-)
4.0.0-2019-10-17.sql (+)
--------------------
4.0.0-2019-10-29.sql (-)
4.0.0-2019-11-07.sql (-)
4.0.0-2019-11-19.sql (-)
4.0.0-2020-02-02.sql (+)
--------------------
4.0.0-2020-02-08.sql (-)
4.0.0-2020-02-20.sql (-)
4.0.0-2020-02-22.sql (-)
4.0.0-2020-02-29.sql (-)
4.0.0-2020-03-10.sql (+)
--------------------
4.0.0-2020-03-25.sql (no change)
--------------------
4.0.0-2020-04-11.sql (-)
4.0.0-2020-04-16.sql (-)
4.0.0-2020-05-21.sql (-)
4.0.0-2020-05-29.sql (+)
--------------------
### Beta 2 and 3 nothing
### Beta 4
--------------------
4.0.0-2020-08-01.sql (only postgresql, no change)
--------------------
### Beta 5
--------------------
4.0.0-2020-09-19.sql (-)
4.0.0-2020-09-22.sql (-)
4.0.0-2020-09-27.sql (+)
--------------------
### Beta 6
--------------------
4.0.0-2020-12-08.sql (-)
4.0.0-2020-12-19.sql (-)
4.0.0-2020-12-20.sql (+)
--------------------
### Beta 7 nothing
### Beta 8
--------------------
4.0.0-2021-02-28.sql (-)
4.0.0-2021-04-11.sql (-)
4.0.0-2021-04-20.sql (-)
4.0.0-2021-04-22.sql (+)
--------------------
4.0.0-2021-04-27.sql (no change)
--------------------
4.0.0-2021-05-01.sql (-)
4.0.0-2021-05-04.sql (-)
4.0.0-2021-05-07.sql (-)
4.0.0-2021-05-10.sql (-)
4.0.0-2021-05-21.sql (+)
--------------------
Review the changes made by this PR regarding following aspects:
-- From ...
comments in the files where code is moved to are correct.script.php
, none is forgotten.administrator/logs/joomla_update.php
somewhere outside the Joomla installation.administrator/logs/joomla_update.php
somewhere outside the Joomla installation at a different place or with a different name compared to step 3.Same procedure as test 2, except that here any 4.0 Beta version is used as starting point.
Attention: When updating from a 4.0 Beta1, 2 or 3, it requires an additional SQL step to be executed e.g. in phpMyAdmin, see https://docs.joomla.org/J4.x:Upgrade_to_4.0_Beta_4 .
84 scripts for mysql and 85 for postgresql.
25 scripts for mysql and 26 for postgresql.
=> 59 scripts less than before for each database type.
Update from 3.10 or from previous 4.0 Beta versions works same as before (including the necessary additional SQL step for updating from 4.0 Beta 2, 2 or 3 described here https://docs.joomla.org/J4.x:Upgrade_to_4.0_Beta_4 ).
The result in database of an update with this PR is the same as without this PR.
The obsolete update scripts are deleted after an update.
None.
Status | New | ⇒ | Pending |
Category | ⇒ | Administration com_admin SQL |
PR is ready except of testing instructions and real test by myself. I will continue after dinner and mark it as ready for review later today.
Labels |
Added:
?
|
Title |
|
Ready for review and tests.
Labels |
Added:
?
|
Wait, I will maybe update this to recent commits which have added new small update SQL scripts.
Labels |
Added:
?
Removed: ? |
Updated. Ready for test again.
Status | Pending | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2021-05-27 21:40:54 |
Closed_By | ⇒ | wilsonge | |
Labels |
Added:
?
Removed: ? |
Ok let’s get this in so it can be tested. Thankyou!
Thanks.
Great stuff - did a quick look at some obvious things like the date of files and they all look good.