You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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
..
Pear Fixes from PHPStan (#7687) 6 years ago
Vcs Merge pull request #7735 from glaubinix/t/bitbucket-v1-API-deprecation 6 years ago
ArrayRepository.php Fix regression in 036fc44c25, fixes #7268 6 years ago
ArtifactRepository.php Fixes from PHPStan (#7687) 6 years ago
BaseRepository.php Fix support for uppercase package names in why/why-not commands, fixes #7198 7 years ago
ComposerRepository.php Fixed typo 6 years ago
CompositeRepository.php rollback changes, since the implementation of the method "search" in the class "ComposerRepository" has parameter "type " 8 years ago
ConfigurableRepositoryInterface.php Allows repositories to implement ConfigurableRepositoryInterface and thus provide getRepoConfigmethod 9 years ago
FilesystemRepository.php CS fixes 7 years ago
InstalledArrayRepository.php Fix regression added in 33af9eea95, fixes #1841 12 years ago
InstalledFilesystemRepository.php CS fixes 13 years ago
InstalledRepositoryInterface.php CS fixes 13 years ago
InvalidRepositoryException.php Add InvalidRepositoryException 12 years ago
PackageRepository.php Allow loading of transport-options in package repo, fixes #4991 9 years ago
PathRepository.php CS fixer 6 years ago
PearRepository.php Missing parent constructor calls. 9 years ago
PlatformRepository.php Fix platform package regex 6 years ago
RepositoryFactory.php Fix defaultRepos fallback does not use auth config 6 years ago
RepositoryInterface.php Revert "add removePackage() to RepositoryInterface" 6 years ago
RepositoryManager.php FIX Update PHPDocs to indicate more specific return types 6 years ago
RepositorySecurityException.php CS fixes 11 years ago
VcsRepository.php Merge pull request #7703 from glaubinix/t/composer-version-cache 6 years ago
VersionCacheInterface.php Vcs Repository: add option to cache/reuse entire versions 6 years ago
WritableArrayRepository.php Reverted inadvertent API change, improved API documentation 9 years ago
WritableRepositoryInterface.php Reverted inadvertent API change, improved API documentation 9 years ago