9195 Commits (1b55b466fb79ce5dd01852d71a942abcf487e5f9)
 

Author SHA1 Message Date
Nils Adermann 1b55b466fb require: Add with-dependencies and with-all-dependencies as alternative option names 4 years ago
Jordi Boggiano 379baa1560
Merge pull request #8717 from naderman/t/pool-builder-allow-list
Move processing of partial update argument list into the pool builder
4 years ago
Nils Adermann f7b5cbd1fc Lock file should not contain new aliases for packages which were not updated 4 years ago
Nils Adermann 5ad93959cf PoolBuilder: On partial update of a new dep with mutual replace, unfix replacer
Test also verifies provider does not get uninstalled in partial update
for another package name
4 years ago
Nils Adermann 613450e58a PoolBuilder: properly clean up alias packages when unfixing packages
Prevent aliases to be duplicated: no need to apply root aliases from
composer.json on packages currently locked, they should have their
aliases in the lock file, otherwise request an update.
4 years ago
Nils Adermann 2dfbf3692a PoolBuilder: Remove null default for io 4 years ago
Nils Adermann 14000e7575 PoolBuilder: Ensure alias references get removed when unfixing a locked package
Use the last key + 1 for an index instead of count, since we unset elements somtimes
4 years ago
Nils Adermann c270d3cfa6 PoolBuilder: make io non-nullable, NullIO can be used instead 4 years ago
Nils Adermann 71c3c63b54 Remove unused variable assignment 4 years ago
Nils Adermann 9fb09049ff Rename and document constants for partial update behavior 4 years ago
Jordi Boggiano 800491175b
Avoid failing cleanup when a package gets uninstalled 4 years ago
Jordi Boggiano 6e45a53e76
Add support for relative paths in handling of install-path for the installed.json 4 years ago
Jordi Boggiano 1b1d59ee6c
Make FileDownloader always download file first in vendor-dir/composer/$tmp instead of next to install path to avoid issues with custom installers not being loaded when downloading on first install, and use cleanup method properly 4 years ago
Jordi Boggiano 918768fc54
Make sure we get a temporary dir which is unique 4 years ago
Jordi Boggiano 73251691a0
Avoid emptying the directory before extracting an archive into it, check that it is empty instead 4 years ago
Nils Adermann fc40fefa6f Make sure nameConstraints is always set when loading a name 4 years ago
Nils Adermann ef42d323b1 Test: partial update adding a new dep on a locked package should mark it for update 4 years ago
Nils Adermann 443553423b Mark replaced packages for update when using --with-dependencies
This is necessary to allow the requiring of new packages which replace
packages currently locked without requiring explicitly listing them as
an argument, so simplifies the composer require command
4 years ago
Nils Adermann 17b50157e4 Test: composer update new/plg --with-dependencies updates locked transitive deps 4 years ago
Nils Adermann 392d0abd21 Rename test files and standardize on allow list rather than whitelist 4 years ago
Nils Adermann 01fe92905a The update allow list is now generated while building the pool
This reduces code complexity while making partial updates more
predictable. This also allows composer require to successfully run a
partial update for a new package with transitive dependency updates.
4 years ago
Nils Adermann da84763f03 Move partial update handling to pool builder 4 years ago
Jordi Boggiano 6679dde713
Merge pull request #8693 from enumag/patch-2
Add --dry-run to composer require
4 years ago
Jordi Boggiano dc608e2eac
Merge pull request #8702 from GrahamCampbell/patch-1
Fixed up tests
4 years ago
Graham Campbell fd63588dce
Fixed up tests 4 years ago
Jáchym Toušek 3bf46a77f9
Update RequireCommand.php 4 years ago
Jáchym Toušek bbb781b1ed
Add --dry-run to composer require 4 years ago
Jordi Boggiano 7a05286f55
Fix build 4 years ago
Jordi Boggiano cbdf74eb34
Merge remote-tracking branch 'naderman/optimize-fixed-pkg-loading' into 2.0 4 years ago
Jordi Boggiano cf5513f28d
Fix syntax error 4 years ago
Jordi Boggiano 0d2c2c044a
Avoid skipping feature branch detection if no branch-alias is defined at all 4 years ago
Jordi Boggiano 70f23e42f3
Fix tests 4 years ago
Jordi Boggiano c2d0fed06b
Tweak lock repo name 4 years ago
Jordi Boggiano 3a9b786400
Bring suggest output in line with the rest of update/install output 4 years ago
Jordi Boggiano e15f7d6bb7
Merge branch 'master' into 2.0 4 years ago
Jordi Boggiano 12b32707fa
Merge pull request #8688 from aejnsn/patch-1
Adds backticks around `composer fund` to improve readability.
4 years ago
Aaron Johnson 48b1b901d9
Merge pull request #1 from aejnsn/patch-2
Add backticks to test.
4 years ago
Aaron Johnson 33479f00ab
Add backticks to test. 4 years ago
Aaron Johnson b41e768e1f
Put backticks around command for readability.
Helps to promote the command to discern it from the sentence. :)
4 years ago
Nils Adermann 8a6382d78d Remove unnecessary TODOs and skip EmptyConstraint like null 4 years ago
Nils Adermann bbdbb3517b PoolBuilder: Drop name constraints loop, already set earlier in same code 4 years ago
Nils Adermann 59bc957e76 Simplify loading of fixed and root require packages in pool builder
additionally mark all packages replaced by fixed packages as loaded as
there is no need to load those names at all, since the fixed package
will provide them
4 years ago
Jordi Boggiano d58653627a Optimize loading of deps from fixed packages 4 years ago
Jordi Boggiano 82e2a679bf Add TODO note 4 years ago
Jordi Boggiano 08cee4c3e9
Implement getProviders equally on all repos 4 years ago
Jordi Boggiano 8a83d5cc35
Fix create-project command 4 years ago
Jordi Boggiano d09daa8d5a
Merge pull request #8684 from naderman/dev-require-errors
Handle dev extraction exit codes instead of completing broken lock with errors
4 years ago
Nils Adermann ee8df484c4 Separate createPool and createPoolWithAllPackages, fix test description 4 years ago
Nils Adermann 3ec59204fc Update test: require-dev is now allowed to satisfy providers from require 4 years ago
Nils Adermann 281d8930ff For dev extraction skip pool building, we already have a working package set
Also reduce getProviders back to just providers, and add some todos
4 years ago