1
0
Fork 0
Commit Graph

8253 Commits (618e21f1c19e7085e1110299d8e419d1e92015b9)

Author SHA1 Message Date
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
Markus Staab 4d49fabbc4
Generating -> Generated 2018-08-27 17:36:11 +02:00
Markus Staab 766ceccd00 Print number of classes contained within the generated classmap
to give the developer a better feeling about number of dependent classes
2018-08-27 14:51:04 +02:00
Jordi Boggiano df2f2dc113 Merge branch '1.7' 2018-08-27 12:34:42 +02:00
Nils Adermann bbd10c1552
Merge pull request #7454 from stof/conflict_optimization
Refactor the handling of conflict rules in the solver
2018-08-27 12:30:15 +02:00
Christophe Coevoet 8c3898aa57 Update tests for replace conflicts
This reverts the test changes done in b4698568d2 to the original tests added
in 1425bb7fc3.
2018-08-27 12:14:34 +02:00
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).
2018-08-27 12:14:34 +02:00
Jordi Boggiano 734735c691
Merge pull request #7574 from seferov/patch-1
Remove github API request retries as it is not needed anymore
2018-08-27 09:56:31 +02:00
Jordi Boggiano bcf615ddc7
Merge pull request #7589 from pierredup/patch-2
Fix typo in variable name in GitHubDriver
2018-08-27 09:54:10 +02:00
Pierre du Plessis 33341130a9
Fix typo in variable name in GitHubDriver 2018-08-27 09:13:52 +02:00
Jordi Boggiano d100620987 Merge branch '1.7' 2018-08-25 18:49:56 +02:00
Jordi Boggiano 3b587eed21 Update xdebug-handler to latest, fixes #7436 2018-08-25 18:48:56 +02:00
Jordi Boggiano bf125295df Fix escaping of URLs in Perforce and Subversion drivers 2018-08-25 18:48:56 +02:00
Farhad Safarov 4014c914ab remove Github 404 retries 2018-08-25 16:37:20 +03:00
Jordi Boggiano 0f6b305bd9 Merge branch '1.7' 2018-08-22 09:57:41 +02:00