{"action":"created","comment":{"url":"https://api.github.com/repos/nodejs/node/pulls/comments/56432644","id":56432644,"diff_hunk":"@@ -182,8 +187,9 @@ def headers(action):\n       'deps/zlib/zlib.h',\n     ], 'include/node/')\n \n-def run(args):\n+def run(opts, args):\n   global node_prefix, install_path, target_defaults, variables\n+  components = set(['node', 'npm', 'headers'])","path":"tools/install.py","position":52,"original_position":52,"commit_id":"eb9be0ea81ed8f2e4fd20d2f1b48374048104289","original_commit_id":"eb9be0ea81ed8f2e4fd20d2f1b48374048104289","user":{"login":"rvagg","id":495647,"avatar_url":"https://avatars.githubusercontent.com/u/495647?v=3","gravatar_id":"","url":"https://api.github.com/users/rvagg","html_url":"https://github.com/rvagg","followers_url":"https://api.github.com/users/rvagg/followers","following_url":"https://api.github.com/users/rvagg/following{/other_user}","gists_url":"https://api.github.com/users/rvagg/gists{/gist_id}","starred_url":"https://api.github.com/users/rvagg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rvagg/subscriptions","organizations_url":"https://api.github.com/users/rvagg/orgs","repos_url":"https://api.github.com/users/rvagg/repos","events_url":"https://api.github.com/users/rvagg/events{/privacy}","received_events_url":"https://api.github.com/users/rvagg/received_events","type":"User","site_admin":false},"body":"This should probably be without \"npm\" since that's added later when you set \"node_install_npm\" in the config.","created_at":"2016-03-16T23:17:41Z","updated_at":"2016-03-16T23:17:41Z","html_url":"https://github.com/nodejs/node/pull/5741#discussion_r56432644","pull_request_url":"https://api.github.com/repos/nodejs/node/pulls/5741","_links":{"self":{"href":"https://api.github.com/repos/nodejs/node/pulls/comments/56432644"},"html":{"href":"https://github.com/nodejs/node/pull/5741#discussion_r56432644"},"pull_request":{"href":"https://api.github.com/repos/nodejs/node/pulls/5741"}}},"pull_request":{"url":"https://api.github.com/repos/nodejs/node/pulls/5741","id":63108908,"html_url":"https://github.com/nodejs/node/pull/5741","diff_url":"https://github.com/nodejs/node/pull/5741.diff","patch_url":"https://github.com/nodejs/node/pull/5741.patch","issue_url":"https://api.github.com/repos/nodejs/node/issues/5741","number":5741,"state":"open","locked":false,"title":"tools: install components optionally","user":{"login":"thefourtheye","id":696611,"avatar_url":"https://avatars.githubusercontent.com/u/696611?v=3","gravatar_id":"","url":"https://api.github.com/users/thefourtheye","html_url":"https://github.com/thefourtheye","followers_url":"https://api.github.com/users/thefourtheye/followers","following_url":"https://api.github.com/users/thefourtheye/following{/other_user}","gists_url":"https://api.github.com/users/thefourtheye/gists{/gist_id}","starred_url":"https://api.github.com/users/thefourtheye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thefourtheye/subscriptions","organizations_url":"https://api.github.com/users/thefourtheye/orgs","repos_url":"https://api.github.com/users/thefourtheye/repos","events_url":"https://api.github.com/users/thefourtheye/events{/privacy}","received_events_url":"https://api.github.com/users/thefourtheye/received_events","type":"User","site_admin":false},"body":"### Pull Request check-list\r\n\r\n- [x] Does `make -j8 test` (UNIX) or `vcbuild test nosign` (Windows) pass with\r\n  this change (including linting)?\r\n- [x] Is the commit message formatted according to [CONTRIBUTING.md][0]?\r\n\r\n### Affected core subsystem(s)\r\n\r\ntools\r\n\r\n[0]: https://github.com/nodejs/node/blob/master/CONTRIBUTING.md#step-3-commit\r\n\r\n### Description of change\r\n\r\nRefer: https://github.com/nodejs/node/pull/5734\r\n\r\nThis introduces a command line option, ('-c' or '--components')  to\r\ninstall components optionally. The valid components are\r\n\r\n  * node\r\n  * npm\r\n  * headers\r\n\r\nAll these components can be installed or uninstalled, like this\r\n\r\n    python tools/install.py -c node,headers install . /\r\n\r\n    python tools/install.py --components npm uninstall . /\r\n\r\n\"-c\" is just the short form of \"--components\"\r\n\r\n-----\r\n\r\ncc @rvagg @bnoordhuis ","created_at":"2016-03-16T17:59:03Z","updated_at":"2016-03-16T23:17:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d48602c0b80218b5deed3cecf1e9f19e26e4b92e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/nodejs/node/pulls/5741/commits","review_comments_url":"https://api.github.com/repos/nodejs/node/pulls/5741/comments","review_comment_url":"https://api.github.com/repos/nodejs/node/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nodejs/node/issues/5741/comments","statuses_url":"https://api.github.com/repos/nodejs/node/statuses/eb9be0ea81ed8f2e4fd20d2f1b48374048104289","head":{"label":"thefourtheye:install-seperate-components","ref":"install-seperate-components","sha":"eb9be0ea81ed8f2e4fd20d2f1b48374048104289","user":{"login":"thefourtheye","id":696611,"avatar_url":"https://avatars.githubusercontent.com/u/696611?v=3","gravatar_id":"","url":"https://api.github.com/users/thefourtheye","html_url":"https://github.com/thefourtheye","followers_url":"https://api.github.com/users/thefourtheye/followers","following_url":"https://api.github.com/users/thefourtheye/following{/other_user}","gists_url":"https://api.github.com/users/thefourtheye/gists{/gist_id}","starred_url":"https://api.github.com/users/thefourtheye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thefourtheye/subscriptions","organizations_url":"https://api.github.com/users/thefourtheye/orgs","repos_url":"https://api.github.com/users/thefourtheye/repos","events_url":"https://api.github.com/users/thefourtheye/events{/privacy}","received_events_url":"https://api.github.com/users/thefourtheye/received_events","type":"User","site_admin":false},"repo":{"id":35113605,"name":"io.js","full_name":"thefourtheye/io.js","owner":{"login":"thefourtheye","id":696611,"avatar_url":"https://avatars.githubusercontent.com/u/696611?v=3","gravatar_id":"","url":"https://api.github.com/users/thefourtheye","html_url":"https://github.com/thefourtheye","followers_url":"https://api.github.com/users/thefourtheye/followers","following_url":"https://api.github.com/users/thefourtheye/following{/other_user}","gists_url":"https://api.github.com/users/thefourtheye/gists{/gist_id}","starred_url":"https://api.github.com/users/thefourtheye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thefourtheye/subscriptions","organizations_url":"https://api.github.com/users/thefourtheye/orgs","repos_url":"https://api.github.com/users/thefourtheye/repos","events_url":"https://api.github.com/users/thefourtheye/events{/privacy}","received_events_url":"https://api.github.com/users/thefourtheye/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/thefourtheye/io.js","description":"A friendly fork of Node.js with an open governance model","fork":true,"url":"https://api.github.com/repos/thefourtheye/io.js","forks_url":"https://api.github.com/repos/thefourtheye/io.js/forks","keys_url":"https://api.github.com/repos/thefourtheye/io.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thefourtheye/io.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thefourtheye/io.js/teams","hooks_url":"https://api.github.com/repos/thefourtheye/io.js/hooks","issue_events_url":"https://api.github.com/repos/thefourtheye/io.js/issues/events{/number}","events_url":"https://api.github.com/repos/thefourtheye/io.js/events","assignees_url":"https://api.github.com/repos/thefourtheye/io.js/assignees{/user}","branches_url":"https://api.github.com/repos/thefourtheye/io.js/branches{/branch}","tags_url":"https://api.github.com/repos/thefourtheye/io.js/tags","blobs_url":"https://api.github.com/repos/thefourtheye/io.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thefourtheye/io.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thefourtheye/io.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/thefourtheye/io.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thefourtheye/io.js/statuses/{sha}","languages_url":"https://api.github.com/repos/thefourtheye/io.js/languages","stargazers_url":"https://api.github.com/repos/thefourtheye/io.js/stargazers","contributors_url":"https://api.github.com/repos/thefourtheye/io.js/contributors","subscribers_url":"https://api.github.com/repos/thefourtheye/io.js/subscribers","subscription_url":"https://api.github.com/repos/thefourtheye/io.js/subscription","commits_url":"https://api.github.com/repos/thefourtheye/io.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/thefourtheye/io.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/thefourtheye/io.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/thefourtheye/io.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/thefourtheye/io.js/contents/{+path}","compare_url":"https://api.github.com/repos/thefourtheye/io.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thefourtheye/io.js/merges","archive_url":"https://api.github.com/repos/thefourtheye/io.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thefourtheye/io.js/downloads","issues_url":"https://api.github.com/repos/thefourtheye/io.js/issues{/number}","pulls_url":"https://api.github.com/repos/thefourtheye/io.js/pulls{/number}","milestones_url":"https://api.github.com/repos/thefourtheye/io.js/milestones{/number}","notifications_url":"https://api.github.com/repos/thefourtheye/io.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thefourtheye/io.js/labels{/name}","releases_url":"https://api.github.com/repos/thefourtheye/io.js/releases{/id}","deployments_url":"https://api.github.com/repos/thefourtheye/io.js/deployments","created_at":"2015-05-05T17:20:53Z","updated_at":"2015-05-05T17:20:56Z","pushed_at":"2016-03-16T17:56:10Z","git_url":"git://github.com/thefourtheye/io.js.git","ssh_url":"git@github.com:thefourtheye/io.js.git","clone_url":"https://github.com/thefourtheye/io.js.git","svn_url":"https://github.com/thefourtheye/io.js","homepage":"https://iojs.org","size":180692,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"nodejs:master","ref":"master","sha":"f9e6191f8582e0ec6f1ff64da454988423e0cb89","user":{"login":"nodejs","id":9950313,"avatar_url":"https://avatars.githubusercontent.com/u/9950313?v=3","gravatar_id":"","url":"https://api.github.com/users/nodejs","html_url":"https://github.com/nodejs","followers_url":"https://api.github.com/users/nodejs/followers","following_url":"https://api.github.com/users/nodejs/following{/other_user}","gists_url":"https://api.github.com/users/nodejs/gists{/gist_id}","starred_url":"https://api.github.com/users/nodejs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nodejs/subscriptions","organizations_url":"https://api.github.com/users/nodejs/orgs","repos_url":"https://api.github.com/users/nodejs/repos","events_url":"https://api.github.com/users/nodejs/events{/privacy}","received_events_url":"https://api.github.com/users/nodejs/received_events","type":"Organization","site_admin":false},"repo":{"id":27193779,"name":"node","full_name":"nodejs/node","owner":{"login":"nodejs","id":9950313,"avatar_url":"https://avatars.githubusercontent.com/u/9950313?v=3","gravatar_id":"","url":"https://api.github.com/users/nodejs","html_url":"https://github.com/nodejs","followers_url":"https://api.github.com/users/nodejs/followers","following_url":"https://api.github.com/users/nodejs/following{/other_user}","gists_url":"https://api.github.com/users/nodejs/gists{/gist_id}","starred_url":"https://api.github.com/users/nodejs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nodejs/subscriptions","organizations_url":"https://api.github.com/users/nodejs/orgs","repos_url":"https://api.github.com/users/nodejs/repos","events_url":"https://api.github.com/users/nodejs/events{/privacy}","received_events_url":"https://api.github.com/users/nodejs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nodejs/node","description":"Node.js JavaScript runtime :sparkles::turtle::rocket::sparkles:","fork":false,"url":"https://api.github.com/repos/nodejs/node","forks_url":"https://api.github.com/repos/nodejs/node/forks","keys_url":"https://api.github.com/repos/nodejs/node/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nodejs/node/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nodejs/node/teams","hooks_url":"https://api.github.com/repos/nodejs/node/hooks","issue_events_url":"https://api.github.com/repos/nodejs/node/issues/events{/number}","events_url":"https://api.github.com/repos/nodejs/node/events","assignees_url":"https://api.github.com/repos/nodejs/node/assignees{/user}","branches_url":"https://api.github.com/repos/nodejs/node/branches{/branch}","tags_url":"https://api.github.com/repos/nodejs/node/tags","blobs_url":"https://api.github.com/repos/nodejs/node/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nodejs/node/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nodejs/node/git/refs{/sha}","trees_url":"https://api.github.com/repos/nodejs/node/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nodejs/node/statuses/{sha}","languages_url":"https://api.github.com/repos/nodejs/node/languages","stargazers_url":"https://api.github.com/repos/nodejs/node/stargazers","contributors_url":"https://api.github.com/repos/nodejs/node/contributors","subscribers_url":"https://api.github.com/repos/nodejs/node/subscribers","subscription_url":"https://api.github.com/repos/nodejs/node/subscription","commits_url":"https://api.github.com/repos/nodejs/node/commits{/sha}","git_commits_url":"https://api.github.com/repos/nodejs/node/git/commits{/sha}","comments_url":"https://api.github.com/repos/nodejs/node/comments{/number}","issue_comment_url":"https://api.github.com/repos/nodejs/node/issues/comments{/number}","contents_url":"https://api.github.com/repos/nodejs/node/contents/{+path}","compare_url":"https://api.github.com/repos/nodejs/node/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nodejs/node/merges","archive_url":"https://api.github.com/repos/nodejs/node/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nodejs/node/downloads","issues_url":"https://api.github.com/repos/nodejs/node/issues{/number}","pulls_url":"https://api.github.com/repos/nodejs/node/pulls{/number}","milestones_url":"https://api.github.com/repos/nodejs/node/milestones{/number}","notifications_url":"https://api.github.com/repos/nodejs/node/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nodejs/node/labels{/name}","releases_url":"https://api.github.com/repos/nodejs/node/releases{/id}","deployments_url":"https://api.github.com/repos/nodejs/node/deployments","created_at":"2014-11-26T19:57:11Z","updated_at":"2016-03-16T23:17:02Z","pushed_at":"2016-03-16T22:24:37Z","git_url":"git://github.com/nodejs/node.git","ssh_url":"git@github.com:nodejs/node.git","clone_url":"https://github.com/nodejs/node.git","svn_url":"https://github.com/nodejs/node","homepage":"https://nodejs.org","size":224976,"stargazers_count":21136,"watchers_count":21136,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2747,"mirror_url":null,"open_issues_count":744,"forks":2747,"open_issues":744,"watchers":21136,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nodejs/node/pulls/5741"},"html":{"href":"https://github.com/nodejs/node/pull/5741"},"issue":{"href":"https://api.github.com/repos/nodejs/node/issues/5741"},"comments":{"href":"https://api.github.com/repos/nodejs/node/issues/5741/comments"},"review_comments":{"href":"https://api.github.com/repos/nodejs/node/pulls/5741/comments"},"review_comment":{"href":"https://api.github.com/repos/nodejs/node/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nodejs/node/pulls/5741/commits"},"statuses":{"href":"https://api.github.com/repos/nodejs/node/statuses/eb9be0ea81ed8f2e4fd20d2f1b48374048104289"}}}}