Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Steps to reproduce
Proposed resolution
- ✅ Create a section on Deprecated and obsolete modules and themes to provide recommendations for sites using module MODULE_NAME. The recommendation are to include instructions for sites using MODULE_NAME and for contributed modules that depend on MODULE_NAME.
- ✅ Set lifecycle to deprecated.
- ✅ Set lifecylcle_link to the section added above, https://www.drupal.org/node//3223395#s-MODULE_NAME.
- ✅ Add @group legacy to the tests in the module.
- ✅ The change record for this issue includes a link to the doc page. Create a section on https://www.drupal.org/docs/core-modules-and-themes/deprecated-and-obsol...
- ✅ Section on wiki page, https://www.drupal.org/docs/core-modules-and-themes/deprecated-and-obsol...
- ✅ Change record, use https://www.drupal.org/node/3263629 as an example
Remaining tasks
Maintainer for contrib RDF #3304913: Offering to co-maintain RDF
Commit
User interface changes
API changes
Data model changes
Release notes snippet
RDF module has been deprecated from Drupal 9.5.0, and will be removed from core in Drupal 10.0.0..
Comment | File | Size | Author |
---|
Issue fork drupal-3267703
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:
- 3267703-deprecate-rdf-module changes, plain diff MR !2624
Comments
Comment #2
quietone CreditAttribution: quietone at PreviousNext commentedStarting off.
Comment #3
quietone CreditAttribution: quietone at PreviousNext commentedComment #5
quietone CreditAttribution: quietone at PreviousNext commentedUpdating the patch and running tests because RDF has been removed from the standard profile.
Comment #8
longwaveConverted to an MR, also opened #3302984: Remove RDF module from Umami which needs to be done first - we can't have Umami installing a deprecated module.
Comment #9
longwaveCombining the MR with #3302984: Remove RDF module from Umami to see which tests still fail after Umami is fixed.
Comment #11
longwaveDone a bit more work on this one, still some more to go. Opened #3303278: Decouple NodeDisplayConfigurableTest from RDF module as I think that is worth doing separately.
Comment #12
longwaveDefaultConfigTest throws a deprecation because Forum and User contain optional RDF config, opened #3303435: Move RDF-related optional config to RDF module
Comment #13
catchTo be able to commit this one, we'd need a contrib maintainer for RDF module and a 9.5/10.0 compatible release at https://www.drupal.org/project/rdf (which already exists for the Drupal 6 version so would need to be taken over).
Comment #14
quietone CreditAttribution: quietone at PreviousNext commentedUpdated the IS with the remaining tasks.
Comment #15
longwaveAdded a change notice: https://www.drupal.org/node/3304899
Copied the HAL change notice but also added a note for users who may have installed it from standard but don't know what it is - it is almost certain they can safely remove it.
The three failing tests here should be resolved when #3293813: Move RDF-related tests to RDF module lands.
Comment #16
quietone CreditAttribution: quietone at PreviousNext commentedAdded an RDF section to the wiki page, although there is no link to the contributed module. I was sure if /project/rdf will be used.
Comment #17
bbralaWe are in the process of getting project/rdf ownership. Should land there.
#3293813: Move RDF-related tests to RDF module has been marked RTBC by me, hopefully that gets committed soon.
Comment #18
longwaveRebased following #3293813: Move RDF-related tests to RDF module
Comment #19
longwaveThis is now ready for review.
Comment #20
phenaproximaHiding patches in favor of the merge request.
Comment #21
quietone CreditAttribution: quietone at PreviousNext commentedUpdate IS
Comment #22
quietone CreditAttribution: quietone at PreviousNext commentedFix link for the RDF maintainership
Comment #23
smustgrave CreditAttribution: smustgrave at Mobomo commentedSo looking at the MR looks like everything was covered. RTBC for the MR.
For the change record should it link to the contrib module?
Comment #24
quietone CreditAttribution: quietone at PreviousNext commentedThe steps to implement the deprecation and removal of an extension say the the CRs are to point to the wiki page. Then wiki page is to have the details of how to handle the change. I can't find the discussion around that, sorry.
Comment #25
smustgrave CreditAttribution: smustgrave at Mobomo commentedSo should this be updated to point to the contrib module https://www.drupal.org/docs/core-modules-and-themes/deprecated-and-obsol...
Comment #26
quietone CreditAttribution: quietone at PreviousNext commentedAboslutely! Well spotted.
And when the deprecation happens RDF will move to the section, Recommendations for deprecated modules. It should also include what versions of Drupal it requires. At least that helps the reader, they don't have to go off and read every project page to find that detail when planning an upgrade. As it happens, I just added that to some of the other extensions being removed.
Comment #27
smustgrave CreditAttribution: smustgrave at Mobomo commentedSweet. So RTBC for this. Unless something else is needed?
Comment #28
bbralaRDF now has a stable release #3306737: Create a release of the subtree split of Drupal Core. Also note it requires drupal ^9.5/^10.0.
Comment #29
phenaproximaUpdated the issue summary with completed tasks.
It still looks like \Drupal\Tests\rdf\Functional\Node\NodeDisplayConfigurableTest still needs the
legacy
group.Other than that, this is done. There's a contrib module with a stable release ready to pick up the slack. Once that final test is dealt with, this looks RTBC to me.
Comment #30
bbralaAdded the missing tag
Comment #31
phenaproximaThanks, @bbrala! As promised, RTBC once it passes tests.
Comment #33
catchVery straightforward patch for a very not-straightforward removal process that first started in 2013.
Committed/pushed to 10.1.x, cherry-picked to 10.0.x and 9.5.x, thanks!
Comment #34
catch