{"action":"opened","number":29,"pull_request":{"url":"https://api.github.com/repos/hostnet/webpack-bundle/pulls/29","id":51949180,"html_url":"https://github.com/hostnet/webpack-bundle/pull/29","diff_url":"https://github.com/hostnet/webpack-bundle/pull/29.diff","patch_url":"https://github.com/hostnet/webpack-bundle/pull/29.patch","issue_url":"https://api.github.com/repos/hostnet/webpack-bundle/issues/29","number":29,"state":"open","locked":false,"title":"Added ability to register extensions outside the bundle","user":{"login":"mariusbalcytis","id":1590072,"avatar_url":"https://avatars.githubusercontent.com/u/1590072?v=3","gravatar_id":"","url":"https://api.github.com/users/mariusbalcytis","html_url":"https://github.com/mariusbalcytis","followers_url":"https://api.github.com/users/mariusbalcytis/followers","following_url":"https://api.github.com/users/mariusbalcytis/following{/other_user}","gists_url":"https://api.github.com/users/mariusbalcytis/gists{/gist_id}","starred_url":"https://api.github.com/users/mariusbalcytis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mariusbalcytis/subscriptions","organizations_url":"https://api.github.com/users/mariusbalcytis/orgs","repos_url":"https://api.github.com/users/mariusbalcytis/repos","events_url":"https://api.github.com/users/mariusbalcytis/events{/privacy}","received_events_url":"https://api.github.com/users/mariusbalcytis/received_events","type":"User","site_admin":false},"body":"Moved `addMethodCall` from `Extension` to `CompilerPass` as it accesses whole container.\r\nSplit interface as one of the methods is used only inside the bundle.\r\n\r\nThis does not allow to configure the extensions inside the bundle configuration itself, but I don't think this would be a good practice, as several other bundles could register same extension names etc. (for example few extra bundles, first one with `raw` and `file`, another one with `raw` and `sass`).\r\n\r\nCurrent usage: just define service as usual in your own bundle, possibly providing configuration values in `config.yml` under your extension key. Tag it with `hostnet_webpack.config_extension`.","created_at":"2015-11-26T22:49:29Z","updated_at":"2015-11-26T22:49:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e454a56b60825ea3cec5c669e5d89a51db965b00","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hostnet/webpack-bundle/pulls/29/commits","review_comments_url":"https://api.github.com/repos/hostnet/webpack-bundle/pulls/29/comments","review_comment_url":"https://api.github.com/repos/hostnet/webpack-bundle/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hostnet/webpack-bundle/issues/29/comments","statuses_url":"https://api.github.com/repos/hostnet/webpack-bundle/statuses/06cd6679388cccf74e668e5c23d8fb4e321070b3","head":{"label":"mariusbalcytis:extensions-from-other-bundles","ref":"extensions-from-other-bundles","sha":"06cd6679388cccf74e668e5c23d8fb4e321070b3","user":{"login":"mariusbalcytis","id":1590072,"avatar_url":"https://avatars.githubusercontent.com/u/1590072?v=3","gravatar_id":"","url":"https://api.github.com/users/mariusbalcytis","html_url":"https://github.com/mariusbalcytis","followers_url":"https://api.github.com/users/mariusbalcytis/followers","following_url":"https://api.github.com/users/mariusbalcytis/following{/other_user}","gists_url":"https://api.github.com/users/mariusbalcytis/gists{/gist_id}","starred_url":"https://api.github.com/users/mariusbalcytis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mariusbalcytis/subscriptions","organizations_url":"https://api.github.com/users/mariusbalcytis/orgs","repos_url":"https://api.github.com/users/mariusbalcytis/repos","events_url":"https://api.github.com/users/mariusbalcytis/events{/privacy}","received_events_url":"https://api.github.com/users/mariusbalcytis/received_events","type":"User","site_admin":false},"repo":{"id":46949115,"name":"webpack-bundle","full_name":"mariusbalcytis/webpack-bundle","owner":{"login":"mariusbalcytis","id":1590072,"avatar_url":"https://avatars.githubusercontent.com/u/1590072?v=3","gravatar_id":"","url":"https://api.github.com/users/mariusbalcytis","html_url":"https://github.com/mariusbalcytis","followers_url":"https://api.github.com/users/mariusbalcytis/followers","following_url":"https://api.github.com/users/mariusbalcytis/following{/other_user}","gists_url":"https://api.github.com/users/mariusbalcytis/gists{/gist_id}","starred_url":"https://api.github.com/users/mariusbalcytis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mariusbalcytis/subscriptions","organizations_url":"https://api.github.com/users/mariusbalcytis/orgs","repos_url":"https://api.github.com/users/mariusbalcytis/repos","events_url":"https://api.github.com/users/mariusbalcytis/events{/privacy}","received_events_url":"https://api.github.com/users/mariusbalcytis/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mariusbalcytis/webpack-bundle","description":"","fork":true,"url":"https://api.github.com/repos/mariusbalcytis/webpack-bundle","forks_url":"https://api.github.com/repos/mariusbalcytis/webpack-bundle/forks","keys_url":"https://api.github.com/repos/mariusbalcytis/webpack-bundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mariusbalcytis/webpack-bundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mariusbalcytis/webpack-bundle/teams","hooks_url":"https://api.github.com/repos/mariusbalcytis/webpack-bundle/hooks","issue_events_url":"https://api.github.com/repos/mariusbalcytis/webpack-bundle/issues/events{/number}","events_url":"https://api.github.com/repos/mariusbalcytis/webpack-bundle/events","assignees_url":"https://api.github.com/repos/mariusbalcytis/webpack-bundle/assignees{/user}","branches_url":"https://api.github.com/repos/mariusbalcytis/webpack-bundle/branches{/branch}","tags_url":"https://api.github.com/repos/mariusbalcytis/webpack-bundle/tags","blobs_url":"https://api.github.com/repos/mariusbalcytis/webpack-bundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mariusbalcytis/webpack-bundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mariusbalcytis/webpack-bundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/mariusbalcytis/webpack-bundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mariusbalcytis/webpack-bundle/statuses/{sha}","languages_url":"https://api.github.com/repos/mariusbalcytis/webpack-bundle/languages","stargazers_url":"https://api.github.com/repos/mariusbalcytis/webpack-bundle/stargazers","contributors_url":"https://api.github.com/repos/mariusbalcytis/webpack-bundle/contributors","subscribers_url":"https://api.github.com/repos/mariusbalcytis/webpack-bundle/subscribers","subscription_url":"https://api.github.com/repos/mariusbalcytis/webpack-bundle/subscription","commits_url":"https://api.github.com/repos/mariusbalcytis/webpack-bundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/mariusbalcytis/webpack-bundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/mariusbalcytis/webpack-bundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/mariusbalcytis/webpack-bundle/issues/comments{/number}","contents_url":"https://api.github.com/repos/mariusbalcytis/webpack-bundle/contents/{+path}","compare_url":"https://api.github.com/repos/mariusbalcytis/webpack-bundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mariusbalcytis/webpack-bundle/merges","archive_url":"https://api.github.com/repos/mariusbalcytis/webpack-bundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mariusbalcytis/webpack-bundle/downloads","issues_url":"https://api.github.com/repos/mariusbalcytis/webpack-bundle/issues{/number}","pulls_url":"https://api.github.com/repos/mariusbalcytis/webpack-bundle/pulls{/number}","milestones_url":"https://api.github.com/repos/mariusbalcytis/webpack-bundle/milestones{/number}","notifications_url":"https://api.github.com/repos/mariusbalcytis/webpack-bundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mariusbalcytis/webpack-bundle/labels{/name}","releases_url":"https://api.github.com/repos/mariusbalcytis/webpack-bundle/releases{/id}","created_at":"2015-11-26T22:23:00Z","updated_at":"2015-11-26T22:23:02Z","pushed_at":"2015-11-26T22:42:37Z","git_url":"git://github.com/mariusbalcytis/webpack-bundle.git","ssh_url":"git@github.com:mariusbalcytis/webpack-bundle.git","clone_url":"https://github.com/mariusbalcytis/webpack-bundle.git","svn_url":"https://github.com/mariusbalcytis/webpack-bundle","homepage":null,"size":157,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"hostnet:master","ref":"master","sha":"d45db7478a9310ea8e6fb0d67440a79da0849a92","user":{"login":"hostnet","id":1465011,"avatar_url":"https://avatars.githubusercontent.com/u/1465011?v=3","gravatar_id":"","url":"https://api.github.com/users/hostnet","html_url":"https://github.com/hostnet","followers_url":"https://api.github.com/users/hostnet/followers","following_url":"https://api.github.com/users/hostnet/following{/other_user}","gists_url":"https://api.github.com/users/hostnet/gists{/gist_id}","starred_url":"https://api.github.com/users/hostnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hostnet/subscriptions","organizations_url":"https://api.github.com/users/hostnet/orgs","repos_url":"https://api.github.com/users/hostnet/repos","events_url":"https://api.github.com/users/hostnet/events{/privacy}","received_events_url":"https://api.github.com/users/hostnet/received_events","type":"Organization","site_admin":false},"repo":{"id":41296415,"name":"webpack-bundle","full_name":"hostnet/webpack-bundle","owner":{"login":"hostnet","id":1465011,"avatar_url":"https://avatars.githubusercontent.com/u/1465011?v=3","gravatar_id":"","url":"https://api.github.com/users/hostnet","html_url":"https://github.com/hostnet","followers_url":"https://api.github.com/users/hostnet/followers","following_url":"https://api.github.com/users/hostnet/following{/other_user}","gists_url":"https://api.github.com/users/hostnet/gists{/gist_id}","starred_url":"https://api.github.com/users/hostnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hostnet/subscriptions","organizations_url":"https://api.github.com/users/hostnet/orgs","repos_url":"https://api.github.com/users/hostnet/repos","events_url":"https://api.github.com/users/hostnet/events{/privacy}","received_events_url":"https://api.github.com/users/hostnet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hostnet/webpack-bundle","description":"","fork":false,"url":"https://api.github.com/repos/hostnet/webpack-bundle","forks_url":"https://api.github.com/repos/hostnet/webpack-bundle/forks","keys_url":"https://api.github.com/repos/hostnet/webpack-bundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hostnet/webpack-bundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hostnet/webpack-bundle/teams","hooks_url":"https://api.github.com/repos/hostnet/webpack-bundle/hooks","issue_events_url":"https://api.github.com/repos/hostnet/webpack-bundle/issues/events{/number}","events_url":"https://api.github.com/repos/hostnet/webpack-bundle/events","assignees_url":"https://api.github.com/repos/hostnet/webpack-bundle/assignees{/user}","branches_url":"https://api.github.com/repos/hostnet/webpack-bundle/branches{/branch}","tags_url":"https://api.github.com/repos/hostnet/webpack-bundle/tags","blobs_url":"https://api.github.com/repos/hostnet/webpack-bundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hostnet/webpack-bundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hostnet/webpack-bundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/hostnet/webpack-bundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hostnet/webpack-bundle/statuses/{sha}","languages_url":"https://api.github.com/repos/hostnet/webpack-bundle/languages","stargazers_url":"https://api.github.com/repos/hostnet/webpack-bundle/stargazers","contributors_url":"https://api.github.com/repos/hostnet/webpack-bundle/contributors","subscribers_url":"https://api.github.com/repos/hostnet/webpack-bundle/subscribers","subscription_url":"https://api.github.com/repos/hostnet/webpack-bundle/subscription","commits_url":"https://api.github.com/repos/hostnet/webpack-bundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/hostnet/webpack-bundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/hostnet/webpack-bundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/hostnet/webpack-bundle/issues/comments{/number}","contents_url":"https://api.github.com/repos/hostnet/webpack-bundle/contents/{+path}","compare_url":"https://api.github.com/repos/hostnet/webpack-bundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hostnet/webpack-bundle/merges","archive_url":"https://api.github.com/repos/hostnet/webpack-bundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hostnet/webpack-bundle/downloads","issues_url":"https://api.github.com/repos/hostnet/webpack-bundle/issues{/number}","pulls_url":"https://api.github.com/repos/hostnet/webpack-bundle/pulls{/number}","milestones_url":"https://api.github.com/repos/hostnet/webpack-bundle/milestones{/number}","notifications_url":"https://api.github.com/repos/hostnet/webpack-bundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hostnet/webpack-bundle/labels{/name}","releases_url":"https://api.github.com/repos/hostnet/webpack-bundle/releases{/id}","created_at":"2015-08-24T10:09:51Z","updated_at":"2015-10-22T07:42:24Z","pushed_at":"2015-11-26T22:49:30Z","git_url":"git://github.com/hostnet/webpack-bundle.git","ssh_url":"git@github.com:hostnet/webpack-bundle.git","clone_url":"https://github.com/hostnet/webpack-bundle.git","svn_url":"https://github.com/hostnet/webpack-bundle","homepage":null,"size":170,"stargazers_count":5,"watchers_count":5,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":8,"forks":8,"open_issues":8,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hostnet/webpack-bundle/pulls/29"},"html":{"href":"https://github.com/hostnet/webpack-bundle/pull/29"},"issue":{"href":"https://api.github.com/repos/hostnet/webpack-bundle/issues/29"},"comments":{"href":"https://api.github.com/repos/hostnet/webpack-bundle/issues/29/comments"},"review_comments":{"href":"https://api.github.com/repos/hostnet/webpack-bundle/pulls/29/comments"},"review_comment":{"href":"https://api.github.com/repos/hostnet/webpack-bundle/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hostnet/webpack-bundle/pulls/29/commits"},"statuses":{"href":"https://api.github.com/repos/hostnet/webpack-bundle/statuses/06cd6679388cccf74e668e5c23d8fb4e321070b3"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":22,"deletions":14,"changed_files":5}}