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
Right now this list is hard-coded in \Drupal\automatic_updates\Updater::getCorePackageNames()
but we don't want to have to update that any time we add a new plugin to core.
Proposed resolution
Ideas for how to get the list
- hard coded
- a. in module
- b. 1 place in core (code write a test to fail if plugin/metadata package added but not added to 1 place)
- c. in project template metadata.(might be removed on a site)
- remote request
- request current project template on code.drupal.*
- Add API endpoint on drupal.org
- heuristic: rely on
drupal/core-*
names - plugins declare themselves part of core
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork automatic_updates-3242626
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 #4
phenaproximaRTBC based on verbal approval from @tedbow.
Comment #6
phenaproximaComment #8
phenaproxima