{"action":"created","issue":{"url":"https://api.github.com/repos/symfony-cmf/content-bundle/issues/189","repository_url":"https://api.github.com/repos/symfony-cmf/content-bundle","labels_url":"https://api.github.com/repos/symfony-cmf/content-bundle/issues/189/labels{/name}","comments_url":"https://api.github.com/repos/symfony-cmf/content-bundle/issues/189/comments","events_url":"https://api.github.com/repos/symfony-cmf/content-bundle/issues/189/events","html_url":"https://github.com/symfony-cmf/content-bundle/pull/189","id":318485749,"number":189,"title":"Add symfony/validator to composer.json","user":{"login":"covex-nn","id":110878,"avatar_url":"https://avatars0.githubusercontent.com/u/110878?v=4","gravatar_id":"","url":"https://api.github.com/users/covex-nn","html_url":"https://github.com/covex-nn","followers_url":"https://api.github.com/users/covex-nn/followers","following_url":"https://api.github.com/users/covex-nn/following{/other_user}","gists_url":"https://api.github.com/users/covex-nn/gists{/gist_id}","starred_url":"https://api.github.com/users/covex-nn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/covex-nn/subscriptions","organizations_url":"https://api.github.com/users/covex-nn/orgs","repos_url":"https://api.github.com/users/covex-nn/repos","events_url":"https://api.github.com/users/covex-nn/events{/privacy}","received_events_url":"https://api.github.com/users/covex-nn/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-04-27T17:15:58Z","updated_at":"2018-05-01T21:25:09Z","closed_at":"2018-05-01T16:05:17Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/symfony-cmf/content-bundle/pulls/189","html_url":"https://github.com/symfony-cmf/content-bundle/pull/189","diff_url":"https://github.com/symfony-cmf/content-bundle/pull/189.diff","patch_url":"https://github.com/symfony-cmf/content-bundle/pull/189.patch"},"body":"| Q             | A\r\n| ------------- | ---\r\n| Branch?       | \"master\", for 2.1 release\r\n| Bug fix?      | no\r\n| New feature?  | no\r\n| BC breaks?    | no\r\n| Deprecations? | no\r\n| License       | MIT\r\n\r\nIn https://github.com/symfony-cmf/symfony-cmf/issues/260 i tried to create minimal recipes for SymfonyCMF bundles used in `symfony-cmf/symfony-cmf`\r\n\r\nA recipe for `symfony-cmf/content-bundle` could contain these lines:\r\n\r\n```yaml\r\ncmf_content:\r\n    persistence:\r\n        phpcr:\r\n            enabled: true\r\n```\r\n\r\nWith this PR `symfony/validator` package will be added to composer.json. Service `validator.builder` is used in `ValidationPass` compiler pass"},"comment":{"url":"https://api.github.com/repos/symfony-cmf/content-bundle/issues/comments/385795262","html_url":"https://github.com/symfony-cmf/content-bundle/pull/189#issuecomment-385795262","issue_url":"https://api.github.com/repos/symfony-cmf/content-bundle/issues/189","id":385795262,"user":{"login":"covex-nn","id":110878,"avatar_url":"https://avatars0.githubusercontent.com/u/110878?v=4","gravatar_id":"","url":"https://api.github.com/users/covex-nn","html_url":"https://github.com/covex-nn","followers_url":"https://api.github.com/users/covex-nn/followers","following_url":"https://api.github.com/users/covex-nn/following{/other_user}","gists_url":"https://api.github.com/users/covex-nn/gists{/gist_id}","starred_url":"https://api.github.com/users/covex-nn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/covex-nn/subscriptions","organizations_url":"https://api.github.com/users/covex-nn/orgs","repos_url":"https://api.github.com/users/covex-nn/repos","events_url":"https://api.github.com/users/covex-nn/events{/privacy}","received_events_url":"https://api.github.com/users/covex-nn/received_events","type":"User","site_admin":false},"created_at":"2018-05-01T21:25:09Z","updated_at":"2018-05-01T21:25:09Z","author_association":"CONTRIBUTOR","body":"I saw both your PRs in `symfony/recipes-contrib` before, and as **Nyholm**, i think that all bundles must have there own recipes; and having it in mind i started to test CMF bundles how they can be installed with Flex separately, just to have alternative installation option.\r\n\r\nImagine:\r\n\r\n1. You run `composer create-package symfony/skeleton .`\r\n2. You run `composer require symfony-cmf/symfony-cmf`\r\n3. Flex installs recipes for `doctrine/phpcr-bundle`, `symfony-cmf/core-bundle`, `symfony-cmf/block-bundle`, `symfony-cmf/menu-bundle`, `symfony-cmf/routing-bundle` and `symfony-cmf/content-bundle` without errors (just imagine =)\r\n4. You run `composer require jackalope/jackalope-doctrine-dbal`\r\n5. Flex installs recipe for `jackalope/jackalope-doctrine-dbal` (no errors again =)\r\n6. You have fully functional SymfonyCMF =)\r\n\r\nI understand, that it is just a fantasy. But i tried to reach it with my tests. Anyway, recipes for packs will allow to install SymfonyCMF clean, and i am waiting for it."}}
{"actor":{"display_login":"covex-nn"}}