[wp-trac] [WordPress Trac] #54695: CI: always use `--no-interaction` flag for Composer commands

WordPress Trac noreply at wordpress.org
Mon Jan 3 18:44:08 UTC 2022


#54695: CI: always use `--no-interaction` flag for Composer commands
------------------------------+--------------------------------
 Reporter:  jrf               |       Owner:  (none)
     Type:  task (blessed)    |      Status:  closed
 Priority:  normal            |   Milestone:
Component:  Build/Test Tools  |     Version:  trunk
 Severity:  normal            |  Resolution:  reported-upstream
 Keywords:  has-patch         |     Focuses:
------------------------------+--------------------------------
Changes (by hellofromTonya):

 * status:  new => closed
 * resolution:   => reported-upstream
 * milestone:  5.9 =>


Comment:

 Replying to [comment:3 jrf]:
 > FYI: there's some discussion going on about whether an env variable
 should be set in the `setupPHP` action, which could make this unnecessary:
 https://github.com/shivammathur/setup-php/pull/547

 https://github.com/shivammathur/setup-php/pull/547 was merged with an env
 var used in `setupPHP` and `--no-interaction` removed from the Composer
 commands. Looking at the merged fix:

 >By default, `COMPOSER_NO_INTERACTION` is set to `1` and
 `COMPOSER_PROCESS_TIMEOUT` is set to `0`. In effect, this means that
 Composer commands in your scripts do not need to specify `--no-
 interaction`.

 Closing this ticket as the change is unnecessary. Marking it as reported
 upstream as it was fixed there.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54695#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list