1014 Commits (d1ce9f6246f797b4c65f47e4c156fdb064b9f8b0)

Author SHA1 Message Date
Arnout Boks d1ce9f6246 Fix defaultRepos fallback does not use auth config
When a full 'composer' cannot be constructed (because there is no
local composer.json and no global composer.json), some commands
(e.g. `show -a`) fall back to the default repositories from the
`$COMPOSER_HOME/config.json` file. Without this fix, any auth
configuration from `$COMPOSER_HOME/auth.json` is not used for
these repositories in such a fallback scenario.

Steps to reproduce:

* Configure a password-protected composer repository in
  `$COMPOSER_HOME/config.json`.
* Configure valid credentials for that repository in
  `$COMPOSER_HOME/auth.json`.
* Make sure there is no file `$COMPOSER_HOME/composer.json`.
* Ensure the current working directory has no `composer.json`.
* Run `composer show -a some/package`.

Expected: Information about `some/package` is shown without
needing to enter credentials.

Actual: A prompt "Authentication required" is shown for the
private repository. When running the same command in a dir
that has a `composer.json`, or when `$COMPOSER_HOME/composer.json`
exists, things work as expected.
6 years ago
Jordi Boggiano 585535a01d Fix platform package regex 6 years ago
Jordi Boggiano acea4a4d4d Warn on invalid package name or require/provide/.., fixes #7874 6 years ago
meyerbaptiste 5ce5560040
Fix support for imagemagick <3.3, refs #7762 6 years ago
Jordi Boggiano 489e0d4b12 Add support for imagemagick <3.3, refs #7762 6 years ago
Elan Ruusamäe f9234222d1 add lib-imagick to show -p output (#7762) 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
Raffael Comi 3c543b2752 Report "same as actual" version if override package matches actual 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 359d1318f2
Merge pull request #7703 from glaubinix/t/composer-version-cache
Vcs Repository: add option to cache/reuse entire versions
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
Stephan Vock 105477218d VcsRepository: fix undefined index notice in preProcess 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
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
Jordi Boggiano 0124e7b553 Revert "add removePackage() to RepositoryInterface"
This reverts commit cfb0d33c45.

Fixes #7634
6 years ago
Stephan Vock 896d801a30 Fix: Bitbucket getChangeDate throws exception for branches containing a slash 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 95840a0ab9 Remove useless curly braces around svn args 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 bf125295df Fix escaping of URLs in Perforce and Subversion drivers 6 years ago
Farhad Safarov 4014c914ab remove Github 404 retries 6 years ago
Rob Bast cfb0d33c45
add removePackage() to RepositoryInterface 6 years ago
Jordi Boggiano e718f34ba4 Properly detect rate limit errors on github before outputting messages, fixes #6621 6 years ago
Markus Staab 76bf6bdf97
Fixed typo 6 years ago
Jordi Boggiano ff59bbdab0 CS fixer 6 years ago
Jordi Boggiano c5fa3bdde0 Migrate to repo.packagist.org for package metadata 6 years ago
Jordi Boggiano 2f69739c1a Merge remote-tracking branch 'origin/1.6' 6 years ago
Rob Bast 0db48b4f2e
addendum to #7428 6 years ago
Jordi Boggiano 16af52be8a Merge remote-tracking branch 'origin/1.6' 6 years ago
Jordi Boggiano d64f95b70c
Merge pull request #7475 from Elendev/mercurial-auth-json
Add support for authentication with mercurial repositories.
6 years ago
Markus Staab 70a1a6e510
Throw a RuntimeException when glob braces are used but not supported by the OS 6 years ago
Markus Staab e89d16c47d
GLOB_BRACE is not defined on all platforms 6 years ago
Jonas Renaudot 1a725d5e1f Add support for authentication with mercurial repositories. 6 years ago
Kazuhiro Inari 354eec76ae Add repositories path glob 6 years ago
efajnzilberg 9355ebd3f6 Closing the ZipArchive in ArtifactRepository::getComposerInformation() 6 years ago
Jordi Boggiano b8989796bf Merge branch '1.6' 6 years ago
Robbie Averill ee97f26931 FIX Update PHPDocs to indicate more specific return types 6 years ago
Jordi Boggiano 46f973e213 Merge branch '1.6' 6 years ago
Jordi Boggiano c6d53abf89 Fix tests 6 years ago
Jordi Boggiano af1dccb1fb Avoid showing virtual packages in search results, fixes #7310 6 years ago
Jordi Boggiano 464daeebe2 Merge branch '1.6' 6 years ago
Jordi Boggiano 43e33be79f Fix regression in 036fc44c25, fixes #7268 6 years ago
Jordi Boggiano 38866ba310 Merge remote-tracking branch 'johnstevenson/external-xdebug' 7 years ago
Jordi Boggiano ea78712822 Merge branch '1.6' 7 years ago
Edwin Rodríguez 9dc6222288 Allow using fossil dependency in a fossil repository, fixes #7125, closes #7126 7 years ago
Jordi Boggiano 35ebb8b93f Merge branch '1.6' 7 years ago