magento / composer

Open Software License 3.0
31 stars 23 forks source link

Preserve Composer cache directory in MagentoComposerApplication #1

Closed ktomk closed 3 years ago

ktomk commented 8 years ago

MagentoComposerApplication changes the COMPOSER_HOME environment variable.

This has a lot of unwanted side-effects, one of them is the change of the composer cache directory which then is broken.

The fix in this commit for the isolated cache detail is to preserve the the cache from the previous location if not already set in the COMPOSER_CACHE environment variable.

This is done by adding a helper class that is taking care of changing the COMPOSER environment.

ktomk commented 3 years ago

A merger has not come to fruition.

The offer is forfeited.

All rights withdrawn. No commitment has been made in the past, but should it have been accepted, it is to be considered null and void in any case with the non-merger.

This is a non-legal, machine translation.

The place of jurisdiction is the place of the author.