Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 300712

Avoid printing scaffold file information over and over

$
0
0

Problem/Motivation

When running `composer scaffold` (or other Composer command such as `composer install` that end up calling scaffold), a list of every file processed is printed.

In general, this information is useful; however, it is re-printed on every single run of the scaffold operation, leading to very verbose output. In contrast, other Composer commands, e.g. `composer install`, only print output when they are actually doing something, and remain silent in other cases, e.g. if a package has already been downloaded.

Proposed resolution

Do not scaffold a file unless the on-disk version differs from what would be written. Show the scaffold information only for files that are actually written.

Remaining tasks

tbd

User interface changes

None.

API changes

None.

Data model changes

None.

Release notes snippet

The output of the `composer scaffold` command is now much less verbose.


Viewing all articles
Browse latest Browse all 300712

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>