Jordi Boggiano
abcde19022
Document --no-check-all better, fixes #7889
6 years ago
Jordi Boggiano
66a77ed210
Merge branch '1.8'
6 years ago
Jordi Boggiano
02ceb74151
Tweak --no-cache option to be available globally and to not break VCS drivers relying on it, refs #7880 , refs #6650
6 years ago
Jordi Boggiano
61bd9f83f1
Merge remote-tracking branch 'Dzhuneyt/6650-disable-cache-argument'
6 years ago
Jordi Boggiano
a9aaa25d4c
Fix compat with Symfony Process 4.2, fixes #7923
6 years ago
Jordi Boggiano
0b928b2a42
Merge branch 'master' into 2.0
6 years ago
Kath Young
8b1f8a4629
Add no-api in the config as an acceptable config
6 years ago
Nguyễn Xuân Quỳnh
bcff704bc5
Add alias of run-script command
6 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
3dfcae99a9
Add parallel download capability to FileDownloader and derivatives
6 years ago
Jordi Boggiano
b47330adf1
Refactor ComposerRepository to work with combined repos having lazy providers and partial packages
6 years ago
Jordi Boggiano
e67030076a
Fix show command
6 years ago
Jordi Boggiano
346de47af2
Small fixes
6 years ago
Jordi Boggiano
f946d8eb5a
More RemoteFilesystem usage removals and some repository/vcs driver refactorings
6 years ago
Jordi Boggiano
713bc4de1d
Minor fixes and updated the rest of the code/tests to use HttpDownloader
6 years ago
Dzhuneyt Ahmed
8c30b12bd9
Added no-cache argument to "composer install" and "composer update"
6 years ago
Dzhuneyt Ahmed
750692227f
Added no-cache argument to "composer install"
6 years ago
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
dc6027a0ad
Merge remote-tracking branch 'dmanners/remove-all-from-one-vendor'
6 years ago
Jordi Boggiano
736c05f66b
Merge remote-tracking branch 'yassine-ah/patch-1'
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
Jordi Boggiano
6e6fb844dd
Avoid validating package name if it has a newline at the end
6 years ago
Shalvah
42e88ac27a
Add interactive option to install dependencies after running init command ( #7521 )
...
* Add interactive option to install dependencies after running init command
* Only ask to install dependencies when dependencies where defined
6 years ago
Jordi Boggiano
2e0f31106a
Merge remote-tracking branch 'origin/master' into 2.0
6 years ago
Gabriel Caruso
2a13bb2649
Fixes from PHPStan ( #7687 )
...
* fix docblocks
* remove redundant conditional
* fix wrong variable name
* fix wrong namespaces
* add missing private members
* remove unused/redundant arguments
* move testcase class
* exclude TestCase.php
* Tweak RuleWatchGraph type hints
* Tweak doc comment
6 years ago
Jordi Boggiano
856df56bdd
Revert #7755
6 years ago
Jordi Boggiano
2528654c53
Merge branch '1.7'
6 years ago
Jordi Boggiano
284da1487c
Avoid downgrading from error to warning
6 years ago
Ahammar Yassine
da94e4b619
Skip all network-based checks ( #7641 )
...
* Skip all network-based checks
Change the warnings in diagnose to a friendly messages when allow_url_fopen is disabled.
Issue: #7622
6 years ago
Grzegorz Korba
0ee0138bed
Support for ignoring packages in `outdated` command ( #7682 )
...
* Support for ignoring packages in `outdated` command. Fixes #7656
6 years ago
Jordi Boggiano
38a63ba05a
Only show path for installed packages, refs #7698
6 years ago
Mariusz Zarzycki
f72e2312dc
Ran php-cs-fixer
6 years ago
Mariusz Zarzycki
77457ca474
Show command respects --path flag
...
Path added to package meta output
6 years ago
François-Xavier de Guillebon
114217c6e3
Fix ini_get() for boolean values
6 years ago
Markus Staab
67e6d6d8a4
diagnose: write warning on stderr
6 years ago
David Manners
a1ab75a703
composer/composer#7159 : make the remove command to a regex lookup on package name
...
- if you have multiple vendor modules installed you should be able to do composer remove vendor/* to remove all
- update remove and also remove from alternative type to also do a preg_grep for what the user has inputed
6 years ago
Max
4d86414dd1
Use a case insenstive method to check that SHA384 is a supported openssl algorithm
6 years ago
Ahammar Yassine
4a8c416a02
Update ValidateCommand.php
...
Skip publish and lock check even in strict check mode when the user want so.
Example : `composer validate --no-check-lock --strict composer.json`.
Issue : #7624
6 years ago
Nils Adermann
5c491ecc9b
Merge pull request #7625 from naderman/repository-set
...
Separate RepositorySet from Package Pool, load only metadata of packages directly required
6 years ago
Nils Adermann
1747df97e7
Create pool in show command to use policy, remove todos
6 years ago
Nils Adermann
7036f99999
RepositorySet::findPackages now has an exactMatch option
...
Allows search for providers/replacers, or exact name search
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
Gabriel Caruso
71c8735e11
Use combined assignment operators
6 years ago
Jordi Boggiano
a25d6f6c35
Use local repo for platform checks when possible to avoid surprises, refs #7605
6 years ago
Jordi Boggiano
b99ac8505b
Merge pull request #7605 from lamp-of-god/check-requirements-no-dev
...
Add --no-dev option to check-platform-reqs command (#7314 )
6 years ago
Jordi Boggiano
29434a22c2
Merge pull request #7612 from xuanquynh/unify_composer_concept
...
Unify Composer concept
6 years ago
Nguyen Xuan Quynh
1191bbc5f4
Unify Composer concept
6 years ago
SeRRg
c279c7ca96
Add --no-dev option to check-platform-reqs command
6 years ago
Markus Staab
4d49fabbc4
Generating -> Generated
6 years ago
Markus Staab
766ceccd00
Print number of classes contained within the generated classmap
...
to give the developer a better feeling about number of dependent classes
6 years ago
Jordi Boggiano
15313209d6
Merge branch '1.7'
6 years ago
Jordi Boggiano
0181f07491
Fix create-project not updating to latest commit when cache is present, fixes #7550
6 years ago
Jordi Boggiano
020d1f88c7
Improve error reporting on global command, fixes #7556
6 years ago
Pierre du Plessis
d65e1c0112
Revert composer.json changes when require process stops
6 years ago
Jordi Boggiano
0fdf746ebe
Fix --no-plugins not working in certain edge cases
6 years ago
Jordi Boggiano
de6432f5f0
Show overridden php version in diagnose command, fixes #7497
6 years ago
Jordi Boggiano
d73aef5c8a
Respect --no-plugins flag when firing pre-command-run event
6 years ago
Jordi Boggiano
ff59bbdab0
CS fixer
6 years ago
Jordi Boggiano
3f9e85a4c3
Merge remote-tracking branch 'unglud/feature/show-tree-json'
6 years ago
Jordi Boggiano
c5fa3bdde0
Migrate to repo.packagist.org for package metadata
6 years ago
Jordi Boggiano
6f56ce062c
Merge pull request #7464 from rellect/composer_i
...
Add `composer i` shorthand for `composer install`
6 years ago
refael iliaguyev
2f347e1347
add alias `u` to the update command
6 years ago
Jordi Boggiano
3d2b0deb6a
Merge pull request #7402 from m-jch/master
...
composer show options -t and -l do not work together, fixes #7210
6 years ago
refael iliaguyev
b63e2de819
add alias `i` to the install command
6 years ago
Gabriel Caruso
7d9f8e2247
Improvements
...
Small improvements, such as remove unused imports, unecessaries casts, parentheses, etc.
6 years ago
Matrosov
7221e4ea4e
Generate tree view before displaying it
...
Add support json tree view
6 years ago
mohsen shafiei
20e89a7621
composer show options -t and -l do not work together, fixes #7210
6 years ago
Jordi Boggiano
0f373e3249
Fix issues introduced by #7191 , fixes #7263
6 years ago
Jordi Boggiano
f42e6a5772
Compute keep-vcs/remove-vcs last minute to allow plugins to change the value, refs #7002
6 years ago
Jordi Boggiano
0ab843a058
Fix setting of scripts from config command, refs #7225
6 years ago
Jordi Boggiano
5aff7dff70
Merge remote-tracking branch 'swumao/feature-7208'
6 years ago
Jordi Boggiano
ea78712822
Merge branch '1.6'
6 years ago
Jordi Boggiano
785aba9d82
Merge remote-tracking branch 'stof/fix_show_columns' into 1.6
6 years ago
Jordi Boggiano
a8cf4a07fc
Merge branch '1.6'
6 years ago
Jordi Boggiano
fa539766b8
Output outdated warning on stderr, fixes #7218
6 years ago
Jordi Boggiano
a51911f295
Merge commit 'b1a78b60fe552bc6e7df09cb1c0154797fea6f64'
6 years ago
Jordi Boggiano
2bd34c0534
Merge branch '1.6'
6 years ago
Jordi Boggiano
5460e5d86f
Respect current PHP version when figuring out requirements for init command, fixes #7257
6 years ago
Carlos
2f56c3c334
Change status command help to make it clearer, closes #7213
6 years ago
Jordi Boggiano
78017bcbcb
Fix support for uppercase package names in why/why-not commands, fixes #7198
6 years ago
Jordi Boggiano
ec9ba46c5f
Fix run-script --list failing to handle native script handlers, fixes #7069
6 years ago
闫兴茂
491ae0634a
Fix bug for scripts for config command
6 years ago
Hector Prats
90ac5e0749
improving doc
6 years ago
Hector Prats
2413b55c60
LocalChanges for ArchiveFiles
6 years ago
Christophe Coevoet
ce521e5697
Take only displayed packages into account to determine column width
...
The ShowCommand was taking all packages into account when determining the
max lengths used to display the width of each column. This was causing
unnecessary hiding of columns in case of using a longer name or a longer
version in a different package.
This was especially visible when using the outdated command, as it applies
filtering by default.
6 years ago
Jordi Boggiano
9f34ee9892
Merge branch '1.6'
7 years ago
Jordi Boggiano
a61a8d78b1
Fix warning for packages not existing while they exist but not at the required stability, fixes #7044
7 years ago
Jordi Boggiano
71896b0777
Fix self-update regression, fixes #7045
7 years ago
Jordi Boggiano
ccbbbccadb
CAvoid calling PRE_COMMAND_RUN if no composer could be initialized
7 years ago
Jordi Boggiano
352aefe48c
Add command name to the PreCommandRun event
7 years ago
Jordi Boggiano
b1bfb9bb65
Add PRE_COMMAND_RUN event, fixes #7002
7 years ago
Jordi Boggiano
5f97eb1578
Merge branch '1.6'
7 years ago
Jordi Boggiano
0161a63a0a
Merge pull request #6956 from wsandin/master
...
Fix for issue 6602 - warning when running composer as another user
7 years ago
Jordi Boggiano
49068c579e
Fix indenting
7 years ago
Vladimir Reznichenko
da9e00066c
SCA: reduced repetitive methods references, used specialized PhpUnit assertions
7 years ago
Jordi Boggiano
ad8b44a4c8
Merge branch '1.6'
7 years ago
Jordi Boggiano
a5e35b9e89
Add --remove-vcs flag to create-project command to allow removing user prompts, fixes #7002
7 years ago
Jordi Boggiano
ea9b7ecbb0
Merge pull request #6982 from carusogabriel/phpstan
...
Fixes from PHPStan level 0
7 years ago
Jordi Boggiano
1a6e3ee8c7
Show script description for custom commands in run-script --list, fixes #7009
7 years ago
Gabriel Caruso
3d262bd637
Fixes from PHPStan level 0
...
More fixes from PHPStan level 0
7 years ago
William Sandin
4296fe657f
Adding check to confirm POSIX is defined and callable
7 years ago
Nicolas Grekas
251a347efb
Fix CTRL+C handling during create-project
7 years ago
Jordi Boggiano
ab8437ce06
Merge remote-tracking branch 'swumao/feature-6892'
7 years ago
Jordi Boggiano
8a50345df7
Follow ignore-platform-reqs when checking for package requirements, fixes #6859
7 years ago
William Sandin
dbea825871
Raise a warning if current user and owner of deploy dir doesn't match
7 years ago
Christophe Coevoet
e91505ce30
Fix the platform requirement check command
...
The command must validate that the current package matches the constraint, not
that any newer package matches it.
7 years ago
闫兴茂
e4bb306dfc
Fix for CI
7 years ago
闫兴茂
1c0a494c72
Update findBestVersionForPackage method to support return package name
7 years ago
Jordi Boggiano
c8aea719b1
CS fixes
7 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
Jordi Boggiano
8bc02d1aed
Merge pull request #6904 from brettsantore/doc-update
...
clarify optionality of package in require command
7 years ago
Jordi Boggiano
a55d9ce7b0
Merge pull request #6875 from OskarStark/strategy
...
output used strategy
7 years ago
Jordi Boggiano
b110f86aa0
Merge branch '1.5'
7 years ago
Tom Rochette
c3b6c0c85e
Make sure exitCode is defined in the show command.
7 years ago
Brett Santore
449ecf098d
clarify optionality of package in require command
7 years ago
Oskar Stark
8b90037d7b
highlight previous composer version
7 years ago
Oskar Stark
e85bcc882c
output used strategy
7 years ago
Jordi Boggiano
6bb3ab1868
Tweak help/description
7 years ago
Jordi Boggiano
b579884e15
Tweak check-platform-reqs command to check all constraints and output more information about what requires failed, refs #6709
7 years ago
Jordi Boggiano
edf561d602
Merge remote-tracking branch 'swumao/master'
7 years ago
Jordi Boggiano
224d272a0e
Merge branch '1.5'
7 years ago
Jordi Boggiano
3976d9f242
Fix require command picking of specific versions, fixes #6859
7 years ago
Jordi Boggiano
755482ddb1
Merge branch '1.5'
7 years ago
Jordi Boggiano
a928ffa4ee
Fix require command when specifying non-stable versions, fixes #6859
7 years ago
Jordi Boggiano
6a08755c25
Merge branch '1.5'
7 years ago
Jordi Boggiano
5960f715f0
Add warning in show command if no dependencies are installed but the root package has dependencies, fixes #6820
7 years ago
Markus Staab
ecb26c7b75
support COMPOSER env var in validate command ( #6834 )
...
* support COMPOSER env var in validate command
7 years ago
Jordi Boggiano
b59dd23bb4
Merge branch '1.5'
7 years ago
Jordi Boggiano
0de1e21233
Make create-project install dependencies following optimize-autoloader config setting, fixes #6722
7 years ago
Jordi Boggiano
e5d07fde6b
Merge pull request #6743 from zachflower/feature/init_defaults
...
Composer init default values
7 years ago
Jordi Boggiano
fedef55362
Merge remote-tracking branch 'arjank/abandoned_package_warning'
7 years ago
Jordi Boggiano
535e7262e4
Fix php5.3
7 years ago
Jordi Boggiano
a1e292d84d
Let users open the homepage of the current package by doing composer home without argument, fixes #6748
7 years ago
Jordi Boggiano
ec63c213f8
Allow unsetting the whole platform config key
7 years ago
Jordi Boggiano
9850621c6b
Merge pull request #6788 from GawainLynch/symfony-4
...
Symfony 4
7 years ago
Jordi Boggiano
0b3bc4ccb9
Merge branch '1.5'
7 years ago
Jordi Boggiano
a691a179e5
Merge remote-tracking branch 'naderman/improve-not-found-error' into 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
Zachary Flower
a59f7399bf
Use environment variables to define default values instead
7 years ago
Nils Adermann
685bc08c0a
Improve the error on init/require if a package could not be found
7 years ago
Gawain Lynch
f96e0e033b
Use Terminal class for dimensions post Symfony 3.2
7 years ago
Jordi Boggiano
26a50b3762
Merge branch '1.5'
7 years ago
Jordi Boggiano
14dc4b20df
Merge pull request #6746 from renanbr/diagnose-with-php-bin-info
...
add php version and binary to the dignose command
7 years ago
Mihai Plasoianu
02b57ff4a2
Return non-zero exit code with --strict and single package
7 years ago
Jordi Boggiano
41a9357d4b
Merge remote-tracking branch 'thom8/script_help'
7 years ago
Jordi Boggiano
7c7c91344a
Avoid some error paths, refs #6678
7 years ago