422 Commits (8c1355f448ec8087bf7ed468208f8d63794de909)

Author SHA1 Message Date
Nils Adermann fdde9e5933 On composer install we fix locked packages, but consider them locked for error reporting 4 years ago
Nils Adermann 74fb313c39 Separate locked packages from fixed packages in request
Locked packages are basically like removable fixed packages, so we still
only load one version, but we do not require their installation unless
something the user needs requires their use. So they automatically get
removed if they are no longer needed on any update.
4 years ago
Jordi Boggiano badd1f2146
Remove silly default values of false on Installer class, refs #9204 4 years ago
Jordi Boggiano 24abd233ec
Merge branch 'master' into code-improvements 4 years ago
Simon Berger 2223b93efd Several small code improvements 4 years ago
Simon Berger 002fd39bc6 Removed passing of parameters with default value 4 years ago
Simon Berger cda6e8bea6 Removed unnecessary property initialization or declaration 4 years ago
Lars Strojny 0b6abf3b96
APCu prefix as a separate option 4 years ago
Lars Strojny dafd225a35
Allow to pass a string for apcu-autoloader to set the APCu prefix 4 years ago
Yanick Witschi bd6f62c535 Consistently reuse the new PlatformRepository::isPlatformPackage() method 4 years ago
Jordi Boggiano 6186c7f36f
Fix handling of root aliases in partial updates, fixes #9110 4 years ago
Markus Staab fdff3aeaba
emit github action formatted error messages (#9120) 4 years ago
Jordi Boggiano 826db3db5e
Used locked repo only if it is present 4 years ago
Jordi Boggiano 085fe4e7e5
Add --no-progress support and a few more fixes 4 years ago
Jordi Boggiano 9d5051faac
Merge branch '1.10' 4 years ago
Jordi Boggiano 6630519882
Fix #8298 for COMPOSER_DEV_MODE 4 years ago
Jordi Boggiano e85da00dff
Add a way to ignore only some packages in --ignore-platform-reqs, and make the platform check ignore those packages which were ignored as requirements, fixes #8861 4 years ago
PirxDanford 3a7ea25289
Introduce --no-install option for the update, require and remove commands
Closes #8669, fixes #8551

Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
4 years ago
Jordi Boggiano 9b8694bc0b
Show suggestions from root package in suggest, and lists them in count only on first install of a project, fixes #8805 4 years ago
Jordi Boggiano 1000d49145
Fix error reporting when the root version changed since the last update, and does not match circular deps in lock file anymore 4 years ago
Jordi Boggiano 80a7c40c76
Shorten long lists of similar versions in problem output, fixes #8743 4 years ago
Jordi Boggiano a695f686c3
Add some docblocks and make sure RepositorySet/PoolBuilder accept regular rootAliases and not pre-normalized ones 5 years ago
Jordi Boggiano 80505e745e
Fix phpstan issues 5 years ago
Nils Adermann f7b5cbd1fc Lock file should not contain new aliases for packages which were not updated 5 years ago
Nils Adermann c270d3cfa6 PoolBuilder: make io non-nullable, NullIO can be used instead 5 years ago
Nils Adermann 9fb09049ff Rename and document constants for partial update behavior 5 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.
5 years ago
Nils Adermann da84763f03 Move partial update handling to pool builder 5 years ago
Jordi Boggiano e15f7d6bb7
Merge branch 'master' into 2.0 5 years ago
Aaron Johnson b41e768e1f
Put backticks around command for readability.
Helps to promote the command to discern it from the sentence. :)
5 years ago
Nils Adermann ee8df484c4 Separate createPool and createPoolWithAllPackages, fix test description 5 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
5 years ago
Nils Adermann 1f467046d7 Implement getProviders on reposet for all repo types and add replacers
This way errors during require dev extraction make more sense
5 years ago
Nils Adermann ddb1e79bef Handle dev extraction exit codes instead of completing broken lock with errors 5 years ago
Jordi Boggiano c033644f8b
Present lock changes alphabetically, with uninstalls first, then all install/updates mixed 5 years ago
Jordi Boggiano d63eb8179e
Merge branch 'master' into 2.0 5 years ago
Jordi Boggiano c6969756e8
Make sure $_SERVER is updated when putenv updates environment variables, fixes #8298 5 years ago
Jordi Boggiano bc002ae1fb
Merge branch 'master' into 2.0 5 years ago
Jordi Boggiano 4ebc318510
Fix 5.3/5.4 builds 5 years ago
Nils Adermann d665ea7ea9
After update and install commands display how many packages want funding 5 years ago
Jordi Boggiano 2d8a8ed7e3
Add InstalledRepository to clean up some concepts and usages, remove BaseRepository 5 years ago
Jordi Boggiano f35cd8948a
Minor refactoring of RootPackageRepo 5 years ago
Jordi Boggiano 44d1e15294
Simplify suggester output when updating, refactor suggest command to reuse SuggestedPackagesReporter and make smarter defaults, fixes #6267 5 years ago
Jordi Boggiano d52ce3c37f
Replace pre/post-dependencies-solving by a pre-operations-exec event happening only on install from lock 5 years ago
Jordi Boggiano 835a91532d
Add PRE_POOL_CREATE event, fixes #8348 5 years ago
Jordi Boggiano 71855e6430
Restore PRE/POST_DEPENDENCY_SOLVING events 5 years ago
Jordi Boggiano 45ecbae8f5
Merge branch 'master' into 2.0 5 years ago
Ion Bazan 2ff73a8797 respect `notify-on-install` option 5 years ago
Jordi Boggiano a1fe64152d
Minor Installer cleanups 5 years ago
Jordi Boggiano 2f4ea3a463
Fix show command, refactor RepositorySet constructor 5 years ago