- π³πΏNew Zealand danielveza Brisbane, AU
According to #43, this was postponed on a number of other issues. All those issues are now committed, so I think work can continue on this one.
- Status changed to Needs work
over 1 year ago 9:54am 15 May 2023 - π«π·France andypost
Patch needs update as there is only left - update requirements and batch to run'em
- π§π·Brazil elber Brazil
Hi @andypost can you give more details about it ?
- Assigned to voleger
- π«π·France andypost
Now everything goes to 11.x https://www.drupal.org/about/core/blog/new-drupal-core-branching-scheme-... β
- last update
over 1 year ago 29,398 pass, 1 fail - @voleger opened merge request.
- Issue was unassigned.
- Status changed to Needs review
over 1 year ago 1:39pm 17 May 2023 - πΊπ¦Ukraine voleger Ukraine, Rivne
Opened MR, rebased initial work against 11.x branch. Ready for the review.
- Open on Drupal.org βEnvironment: PHP 8.2 & MySQL 8last update
over 1 year ago Waiting for branch to pass - last update
over 1 year ago 29,400 pass, 1 fail - Status changed to Needs work
over 1 year ago 12:59am 23 May 2023 - πΊπΈUnited States smustgrave
Reran the tests and the 1 failure seems legit.
Did not review.
- last update
over 1 year ago 29,413 pass - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago 29,413 pass - Status changed to Needs review
over 1 year ago 6:07am 30 May 2023 - Status changed to Needs work
over 1 year ago 10:28pm 30 May 2023 - πΊπΈUnited States smustgrave
Wonder if the CR needs updating searching for
update_fix_compatibility
update_check_incompatibility
update_set_schema
update_replace_permissionsI don't find them in updates.inc maybe deprecated and removed already?
- π«π·France andypost
Added suggestion and tests should compare result of old vs new function calls
CR needs clean-up as since 8.7 core already deprecated and removed some functions, for example via related
- First commit to issue fork.
- last update
over 1 year ago 30,071 pass, 1 fail - last update
over 1 year ago 30,072 pass - π³πΏNew Zealand quietone
I removed the todo in \Drupal\Core\Updater\Module::getSchemaUpdates because it didn't have an associated issue. Also, I can find no usages of the method either. That needs some investigation.
- π³πΏNew Zealand quietone
Ah, there is an issue for that. π Remove unused function getSchemaUpdates() Fixed
38:26 38:06 Running- last update
over 1 year ago 30,148 pass - last update
over 1 year ago 30,148 pass - Status changed to Needs review
over 1 year ago 12:44am 5 September 2023 - π³πΏNew Zealand quietone
The MR is updated and tests are passing. Time to get another round of review.
- Status changed to Needs work
over 1 year ago 1:56pm 6 September 2023 - last update
over 1 year ago 30,136 pass - Status changed to Needs review
over 1 year ago 5:46am 7 September 2023 - π³πΏNew Zealand quietone
I am not sure about the testing being asked for. The testing being asked for is to compare result of the old function execution with the replacement result. However, there are no explicit tests of this legacy code. Any testing of it is implicit in other update tests which rely on this code. And we have all tests passing and I think that is the best we can do.
Then, that means that UpdateLegacyTest is only testing that the exception is thrown. I am not sure we need to do that in this case either. So, I discussed this with catch and he did say that UpdateLegacyTest can be removed.
Therefor, I have removed that test.
- Status changed to RTBC
over 1 year ago 5:39pm 7 September 2023 - πΊπΈUnited States smustgrave
All green and my feedback was addressed by #66, so marking this.
- last update
over 1 year ago 30,146 pass - last update
over 1 year ago 30,146 pass - last update
over 1 year ago 30,150 pass - last update
over 1 year ago 30,158 pass - last update
over 1 year ago 30,161 pass - last update
about 1 year ago 30,168 pass - last update
about 1 year ago 30,168 pass - last update
about 1 year ago 30,205 pass - last update
about 1 year ago 30,208 pass 8:18 4:12 Running- last update
about 1 year ago 30,360 pass - Status changed to Needs review
about 1 year ago 4:43am 30 September 2023 - πΊπΈUnited States xjm
This will be good to clean up. That said, though, the diff is massive --
11 files, +868, β464
. That is a total of 1332 changed lines, five to ten times as many lines as a reviewer can effectively review. (And it's exponential decay -- that means having this all lumped into one change set means a reviewer will find 1-5% of the bugs they would find if the scoping were better. Especially since it's moved lines, which git does not deal well with.Is there any way we could split this up into stages?
- πΊπΈUnited States smustgrave
I see your point @xjm but think the high number of changes is due to whole functions being moved. But if it's a blocker I imagine each function could be broken out to individual tickets.
- πΊπΈUnited States xjm
Moved functions are harder to review than changed ones. So I really would suggest splitting this into logical steps. What has to happen first? What's second? Etc. You can use the original MR to make sure everything will still end up in the same final state, but a little
git add -p
etc. could make this easier to get in. - Status changed to Needs work
about 1 year ago 3:05pm 4 October 2023 - πΊπΈUnited States smustgrave
Opened
π Convert the update.inc file functions to a class pt1 Active
π Convert the update.inc file functions to a class pt2 Active
π Convert the update.inc file functions to a class pt3 Active
π Convert the update.inc file functions to a class pt4 Active3 functions per ticket.
Updated this ticket to include the last 3, if the MR could be updated for that.