WordPress / meta-environment

A collection of scripts that provision the official WordPress.org websites into a Varying Vagrant Vagrants installation.
190 stars 69 forks source link

Remove false-positive red errors from provision output #78

Open iandunn opened 8 years ago

iandunn commented 8 years ago

When you provision sites, there's lots of output from commands that are not errors, but get shown in red anyway. That can be confusing to people, and it's also annoying. We can call commands with options like --quiet, redirect output, etc to avoid that. We should make sure that real errors don't get hidden, though.

==> default: # ==> default: # ==> default: # ==> default: # ==> default: ######################################## 100.0%

100.0%

==> default: # ==> default: # ==> default: #

==> default: Cloning into 'phpdoc-parser'... ==> default: Loading composer repositories with package information ==> default: Installing dependencies (including require-dev) from lock file ==> default: - Installing composer/installers (v1.1.0) ==> default: Downloading: Connecting... ==> default: ==> default: Downloading: 0% ==> default:
==> default: ==> default: ==> default: Downloading: 5% ==> default: ==> default: Downloading: 10% ==> default: ==> default: Downloading: 35% ==> default: ==> default: Downloading: 40% ==> default: ==> default: Downloading: 65% ==> default: ==> default: Downloading: 100% ==> default: - Installing erusev/parsedown (1.6.0) ==> default: Downloading: Connecting... ==> default: ==> default: Downloading: 0% ==> default:
==> default: ==> default: ==> default: Downloading: 10% ==> default: ==> default: Downloading: 20%

==> default: .... ==> default: . ... ==> default: .... ==> default: ... . ==> default: .... ==> default: .... ==> default: . ... ==> default: .... ==> default: ... 59% 4.54M 0s ==> default: 250K . ==> default: .... ==> default: .... ==> default: . ... ==> default: .... ==> default: ... . ==> default: .... ==> default: .... ==> default: . ... ==> default: .... ==> default: ... . ==> default: .... ==> default: .... ==> default: . 71% 10.1M 0s ==> default: 300K ... ==> default: .... ==> default: ... .

==> default: --2016-08-24 02:07:45-- https://downloads.wordpress.org/translation/core/4.6/es_ES.zip ==> default: Resolving downloads.wordpress.org (downloads.wordpress.org)... ==> default: 66.155.40.186 ==> default: , ==> default: 66.155.40.189 ==> default: , ==> default: 66.155.40.188 ==> default: , ... ==> default: Connecting to downloads.wordpress.org (downloads.wordpress.org)|66.155.40.186|:443... ==> default: connected. ==> default: HTTP request sent, awaiting response... ==> default: 200 OK ==> default: Length: ==> default: 415385 ==> default: (406K) ==> default: [application/zip] ==> default: Saving to: ‘/srv/www/wordpress-meta-environment/wordpressorg.dev/public_html/wp-content/languages/es_ES.zip’ ==> default: ==> default: 0K ==> default:
==> default: . ==> default: . ==> default: . ==>