You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am playing with the recipe I created. Got the next error:
The dependency is next: enqueue/fs-pack -> enqueue/fs -> makasim/temp-file
[Composer\Downloader\TransportException]
The "https://pr16.contrib.flex.symfony.com/m/makasim/temp-file/0.2.0" file could not be downloaded: Peer certificate CN=`symfony.com' did not match expected CN=`pr16.contrib.flex.symfony.com'
Failed to enable crypto
failed to open stream: operation failed
Steps to reproduce:
Create project
$ composer create-project symfony/skeleton:3.3.x-dev enqueue-demo-bug;
$ cd enqueue-demo-bug;
$SYMFONY_ENDPOINT=https://pr16.contrib.flex.symfony.com/ composer req enqueue/fs-pack -vv
Using version ^0.3.0@dev for enqueue/fs-pack
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Dependency resolution completed in 0.143 seconds
Analyzed 6862 packages to resolve dependencies
Analyzed 176258 rules to resolve dependencies
Dependency resolution completed in 0.000 seconds
Package operations: 8 installs, 0 updates, 0 removals
Installs: makasim/temp-file:0.2.0, enqueue/psr-queue:dev-master 05bb674, enqueue/fs:dev-master 598cbba, enqueue/null:dev-master f971acf, ramsey/uuid:dev-master 446df35, enqueue/enqueue:dev-master a758bfc, enqueue/enqueue-bundle:dev-master 88a0957, enqueue/fs-pack:dev-master 8e277b5
- Installing makasim/temp-file (0.2.0): Loading from cache Extracting archive
REASON: enqueue/fs-pack 0.3.x-dev requires makasim/temp-file ^0.2 -> satisfiable by makasim/temp-file[0.2.0].
Installation failed, reverting ./composer.json to its original content.
[Composer\Downloader\TransportException]
The "https://pr16.contrib.flex.symfony.com/m/makasim/temp-file/0.2.0" file could not be downloaded: Peer certificate CN=`symfony.com' did not match expected CN=`pr16.contrib.flex.symfony.com'
Failed to enable crypto
failed to open stream: operation failed
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 /Users/makasim/projects/symfony/enqueue-demo-bug/vendor/symfony/flex/src/Downloader.php:107
Symfony\Flex\Downloader->fetchFile() at /Users/makasim/projects/symfony/enqueue-demo-bug/vendor/symfony/flex/src/Downloader.php:91
Symfony\Flex\Downloader->get() at phar:///usr/local/bin/composer/src/Composer/Plugin/PluginManager.php(195) : eval()'d code:257
Symfony\Flex\Flex_composer_tmp0->getPackageRecipe() at phar:///usr/local/bin/composer/src/Composer/Plugin/PluginManager.php(195) : eval()'d code:205
Symfony\Flex\Flex_composer_tmp0->filterPackageNames() at phar:///usr/local/bin/composer/src/Composer/Plugin/PluginManager.php(195) : eval()'d code:127
Symfony\Flex\Flex_composer_tmp0->configurePackage() at n/a:n/a
call_user_func() at phar:///usr/local/bin/composer/src/Composer/EventDispatcher/EventDispatcher.php:171
Composer\EventDispatcher\EventDispatcher->doDispatch() at phar:///usr/local/bin/composer/src/Composer/EventDispatcher/EventDispatcher.php:116
Composer\EventDispatcher\EventDispatcher->dispatchPackageEvent() at phar:///usr/local/bin/composer/src/Composer/Installer.php:605
Composer\Installer->doInstall() at phar:///usr/local/bin/composer/src/Composer/Installer.php:223
Composer\Installer->run() at phar:///usr/local/bin/composer/src/Composer/Command/RequireCommand.php:180
Composer\Command\RequireCommand->execute() at /Users/makasim/projects/symfony/enqueue-demo-bug/vendor/symfony/flex/src/Command/RequireCommand.php:35
Symfony\Flex\Command\RequireCommand->execute() at phar:///usr/local/bin/composer/vendor/symfony/console/Command/Command.php:267
Symfony\Component\Console\Command\Command->run() at phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:846
Symfony\Component\Console\Application->doRunCommand() at phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:191
Symfony\Component\Console\Application->doRun() at phar:///usr/local/bin/composer/src/Composer/Console/Application.php:227
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
The text was updated successfully, but these errors were encountered:
…ue (chalasr)
This PR was merged into the master branch.
Discussion
----------
[doctrine/doctrine-bundle] Escape DATABASE_URL env value
When requiring `doctrine/doctrine-bundle` (more often `orm-pack`), the following is added to the project `.env`:
```
DATABASE_URL=mysql://[email protected]:3306/symfony?charset=utf8mb4&serverVersion=5.7
```
The makefile seems to parse that properly (tested on OSX and debian).
But running `source .env` from the cli (for debugging the .env vars, as shown in [dotenv docs](http://symfony.com/doc/master/components/dotenv.html)) gives
> .env:15: parse error near `&'
This fixes it by adding quotes around the value.
Commits
-------
1e60b1f [doctrine/doctrine-bundle] Escape DATABASE_URL env value
I am playing with the recipe I created. Got the next error:
The dependency is next:
enqueue/fs-pack
->enqueue/fs
->makasim/temp-file
Steps to reproduce:
Here's the composer output:
The text was updated successfully, but these errors were encountered: