-
-
Notifications
You must be signed in to change notification settings - Fork 196
Closed
Description
Q1:
In Downloader.php the code suggests that one must add "flex://defaults" to your endpoints in composer.json to access the default Symfony recipe repositories, like so:
"extra": {
"symfony": {
"endpoint": [
"https://api.github.com/repos/gnito-org/recipe-repo/contents/index.json",
"flex://defaults"
]
}
},
Yet, when I do that and issue the command FLEX_SERVERLESS=1 composer recipes
, composer freaks out with:
[Composer\Downloader\TransportException]
The "flex://defaults" file could not be downloaded: Unable to find the wrapper "flex" - did you forget to enable it when you configured PHP?
Failed to open stream: No such file or directory
When I have:
"extra": {
"symfony": {
"endpoint": [
"https://api.github.com/repos/gnito-org/recipe-repo/contents/index.json"
]
}
},
everthing works fine. With composer recipes
I get a combined list of Symfony recipes and private recipes.
Am I missing something here?
Q2:
The FLEX_SERVERLESS=1
flag seems to be doing nothing, meaning, composer recipes
and FLEX_SERVERLESS=1 composer recipes
give me exactly the same combined list of Symfony recipes and private recipes.
Footnote
composer clearcache
makes no difference to above.
Pinging @nicolas-grekas
Metadata
Metadata
Assignees
Labels
No labels