103 Commits (419567ba6db91e8cf15f78ba0690d5e4b6668c0e)

Author SHA1 Message Date
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 a0c5d519e9
Restore --no-suggest but mark it deprecated, remove --no-custom-installers and mark --dev also deprecated with stronger wording 4 years ago
Jordi Boggiano ee09b75be3
Clean ups 4 years ago
Renan c4a3e912a1
Remove duplicated `dry-run` option 4 years ago
Jordi Boggiano 51c48b1519
Merge pull request #8729 from naderman/t/partial-update-always-update-replace
Give a clearer error message explaining how to update a conflicting locked dependency
4 years ago
Jordi Boggiano 4e7ff690c6
Revert lock file as well when a require command operation failed to complete 4 years ago
Nils Adermann 1b55b466fb require: Add with-dependencies and with-all-dependencies as alternative option names 4 years ago
Nils Adermann 9fb09049ff Rename and document constants for partial update behavior 4 years ago
Nils Adermann 392d0abd21 Rename test files and standardize on allow list rather than whitelist 4 years ago
Jordi Boggiano 6679dde713
Merge pull request #8693 from enumag/patch-2
Add --dry-run to composer require
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 44d1e15294
Simplify suggester output when updating, refactor suggest command to reuse SuggestedPackagesReporter and make smarter defaults, fixes #6267 4 years ago
Jordi Boggiano d14d411fa4
Add --dry-run to require and remove commands, fixes #7793 4 years ago
Jordi Boggiano 173b96de2d
Make sure the first require does not fail due to a missing lock file 4 years ago
Jordi Boggiano 257d2ce889
Avoid setting the update whitelist in require command on newly created files and when the lock file is disabled 5 years ago
Jordi Boggiano 0ea06de286
Merge branch 'master' into 2.0 5 years ago
Jordi Boggiano 6a7f8ac335
Merge branch '1.9' 5 years ago
Jordi Boggiano af86ca1fb3
Output a hint that maybe you are not in the right directory, fixes #8404 5 years ago
Jordi Boggiano bc2a1d762a
Merge branch 'master' into 2.0 5 years ago
Jordi Boggiano eea4098f98
Merge branch '1.9' 5 years ago
Jordi Boggiano 4fc6479837
Fix require command to allow working on network mounts, fixes #8231 5 years ago
Nikita Konstantinov e3b6c67a44 Provide `--fixed` option for the `require` command, fixes #8303 5 years ago
Jordi Boggiano 6c4357a7ed
Merge branch 'master' into 2.0 5 years ago
Jordi Boggiano 1a391b572c
Prevent require command from allowing a package to require itself, fixes #8247 5 years ago
Jordi Boggiano 33759d02c4
Fix require command to allow working on network mounts, fixes #8231 5 years ago
Nils Adermann d2fa1e1319 Merge branch 'master' into 2.0
* master: (48 commits)
  SVN: hide passwords for debug output
  Free $solver asap
  fixes #8179
  [minor] Fixed a typo in the CHANGELOG.md.
  Update deps
  Update changelog
  Revert "Allow overriding self-update target file with envvar COMPOSER_SELF_UPDATE_TARGET" Revert "Add docs for COMPOSER_SELF_UPDATE_TARGET, refs #8151"
  Add docs for COMPOSER_SELF_UPDATE_TARGET, refs #8151
  Fix display of HHVM warning appearing when HHVM is not in use, fixes #8138
  Read classmap-authoritative and apcu-autoloader from project config when installing via create-project, fixes #8155
  Use possessive quantifiers
  Update xdebug-handler to 1.3.3
  fixes #8159
  Allow overriding self-update target file with envvar COMPOSER_SELF_UPDATE_TARGET
  flag should come before script name
  use full command name, not abbreviated/alias
  modify text
  Document the alternatives to disable the default script timeout
  Anchor pattern
  Fix URL resolution for Composer repositories
  ...
5 years ago
Jordi Boggiano 17810b2621
Revert composer.json changes if update process throws, fixes #8062 5 years ago
Jordi Boggiano 0317199507
Merge branch 'master' into 2.0 5 years ago
Markus Staab c876613d5c Added "Read more at" links to all commands (#8019) 5 years ago
Nils Adermann 287419f6a0 Merge branch 'master' into 2.0
* master:
  Follow up to #7946 test: add solver flag to assert path execution
  Fix tests
  Make sure config command output is also output on --quiet so that warnings can be hidden, fixes #7963
  Recognize composer-plugin-api as a platform package, fixes #7951
  Quote wildcards to avoid issues in some shells, fixes #7960
  Avoid dumping null values for dist reference/shasum and source reference, fixes #7955
  Soften hard exit after revert of composer file
  Make unixy proxy code POSIX compatible
  Update aliases.md
  Same but for Problem.php
  Better error message for present but incompatible versions
  Fix inconsistent casing
  Don't do (new Foo())->bar() - not 5.3-compatible
  Support identifying the HHVM version when not running with HHVM
5 years ago
Michael Telgmann eee98018f7 Soften hard exit after revert of composer file 5 years ago
Jordi Boggiano 549ccd8f79 Remote outputProgress concept from downloaders as it does not make sense when things happen in parallel, refs #7901 6 years ago
Jordi Boggiano b3cbfea36e Merge branch '1.7' 6 years ago
Jordi Boggiano acdf8f83f1 Bypass version check for explicitly versioned packages in require command when --no-update is given, fixes #7800 6 years ago
Pierre du Plessis d65e1c0112
Revert composer.json changes when require process stops 6 years ago
Jordi Boggiano ff59bbdab0 CS fixer 6 years ago
Jordi Boggiano 3e1b0c88d7 Merge branch '1.5' 7 years ago
Jordi Boggiano 00f6c0a44a Fix issue when requiring multiple packages once without and once with explicit version, fixes #6859 7 years ago
Brett Santore 449ecf098d clarify optionality of package in require command 7 years ago
Jordi Boggiano 0b3bc4ccb9 Merge branch '1.5' 7 years ago
Jordi Boggiano b4df2c9517 Avoid reverting the composer.json in case of a composer require/remove failure that is unrelated to the Solver
Fixes #6821 and adds a different fix to #3464 which is getting reverted
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 2e9e7ddd99 Updating docs. 7 years ago
Matthew Grasmick 3826e51caa Renaming some methods and props. 7 years ago
Matthew Grasmick 0e192ced69 Adding `update-with-all-dependencies` option. 7 years ago
Matthew Grasmick f29e98cdf9 Fixes #6661: Allow a given package and its dependencies (including siblings) to be updated. 7 years ago
Graham Daniels a9c0134378 make use of variable 7 years ago
Jordi Boggiano 586f4bac87 Make use of prefer-stable/minimum-stability when picking versions in require command, fixes #6219 7 years ago