-no-cache argument for "composer install" and "composer update"#7880
-no-cache argument for "composer install" and "composer update"#7880Seldaek merged 2 commits intocomposer:masterfrom Dzhuneyt:6650-disable-cache-argument
Conversation
|
Thanks, see 02ceb74 tho for some review/changes. |
… drivers relying on it, refs composer#7880, refs composer#6650
|
This is awesome! However it creates this exception when there is a dependency using a
Is there any way that the cache is still used when it's absolutely necessary? That would avoid the exception while still storing as little as possible on disk. |
|
If you only care about disk space I think it'd be easiest to run it normally and then wipe the cache dir after your build is done. |
|
🤔 that's a good idea. I run Composer (and php-cs-fixer for https://prettyci.com/) on AWS Lambda, where I only have limited space in the |
|
500mb sounds like a lot for a single install or update cycle. |
Fixes #6650 and saltstack/salt#45093
However, I was only able to test it under Unix. If someone can check the solution under Windows - that'd be great. Tests run green.