Skip to content

feat: Add option to generate Gitlab compatible endpoints #16

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

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

tchapuis
Copy link

@tchapuis tchapuis commented Apr 16, 2025

Hi!

The documentation for private recipes repositories include examples for using it with Gitlab.com (https://symfony.com/doc/current/setup/flex_private_recipes.html). But this project do not have the possibility to generate endpoints compatible with it.

I added the option --provider=, with default value to "github", in the generate:flex-endpoint command to specify a provider (only Github or Gitlab for now). This will change how the _links key is generated in the index.json.

Closes #13

@tchapuis tchapuis marked this pull request as ready for review April 16, 2025 14:10
Copy link
Contributor

@nicolas-grekas nicolas-grekas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works for me, I trust you that this might work there :)

@tchapuis tchapuis requested a review from stof April 17, 2025 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Ability to customize _links section of the index.json file
3 participants