Avoid unzip errors in a fresh composer update
drupal The archive may contain identical file names with different capitalization (which fails on case insensitive filesystems)Unzip with unzip command failed, falling back to ZipArchive class
the process unzip -qq -d composer exceeded the timeout of 300 seconds. drupal The archive may contain identical file names with different capitalization (which fails on case insensitive filesystems)Unzip with unzip command failed, falling back to ZipArchive class
To reproduce in a Drutopia context (or in any other project that adds a simple composer nuke script)
composer nuke
composer update
As written in my commit Make process timeout 10 minutes instead of default 5
When Drupal core is unzipped there's a notice of a 300 second timeout, then it switches
to the ZipArchive class; there's speculation that later errors that don't specify the
timeout but also result in unzip failures. See:
https://stackoverflow.com/questions/28177019/composer-exceeded-the-timeout-of-300-seconds-while-installing-sylius-on-composer
https://www.drupal.org/project/drupal/issues/3000865