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

Problem with private packages in private vcs #41

Closed
ottes opened this issue Feb 4, 2016 · 5 comments
Closed

Problem with private packages in private vcs #41

ottes opened this issue Feb 4, 2016 · 5 comments

Comments

@ottes
Copy link

ottes commented Feb 4, 2016

I've got some private packages in my composer.json, also defined 3 vcs repositories.
Even when i configure my 3 private packages to be private in prestissimo config, the same errors appears

    Prefetch start: success: 0, failure: 0, total: 36
    1/36:    https://codeload.github.com/sebastianbergmann/php-file-iterator/legacy.zip/6150bf2c35d3fc379e50c7602b75caceaa39dbf0
    2/36:    https://codeload.github.com/sebastianbergmann/php-timer/legacy.zip/3e82f4e9fc92665fafd9157568e4dcb01d014e5b
    3/36:    https://codeload.github.com/sebastianbergmann/php-text-template/legacy.zip/31f8b717e51d9a2afca6c9f046f5d69fc27c8686
    4/36:    https://codeload.github.com/doctrine/instantiator/legacy.zip/8e884e78f9f0eb1329e445619e04456e64d8051d
    5/36:    https://codeload.github.com/sebastianbergmann/phpunit-mock-objects/legacy.zip/ac8e7a3db35738d56ee9a76e78a4e03d97628983
    6/36:    https://codeload.github.com/phpspec/prophecy/legacy.zip/4745ded9307786b730d7a60df5cb5a6c43cf95f7
    7/36:    https://codeload.github.com/sebastianbergmann/diff/legacy.zip/13edfd8706462032c2f52b4b862974dd46b71c9e
    8/36:    https://codeload.github.com/sebastianbergmann/comparator/legacy.zip/937efb279bd37a375bcadf584dec0726f84dbf22
    9/36:    https://codeload.github.com/sebastianbergmann/environment/legacy.zip/6e7133793a8e5a5714a551a8324337374be209df
    10/36:    https://codeload.github.com/sebastianbergmann/exporter/legacy.zip/7ae5513327cb536431847bcc0c10edba2701064e
    11/36:    https://codeload.github.com/sebastianbergmann/recursion-context/legacy.zip/913401df809e99e4f47b27cdd781f4a258d58791
    12/36:    https://codeload.github.com/sebastianbergmann/global-state/legacy.zip/bc37d50fea7d017d3d340f230811c9f1d7280af4
    13/36:    https://codeload.github.com/sebastianbergmann/php-code-coverage/legacy.zip/eabf68b476ac7d0f73793aada060f1c1a9bf8979
    14/36:    https://codeload.github.com/sebastianbergmann/version/legacy.zip/58b3a85e7999757d6ad81c787a1fbf5ff6c628c6
    15/36:    https://codeload.github.com/symfony/yaml/legacy.zip/34c8a4b51e751e7ea869b8262f883d008a2b81b8
    16/36:    https://codeload.github.com/sebastianbergmann/php-token-stream/legacy.zip/3144ae21711fb6cac0b1ab4cbe63b75ce3d4e8da
    17/36:    https://codeload.github.com/zendframework/zend-servicemanager/legacy.zip/846f8a4f9c2e438e45d2de5cec11509cb7e08d79
    18/36:    https://codeload.github.com/sebastianbergmann/phpunit/legacy.zip/ea76b17bced0500a28098626b84eda12dbcf119c
    19/36:    https://codeload.github.com/phpDocumentor/ReflectionDocBlock/legacy.zip/d68dbdc53dc358a816f00b300704702b2eaff7b8
    20/36:    https://codeload.github.com/zendframework/zend-inputfilter/legacy.zip/3208cddbb92df029230cde676a5c8e5a22b531c6
    21/36:    https://codeload.github.com/zendframework/zend-i18n/legacy.zip/509271eb7947e4aabebfc376104179cffea42696
    22/36:    https://codeload.github.com/container-interop/container-interop/legacy.zip/fc08354828f8fd3245f77a66b9e23a6bca48297e
    23/36:    https://codeload.github.com/zendframework/zend-filter/legacy.zip/93e6990a198e6cdd811064083acac4693f4b29ae

  [ErrorException]     
  Undefined offset: 0  

Exception trace:
 () at /root/.composer/vendor/hirak/prestissimo/src/ParallelDownloader.php:93
 Composer\Util\ErrorHandler::handle() at /root/.composer/vendor/hirak/prestissimo/src/ParallelDownloader.php:93
 Hirak\Prestissimo\ParallelDownloader->download() at /root/.composer/vendor/hirak/prestissimo/src/Plugin.php:75
 Hirak\Prestissimo\Plugin->onPostDependenciesSolving() at n/a:n/a
 call_user_func() at phar:///bin/composer/src/Composer/EventDispatcher/EventDispatcher.php:156
 Composer\EventDispatcher\EventDispatcher->doDispatch() at phar:///bin/composer/src/Composer/EventDispatcher/EventDispatcher.php:133
 Composer\EventDispatcher\EventDispatcher->dispatchInstallerEvent() at phar:///bin/composer/src/Composer/Installer.php:524
 Composer\Installer->doInstall() at phar:///bin/composer/src/Composer/Installer.php:232
 Composer\Installer->run() at phar:///bin/composer/src/Composer/Command/InstallCommand.php:134
 Composer\Command\InstallCommand->execute() at phar:///bin/composer/vendor/symfony/console/Command/Command.php:259
 Symfony\Component\Console\Command\Command->run() at phar:///bin/composer/vendor/symfony/console/Application.php:844
 Symfony\Component\Console\Application->doRunCommand() at phar:///bin/composer/vendor/symfony/console/Application.php:192
 Symfony\Component\Console\Application->doRun() at phar:///bin/composer/src/Composer/Console/Application.php:165
 Composer\Console\Application->doRun() at phar:///bin/composer/vendor/symfony/console/Application.php:123
 Symfony\Component\Console\Application->run() at phar:///bin/composer/src/Composer/Console/Application.php:98
 Composer\Console\Application->run() at phar:///bin/composer/bin/composer:43
 require() at /bin/composer:25
@fmasa
Copy link

fmasa commented Feb 4, 2016

+1
Same error with private VCS packages.

@bgruszka
Copy link

bgruszka commented Feb 5, 2016

+1
I had the same error with private packages

@matthewnessworthy
Copy link

+1
same issue here

@hirak hirak mentioned this issue Feb 6, 2016
@hirak hirak closed this as completed in #42 Feb 6, 2016
@hirak
Copy link
Owner

hirak commented Feb 6, 2016

@xFragger @fmasa @bgruszka @matthewnessworthy Please try version 0.1.9.

$ composer global update hirak/prestissimo

@matthewnessworthy
Copy link

👍 works fine for me

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

5 participants