5469 Commits (0f2f950cb6aa583b60c7b63845734dce185874a7)

Author SHA1 Message Date
Mathias Brodala 38a34159ef Dispatch "post-package-update" event after writing lock (#7766)
Fixes #7765
6 years ago
Jordi Boggiano 856df56bdd Revert #7755 6 years ago
Jordi Boggiano ceb3a7a8e8 Merge branch '1.7' 6 years ago
Jordi Boggiano 1898ad12ce Make sure we chdir back in case update dir is relative, refs #7519 6 years ago
Jordi Boggiano 2528654c53 Merge branch '1.7' 6 years ago
Jérôme Tanghe a51563300c Warning about the UNIX permissions lost if unzip command is not installed.
Some packages provide (such as Symfony Panther or Dusk) executable files, but
as PHP's unzip extension does not handle UNIX permissions, those files will
lose their executable ones.
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
Seven Du 148e503b31 Modified comment block (#7700)
* Modified comment block
6 years ago
Raffael Comi 3c543b2752 Report "same as actual" version if override package matches actual 6 years ago
Michele Locati 41458c7518 Don't call Symfony ProcessUtils::escapeArgument 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
Jordi Boggiano ac524e9bf3
Merge pull request #7760 from deguif/1.7
Fix ini_get() for boolean values
6 years ago
Jordi Boggiano 9e6a0bff71
Merge pull request #7658 from fooman/fix-non-zip-file-with-zip-ext
Fix regression for artifact repository
6 years ago
Jordi Boggiano 8bead93343
Merge pull request #7648 from NickWilde1990/allow-plugin-commands-from-child-folders
Allow plugin commands to be run from child folders like core commands
6 years ago
Jordi Boggiano 359d1318f2
Merge pull request #7703 from glaubinix/t/composer-version-cache
Vcs Repository: add option to cache/reuse entire versions
6 years ago
François-Xavier de Guillebon 114217c6e3
Fix ini_get() for boolean values 6 years ago
Jordi Boggiano 11752864eb
Merge pull request #7735 from glaubinix/t/bitbucket-v1-API-deprecation
Bitbucket: switch to v2 API
6 years ago
Gabriel Caruso 2805a69e58 Simplify conditions and inline temp variables 6 years ago
Gabriel Caruso a64b652a6b Use func_num_args instead of counting on func_get_args 6 years ago
Alexey Kopytko 20107dbf77 Ensure that a missing SSL/TLS protection warning does not pollute STDOUT
Fixes #7737
6 years ago
Markus Staab 67e6d6d8a4 diagnose: write warning on stderr 6 years ago
Jordi Boggiano 5d92eea170
Merge pull request #7756 from glaubinix/f/undefined-index-preprocess
VcsRepository: fix undefined index notice in preProcess
6 years ago
Stephan Vock 105477218d VcsRepository: fix undefined index notice in preProcess 6 years ago
Stephan Vock 8b8df01336 Bitbucket: fix redirect behaviour 6 years ago
Stephan Vock 23d37eebe6 Fix: undefined index name in VcsRepository 6 years ago
Stephan Vock 819f487b38 Bitbucket: switch to v2 API 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
David Manners 96347fbea1 composer/composer#7384: add chat to support options
- update schema documents to note that chat is allowed,
 - validate that chat must be a string and a url similar to forum options
6 years ago
Stephan Vock 5f2eefb49b Vcs Repository: add option to cache/reuse entire versions 6 years ago
Kristof Ringleff, Fooman 2ed573b22d Combine open zip call with conditional 6 years ago
Kristof Ringleff, Fooman bcf4e94e8a Ensure opening the zip was successful before proceeding 6 years ago
Max 4d86414dd1 Use a case insenstive method to check that SHA384 is a supported openssl algorithm 6 years ago
Nick Wilde 14c6c2c99f Allow plugin commands to be run from child folders as well as core commands 6 years ago
Nils Adermann 537f4fbc3b Prune unreachable required versions correctly for aliased packages
In trials this seems pointless, so maybe better to skip aliases and
reduce memory and cpu wasted on looking these things up
6 years ago
Nils Adermann 83efeaec5c Attempt to prune versions which are impossible to install during pool building 6 years ago
Nils Adermann f11c357325 Restore output of number of packages analyzed in solver 6 years ago
Nils Adermann b757c1952c Fix phpdoc 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 53c5e3c076
Merge pull request #7633 from naderman/remove-pool-whitelist
Remove pool whitelist
6 years ago
Jordi Boggiano af677553cc Merge branch '1.7' 6 years ago
Jordi Boggiano 0124e7b553 Revert "add removePackage() to RepositoryInterface"
This reverts commit cfb0d33c45.

Fixes #7634
6 years ago
Nils Adermann 7c2d3518e5 Remove whitelisting of required package names, done by pool builder now 6 years ago
Jordi Boggiano b441176f21 Merge remote-tracking branch 'origin/1.7' 6 years ago
Stephan Vock 896d801a30 Fix: Bitbucket getChangeDate throws exception for branches containing a slash 6 years ago
Nils Adermann 902cb290e7 Only load package versions which fit the root composer.json constraints 6 years ago
Nils Adermann 81bb8f81ad Set all package ids only once the pool is created
They all get set in one place only and at a specific time when nothing
else will possibly change them anymore
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 261efe1e8e Implement loadPackages on Composer repositories with providers 6 years ago
Nils Adermann 019ebee185 Add missing use statement to package event to fix install --no-dev 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 7036f99999 RepositorySet::findPackages now has an exactMatch option
Allows search for providers/replacers, or exact name search
6 years ago
Nils Adermann 190d263c74 Fix logic for composer repository's optional acceptable callable filter 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 490f3ccd95 Merge remote-tracking branch 'origin/1.7' 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 a1ead0e868
Merge pull request #7565 from alcohol/add-remove-to-pkgrepointerface
add removePackage() to RepositoryInterface
6 years ago
Jordi Boggiano 92dc2cd9ad Merge branch '1.7' 6 years ago
Jordi Boggiano 29434a22c2
Merge pull request #7612 from xuanquynh/unify_composer_concept
Unify Composer concept
6 years ago
Jordi Boggiano 987bd5dd7c
Merge pull request #7590 from staabm/dump-nbclasses
Print number of classes contained within the generated classmap
6 years ago
Jordi Boggiano 95840a0ab9 Remove useless curly braces around svn args 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 df2f2dc113 Merge branch '1.7' 6 years ago
Christophe Coevoet e5b948c683 Refactor the handling of conflict rules in the solver
Conflict rules are not added in the solver based on the packages loaded in the
solver by require rules, instead of loading remote metadata for them. This has
2 benefits:

- it reduces the number of conflict rules in the solver in case of conflict
  rules targetting packages which are not required
- it fixes the behavior of replaces, which is meant to conflict with all
  versions of the replaced package, without introducing a performance
  regression (this behavior was changed when optimizing composer in the past).
6 years ago
Jordi Boggiano 734735c691
Merge pull request #7574 from seferov/patch-1
Remove github API request retries as it is not needed anymore
6 years ago
Pierre du Plessis 33341130a9
Fix typo in variable name in GitHubDriver 6 years ago
Jordi Boggiano d100620987 Merge branch '1.7' 6 years ago
Jordi Boggiano bf125295df Fix escaping of URLs in Perforce and Subversion drivers 6 years ago
Farhad Safarov 4014c914ab remove Github 404 retries 6 years ago
Jordi Boggiano 0f6b305bd9 Merge branch '1.7' 6 years ago
Jordi Boggiano 3d01ef28fa Revert "Do not dump source and dist for metapackages"
The source/dist reference is needed to operate composer outdated and other functionality

Fixes #7546

This reverts commit 42739e7959.
6 years ago
Rob Bast cfb0d33c45
add removePackage() to RepositoryInterface 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
Daniel Karl 849f4eda56 Using cwd for 2nd process-execution (auth) in HgUtils 6 years ago
Alexander Kurilo 5a22a4f1f3 Make surrogate sequences in JSON work on PHP 5.3
Fixes #7510
6 years ago
Jordi Boggiano e718f34ba4 Properly detect rate limit errors on github before outputting messages, fixes #6621 6 years ago
Jordi Boggiano e7a9bd3362 Attempt workaround for repo.packagist.org domain SSL on very old PHP, fixes #7530 6 years ago
Jordi Boggiano a74b63985e Avoid filtering dev-require packages when loading plugins/scripts, fixes #7516 6 years ago
Jordi Boggiano 0fdf746ebe Fix --no-plugins not working in certain edge cases 6 years ago
Jordi Boggiano 73f14c0c7c Fix output when loading zips from cache, fixes #7498 6 years ago
Rafael Kassner 42739e7959 Do not dump source and dist for metapackages 6 years ago
Jordi Boggiano de6432f5f0 Show overridden php version in diagnose command, fixes #7497 6 years ago
Nicolas Grekas a3bbcf9c77 Make RemoteFilesystem::getRemoteContents() report response headers also on exceptions 6 years ago
Jordi Boggiano 9bc578e24a Fix warning tag name, fixes #7494 6 years ago
Jordi Boggiano d73aef5c8a Respect --no-plugins flag when firing pre-command-run event 6 years ago