361 Commits (921a97457dffbb2e969b54abb13deaa64238c95b)

Author SHA1 Message Date
Jordi Boggiano 411dd51f20 Merge branch 'master' into 2.0 6 years ago
Jordi Boggiano 66d84f60c6 Fix pattern matching for remove wildcard, refs #7715 6 years ago
Jordi Boggiano 2e0f31106a Merge remote-tracking branch 'origin/master' into 2.0 6 years ago
Mathias Brodala 38a34159ef Dispatch "post-package-update" event after writing lock (#7766)
Fixes #7765
6 years ago
Nils Adermann f11c357325 Restore output of number of packages analyzed in solver 6 years ago
Nils Adermann c0f19f6c57 Move construction of pool from repo set into a pool builder
Pool construction depends on the install request now, so only required
packages get loaded, add some structure for future asynchronously
loading composer repositories
6 years ago
Nils Adermann 4c7d271a36 Remove deprecated function 6 years ago
Nils Adermann 1747df97e7 Create pool in show command to use policy, remove todos 6 years ago
Nils Adermann b6e2d60c9e Create the pool in the installer before giving it to the solver 6 years ago
Nils Adermann 1228bcdffc Internalize pool creation in repository set, store root aliases in set
The pool is still exposed too early in a few places which will require
further refactoring
6 years ago
Nils Adermann 6ef65e5319 Add a new RepositorySet class and restrict pool usage to the solver
Breaking change for the plugin interface so bumping the version of
composer-plugin-api to 2.0.0

First step for a refactoring of the package metadata loading mechanism
6 years ago
Jordi Boggiano ff59bbdab0 CS fixer 6 years ago
Jordi Boggiano d5a9d86ee4 Undo reformatting from #7441 6 years ago
Vladimir Reznichenko cd39efc72c New finding by Static Code Analysis 6 years ago
Gabriel Caruso 7d9f8e2247
Improvements
Small improvements, such as remove unused imports, unecessaries casts, parentheses, etc.
6 years ago
Jeroen Ketelaar 6ff74d3ed1
[BUGFIX] Fixed typo in comment 6 years ago
Jordi Boggiano 43e33be79f Fix regression in 036fc44c25, fixes #7268 6 years ago
Jordi Boggiano 4bddcd7124 Add support for gitlab.com URL replacement, fixes #7160 6 years ago
Jordi Boggiano c8aea719b1 CS fixes 7 years ago
Jordi Boggiano 0b3bc4ccb9 Merge branch '1.5' 7 years ago
Jordi Boggiano 4c4f516ea2 Make sure binaries are recreated before POST-hooks fire 7 years ago
Jordi Boggiano 17ec4c17b0 Set COMPOSER_DEV_MODE for all events and not just POST hooks 7 years ago
Jordi Boggiano 9a99e86ebc Rename NonRoot to Transitive, refs #6674 7 years ago
Matthew Grasmick 776977f597 Fixing method name. 7 years ago
Matthew Grasmick 11db6f90c2 Cleaning up comments 7 years ago
Matthew Grasmick 3826e51caa Renaming some methods and props. 7 years ago
Matthew Grasmick 2e4afaa941 Not skipping root packages. 7 years ago
Matthew Grasmick 6db92eae92 Trying to fix update behavior. 7 years ago
Matthew Grasmick ad465aa769 Updating var names. 7 years ago
Matthew Grasmick f29e98cdf9 Fixes #6661: Allow a given package and its dependencies (including siblings) to be updated. 7 years ago
Abyr Valg 37addea447 Make composer see installed dev packages 7 years ago
Jordi Boggiano acdb7638a8 Warn about require-dev not being ignored when an update --no-dev fails to resolve dependencies, fixes #6575 7 years ago
Jordi Boggiano 23ab57c311 Merge branch '1.4' 7 years ago
Jordi Boggiano 9afbddab6b Only update dist references when one existed already, fixes #6363 7 years ago
Jordi Boggiano a3f2b7bb92 Tweak variable name 7 years ago
Nils Adermann b1110df873 Merge pull request #6371 from balbuf/balbuf/move-all-plugins
Move all plugins and their dependencies to the front
7 years ago
Stephen Beemsterboer 06bb6c7530 Move plugins with no dependencies to the front, followed by plugins with their dependencies 7 years ago
Stephen Beemsterboer 4cda7e0a44 Take into account a package's "provide" and "replace" fields
A package can satisfy a require by its "provide" or "replace" fields,
so this leverages the getNames() method which returns these alternate
names as well.
7 years ago
Jordi Boggiano 954300032b Avoid useless warnings when updating/removing stuff that is not installed 7 years ago
Stephen da6efc9b02 Move all plugins and their dependencies to the front 7 years ago
Jordi Boggiano 122e422682 CS fixes 7 years ago
Jordi Boggiano 6afc844339 Do not warn of mirrors not existing 7 years ago
Yanick Witschi 0ea93df252 Fixed no lock file was written when setting writeLock to true and executeOperations to false 8 years ago
Jordi Boggiano b2efcb1078 Update dist/source mirrors as well when updating a package's URL 8 years ago
Jordi Boggiano 4d77ffcb4a Merge branch 'simplify-output' 8 years ago
Jordi Boggiano 4d082f77b8 Simplify composer output to take less lines 8 years ago
Jordi Boggiano 1dcb2b5758 Merge remote-tracking branch 'nicolas-grekas/apcu' 8 years ago
Jordi Boggiano 3c1300bcaf Allow disabling execution of operations and lock writing independently from dryRun, closes #5787 8 years ago
Nicolas Grekas 6d4e60b991 Add --apcu-autoloader option to enable APCu caching of found/not-found classes 8 years ago
Jordi Boggiano 8ad6385ffb Merge remote-tracking branch 'fabpot/more-debug' 8 years ago
Jordi Boggiano 027de2960b Merge pull request #5794 from andrewjt71/issue-5769
Issue 5769 dev mode varaible
8 years ago
Fabien Potencier 5d742fd38b Fix POST_DEPENDENCIES_SOLVING trigger 8 years ago
Fabien Potencier 57ec0d1815 added more information in the output 8 years ago
Andrew Taylor ce6a3c0dd7 Issue 5769 dev mode varaible 8 years ago
Jordi Boggiano ed78253c58 Only update reference if there is actually a reference, fixes #5609 8 years ago
Jordi Boggiano edddae42db Revert default change from #5603 8 years ago
Jordi Boggiano 59596ff012 Make sure we do not overwrite binaries but only re-create missing ones, refs #5127 8 years ago
Jordi Boggiano 88d5b74c74 Merge remote-tracking branch 'j0k3r/re-install-binaries' 8 years ago
Jordi Boggiano 08ef916bed Change default value 8 years ago
Jesse Donat cbfd81dc99 Adds flag to allow suggestions to be skipped 8 years ago
Jeremy Benoist 4f7fbbc879 Introduce InstallerBinaryInterface
This is an interface for Installer which should support installing binary.
ATM there is only the `LibraryInstaller`.

It eases the check for supported method when installing binaries for all packages
8 years ago
Jordi Boggiano 8f0324f51e Fix platform dev reqs being required even in --no-dev installs 8 years ago
Jordi Boggiano 13f4d2afd3 Fix #refs handling, fixes #5291 8 years ago
Jordi Boggiano ac75680b1e Make sure the abandoned state is copied over even if the packages are installed already 8 years ago
Jordi Boggiano 4de17cef6b Always resolve dev packages even when doing an update with --no-dev, fixes #5016 8 years ago
Jordi Boggiano 11daebcb3a Merge pull request #5210 from Seldaek/fix_partial_updates_from_dirty_state
Fix partial updates from a dirty state and apply exactly the locked state
8 years ago
Jordi Boggiano c7c8335b8b Fix updating of dev refs if they are not whitelisted 8 years ago
Jordi Boggiano de5bfcb4c5 Fix partial updates from a dirty state and apply exactly the locked state, fixes #3468 8 years ago
Jordi Boggiano feda2a283f Improve error reporting some more, fixes #4310 8 years ago
Jordi Boggiano 6d20146d08 Normalize URL updates to point to the correct reference and always update URLs consistently, fixes #3849, fixes #4126 8 years ago
Jordi Boggiano 3b0a1c6f70 Run cs fixer and update config to latest master 8 years ago
Jeremy Benoist e9fc0e6548 Re-install binaries on update/install
Binaries are re-installed after an update/install (ie: removed and then installed)
8 years ago
Jordi Boggiano 747af10483 Clarify required by root message, refs #5099 8 years ago
Niels Keurentjes 8e78ce9a43 Add extra logging before and after SAT solving 8 years ago
Jordi Boggiano 55b0ed8c8b Change installs into updates if there is no lock file, simplify some code, fixes #5034 8 years ago
Rob Bast 8a19e8bd17 fix follow up issue to #4795 8 years ago
Jordi Boggiano 8344c6d3d7 Merge pull request #4993 from hkdobrev/create-project-suggests
List project suggestions in create-project command
8 years ago
Haralan Dobrev cc389d6c1a List project suggestions in create-project command
Resolves https://github.com/composer/composer/issues/2752
8 years ago
Jordi Boggiano 02ed27b16b Add outdated lock and failure to parse deps to quiet output, fixes #4393 8 years ago
Jordi Boggiano c2d78e5ce0 Restore GC and add comments to clarify why we turn it off, fixes #3488, closes #3503 8 years ago
Rob Bast a245c4618b php-cs-fixer 8 years ago
Niels Keurentjes 72a3563f1e Removed some 3 year old backward compatibility code. 9 years ago
Rob Bast be5719eb53 Merge remote-tracking branch 'upstream/master' into repro-4795
* upstream/master: (98 commits)
  Fallback to zlib extension to unpack gzip on non Windows systems
  Zip extension does not provide zlib support
  Unified all Windows tests throughout the code.
  Added Platform utility and unit test for it.
  Remove warnings for non-writable dirs, refs #3588
  [doc] add -H flag to sudo commands
  use full json content to determine reference, closes #4859
  typos
  Make sure COMPOSER_AUTH is also loaded in Config, refs #4546
  Use proper defaults for IO authentications
  Add verbosity input support to IOInterface
  Update SolverTest.php
  Update broken-deps-do-not-replace.test
  Update SolverProblemsException.php
  Cleaned up check+conversion that was no longer required.
  Cleaner notation for expected exceptions in fixtures.
  Introduced more generic, less invasive way to test for exceptions in fixtures, more in line with how phpunit works.
  Included unit test for circular root dependencies.
  Expanded InstallerTest to support expecting Exceptions by supplying "EXCEPTION" as "--EXPECT--"
  Clarified error message and added braces.
  ...
9 years ago
Rob Bast 0e584aa980 resolve issue 9 years ago
Jordi Boggiano 49d7d65933 Add verbosity input support to IOInterface 9 years ago
Artur Eshenbrener cf593351ef Bypass `runScripts` parameter to autoload dumper in `Installer:run()` method 9 years ago
Jordi Boggiano 4f934d9282 Avoid sending install notifications in dry-run mode 9 years ago
Boris Momčilović b05b52ff7e InstallationManager: notifyInstalls: append authorization header for repository 9 years ago
Jordi Boggiano ce08582671 Fix CS 9 years ago
Rob Bast a1427d7fd6 replace all occurences in code and comments 9 years ago
Jordi Boggiano 8913ac2fff Merge pull request #4362 from bd808/classmap-authoritative-cli
Add cli argument for classmap-authoritative
9 years ago
Matthias Pigulla 3c08318ea0 Add test 9 years ago
Matthias Pigulla 2db52ebeba Also update source type and reference when changing URLs 9 years ago
Jordi Boggiano 6508dc4322 Allow packages with only a dist ref to be force updated when the dist ref changes 9 years ago
Bryan Davis cc2b9cfca5 Add cli argument for classmap-authoritative
Add a `--classmap-authoritative (-a)` argument to `composer install`,
`composer update` and `composer dumpautoload`. This enables the same
authoritative classmap behavior as the existing `classmap-authoritative`
configuration setting. The option can be used for creating highly
optimized production autoloaders via `composer install --no-dev
--optimize-autoloader --classmap-authoritative` for projects where
multiple autoloaders are present and unnecessary `file_exists` calls
introduce performance issues.

Closes #4361
9 years ago
DSanchez abfe54f334 Add missing PHPDoc
Conflicts:
	src/Composer/Installer.php
9 years ago
DSanchez 6ce9d2e152 Remove useless variable, method return void! 9 years ago
Jordi Boggiano a979cc78ed Suppress warnings on touch() failures of the vendor dir, refs #4070 9 years ago
Nils Adermann 5b1b96b61e Output the number of rules used in the solver for profiling purposes 9 years ago
Nils Adermann 07e1d227c9 Output the size of the pool after dependency resolution for users 9 years ago