Problem/Motivation
The module is already deprecated and marked as obsolete. Uninstall it from 11.x sites and remove the code for Drupal 12
Proposed resolution
main - Remove the core/modules/sdc folder.
11.x - Add a post-update function to uninstall SDC. The module is already marked as obsolete.
Remaining tasks
User interface changes
Introduced terminology
API changes
Data model changes
Release notes snippet
Issue fork drupal-3410389
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3410389-uninstall-sdc-11
changes, plain diff MR !16760
- 3410389-remove-the-sdc
changes, plain diff MR !16724
Comments
Comment #2
e0ipsoPostponing until we have a
12.xbranch.Comment #4
nicxvan commentedThis can be done now right?
Comment #5
nicxvan commentedI guess one question is we usually move to contrib but we're not doing that here.
Is there anything special we have to do?
Comment #7
nicxvan commentedComment #8
penyaskitoAFAIK we never had a hook_update uninstalling it, so we should land that in 11.x if we want this to happen in 12.x
Comment #9
smustgrave commentedUpdate hook in this ticket or follow up? Imagine it would be small enough probably good all do here?
Comment #10
nicxvan commentedWell it will take special consideration.
Comment #11
penyaskito@smustgrave You can't do both sdc.info.yml removal and the hook in the same MR (or even release)
Comment #12
smustgrave commentedCould do an MR to remove it like we got and an MR to 11.x to uninstall. Just meant the same ticket
Comment #15
dcam commentedI made an MR for 11.x. I copied the post-update function that was put in to uninstall migrate_drupal. As far as I could tell that other function didn't have tests, but I didn't check thoroughly because that MR affected 853 files.
Comment #16
dcam commentedComment #17
nicxvan commentedThe problem is that someone can update from 11.4.0 which won't have this.
I think we can remove it in one go though with an update hook, we just need to drop the schema from key value and update the config right?
Comment #18
smustgrave commentedThink this is small enough to still make 12 maybe.
Comment #19
longwaveWe already should have uninstalled the module via
system_post_update_sdc_uninstall(), so I don't think we need anything in 11.x here and we can just delete it in 12.Comment #20
pdureau commentedI can commit this
Comment #21
pdureau commentedDoing this today.
Comment #23
pdureau commentedCommitted 23a93c7 and pushed to main. Thanks!
OK, no 11.x. But the 12.0.x branch is now available. I will backport to this one.
Comment #25
pdureau commentedCommitted cedce16 and pushed to 12.0.x. Thanks!