{"action":"created","comment":{"url":"https://api.github.com/repos/apache/cordova-lib/pulls/comments/25779722","id":25779722,"diff_hunk":"@@ -236,15 +231,22 @@ function initSettings() {\n     module.exports.settings =\n     rc('plugman', {\n         cache: plugmanCacheDir,\n-        registry: 'http://registry.cordova.io',\n+        registry: registryURL,\n         logstream: fs.createWriteStream(path.resolve(plugmanConfigDir, 'plugman.log')),\n         userconfig: path.resolve(plugmanConfigDir, 'config'),\n         'cache-min': oneDay\n     });\n+\n+    // if npm is true, use npm registry. \n+    // ~/.plugman/config overides the above config if it exists. ","path":"cordova-lib/src/plugman/registry/registry.js","position":93,"original_position":93,"commit_id":"cfdcc066ecea14d77d88da8c9de2076274d7649a","original_commit_id":"cfdcc066ecea14d77d88da8c9de2076274d7649a","user":{"login":"agrieve","id":1369484,"avatar_url":"https://avatars.githubusercontent.com/u/1369484?v=3","gravatar_id":"","url":"https://api.github.com/users/agrieve","html_url":"https://github.com/agrieve","followers_url":"https://api.github.com/users/agrieve/followers","following_url":"https://api.github.com/users/agrieve/following{/other_user}","gists_url":"https://api.github.com/users/agrieve/gists{/gist_id}","starred_url":"https://api.github.com/users/agrieve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agrieve/subscriptions","organizations_url":"https://api.github.com/users/agrieve/orgs","repos_url":"https://api.github.com/users/agrieve/repos","events_url":"https://api.github.com/users/agrieve/events{/privacy}","received_events_url":"https://api.github.com/users/agrieve/received_events","type":"User","site_admin":false},"body":"ahh, gotcha.","created_at":"2015-03-04T14:54:34Z","updated_at":"2015-03-04T14:54:34Z","html_url":"https://github.com/apache/cordova-lib/pull/175#discussion_r25779722","pull_request_url":"https://api.github.com/repos/apache/cordova-lib/pulls/175","_links":{"self":{"href":"https://api.github.com/repos/apache/cordova-lib/pulls/comments/25779722"},"html":{"href":"https://github.com/apache/cordova-lib/pull/175#discussion_r25779722"},"pull_request":{"href":"https://api.github.com/repos/apache/cordova-lib/pulls/175"}}},"pull_request":{"url":"https://api.github.com/repos/apache/cordova-lib/pulls/175","id":30354966,"html_url":"https://github.com/apache/cordova-lib/pull/175","diff_url":"https://github.com/apache/cordova-lib/pull/175.diff","patch_url":"https://github.com/apache/cordova-lib/pull/175.patch","issue_url":"https://api.github.com/repos/apache/cordova-lib/issues/175","number":175,"state":"open","locked":false,"title":"CB-8551 npm registry integration for fetching and removing plugins","user":{"login":"stevengill","id":169536,"avatar_url":"https://avatars.githubusercontent.com/u/169536?v=3","gravatar_id":"","url":"https://api.github.com/users/stevengill","html_url":"https://github.com/stevengill","followers_url":"https://api.github.com/users/stevengill/followers","following_url":"https://api.github.com/users/stevengill/following{/other_user}","gists_url":"https://api.github.com/users/stevengill/gists{/gist_id}","starred_url":"https://api.github.com/users/stevengill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevengill/subscriptions","organizations_url":"https://api.github.com/users/stevengill/orgs","repos_url":"https://api.github.com/users/stevengill/repos","events_url":"https://api.github.com/users/stevengill/events{/privacy}","received_events_url":"https://api.github.com/users/stevengill/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-03-03T08:37:06Z","updated_at":"2015-03-04T14:54:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8b0685d3a5e9643ac216d158274041352add0a7a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/apache/cordova-lib/pulls/175/commits","review_comments_url":"https://api.github.com/repos/apache/cordova-lib/pulls/175/comments","review_comment_url":"https://api.github.com/repos/apache/cordova-lib/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/cordova-lib/issues/175/comments","statuses_url":"https://api.github.com/repos/apache/cordova-lib/statuses/cfdcc066ecea14d77d88da8c9de2076274d7649a","head":{"label":"apache:CB-8551","ref":"CB-8551","sha":"cfdcc066ecea14d77d88da8c9de2076274d7649a","user":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":19524397,"name":"cordova-lib","full_name":"apache/cordova-lib","owner":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apache/cordova-lib","description":"Mirror of Apache Cordova","fork":false,"url":"https://api.github.com/repos/apache/cordova-lib","forks_url":"https://api.github.com/repos/apache/cordova-lib/forks","keys_url":"https://api.github.com/repos/apache/cordova-lib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/cordova-lib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/cordova-lib/teams","hooks_url":"https://api.github.com/repos/apache/cordova-lib/hooks","issue_events_url":"https://api.github.com/repos/apache/cordova-lib/issues/events{/number}","events_url":"https://api.github.com/repos/apache/cordova-lib/events","assignees_url":"https://api.github.com/repos/apache/cordova-lib/assignees{/user}","branches_url":"https://api.github.com/repos/apache/cordova-lib/branches{/branch}","tags_url":"https://api.github.com/repos/apache/cordova-lib/tags","blobs_url":"https://api.github.com/repos/apache/cordova-lib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/cordova-lib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/cordova-lib/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/cordova-lib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/cordova-lib/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/cordova-lib/languages","stargazers_url":"https://api.github.com/repos/apache/cordova-lib/stargazers","contributors_url":"https://api.github.com/repos/apache/cordova-lib/contributors","subscribers_url":"https://api.github.com/repos/apache/cordova-lib/subscribers","subscription_url":"https://api.github.com/repos/apache/cordova-lib/subscription","commits_url":"https://api.github.com/repos/apache/cordova-lib/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/cordova-lib/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/cordova-lib/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/cordova-lib/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/cordova-lib/contents/{+path}","compare_url":"https://api.github.com/repos/apache/cordova-lib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/cordova-lib/merges","archive_url":"https://api.github.com/repos/apache/cordova-lib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/cordova-lib/downloads","issues_url":"https://api.github.com/repos/apache/cordova-lib/issues{/number}","pulls_url":"https://api.github.com/repos/apache/cordova-lib/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/cordova-lib/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/cordova-lib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/cordova-lib/labels{/name}","releases_url":"https://api.github.com/repos/apache/cordova-lib/releases{/id}","created_at":"2014-05-07T07:00:06Z","updated_at":"2015-03-04T00:39:47Z","pushed_at":"2015-03-03T22:44:48Z","git_url":"git://github.com/apache/cordova-lib.git","ssh_url":"git@github.com:apache/cordova-lib.git","clone_url":"https://github.com/apache/cordova-lib.git","svn_url":"https://github.com/apache/cordova-lib","homepage":null,"size":46126,"stargazers_count":44,"watchers_count":44,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":104,"mirror_url":"git://git.apache.org/cordova-lib.git","open_issues_count":10,"forks":104,"open_issues":10,"watchers":44,"default_branch":"master"}},"base":{"label":"apache:master","ref":"master","sha":"7e225f351db750ac101b4d567a6761037d294b4d","user":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":19524397,"name":"cordova-lib","full_name":"apache/cordova-lib","owner":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apache/cordova-lib","description":"Mirror of Apache Cordova","fork":false,"url":"https://api.github.com/repos/apache/cordova-lib","forks_url":"https://api.github.com/repos/apache/cordova-lib/forks","keys_url":"https://api.github.com/repos/apache/cordova-lib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/cordova-lib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/cordova-lib/teams","hooks_url":"https://api.github.com/repos/apache/cordova-lib/hooks","issue_events_url":"https://api.github.com/repos/apache/cordova-lib/issues/events{/number}","events_url":"https://api.github.com/repos/apache/cordova-lib/events","assignees_url":"https://api.github.com/repos/apache/cordova-lib/assignees{/user}","branches_url":"https://api.github.com/repos/apache/cordova-lib/branches{/branch}","tags_url":"https://api.github.com/repos/apache/cordova-lib/tags","blobs_url":"https://api.github.com/repos/apache/cordova-lib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/cordova-lib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/cordova-lib/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/cordova-lib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/cordova-lib/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/cordova-lib/languages","stargazers_url":"https://api.github.com/repos/apache/cordova-lib/stargazers","contributors_url":"https://api.github.com/repos/apache/cordova-lib/contributors","subscribers_url":"https://api.github.com/repos/apache/cordova-lib/subscribers","subscription_url":"https://api.github.com/repos/apache/cordova-lib/subscription","commits_url":"https://api.github.com/repos/apache/cordova-lib/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/cordova-lib/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/cordova-lib/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/cordova-lib/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/cordova-lib/contents/{+path}","compare_url":"https://api.github.com/repos/apache/cordova-lib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/cordova-lib/merges","archive_url":"https://api.github.com/repos/apache/cordova-lib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/cordova-lib/downloads","issues_url":"https://api.github.com/repos/apache/cordova-lib/issues{/number}","pulls_url":"https://api.github.com/repos/apache/cordova-lib/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/cordova-lib/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/cordova-lib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/cordova-lib/labels{/name}","releases_url":"https://api.github.com/repos/apache/cordova-lib/releases{/id}","created_at":"2014-05-07T07:00:06Z","updated_at":"2015-03-04T00:39:47Z","pushed_at":"2015-03-03T22:44:48Z","git_url":"git://github.com/apache/cordova-lib.git","ssh_url":"git@github.com:apache/cordova-lib.git","clone_url":"https://github.com/apache/cordova-lib.git","svn_url":"https://github.com/apache/cordova-lib","homepage":null,"size":46126,"stargazers_count":44,"watchers_count":44,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":104,"mirror_url":"git://git.apache.org/cordova-lib.git","open_issues_count":10,"forks":104,"open_issues":10,"watchers":44,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/cordova-lib/pulls/175"},"html":{"href":"https://github.com/apache/cordova-lib/pull/175"},"issue":{"href":"https://api.github.com/repos/apache/cordova-lib/issues/175"},"comments":{"href":"https://api.github.com/repos/apache/cordova-lib/issues/175/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/cordova-lib/pulls/175/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/cordova-lib/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/cordova-lib/pulls/175/commits"},"statuses":{"href":"https://api.github.com/repos/apache/cordova-lib/statuses/cfdcc066ecea14d77d88da8c9de2076274d7649a"}}}}