Skip to content

Commit 7f45cf7

Browse files
feature #803 Replace flex-server by hosting recipe info on GitHub (nicolas-grekas)
This PR was merged into the 1.13-dev branch. Discussion ---------- Replace flex-server by hosting recipe info on GitHub This PR replaces the `flex.symfony.com` endpoint that flex currently uses by a new endpoint made of static JSONs hosted on GitHub. Said JSONs are here: https://github.com/symfony/recipes/tree/flex/main And are generated by GHA: https://github.com/symfony/recipes/blob/master/.github/workflows/flex-endpoint.yml With the help of this tool: https://github.com/symfony-tools/recipes-checker The target is to retire `flex.symfony.com` at some point in the future and free us from maintaining and hosting it. As a nice side effect, this should make it easier for ppl to host their own flex endpoint overlay. It should also enable contributions for the community to innovate at the Flex API layer. The default endpoints can be changed by setting the `extra.symfony.endpoint` entry in the root `composer.json` file. The special `flex://defaults` endpoint can be used in that list to reference the default endpoints. On top of that, the `SYMFONY_ENDPOINT` env var can be defined to a single endpoint. This endpoint will be used on top of (with higher priority than) the default endpoints of the app. Commits ------- 9c1a3f8 Replace flex-server by hosting recipe info on GitHub
2 parents 0208367 + 9c1a3f8 commit 7f45cf7

File tree

5 files changed

+230
-148
lines changed

5 files changed

+230
-148
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
},
2929
"extra": {
3030
"branch-alias": {
31-
"dev-main": "1.13-dev"
31+
"dev-main": "1.16-dev"
3232
},
3333
"class": "Symfony\\Flex\\Flex"
3434
}

0 commit comments

Comments
 (0)