You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am running composer require consolidation/robo:^3.0 --no-install after having added patches for in our composer.json file.
Our broader use case is that we have a script that adjust patches (with composer-patches-cli) and requirements (with composer require --no-install) without actually installing anything.
And then we do a final composer install (without --no-install) when we are sure the patches are actually compatible withe the required versions.
I am using composer-patches 1.7.3 with Composer 2.5.5.
What happened? What did you expect to happen?
This package was uninstalled (and then not reinstalled because of --no-install):
Removing package consolidation/robo so that it can be re-installed and re-patched.
- Removing consolidation/robo (3.0.11)
Loading composer repositories with package information
IMHO, when using --no-install, the intent is to only change the lock file and not the vendor folder.
So composer-patches should not delete any folder when using this option.
Full output of relevant Composer command with the -vvv flag added
Running 2.5.5 (2023-03-21 11:50:05) with PHP 8.1.17 on Linux / 5.15.0-69-generic
Reading ./composer.json (/media/pierre/Projets/workspace/secu/composer.json)
Loading config file /home/pierre/.composer/config.json
Loading config file /home/pierre/.composer/auth.json
Loading config file ./composer.json (/media/pierre/Projets/workspace/secu/composer.json)
gitlab.insite.coop is not in the configured gitlab-domains, adding it implicitly as authentication is configured for this domain
Checked CA file /etc/pki/tls/certs/ca-bundle.crt does not exist or it is not a file.
Checked directory /etc/pki/tls/certs/ca-bundle.crt does not exist or it is not a directory.
Checked CA file /etc/ssl/certs/ca-certificates.crt: valid
Executing command (/media/pierre/Projets/workspace/secu): 'git''branch''-a''--no-color''--no-abbrev''-v'
Reading /home/pierre/.composer/composer.json
Loading config file /home/pierre/.composer/config.json
Loading config file /home/pierre/.composer/auth.json
Loading config file /home/pierre/.composer/composer.json (/home/pierre/.composer/composer.json)
Loading config file /home/pierre/.composer/auth.json
Reading /home/pierre/.composer/auth.json
Reading /media/pierre/Projets/workspace/secu/vendor/composer/installed.json
Reading /home/pierre/.composer/vendor/composer/installed.json
Loading plugin Http\Discovery\Composer\Plugin (from php-http/discovery)
Loading plugin cweagans\Composer\Patches (from cweagans/composer-patches)
Loading plugin GrumPHP\Composer\GrumPHPPlugin (from phpro/grumphp)
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/packages.json from cache
Downloading https://repo.packagist.org/packages.json if modified
[304] https://repo.packagist.org/packages.json
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-consolidation~robo.json from cache
Downloading https://repo.packagist.org/p2/consolidation/robo.json if modified
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-consolidation~robo~dev.json from cache
Downloading https://repo.packagist.org/p2/consolidation/robo~dev.json if modified
[304] https://repo.packagist.org/p2/consolidation/robo.json
[304] https://repo.packagist.org/p2/consolidation/robo~dev.json
./composer.json has been updated
Unloading plugin GrumPHP\Composer\GrumPHPPlugin
Unloading plugin cweagans\Composer\Patches
Unloading plugin Http\Discovery\Composer\Plugin
Reading ./composer.json (/media/pierre/Projets/workspace/secu/composer.json)
Loading config file /home/pierre/.composer/config.json
Loading config file /home/pierre/.composer/auth.json
Loading config file ./composer.json (/media/pierre/Projets/workspace/secu/composer.json)
gitlab.insite.coop is not in the configured gitlab-domains, adding it implicitly as authentication is configured for this domain
Executing command (/media/pierre/Projets/workspace/secu): 'git''branch''-a''--no-color''--no-abbrev''-v'
Reading /home/pierre/.composer/composer.json
Loading config file /home/pierre/.composer/config.json
Loading config file /home/pierre/.composer/auth.json
Loading config file /home/pierre/.composer/composer.json (/home/pierre/.composer/composer.json)
Loading config file /home/pierre/.composer/auth.json
Reading /home/pierre/.composer/auth.json
Reading /media/pierre/Projets/workspace/secu/vendor/composer/installed.json
Reading /home/pierre/.composer/vendor/composer/installed.json
Loading plugin Http\Discovery\Composer\Plugin_composer_tmp0 (from php-http/discovery)
Loading plugin cweagans\Composer\Patches_composer_tmp1 (from cweagans/composer-patches)
Loading plugin GrumPHP\Composer\GrumPHPPlugin_composer_tmp2 (from phpro/grumphp)
Running composer update consolidation/robo
Reading ./composer.lock (/media/pierre/Projets/workspace/secu/composer.lock)
> pre-update-cmd: cweagans\Composer\Patches_composer_tmp1->checkPatches
Gathering patches for root package.
Removing package consolidation/robo so that it can be re-installed and re-patched.
- Removing consolidation/robo (3.0.11)
Executing async command (CWD): rm -rf '/media/pierre/Projets/workspace/secu/vendor/consolidation/robo'
Loading composer repositories with package information
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/packages.json from cache
Downloading https://repo.packagist.org/packages.json if modified
[304] https://repo.packagist.org/packages.json
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-consolidation~robo.json from cache
Downloading https://repo.packagist.org/p2/consolidation/robo.json if modified
Downloading https://repo.packagist.org/p2/psr/http-client-implementation.json
Downloading https://repo.packagist.org/p2/psr/http-factory-implementation.json
[304] https://repo.packagist.org/p2/consolidation/robo.json
[404] https://repo.packagist.org/p2/psr/http-client-implementation.json
[404] https://repo.packagist.org/p2/psr/http-factory-implementation.json
Built pool.
Running pool optimizer.
Pool optimizer completed in 0.014 seconds
Found 168 package versions referenced in your dependency graph. 6 (4%) were optimized away.
Updating dependencies
Generating rules
Resolving dependencies through SAT
Looking at all rules.
Dependency resolution completed in 0.001 seconds
Analyzed 162 packages to resolve dependencies
Analyzed 386 rules to resolve dependencies
Nothing to modify in lock file
Generating rules
Resolving dependencies through SAT
Looking at all rules.
Dependency resolution completed in 0.001 seconds
Writing lock file
Reading ./composer.lock (/media/pierre/Projets/workspace/secu/composer.lock)
42 packages you are using are looking for funding.
Use the `composer fund`command to find out more!> post-update-cmd: Http\Discovery\Composer\Plugin_composer_tmp0->postUpdate
> post-update-cmd: GrumPHP\Composer\GrumPHPPlugin_composer_tmp2->runScheduledTasks
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-clue~stream-filter.json from cache
Downloading https://repo.packagist.org/p2/clue/stream-filter.json if modified
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-composer~semver.json from cache
Downloading https://repo.packagist.org/p2/composer/semver.json if modified
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-consolidation~annotated-command.json from cache
Downloading https://repo.packagist.org/p2/consolidation/annotated-command.json if modified
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-consolidation~config.json from cache
Downloading https://repo.packagist.org/p2/consolidation/config.json if modified
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-consolidation~log.json from cache
Downloading https://repo.packagist.org/p2/consolidation/log.json if modified
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-consolidation~output-formatters.json from cache
Downloading https://repo.packagist.org/p2/consolidation/output-formatters.json if modified
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-consolidation~robo.json from cache
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-consolidation~self-update.json from cache
Downloading https://repo.packagist.org/p2/consolidation/self-update.json if modified
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-cweagans~composer-patches.json from cache
Downloading https://repo.packagist.org/p2/cweagans/composer-patches.json if modified
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-dflydev~dot-access-data.json from cache
Downloading https://repo.packagist.org/p2/dflydev/dot-access-data.json if modified
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-digipolisgent~robo-drush.json from cache
Downloading https://repo.packagist.org/p2/digipolisgent/robo-drush.json if modified
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-grasmash~expander.json from cache
Downloading https://repo.packagist.org/p2/grasmash/expander.json if modified
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-guzzlehttp~guzzle.json from cache
Downloading https://repo.packagist.org/p2/guzzlehttp/guzzle.json if modified
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-guzzlehttp~promises.json from cache
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-guzzlehttp~psr7.json from cache
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-http-interop~http-factory-guzzle.json from cache
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-league~container.json from cache
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-m4tthumphrey~php-gitlab-api.json from cache
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-php-http~cache-plugin.json from cache
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-php-http~client-common.json from cache
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-php-http~discovery.json from cache
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-php-http~guzzle6-adapter.json from cache
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-php-http~httplug.json from cache
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-php-http~message.json from cache
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-php-http~message-factory.json from cache
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-php-http~multipart-stream-builder.json from cache
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-php-http~promise.json from cache
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-psr~cache.json from cache
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-psr~container.json from cache
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-psr~event-dispatcher.json from cache
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-psr~http-client.json from cache
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-psr~http-factory.json from cache
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-psr~http-message.json from cache
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-psr~log.json from cache
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-ralouphie~getallheaders.json from cache
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-symfony~console.json from cache
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-symfony~deprecation-contracts.json from cache
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-symfony~event-dispatcher.json from cache
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-symfony~event-dispatcher-contracts.json from cache
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-symfony~filesystem.json from cache
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-symfony~finder.json from cache
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-symfony~options-resolver.json from cache
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-symfony~polyfill-ctype.json from cache
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-symfony~polyfill-intl-grapheme.json from cache
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-symfony~polyfill-intl-idn.json from cache
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-symfony~polyfill-intl-normalizer.json from cache
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-symfony~polyfill-mbstring.json from cache
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-symfony~polyfill-php72.json from cache
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-symfony~polyfill-php73.json from cache
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-symfony~polyfill-php80.json from cache
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-symfony~process.json from cache
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-symfony~service-contracts.json from cache
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-symfony~string.json from cache
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-symfony~yaml.json from cache
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-amphp~amp.json from cache
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-amphp~byte-stream.json from cache
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-amphp~parallel.json from cache
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-amphp~parallel-functions.json from cache
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-amphp~parser.json from cache
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-amphp~process.json from cache
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-amphp~serialization.json from cache
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-amphp~sync.json from cache
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-doctrine~collections.json from cache
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-doctrine~deprecations.json from cache
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-gitonomy~gitlib.json from cache
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-laravel~serializable-closure.json from cache
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-monolog~monolog.json from cache
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-ondram~ci-detector.json from cache
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-phpro~grumphp.json from cache
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-phpstan~phpstan.json from cache
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-seld~jsonlint.json from cache
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-symfony~config.json from cache
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-symfony~dependency-injection.json from cache
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-symfony~dotenv.json from cache
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-symfony~polyfill-php81.json from cache
Reading /home/pierre/.composer/cache/repo/https---repo.packagist.org/provider-symfony~var-dumper.json from cache
[304] https://repo.packagist.org/p2/clue/stream-filter.json
[304] https://repo.packagist.org/p2/composer/semver.json
[304] https://repo.packagist.org/p2/consolidation/annotated-command.json
Downloading https://repo.packagist.org/p2/guzzlehttp/promises.json if modified
Downloading https://repo.packagist.org/p2/guzzlehttp/psr7.json if modified
Downloading https://repo.packagist.org/p2/http-interop/http-factory-guzzle.json if modified
[304] https://repo.packagist.org/p2/consolidation/config.json
[304] https://repo.packagist.org/p2/consolidation/log.json
[304] https://repo.packagist.org/p2/consolidation/output-formatters.json
[304] https://repo.packagist.org/p2/consolidation/self-update.json
[304] https://repo.packagist.org/p2/cweagans/composer-patches.json
[304] https://repo.packagist.org/p2/dflydev/dot-access-data.json
[304] https://repo.packagist.org/p2/digipolisgent/robo-drush.json
[304] https://repo.packagist.org/p2/grasmash/expander.json
[304] https://repo.packagist.org/p2/guzzlehttp/guzzle.json
Downloading https://repo.packagist.org/p2/league/container.json if modified
Downloading https://repo.packagist.org/p2/m4tthumphrey/php-gitlab-api.json if modified
Downloading https://repo.packagist.org/p2/php-http/cache-plugin.json if modified
Downloading https://repo.packagist.org/p2/php-http/client-common.json if modified
Downloading https://repo.packagist.org/p2/php-http/discovery.json if modified
Downloading https://repo.packagist.org/p2/php-http/guzzle6-adapter.json if modified
Downloading https://repo.packagist.org/p2/php-http/httplug.json if modified
Downloading https://repo.packagist.org/p2/php-http/message.json if modified
Downloading https://repo.packagist.org/p2/php-http/message-factory.json if modified
[304] https://repo.packagist.org/p2/guzzlehttp/promises.json
[304] https://repo.packagist.org/p2/guzzlehttp/psr7.json
[304] https://repo.packagist.org/p2/http-interop/http-factory-guzzle.json
Downloading https://repo.packagist.org/p2/php-http/multipart-stream-builder.json if modified
Downloading https://repo.packagist.org/p2/php-http/promise.json if modified
Downloading https://repo.packagist.org/p2/psr/cache.json if modified
[304] https://repo.packagist.org/p2/league/container.json
[304] https://repo.packagist.org/p2/m4tthumphrey/php-gitlab-api.json
[304] https://repo.packagist.org/p2/php-http/cache-plugin.json
[304] https://repo.packagist.org/p2/php-http/client-common.json
[304] https://repo.packagist.org/p2/php-http/discovery.json
[304] https://repo.packagist.org/p2/php-http/guzzle6-adapter.json
[304] https://repo.packagist.org/p2/php-http/httplug.json
[304] https://repo.packagist.org/p2/php-http/message.json
[304] https://repo.packagist.org/p2/php-http/message-factory.json
Downloading https://repo.packagist.org/p2/psr/container.json if modified
Downloading https://repo.packagist.org/p2/psr/event-dispatcher.json if modified
Downloading https://repo.packagist.org/p2/psr/http-client.json if modified
Downloading https://repo.packagist.org/p2/psr/http-factory.json if modified
Downloading https://repo.packagist.org/p2/psr/http-message.json if modified
Downloading https://repo.packagist.org/p2/psr/log.json if modified
Downloading https://repo.packagist.org/p2/ralouphie/getallheaders.json if modified
Downloading https://repo.packagist.org/p2/symfony/console.json if modified
Downloading https://repo.packagist.org/p2/symfony/deprecation-contracts.json if modified
[304] https://repo.packagist.org/p2/php-http/multipart-stream-builder.json
[304] https://repo.packagist.org/p2/php-http/promise.json
[304] https://repo.packagist.org/p2/psr/cache.json
Downloading https://repo.packagist.org/p2/symfony/event-dispatcher.json if modified
Downloading https://repo.packagist.org/p2/symfony/event-dispatcher-contracts.json if modified
Downloading https://repo.packagist.org/p2/symfony/filesystem.json if modified
[304] https://repo.packagist.org/p2/psr/container.json
[304] https://repo.packagist.org/p2/psr/event-dispatcher.json
[304] https://repo.packagist.org/p2/psr/http-client.json
[304] https://repo.packagist.org/p2/psr/http-factory.json
[304] https://repo.packagist.org/p2/psr/http-message.json
[304] https://repo.packagist.org/p2/psr/log.json
Downloading https://repo.packagist.org/p2/symfony/finder.json if modified
Downloading https://repo.packagist.org/p2/symfony/options-resolver.json if modified
Downloading https://repo.packagist.org/p2/symfony/polyfill-ctype.json if modified
Downloading https://repo.packagist.org/p2/symfony/polyfill-intl-grapheme.json if modified
Downloading https://repo.packagist.org/p2/symfony/polyfill-intl-idn.json if modified
Downloading https://repo.packagist.org/p2/symfony/polyfill-intl-normalizer.json if modified
[304] https://repo.packagist.org/p2/ralouphie/getallheaders.json
[304] https://repo.packagist.org/p2/symfony/console.json
[304] https://repo.packagist.org/p2/symfony/deprecation-contracts.json
Downloading https://repo.packagist.org/p2/symfony/polyfill-mbstring.json if modified
Downloading https://repo.packagist.org/p2/symfony/polyfill-php72.json if modified
Downloading https://repo.packagist.org/p2/symfony/polyfill-php73.json if modified
[304] https://repo.packagist.org/p2/symfony/event-dispatcher.json
[304] https://repo.packagist.org/p2/symfony/event-dispatcher-contracts.json
[304] https://repo.packagist.org/p2/symfony/filesystem.json
[304] https://repo.packagist.org/p2/symfony/finder.json
[304] https://repo.packagist.org/p2/symfony/options-resolver.json
[304] https://repo.packagist.org/p2/symfony/polyfill-ctype.json
[304] https://repo.packagist.org/p2/symfony/polyfill-intl-grapheme.json
[304] https://repo.packagist.org/p2/symfony/polyfill-intl-idn.json
[304] https://repo.packagist.org/p2/symfony/polyfill-intl-normalizer.json
Downloading https://repo.packagist.org/p2/symfony/polyfill-php80.json if modified
Downloading https://repo.packagist.org/p2/symfony/process.json if modified
Downloading https://repo.packagist.org/p2/symfony/service-contracts.json if modified
Downloading https://repo.packagist.org/p2/symfony/string.json if modified
Downloading https://repo.packagist.org/p2/symfony/yaml.json if modified
Downloading https://repo.packagist.org/p2/amphp/amp.json if modified
Downloading https://repo.packagist.org/p2/amphp/byte-stream.json if modified
Downloading https://repo.packagist.org/p2/amphp/parallel.json if modified
Downloading https://repo.packagist.org/p2/amphp/parallel-functions.json if modified
[304] https://repo.packagist.org/p2/symfony/polyfill-mbstring.json
[304] https://repo.packagist.org/p2/symfony/polyfill-php72.json
[304] https://repo.packagist.org/p2/symfony/polyfill-php73.json
Downloading https://repo.packagist.org/p2/amphp/parser.json if modified
Downloading https://repo.packagist.org/p2/amphp/process.json if modified
Downloading https://repo.packagist.org/p2/amphp/serialization.json if modified
[304] https://repo.packagist.org/p2/symfony/polyfill-php80.json
[304] https://repo.packagist.org/p2/symfony/process.json
[304] https://repo.packagist.org/p2/symfony/service-contracts.json
[304] https://repo.packagist.org/p2/symfony/string.json
[304] https://repo.packagist.org/p2/symfony/yaml.json
[304] https://repo.packagist.org/p2/amphp/amp.json
[304] https://repo.packagist.org/p2/amphp/byte-stream.json
Downloading https://repo.packagist.org/p2/amphp/sync.json if modified
Downloading https://repo.packagist.org/p2/doctrine/collections.json if modified
Downloading https://repo.packagist.org/p2/doctrine/deprecations.json if modified
Downloading https://repo.packagist.org/p2/gitonomy/gitlib.json if modified
Downloading https://repo.packagist.org/p2/laravel/serializable-closure.json if modified
Downloading https://repo.packagist.org/p2/monolog/monolog.json if modified
Downloading https://repo.packagist.org/p2/ondram/ci-detector.json if modified
[304] https://repo.packagist.org/p2/amphp/parallel.json
[304] https://repo.packagist.org/p2/amphp/parallel-functions.json
Downloading https://repo.packagist.org/p2/phpro/grumphp.json if modified
Downloading https://repo.packagist.org/p2/phpstan/phpstan.json if modified
[304] https://repo.packagist.org/p2/amphp/parser.json
[304] https://repo.packagist.org/p2/amphp/process.json
[304] https://repo.packagist.org/p2/amphp/serialization.json
Downloading https://repo.packagist.org/p2/seld/jsonlint.json if modified
Downloading https://repo.packagist.org/p2/symfony/config.json if modified
Downloading https://repo.packagist.org/p2/symfony/dependency-injection.json if modified
[304] https://repo.packagist.org/p2/amphp/sync.json
[304] https://repo.packagist.org/p2/doctrine/collections.json
[304] https://repo.packagist.org/p2/doctrine/deprecations.json
[304] https://repo.packagist.org/p2/gitonomy/gitlib.json
[304] https://repo.packagist.org/p2/laravel/serializable-closure.json
[304] https://repo.packagist.org/p2/monolog/monolog.json
[304] https://repo.packagist.org/p2/ondram/ci-detector.json
Downloading https://repo.packagist.org/p2/symfony/dotenv.json if modified
Downloading https://repo.packagist.org/p2/symfony/polyfill-php81.json if modified
Downloading https://repo.packagist.org/p2/symfony/var-dumper.json if modified
[304] https://repo.packagist.org/p2/phpro/grumphp.json
[304] https://repo.packagist.org/p2/phpstan/phpstan.json
[304] https://repo.packagist.org/p2/seld/jsonlint.json
[304] https://repo.packagist.org/p2/symfony/config.json
[304] https://repo.packagist.org/p2/symfony/dependency-injection.json
[304] https://repo.packagist.org/p2/symfony/dotenv.json
[304] https://repo.packagist.org/p2/symfony/polyfill-php81.json
[304] https://repo.packagist.org/p2/symfony/var-dumper.json
No security vulnerability advisories found
The text was updated successfully, but these errors were encountered:
prudloff-insite
added
the
bug
Inconsistencies or issues which will cause a problem for users or implementors.
label
Mar 29, 2023
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Verification
composer self-update
)composer update cweagans/composer-patches
)What were you trying to do (and why)?
I am running
composer require consolidation/robo:^3.0 --no-install
after having added patches for in ourcomposer.json
file.Our broader use case is that we have a script that adjust patches (with composer-patches-cli) and requirements (with
composer require --no-install
) without actually installing anything.And then we do a final
composer install
(without--no-install
) when we are sure the patches are actually compatible withe the required versions.I am using composer-patches 1.7.3 with Composer 2.5.5.
What happened? What did you expect to happen?
This package was uninstalled (and then not reinstalled because of
--no-install
):IMHO, when using
--no-install
, the intent is to only change the lock file and not the vendor folder.So composer-patches should not delete any folder when using this option.
Contents of
composer.json
Contents of
patches.lock.json
We don't have this file.
Full output of
composer patches-doctor
Command "patches-doctor" is not defined.
Full output of relevant Composer command with the
-vvv
flag addedThe text was updated successfully, but these errors were encountered: