You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Drupal Updater is a command-line tool that helps update Drupal core plus modules and their dependencies. Rather than going to the project's /admin/reports/updates and looking for what can be updated and performing those updates one by one, this package can be used to make all updates at once.
Add it to a project by running composer require metadrop/drupal-updater.
Once added, it can be run by calling the script in the terminal: ./vendor/bin/drupal-updater update
To avoid having to remember this command, I suggest also adding this line to the composer.json:
Once added, you can now call the script in the terminal like so: composer easy-update (you can name it anything you like, it doesn't have to be "easy-update," the point is to make it memorable).
When the script runs, it does a pretty good job of outlining what it is doing.
As it states, it will export config to make sure that all changes are captured, then it will run through each drupal/ package in the composer.json, checking whether there is an update available. If there is, it will apply the update using the --with-all-dependencies flag. It will make its own atomic commits and push them once complete. They will look something like this when viewing them on GitHub:
Drupal Updater is a command-line tool that helps update Drupal core plus modules and their dependencies. Rather than going to the project's
/admin/reports/updates
and looking for what can be updated and performing those updates one by one, this package can be used to make all updates at once.Add it to a project by running
composer require metadrop/drupal-updater
.Once added, it can be run by calling the script in the terminal:
./vendor/bin/drupal-updater update
To avoid having to remember this command, I suggest also adding this line to the
composer.json
:Once added, you can now call the script in the terminal like so:
composer easy-update
(you can name it anything you like, it doesn't have to be "easy-update," the point is to make it memorable).When the script runs, it does a pretty good job of outlining what it is doing.
As it states, it will export config to make sure that all changes are captured, then it will run through each
drupal/
package in thecomposer.json
, checking whether there is an update available. If there is, it will apply the update using the--with-all-dependencies
flag. It will make its own atomic commits and push them once complete. They will look something like this when viewing them on GitHub:How long the process takes to complete will depend on the number of modules in use, but expect it to take somewhere around 10 minutes.
After completion, perform functional QA on all updated packages as you normally would.
The text was updated successfully, but these errors were encountered: