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

[Question] Why differentiate copy-from-recipe and copy-from-package? #39

Closed
javiereguiluz opened this issue Apr 5, 2017 · 1 comment

Comments

@javiereguiluz
Copy link
Member

At first I thought that recipes were just manifest.json files at the project's root dir. But then we have two separate configurators to copy contents from packages and recipes.

My questions:

  • Why can't we have only copy-from-package?
  • Where are the recipes stored?
  • Can the community create their own recipes? If so, where will they store the contents? (I guess that in the same Composer package, so why is copy-from-recipe needed?
  • Where are the "core recipes" stored? For example, will the framework-bundle recipe be stored publicly on https://github.com/symfony/symfony/tree/master/src/Symfony/Bundle/FrameworkBundle or privately on Flex servers? At first I thought that Flex servers would only take care of curating dependencies, managing the aliases defined, etc.
@fabpot
Copy link
Member

fabpot commented Apr 5, 2017

That's a lot of questions.

  • copy-from-recipe is sometimes needed to integrate packages that are not meant to work with Symfony out of the box (see sensiolabs/security-checker for an example where creating a bundle would be overkill)

  • The recipes are not "stored" on the client, but served by https://flex.symfony.com/. There is a local HTTP cache under ~/.composer/ though.

  • No, recipes cannot be part of the package contents, but should be hosted on a specific recipes repository. At first, there is only one, but we will support having several ones.

  • Same as the previous one. Recipes are stored independently of the packages.

@fabpot fabpot closed this as completed Apr 5, 2017
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

2 participants