Jordi Boggiano
085fe4e7e5
Add --no-progress support and a few more fixes
4 years ago
Jordi Boggiano
ccea1b95a8
Fix pretty constraint for --with overrides
4 years ago
Jordi Boggiano
7507b87fb3
Remove stray var_dump
4 years ago
Jordi Boggiano
c8efb50d39
Change the single requirement ignore from --ignore-platform-reqs=xx to --ignore-platform-req=xx to avoid BC issues
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
Jordi Boggiano
7f308d986e
Add --with to update command to allow downgrading to a specific version/applying custom temporary constraints, fixes #8756
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
a0c5d519e9
Restore --no-suggest but mark it deprecated, remove --no-custom-installers and mark --dev also deprecated with stronger wording
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
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
Jordi Boggiano
44d1e15294
Simplify suggester output when updating, refactor suggest command to reuse SuggestedPackagesReporter and make smarter defaults, fixes #6267
4 years ago
Nils Adermann
6925005ac9
Implement update mirrors/nothing/lock as its own installer mode
...
These special commands no longer (ab)use the partial update mechanism
but rather create a special install request for all current lock file
contents and later override any modified code references to the
originals. This leads to up to date remote metadata but no other
changes.
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
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
ff59bbdab0
CS fixer
6 years ago
refael iliaguyev
2f347e1347
add alias `u` to the update command
6 years ago
Jordi Boggiano
9a99e86ebc
Rename NonRoot to Transitive, refs #6674
7 years ago
Jordi Boggiano
9df22654c3
Merge remote-tracking branch 'grasmash/issue-6661-whitelist-all-deps'
7 years ago
Matthew Grasmick
776977f597
Fixing method name.
7 years ago
Vladimir Reznichenko
c8615358cb
SCA with PHP Inspections (EA Extended)
7 years ago
Matthew Grasmick
3826e51caa
Renaming some methods and props.
7 years ago
Matthew Grasmick
f29e98cdf9
Fixes #6661 : Allow a given package and its dependencies (including siblings) to be updated.
7 years ago
Jordi Boggiano
69ecb2403e
Add upgrade alias to update, fixes #6649
7 years ago
Nicolas Grekas
6d4e60b991
Add --apcu-autoloader option to enable APCu caching of found/not-found classes
8 years ago
Fabien Potencier
69740bbbee
Refactor some common logic in Command classes
8 years ago
Jesse Donat
b108ed9484
Adds --no-suggest to UpdateCommand
8 years ago
Jordi Boggiano
4319435154
Make sure the --no-plugin is documented as available everywhere and not redefined
8 years ago
Jordi Boggiano
04a1085d47
Rename new flag to --root-reqs, refs #4938
8 years ago
Jordi Boggiano
f039407420
Merge remote-tracking branch 'davidbarratt/issue/4729'
8 years ago
David Barratt
df8675f6c3
Fix variable name.
8 years ago
David Barratt
93b246e681
Use single quotes insted of double and fix typo
8 years ago
David Barratt
63cb357a6e
Clean up coding standards
8 years ago
David Barratt
28599b22f6
Add the --root-require option to the update command
8 years ago
Niels Keurentjes
692a3ed300
Renamed Composer\Console\Command to BaseCommand for consistency with other abstract base classes.
8 years ago
aude
0a662a7e42
Remove unused import in UpdateCommand
9 years ago
Jordi Boggiano
633e9f91a1
Small tweaks for consistency, refs #3639
9 years ago
Jordi Boggiano
721acf3c93
Merge remote-tracking branch 'SofHad/update-interactive'
9 years ago
Jordi Boggiano
8913ac2fff
Merge pull request #4362 from bd808/classmap-authoritative-cli
...
Add cli argument for classmap-authoritative
9 years ago
Olivier Laviale
cc522c20bb
Optimized this->getIO()
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
Rob Bast
cb336a5416
Implement writeError throughout Composer
9 years ago
SofHad
f9777bc70a
Check if input is interactive
10 years ago
SofHad
1a82ecad91
Refactor the loop + add private method isInteractive
10 years ago
Jordi Boggiano
b39e0a271f
Merge pull request #3517 from WouterJ/patch-2
...
Added deprecated warning for the dev option
10 years ago
Wouter J
32218e97d1
Added deprecated warning for the dev option
10 years ago
SofHad
dd9e208bc7
update the logic
10 years ago
SofHad
6fff09c82a
Simplified questionnaire
10 years ago
SofHad
aca619e130
Interactive interface with autocompletion
10 years ago