Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin should not try to prefetch repositories with unsupported protocols #138

Closed
sergeyfedotov opened this issue Mar 10, 2017 · 0 comments

Comments

@sergeyfedotov
Copy link
Contributor

I have a problem with this plugin when https://github.com/naderman/composer-aws is also used. The problem is that s3:// protocol can't be correctly handled by the plugin.

[Composer\Downloader\TransportException]                                                                                                                                       
The "s3://***/packages.json" file could not be downloaded: Unable to find the wrapper "s3" - did you forget to enable it when you configured PHP?  
failed to open stream: No such file or directory                                                                                                                               
                                                                                                                                                                               

Exception trace:
() at phar:///usr/local/bin/composer/src/Composer/Util/RemoteFilesystem.php:482
Composer\Util\RemoteFilesystem->get() at phar:///usr/local/bin/composer/src/Composer/Util/RemoteFilesystem.php:101
Composer\Util\RemoteFilesystem->getContents() at phar:///usr/local/bin/composer/src/Composer/Repository/ComposerRepository.php:661
Composer\Repository\ComposerRepository->fetchFile() at phar:///usr/local/bin/composer/src/Composer/Repository/ComposerRepository.php:479
Composer\Repository\ComposerRepository->loadRootServerFile() at /root/.composer/vendor/hirak/prestissimo/src/ParallelizedComposerRepository.php:39
Hirak\Prestissimo\ParallelizedComposerRepository->prefetch() at /root/.composer/vendor/hirak/prestissimo/src/Plugin.php:132
Hirak\Prestissimo\Plugin->prefetchComposerRepositories() at /root/.composer/vendor/hirak/prestissimo/src/Plugin.php:76
Hirak\Prestissimo\Plugin->activate() at phar:///usr/local/bin/composer/src/Composer/Plugin/PluginManager.php:236
Composer\Plugin\PluginManager->addPlugin() at phar:///usr/local/bin/composer/src/Composer/Plugin/PluginManager.php:205
Composer\Plugin\PluginManager->registerPackage() at phar:///usr/local/bin/composer/src/Composer/Plugin/PluginManager.php:261
Composer\Plugin\PluginManager->loadRepository() at phar:///usr/local/bin/composer/src/Composer/Plugin/PluginManager.php:79
Composer\Plugin\PluginManager->loadInstalledPlugins() at phar:///usr/local/bin/composer/src/Composer/Factory.php:377
Composer\Factory->createComposer() at phar:///usr/local/bin/composer/src/Composer/Factory.php:569
Composer\Factory::create() at phar:///usr/local/bin/composer/src/Composer/Console/Application.php:314
Composer\Console\Application->getComposer() at phar:///usr/local/bin/composer/src/Composer/Console/Application.php:426
Composer\Console\Application->getPluginCommands() at phar:///usr/local/bin/composer/src/Composer/Console/Application.php:131
Composer\Console\Application->doRun() at phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:122
Symfony\Component\Console\Application->run() at phar:///usr/local/bin/composer/src/Composer/Console/Application.php:100
Composer\Console\Application->run() at phar:///usr/local/bin/composer/bin/composer:54
require() at /usr/local/bin/composer:24
@hirak hirak closed this as completed in be55b1c Apr 12, 2017
hirak added a commit that referenced this issue Apr 12, 2017
Work only with supported URL schemes (closes #138)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant