Improve readabiity of update function output

Created on 31 October 2025, 2 days ago

Problem/Motivation

The output from "drush eca:update" in ECA v2 (and "drush modeler_api:update" for ECA v3) is hard to read if there are more than a few models.
See previous discussion on Slack: https://drupal.slack.com/archives/C0287U62CSG/p1761609616125999

Steps to reproduce

Run "drush eca:update" in ECA v2 or "drush modeler_api:update" in modeler_api.

Proposed resolution

When a model is updated, set the resulting message as "warning" rather than "message." This should display the warning in a different color (e.g. red instead of green). Also add a summary showing how many messages were changed, how many were not, and how many errors were encountered.

Remaining tasks

Update /src/EcaUpdate.php and /src/Drush/Commands/EcaCommands.php

User interface changes

More readable output from "drush eca:update."

API changes

None.

Data model changes

None.

✨ Feature request
Status

Active

Version

2.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States rclemings

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024