1
0
Fork 0
Commit Graph

9168 Commits (7a05286f5527ec11bc23fc23a6b91c6a8d4cfcef)

Author SHA1 Message Date
Alexey Pyltsyn ed3aa1870c Replace OSX with macOS 2018-09-27 14:00:10 +03:00
Christophe Coevoet 0ca5c6342d
Fix the doc markup
In *nix, the star needs to be part of the content, not of the markdown markup, and so it requires escaping.
2018-09-26 15:12:25 +02:00
Jordi Boggiano 7e2e231899
Merge pull request #7649 from aragon999/bugfix/fix-detection-of-supported-ssl-algos
Use a case insenstive method to check that SHA384 is a supported openssl algorithm
2018-09-24 12:51:55 +02:00
Max 4d86414dd1 Use a case insenstive method to check that SHA384 is a supported openssl algorithm 2018-09-24 12:18:04 +02:00
Nick Wilde 14c6c2c99f Allow plugin commands to be run from child folders as well as core commands 2018-09-16 13:12:14 -07:00
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
2018-09-14 15:03:38 +02:00
Nils Adermann 83efeaec5c Attempt to prune versions which are impossible to install during pool building 2018-09-14 14:40:34 +02:00
Nils Adermann f11c357325 Restore output of number of packages analyzed in solver 2018-09-14 14:39:24 +02:00
Nils Adermann b757c1952c Fix phpdoc 2018-09-13 15:24:12 +02:00
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
2018-09-13 11:17:30 +00:00
Nils Adermann 53c5e3c076
Merge pull request #7633 from naderman/remove-pool-whitelist
Remove pool whitelist
2018-09-13 11:29:13 +02:00
Jordi Boggiano af677553cc Merge branch '1.7' 2018-09-13 09:28:04 +02:00
Jordi Boggiano 0124e7b553 Revert "add removePackage() to RepositoryInterface"
This reverts commit cfb0d33c45.

Fixes #7634
2018-09-13 09:27:57 +02:00
Nils Adermann 7c2d3518e5 Remove whitelisting of required package names, done by pool builder now 2018-09-12 19:03:57 +02:00
Jordi Boggiano b441176f21 Merge remote-tracking branch 'origin/1.7' 2018-09-12 18:29:53 +02:00
Jordi Boggiano 55fec6575f
Merge pull request #7632 from glaubinix/f/bitbucket-get-change-date-branch-with-slash
Fix: Bitbucket getChangeDate throws exception for branches containing a slash
2018-09-12 18:29:03 +02:00
Stephan Vock 896d801a30 Fix: Bitbucket getChangeDate throws exception for branches containing a slash 2018-09-12 12:01:43 -04:00
Nils Adermann 3d5a6e84d3
Merge pull request #7631 from naderman/filter-versions-on-load
Only load package versions which fit the root composer.json constraints
2018-09-12 17:00:05 +02:00
Nils Adermann 902cb290e7 Only load package versions which fit the root composer.json constraints 2018-09-12 16:48:17 +02:00
Nils Adermann 468f24b230
Merge pull request #7629 from naderman/pool-ids
Generate Package Ids in pool only once all packages are defined
2018-09-12 14:54:54 +02:00
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
2018-09-12 14:31:40 +02:00
Nils Adermann 5c491ecc9b
Merge pull request #7625 from naderman/repository-set
Separate RepositorySet from Package Pool, load only metadata of packages directly required
2018-09-12 14:22:01 +02:00
Nils Adermann 261efe1e8e Implement loadPackages on Composer repositories with providers 2018-09-12 14:14:04 +02:00
Nils Adermann 019ebee185 Add missing use statement to package event to fix install --no-dev 2018-09-12 13:56:13 +02:00
Nils Adermann 96c812fb24 Properly buffer installer test output to display as errors if necessary 2018-09-12 13:27:10 +02:00
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
2018-09-12 11:49:09 +02:00
Nils Adermann 4c7d271a36 Remove deprecated function 2018-09-11 16:03:48 +02:00
Nils Adermann 1747df97e7 Create pool in show command to use policy, remove todos 2018-09-11 15:59:02 +02:00
Nils Adermann b6e2d60c9e Create the pool in the installer before giving it to the solver 2018-09-11 15:49:08 +02:00
Nils Adermann 7036f99999 RepositorySet::findPackages now has an exactMatch option
Allows search for providers/replacers, or exact name search
2018-09-11 14:52:44 +02:00
Nils Adermann 190d263c74 Fix logic for composer repository's optional acceptable callable filter 2018-09-11 14:43:25 +02:00
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
2018-09-11 13:34:18 +02:00
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
2018-09-10 15:27:54 +02:00
Gabriel Caruso 71c8735e11 Use combined assignment operators 2018-09-10 14:24:41 +02:00
Gabriel Caruso a17f051e29 Remove useless parentheses 2018-09-10 14:24:24 +02:00
Jordi Boggiano 490f3ccd95 Merge remote-tracking branch 'origin/1.7' 2018-09-10 14:06:33 +02:00
Jordi Boggiano 9c4df4d482 Update deps 2018-09-10 14:06:28 +02:00
Jordi Boggiano a25d6f6c35 Use local repo for platform checks when possible to avoid surprises, refs #7605 2018-09-10 13:58:13 +02:00
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)
2018-09-10 13:52:13 +02:00
Jordi Boggiano a1ead0e868
Merge pull request #7565 from alcohol/add-remove-to-pkgrepointerface
add removePackage() to RepositoryInterface
2018-09-10 13:33:39 +02:00
Jordi Boggiano 92dc2cd9ad Merge branch '1.7' 2018-09-05 00:29:03 +02:00
Jordi Boggiano 29434a22c2
Merge pull request #7612 from xuanquynh/unify_composer_concept
Unify Composer concept
2018-09-05 00:28:29 +02:00
Jordi Boggiano 987bd5dd7c
Merge pull request #7590 from staabm/dump-nbclasses
Print number of classes contained within the generated classmap
2018-09-05 00:24:10 +02:00
Jordi Boggiano d65b175152
Merge pull request #7600 from johnstevenson/appveyor
Improve Appveyor caching and update PHP
2018-09-05 00:16:53 +02:00
Jordi Boggiano 95840a0ab9 Remove useless curly braces around svn args 2018-09-05 00:00:25 +02:00
Jordi Boggiano e80b560fa8
Merge pull request #7601 from johnstevenson/update-xdebug-handler
Update xdebug-handler, fixes #7596
2018-09-04 19:35:05 +02:00
Nguyen Xuan Quynh 1191bbc5f4 Unify Composer concept 2018-09-04 14:43:21 +07:00
SeRRg c279c7ca96 Add --no-dev option to check-platform-reqs command 2018-09-02 11:37:19 +05:00
johnstevenson 2023690c7d Update xdebug-handler, fixes #7596 2018-09-01 11:26:03 +01:00
johnstevenson 7dd2a0d6f9 Improve Appveyor caching and update PHP 2018-08-31 14:27:28 +01:00