{"action":"created","issue":{"url":"https://api.github.com/repos/sonata-project/dev-kit/issues/137","repository_url":"https://api.github.com/repos/sonata-project/dev-kit","labels_url":"https://api.github.com/repos/sonata-project/dev-kit/issues/137/labels{/name}","comments_url":"https://api.github.com/repos/sonata-project/dev-kit/issues/137/comments","events_url":"https://api.github.com/repos/sonata-project/dev-kit/issues/137/events","html_url":"https://github.com/sonata-project/dev-kit/issues/137","id":158741774,"number":137,"title":"Sonata assets packages","user":{"login":"Soullivaneuh","id":1698357,"avatar_url":"https://avatars.githubusercontent.com/u/1698357?v=3","gravatar_id":"","url":"https://api.github.com/users/Soullivaneuh","html_url":"https://github.com/Soullivaneuh","followers_url":"https://api.github.com/users/Soullivaneuh/followers","following_url":"https://api.github.com/users/Soullivaneuh/following{/other_user}","gists_url":"https://api.github.com/users/Soullivaneuh/gists{/gist_id}","starred_url":"https://api.github.com/users/Soullivaneuh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Soullivaneuh/subscriptions","organizations_url":"https://api.github.com/users/Soullivaneuh/orgs","repos_url":"https://api.github.com/users/Soullivaneuh/repos","events_url":"https://api.github.com/users/Soullivaneuh/events{/privacy}","received_events_url":"https://api.github.com/users/Soullivaneuh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"Soullivaneuh","id":1698357,"avatar_url":"https://avatars.githubusercontent.com/u/1698357?v=3","gravatar_id":"","url":"https://api.github.com/users/Soullivaneuh","html_url":"https://github.com/Soullivaneuh","followers_url":"https://api.github.com/users/Soullivaneuh/followers","following_url":"https://api.github.com/users/Soullivaneuh/following{/other_user}","gists_url":"https://api.github.com/users/Soullivaneuh/gists{/gist_id}","starred_url":"https://api.github.com/users/Soullivaneuh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Soullivaneuh/subscriptions","organizations_url":"https://api.github.com/users/Soullivaneuh/orgs","repos_url":"https://api.github.com/users/Soullivaneuh/repos","events_url":"https://api.github.com/users/Soullivaneuh/events{/privacy}","received_events_url":"https://api.github.com/users/Soullivaneuh/received_events","type":"User","site_admin":false},"milestone":null,"comments":9,"created_at":"2016-06-06T18:22:00Z","updated_at":"2016-06-06T21:29:23Z","closed_at":null,"body":"The idea of this issue is to extract the css/js logic from php repository to assets packages.\r\n\r\nThis will allow us to avoid committing vendor file like a pig. :pig_nose:\r\n\r\nThis concerns the following projects:\r\n\r\n* https://github.com/sonata-project/SonataCoreBundle/tree/3.x/Resources/public/vendor\r\n* https://github.com/sonata-project/SonataAdminBundle/tree/3.x/Resources/public/vendor\r\n\r\nMaybe others?\r\n\r\nWe can extract the logic and user dependencies managers to include vendors.\r\n\r\nWe can publish those packages under npm and bower, the most used managers for assets.\r\n\r\nPackages to be created:\r\n\r\n* `sonata-project/core` (assets from core-bundle and dependencies)\r\n* `sonata-project/admin` (assets from admin-bundle and dependencies)\r\n\r\nShall we create new repositories for that? I don't know. Maybe yes because dependencies manager like npm does not has the same release logic (more restrictive).\r\n\r\nCan this be done on a new minor? Yes if only we keep vendor file sync like a :pig: (Did I already say that?! :smile:) until next major.\r\n\r\n@rande said to me this can be problematic for developer not using dependencies manager for assets.\r\n\r\nThis is true, and maybe we can find another solution for them. Any suggestion?\r\n\r\nIf this can't be possible, I still think we should stop committing vendor files like this.\r\n\r\nAfter all, PHP user not using composer can't install our packages. :trollface:\r\n\r\nIf you have other ideas/suggestions, please comment! :+1: "},"comment":{"url":"https://api.github.com/repos/sonata-project/dev-kit/issues/comments/224094277","html_url":"https://github.com/sonata-project/dev-kit/issues/137#issuecomment-224094277","issue_url":"https://api.github.com/repos/sonata-project/dev-kit/issues/137","id":224094277,"user":{"login":"Soullivaneuh","id":1698357,"avatar_url":"https://avatars.githubusercontent.com/u/1698357?v=3","gravatar_id":"","url":"https://api.github.com/users/Soullivaneuh","html_url":"https://github.com/Soullivaneuh","followers_url":"https://api.github.com/users/Soullivaneuh/followers","following_url":"https://api.github.com/users/Soullivaneuh/following{/other_user}","gists_url":"https://api.github.com/users/Soullivaneuh/gists{/gist_id}","starred_url":"https://api.github.com/users/Soullivaneuh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Soullivaneuh/subscriptions","organizations_url":"https://api.github.com/users/Soullivaneuh/orgs","repos_url":"https://api.github.com/users/Soullivaneuh/repos","events_url":"https://api.github.com/users/Soullivaneuh/events{/privacy}","received_events_url":"https://api.github.com/users/Soullivaneuh/received_events","type":"User","site_admin":false},"created_at":"2016-06-06T21:29:23Z","updated_at":"2016-06-06T21:29:23Z","body":"> do you want \"another solution\" or not ?\r\n\r\nYes, a solution. Not moving ugly committed vendor on another GitHub repo. :stuck_out_tongue: "}}
{"actor":{"display_login":"Soullivaneuh"}}