1
0
Fork 0
Commit Graph

8104 Commits (896d801a3080b2ebefa1b2e09f49093dc00f1f9d)

Author SHA1 Message Date
Stephan Vock 896d801a30 Fix: Bitbucket getChangeDate throws exception for branches containing a slash 2018-09-12 12:01:43 -04: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 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
johnstevenson 2023690c7d Update xdebug-handler, fixes #7596 2018-09-01 11:26:03 +01: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 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 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.
2018-08-22 09:45:54 +02:00
Rob Bast cfb0d33c45
add removePackage() to RepositoryInterface 2018-08-20 10:41:34 +02:00
Jordi Boggiano 7d273f7cd8 Update changelog 2018-08-16 16:57:03 +02:00
Jordi Boggiano 0181f07491 Fix create-project not updating to latest commit when cache is present, fixes #7550 2018-08-16 16:48:47 +02:00
Jordi Boggiano 020d1f88c7 Improve error reporting on global command, fixes #7556 2018-08-16 16:08:31 +02:00
Jordi Boggiano b8e8cc2516 Update xdebug-handler, fixes #7517 2018-08-16 15:18:40 +02:00
Daniel Karl 849f4eda56 Using cwd for 2nd process-execution (auth) in HgUtils 2018-08-10 08:58:05 +02:00
Alexander Kurilo e1a6bd5ff1 Make JSON formatter test clearer 2018-08-10 08:54:34 +02:00
Alexander Kurilo 5a22a4f1f3 Make surrogate sequences in JSON work on PHP 5.3
Fixes #7510
2018-08-10 08:54:27 +02:00
Jordi Boggiano 1e6ceea0f9 Update to latest CA bundle 2018-08-10 08:52:30 +02:00
Jordi Boggiano e718f34ba4 Properly detect rate limit errors on github before outputting messages, fixes #6621 2018-08-10 08:43:51 +02:00
Jordi Boggiano 9e7d48f70e Update changelog 2018-08-07 09:38:26 +02:00
Jordi Boggiano e7a9bd3362 Attempt workaround for repo.packagist.org domain SSL on very old PHP, fixes #7530 2018-08-07 09:33:04 +02:00
Jordi Boggiano a74b63985e Avoid filtering dev-require packages when loading plugins/scripts, fixes #7516 2018-08-04 17:43:43 +02:00
Jordi Boggiano a1179aa4a7 Update changelog 2018-08-03 15:38:59 +02:00
Jordi Boggiano 0fdf746ebe Fix --no-plugins not working in certain edge cases 2018-08-03 15:23:04 +02:00
Jordi Boggiano 73f14c0c7c Fix output when loading zips from cache, fixes #7498 2018-08-03 14:06:31 +02:00
Rob a53b3c6b66
Merge pull request #7501 from kassner/patch-1
Do not dump source and dist for metapackages
2018-07-30 12:16:25 +02:00
Rafael Kassner 42739e7959 Do not dump source and dist for metapackages 2018-07-29 16:16:02 +02:00
Jordi Boggiano de6432f5f0 Show overridden php version in diagnose command, fixes #7497 2018-07-27 11:03:45 +02:00
Jordi Boggiano 35389f1cc2
Merge pull request #7495 from nicolas-grekas/resp-exc
Make RemoteFilesystem::getRemoteContents() report response headers also on exceptions
2018-07-26 22:27:39 +02:00
Nicolas Grekas a3bbcf9c77 Make RemoteFilesystem::getRemoteContents() report response headers also on exceptions 2018-07-26 18:31:33 +02:00
Jordi Boggiano 9bc578e24a Fix warning tag name, fixes #7494 2018-07-26 14:15:32 +02:00
Jordi Boggiano d73aef5c8a Respect --no-plugins flag when firing pre-command-run event 2018-07-25 10:22:21 +02:00
Jordi Boggiano 8eae15182c
Merge pull request #7487 from staabm/patch-1
Fixed typo
2018-07-24 21:44:27 +02:00
Jordi Boggiano f70f1c3019
Merge pull request #7488 from staabm/patch-2
Fixed typo
2018-07-24 21:44:06 +02:00
Markus Staab eb94f8346a
Fixed typo 2018-07-24 18:21:40 +02:00
Markus Staab 76bf6bdf97
Fixed typo 2018-07-24 18:20:04 +02:00
Jordi Boggiano 158e1c95da Prepare changelog 2018-07-24 14:33:38 +02:00
Jordi Boggiano ff59bbdab0 CS fixer 2018-07-24 14:32:52 +02:00
Jordi Boggiano 02d56da414 Update deps 2018-07-24 13:45:41 +02:00
Jordi Boggiano 3f9e85a4c3 Merge remote-tracking branch 'unglud/feature/show-tree-json' 2018-07-24 10:51:43 +02:00
Jordi Boggiano c5fa3bdde0 Migrate to repo.packagist.org for package metadata 2018-07-24 09:30:06 +02:00
Jordi Boggiano 2f69739c1a Merge remote-tracking branch 'origin/1.6' 2018-07-23 19:41:08 +02:00
Jordi Boggiano fd25474660
Merge pull request #7483 from TomasVotruba/patch-2
[docs] basic usage - promote safe version range
2018-07-23 19:32:42 +02:00
Tomáš Votruba 10f707e316
basic usage - promote safe version range
I'm aware this just an example, but it [leads readers to see it a best practise](40642df5ec (r29802440)).

Having code with `"php": ">=5.4.0"` is pretty dangerous and will probably break with next major version.

```json
{
    "require": {
        "php": "^5.4"
    }
}
```

```json
{
    "require": {
        "php": "^7.1"
    }
}
```

is much more safer. Promoting best and proven practise should from *Basic usage* helps people to use composer the best way they can.

What do you think?
2018-07-23 18:49:39 +02:00