- Issue created by @andypost
- Issue was unassigned.
- Status changed to Needs review
9 months ago 3:32pm 22 March 2024 - π³π±Netherlands spokje
After applying the MR I still see a few textual references to the help_topics module and at least two test modules with the name help_topics in them.
I guess we want to remove all of those as well?
- π«π·France andypost
@Spokje I see no mentions, all from
git grep help_topics
is related to help moduleOnly update hooks has 2 mentions but I see no reason to remove it
- π³π±Netherlands spokje
Ah, so something like
hook_help_topics_info_alter
is actually used by the help module? - π«π·France andypost
btw it's time to release as project https://www.drupal.org/sandbox/jhodgdon/2369943 β
- Status changed to RTBC
9 months ago 3:26pm 23 March 2024 - πΊπΈUnited States smustgrave
All removal so easy to review. Removal didn't break anything so looks fine to me.
- Status changed to Needs work
9 months ago 9:06am 24 March 2024 - π¬π§United Kingdom catch
I don't think we can go straight to removal. The problem is that if you have a site with help_topics enabled, and update to 11.x, you'll get the missing module error message, then you can't uninstall it because it's not in the filesystem.
For previous merged modules, we've marked them obsolete, with an update to uninstall them, and a hook_requirements() to prevent them being re-installed. That guarantees the module is uninstalled everywhere, so it can then be safely removed in 12.x
All the other code can be removed though, so most of the MR is fine.
- π«π·France andypost
The module is uninstalled by help module's post update hook, so we can remove it safely until the hook is here
- π«π·France andypost
update hook is not enough as screenshot points, so I marked module obsolete
so it allows to remove the obsolete stub in 12.x
- Status changed to Needs review
9 months ago 3:14pm 25 March 2024 - π¬π§United Kingdom catch
This looks good but it also needs a hook_requirements() to prevent the module being re-installed. Any existing or 9.5 obsolete module should have one as an example.
- π«π·France andypost
So the stub should be obsolete and hidden, and all tests pass
- π«π·France andypost
But there's existing CR https://www.drupal.org/node/3382015 β which can be linked here
- Status changed to Needs work
9 months ago 4:15pm 25 March 2024 - π¬π§United Kingdom catch
Still needs the hook_requirements() to prevent the module from being enabled.
- Status changed to Needs review
9 months ago 4:43pm 25 March 2024 - π«π·France andypost
obsolete/hidden state - means it can't be installed via UI and prevents drush from doing it
/var/www/html/web $ drush en help_topics In ModuleInstaller.php line 122: Unable to install modules: module 'help_topics' is obsolete.
- π«π·France andypost
But the module still available to uninstall via UI!
- Status changed to RTBC
9 months ago 4:48pm 25 March 2024 - π¬π§United Kingdom catch
Sorry I forgot we added this support to obsolete modules centrally instead of the hook_requirements(), in that case, it looks good to me!
- Status changed to Fixed
9 months ago 11:11pm 25 March 2024 -
alexpott β
committed 31e7810e on 11.x
Issue #3433019 by andypost, catch: Replace deprecated help_topics module...
-
alexpott β
committed 31e7810e on 11.x
- π«π·France andypost
There's follow-up for CI job π Validatable config should skip obsolete modules Needs review
Automatically closed - issue fixed for 2 weeks with no activity.