Problem/Motivation
Deprecated forum module in Drupal 10.1
Steps to reproduce
Proposed resolution
Remaining tasks
See parent issue for issues that needs to be completed before this one
User interface changes
API changes
Data model changes
Release notes snippet
Issue fork drupal-3261652
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:
Comments
Comment #3
larowlanComment #4
catchReal test failures, probably the confirmation form?
Comment #5
larowlanYeah its the new 'confirm you want to enable deprecated modules' confirmation form
Comment #6
catchLooks great!
Comment #7
catchWe need a release on https://drupal.org/project/forum before we can go ahead here.
Comment #8
larowlanI've created a sub-tree split and pushed the history to the 1.x branch of the contrib project.
I've pushed a 1.0.0 tag but d.o isn't letting me create a release.
Have asked for a second set of eyes in #drupalorg on slack.
Comment #9
larowlanhttps://www.drupal.org/project/forum now has a 1.0.0 release equivalent to 9.3.4
Comment #10
xjmGreat to see this RTBC!
One question, should we be marking forum's tests as legacy? (See also #3257127: Trigger a deprecation message when a deprecated module or theme is enabled.)
Comment #11
xjmLet's postpone these one more time on #3257127: Trigger a deprecation message when a deprecated module or theme is enabled, which will also help us make sure we've properly identified or decoupled all the forum integration tests, etc.
Comment #12
xjmComment #13
larowlanComment #14
larowlanThe lifecycle link should link to https://www.drupal.org/about/core/policies/core-change-policies/deprecat.... I'll update that page and unpublish the newer duplicate once this is unpostponed
Comment #15
larowlanI think we just need to work out where to link to here
Comment #16
paulocsLooks good!
Comment #17
naveenvalechaMark the forum tests deprecated
Comment #18
quietone commentedThere is no need to deprecate tests. The What we can not deprecate section of the deprecation policy states, "Do not deprecate test classes".
Restoring the RTBC.
Comment #19
larowlanI think perhaps the lifecycle link needs to go back to the old one
Comment #20
catchSent for a retest since I think we will need to mark all of forum's tests
@group legacynow that deprecations are triggered when deprecated module are enabled.Comment #21
catchYep, needs @group legacy on forum's own tests.
Comment #22
spokjeHate to spoil the party, but I think at the very least the
help_topicsaboutforumshould be moved into theforummodule itself before deprecation? I'm pretty sure that should happen before removal.Looks like there are no tests for the module scattered around the place BTW.
INSTA-EDIT: Since forum has config, deprecating it will hit #3265546: Drupal\KernelTests\Config\DefaultConfigTest throws deprecation notice for deprecated Core modules/themes which have config as a blocker.
Comment #23
quietone commentedComment #24
quietone commentedComment #25
sahilgidwani commentedComment #26
spokjeI like the optimism there, but restoring status to NR.
Comment #28
catchComment #31
quietone commentedComment #34
andypostit still depends on deprecation of templates #3409384: [11.x] Remove forum CSS from themes and profiles
Comment #35
quietone commentedComment #36
quietone commentedComment #38
quietone commentedComment #39
smustgrave commentedUpdated the link as it appears the anchor on https://www.drupal.org/node/3223395 is s-forum.
All green so all legacy tags added.
Comment #40
smustgrave commentedUgh my suggestion got bit by the spell-check bug, may just need to be rebased.
Comment #41
spokjeRebased and found one straggler.
Comment #42
smustgrave commentedThanks @Spokje!
Comment #43
quietone commentedThere is a stable release of Forum in contrib but it was released 4 February 2022. That should be updated before this is committed.
Comment #44
larowlanLooking for the docs on subtree split - from memory I think dww created some - will sort forum release once I find them
Comment #45
larowlanFound the docs https://www.drupal.org/about/core/policies/core-change-policies/module-o...
Comment #46
larowlanUpdated at https://www.drupal.org/project/forum/releases/1.0.1
#3387172: Unpublished forum accessible to public
#2936995: Add taxonomy term revision UI
Looked to be the only changes since 1.0.0
Comment #48
larowlan🎉🎉🎉 Committed to 11.x and pushed.
Thanks everyone 🎉🎉🎉
Comment #50
andypostThank you 👍
Comment #51
johnwebdev commentedIt is not clear to me if this module is being deprecated in 10 or 11. The change records suggests it will be removed in 11, but the merged code looks like it gets deprecated in 11. :)
Comment #52
catch@johnwebdev the commit was made to 11.x, but we branched off the 10.3.x branch from 11.x just after it was made, so it's now deprecated in both the 10.3.x and 11.x branches.
What this means is:
1. 10.3.0+ sites will get a warning that core forum module is deprecated, and will be encouraged to install the contrib forum module.
2. We still need to actually remove forum module from the 11.x branch/11.0.0, that will happen in #3261653: Remove Forum module.
Comment #53
larowlanComment #54
larowlanThanks @johnwebdev @catch - I updated the text on the CR to make it clear that 10.3.0 is the point at which the status page will start to report on the deprecation