{"action":"created","comment":{"url":"https://api.github.com/repos/Microsoft/TACO/pulls/comments/47307867","id":47307867,"diff_hunk":"@@ -266,6 +266,10 @@ module TacoUtility {\n         private static lazyRequireInternal<T>(request: IPackageInstallRequest): Q.Promise<T> {\n             assert.notEqual(request, null);\n \n+            if (process.env.testCordovaVersion && request.packageName.toLocaleLowerCase() === \"cordova\") {","path":"src/taco-utils/tacoPackageLoader.ts","position":4,"original_position":4,"commit_id":"b138a95879945ba318609330d75239669caae4ce","original_commit_id":"b138a95879945ba318609330d75239669caae4ce","user":{"login":"nisheetjain","id":12930977,"avatar_url":"https://avatars.githubusercontent.com/u/12930977?v=3","gravatar_id":"","url":"https://api.github.com/users/nisheetjain","html_url":"https://github.com/nisheetjain","followers_url":"https://api.github.com/users/nisheetjain/followers","following_url":"https://api.github.com/users/nisheetjain/following{/other_user}","gists_url":"https://api.github.com/users/nisheetjain/gists{/gist_id}","starred_url":"https://api.github.com/users/nisheetjain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nisheetjain/subscriptions","organizations_url":"https://api.github.com/users/nisheetjain/orgs","repos_url":"https://api.github.com/users/nisheetjain/repos","events_url":"https://api.github.com/users/nisheetjain/events{/privacy}","received_events_url":"https://api.github.com/users/nisheetjain/received_events","type":"User","site_admin":false},"body":"I would really prefer if we do this in CordovaWrapper instead","created_at":"2015-12-11T00:31:03Z","updated_at":"2015-12-11T00:31:03Z","html_url":"https://github.com/Microsoft/TACO/pull/210#discussion_r47307867","pull_request_url":"https://api.github.com/repos/Microsoft/TACO/pulls/210","_links":{"self":{"href":"https://api.github.com/repos/Microsoft/TACO/pulls/comments/47307867"},"html":{"href":"https://github.com/Microsoft/TACO/pull/210#discussion_r47307867"},"pull_request":{"href":"https://api.github.com/repos/Microsoft/TACO/pulls/210"}}},"pull_request":{"url":"https://api.github.com/repos/Microsoft/TACO/pulls/210","id":53334874,"html_url":"https://github.com/Microsoft/TACO/pull/210","diff_url":"https://github.com/Microsoft/TACO/pull/210.diff","patch_url":"https://github.com/Microsoft/TACO/pull/210.patch","issue_url":"https://api.github.com/repos/Microsoft/TACO/issues/210","number":210,"state":"open","locked":false,"title":"Cordova gate","user":{"login":"leotlee","id":13322293,"avatar_url":"https://avatars.githubusercontent.com/u/13322293?v=3","gravatar_id":"","url":"https://api.github.com/users/leotlee","html_url":"https://github.com/leotlee","followers_url":"https://api.github.com/users/leotlee/followers","following_url":"https://api.github.com/users/leotlee/following{/other_user}","gists_url":"https://api.github.com/users/leotlee/gists{/gist_id}","starred_url":"https://api.github.com/users/leotlee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leotlee/subscriptions","organizations_url":"https://api.github.com/users/leotlee/orgs","repos_url":"https://api.github.com/users/leotlee/repos","events_url":"https://api.github.com/users/leotlee/events{/privacy}","received_events_url":"https://api.github.com/users/leotlee/received_events","type":"User","site_admin":false},"body":"Enable ability to gate check new versions of Cordova by overriding the version of Cordova used in LazyRequire \r\n\r\n\"gulp run-tests --testCordova 5.4.1\"\r\n\r\nDetails:\r\n1. put \"TestCordovaExempt\" in scenario name to exempt from gate check\r\n2. exempt text is inserted into args to mocha.opts\r\ni.e. --invert --grep TestCordovaExempt\r\n3. version of Cordova used is stored in process.env.testCordovaVersion","created_at":"2015-12-10T23:45:17Z","updated_at":"2015-12-11T00:31:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"966c7cc19a9ba2980e2a0aa334740f6a797d1e21","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Microsoft/TACO/pulls/210/commits","review_comments_url":"https://api.github.com/repos/Microsoft/TACO/pulls/210/comments","review_comment_url":"https://api.github.com/repos/Microsoft/TACO/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Microsoft/TACO/issues/210/comments","statuses_url":"https://api.github.com/repos/Microsoft/TACO/statuses/b138a95879945ba318609330d75239669caae4ce","head":{"label":"Microsoft:CordovaGate","ref":"CordovaGate","sha":"b138a95879945ba318609330d75239669caae4ce","user":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"repo":{"id":41325355,"name":"TACO","full_name":"Microsoft/TACO","owner":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Microsoft/TACO","description":"Tools for Apache Cordova","fork":false,"url":"https://api.github.com/repos/Microsoft/TACO","forks_url":"https://api.github.com/repos/Microsoft/TACO/forks","keys_url":"https://api.github.com/repos/Microsoft/TACO/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Microsoft/TACO/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Microsoft/TACO/teams","hooks_url":"https://api.github.com/repos/Microsoft/TACO/hooks","issue_events_url":"https://api.github.com/repos/Microsoft/TACO/issues/events{/number}","events_url":"https://api.github.com/repos/Microsoft/TACO/events","assignees_url":"https://api.github.com/repos/Microsoft/TACO/assignees{/user}","branches_url":"https://api.github.com/repos/Microsoft/TACO/branches{/branch}","tags_url":"https://api.github.com/repos/Microsoft/TACO/tags","blobs_url":"https://api.github.com/repos/Microsoft/TACO/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Microsoft/TACO/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Microsoft/TACO/git/refs{/sha}","trees_url":"https://api.github.com/repos/Microsoft/TACO/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Microsoft/TACO/statuses/{sha}","languages_url":"https://api.github.com/repos/Microsoft/TACO/languages","stargazers_url":"https://api.github.com/repos/Microsoft/TACO/stargazers","contributors_url":"https://api.github.com/repos/Microsoft/TACO/contributors","subscribers_url":"https://api.github.com/repos/Microsoft/TACO/subscribers","subscription_url":"https://api.github.com/repos/Microsoft/TACO/subscription","commits_url":"https://api.github.com/repos/Microsoft/TACO/commits{/sha}","git_commits_url":"https://api.github.com/repos/Microsoft/TACO/git/commits{/sha}","comments_url":"https://api.github.com/repos/Microsoft/TACO/comments{/number}","issue_comment_url":"https://api.github.com/repos/Microsoft/TACO/issues/comments{/number}","contents_url":"https://api.github.com/repos/Microsoft/TACO/contents/{+path}","compare_url":"https://api.github.com/repos/Microsoft/TACO/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Microsoft/TACO/merges","archive_url":"https://api.github.com/repos/Microsoft/TACO/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Microsoft/TACO/downloads","issues_url":"https://api.github.com/repos/Microsoft/TACO/issues{/number}","pulls_url":"https://api.github.com/repos/Microsoft/TACO/pulls{/number}","milestones_url":"https://api.github.com/repos/Microsoft/TACO/milestones{/number}","notifications_url":"https://api.github.com/repos/Microsoft/TACO/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Microsoft/TACO/labels{/name}","releases_url":"https://api.github.com/repos/Microsoft/TACO/releases{/id}","created_at":"2015-08-24T20:26:25Z","updated_at":"2015-12-10T13:36:14Z","pushed_at":"2015-12-10T23:45:18Z","git_url":"git://github.com/Microsoft/TACO.git","ssh_url":"git@github.com:Microsoft/TACO.git","clone_url":"https://github.com/Microsoft/TACO.git","svn_url":"https://github.com/Microsoft/TACO","homepage":null,"size":5591,"stargazers_count":114,"watchers_count":114,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":9,"forks":17,"open_issues":9,"watchers":114,"default_branch":"master"}},"base":{"label":"Microsoft:master","ref":"master","sha":"7fc9dc5d9c4407e8ef23e0ee5517695748fd5527","user":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"repo":{"id":41325355,"name":"TACO","full_name":"Microsoft/TACO","owner":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Microsoft/TACO","description":"Tools for Apache Cordova","fork":false,"url":"https://api.github.com/repos/Microsoft/TACO","forks_url":"https://api.github.com/repos/Microsoft/TACO/forks","keys_url":"https://api.github.com/repos/Microsoft/TACO/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Microsoft/TACO/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Microsoft/TACO/teams","hooks_url":"https://api.github.com/repos/Microsoft/TACO/hooks","issue_events_url":"https://api.github.com/repos/Microsoft/TACO/issues/events{/number}","events_url":"https://api.github.com/repos/Microsoft/TACO/events","assignees_url":"https://api.github.com/repos/Microsoft/TACO/assignees{/user}","branches_url":"https://api.github.com/repos/Microsoft/TACO/branches{/branch}","tags_url":"https://api.github.com/repos/Microsoft/TACO/tags","blobs_url":"https://api.github.com/repos/Microsoft/TACO/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Microsoft/TACO/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Microsoft/TACO/git/refs{/sha}","trees_url":"https://api.github.com/repos/Microsoft/TACO/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Microsoft/TACO/statuses/{sha}","languages_url":"https://api.github.com/repos/Microsoft/TACO/languages","stargazers_url":"https://api.github.com/repos/Microsoft/TACO/stargazers","contributors_url":"https://api.github.com/repos/Microsoft/TACO/contributors","subscribers_url":"https://api.github.com/repos/Microsoft/TACO/subscribers","subscription_url":"https://api.github.com/repos/Microsoft/TACO/subscription","commits_url":"https://api.github.com/repos/Microsoft/TACO/commits{/sha}","git_commits_url":"https://api.github.com/repos/Microsoft/TACO/git/commits{/sha}","comments_url":"https://api.github.com/repos/Microsoft/TACO/comments{/number}","issue_comment_url":"https://api.github.com/repos/Microsoft/TACO/issues/comments{/number}","contents_url":"https://api.github.com/repos/Microsoft/TACO/contents/{+path}","compare_url":"https://api.github.com/repos/Microsoft/TACO/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Microsoft/TACO/merges","archive_url":"https://api.github.com/repos/Microsoft/TACO/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Microsoft/TACO/downloads","issues_url":"https://api.github.com/repos/Microsoft/TACO/issues{/number}","pulls_url":"https://api.github.com/repos/Microsoft/TACO/pulls{/number}","milestones_url":"https://api.github.com/repos/Microsoft/TACO/milestones{/number}","notifications_url":"https://api.github.com/repos/Microsoft/TACO/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Microsoft/TACO/labels{/name}","releases_url":"https://api.github.com/repos/Microsoft/TACO/releases{/id}","created_at":"2015-08-24T20:26:25Z","updated_at":"2015-12-10T13:36:14Z","pushed_at":"2015-12-10T23:45:18Z","git_url":"git://github.com/Microsoft/TACO.git","ssh_url":"git@github.com:Microsoft/TACO.git","clone_url":"https://github.com/Microsoft/TACO.git","svn_url":"https://github.com/Microsoft/TACO","homepage":null,"size":5591,"stargazers_count":114,"watchers_count":114,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":9,"forks":17,"open_issues":9,"watchers":114,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Microsoft/TACO/pulls/210"},"html":{"href":"https://github.com/Microsoft/TACO/pull/210"},"issue":{"href":"https://api.github.com/repos/Microsoft/TACO/issues/210"},"comments":{"href":"https://api.github.com/repos/Microsoft/TACO/issues/210/comments"},"review_comments":{"href":"https://api.github.com/repos/Microsoft/TACO/pulls/210/comments"},"review_comment":{"href":"https://api.github.com/repos/Microsoft/TACO/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Microsoft/TACO/pulls/210/commits"},"statuses":{"href":"https://api.github.com/repos/Microsoft/TACO/statuses/b138a95879945ba318609330d75239669caae4ce"}}}}