{"action":"created","comment":{"url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/pulls/comments/169850608","pull_request_review_id":98443442,"id":169850608,"diff_hunk":"@@ -0,0 +1,55 @@\n+import test from 'ava';\n+import * as cp from 'child_process';\n+import * as fs from 'fs';\n+import {ncp} from 'ncp';\n+import * as pify from 'pify';\n+import * as tmp from 'tmp';\n+\n+const rename = pify(fs.rename);\n+const ncpp = pify(ncp);\n+const keep = true;  //!!process.env.GCPM_KEEP_TEMPDIRS;\n+const stagingDir = tmp.dirSync({keep, unsafeCleanup: true});\n+const stagingPath = stagingDir.name;\n+const pkg = require('../../package.json');\n+\n+const spawnp = (command: string, args: string[], options: cp.SpawnOptions = {}):","path":"test/kitchen.test.ts","position":15,"original_position":15,"commit_id":"21221557eec152145c1c47b3b2eb97b576cffd92","original_commit_id":"21221557eec152145c1c47b3b2eb97b576cffd92","user":{"login":"ofrobots","id":79017,"avatar_url":"https://avatars1.githubusercontent.com/u/79017?v=4","gravatar_id":"","url":"https://api.github.com/users/ofrobots","html_url":"https://github.com/ofrobots","followers_url":"https://api.github.com/users/ofrobots/followers","following_url":"https://api.github.com/users/ofrobots/following{/other_user}","gists_url":"https://api.github.com/users/ofrobots/gists{/gist_id}","starred_url":"https://api.github.com/users/ofrobots/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ofrobots/subscriptions","organizations_url":"https://api.github.com/users/ofrobots/orgs","repos_url":"https://api.github.com/users/ofrobots/repos","events_url":"https://api.github.com/users/ofrobots/events{/privacy}","received_events_url":"https://api.github.com/users/ofrobots/received_events","type":"User","site_admin":false},"body":"Not blocking this PR, but surely a module exists for now?? if not, let's make one??","created_at":"2018-02-22T04:08:19Z","updated_at":"2018-02-22T04:08:20Z","html_url":"https://github.com/stephenplusplus/gcp-metadata/pull/37#discussion_r169850608","pull_request_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/pulls/37","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/stephenplusplus/gcp-metadata/pulls/comments/169850608"},"html":{"href":"https://github.com/stephenplusplus/gcp-metadata/pull/37#discussion_r169850608"},"pull_request":{"href":"https://api.github.com/repos/stephenplusplus/gcp-metadata/pulls/37"}}},"pull_request":{"url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/pulls/37","id":169767157,"html_url":"https://github.com/stephenplusplus/gcp-metadata/pull/37","diff_url":"https://github.com/stephenplusplus/gcp-metadata/pull/37.diff","patch_url":"https://github.com/stephenplusplus/gcp-metadata/pull/37.patch","issue_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/issues/37","number":37,"state":"open","locked":false,"title":"chore: TypeScript 2.7 and TypeScript test","user":{"login":"JustinBeckwith","id":534619,"avatar_url":"https://avatars2.githubusercontent.com/u/534619?v=4","gravatar_id":"","url":"https://api.github.com/users/JustinBeckwith","html_url":"https://github.com/JustinBeckwith","followers_url":"https://api.github.com/users/JustinBeckwith/followers","following_url":"https://api.github.com/users/JustinBeckwith/following{/other_user}","gists_url":"https://api.github.com/users/JustinBeckwith/gists{/gist_id}","starred_url":"https://api.github.com/users/JustinBeckwith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JustinBeckwith/subscriptions","organizations_url":"https://api.github.com/users/JustinBeckwith/orgs","repos_url":"https://api.github.com/users/JustinBeckwith/repos","events_url":"https://api.github.com/users/JustinBeckwith/events{/privacy}","received_events_url":"https://api.github.com/users/JustinBeckwith/received_events","type":"User","site_admin":false},"body":"I noticed that the greenkeeper PR to https://github.com/google/google-auth-library-nodejs/pull/288 was failing, and it looked like an issue with the generated d.ts.  It turned out the answer in this case was to upgrade that lib to TypeScript 2.7, but it made me realize we should probably have a d.ts test in this lib like the others. ","created_at":"2018-02-17T04:03:22Z","updated_at":"2018-02-22T04:08:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ca3287a8dc7d201e2f241aed786861bbc3f4b801","assignee":null,"assignees":[],"requested_reviewers":[{"login":"stephenplusplus","id":723048,"avatar_url":"https://avatars0.githubusercontent.com/u/723048?v=4","gravatar_id":"","url":"https://api.github.com/users/stephenplusplus","html_url":"https://github.com/stephenplusplus","followers_url":"https://api.github.com/users/stephenplusplus/followers","following_url":"https://api.github.com/users/stephenplusplus/following{/other_user}","gists_url":"https://api.github.com/users/stephenplusplus/gists{/gist_id}","starred_url":"https://api.github.com/users/stephenplusplus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephenplusplus/subscriptions","organizations_url":"https://api.github.com/users/stephenplusplus/orgs","repos_url":"https://api.github.com/users/stephenplusplus/repos","events_url":"https://api.github.com/users/stephenplusplus/events{/privacy}","received_events_url":"https://api.github.com/users/stephenplusplus/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/pulls/37/commits","review_comments_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/pulls/37/comments","review_comment_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/pulls/comments{/number}","comments_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/issues/37/comments","statuses_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/statuses/21221557eec152145c1c47b3b2eb97b576cffd92","head":{"label":"JustinBeckwith:tst","ref":"tst","sha":"21221557eec152145c1c47b3b2eb97b576cffd92","user":{"login":"JustinBeckwith","id":534619,"avatar_url":"https://avatars2.githubusercontent.com/u/534619?v=4","gravatar_id":"","url":"https://api.github.com/users/JustinBeckwith","html_url":"https://github.com/JustinBeckwith","followers_url":"https://api.github.com/users/JustinBeckwith/followers","following_url":"https://api.github.com/users/JustinBeckwith/following{/other_user}","gists_url":"https://api.github.com/users/JustinBeckwith/gists{/gist_id}","starred_url":"https://api.github.com/users/JustinBeckwith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JustinBeckwith/subscriptions","organizations_url":"https://api.github.com/users/JustinBeckwith/orgs","repos_url":"https://api.github.com/users/JustinBeckwith/repos","events_url":"https://api.github.com/users/JustinBeckwith/events{/privacy}","received_events_url":"https://api.github.com/users/JustinBeckwith/received_events","type":"User","site_admin":false},"repo":{"id":118688917,"name":"gcp-metadata","full_name":"JustinBeckwith/gcp-metadata","owner":{"login":"JustinBeckwith","id":534619,"avatar_url":"https://avatars2.githubusercontent.com/u/534619?v=4","gravatar_id":"","url":"https://api.github.com/users/JustinBeckwith","html_url":"https://github.com/JustinBeckwith","followers_url":"https://api.github.com/users/JustinBeckwith/followers","following_url":"https://api.github.com/users/JustinBeckwith/following{/other_user}","gists_url":"https://api.github.com/users/JustinBeckwith/gists{/gist_id}","starred_url":"https://api.github.com/users/JustinBeckwith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JustinBeckwith/subscriptions","organizations_url":"https://api.github.com/users/JustinBeckwith/orgs","repos_url":"https://api.github.com/users/JustinBeckwith/repos","events_url":"https://api.github.com/users/JustinBeckwith/events{/privacy}","received_events_url":"https://api.github.com/users/JustinBeckwith/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JustinBeckwith/gcp-metadata","description":"Get the metadata from a Google Cloud Platform environment","fork":true,"url":"https://api.github.com/repos/JustinBeckwith/gcp-metadata","forks_url":"https://api.github.com/repos/JustinBeckwith/gcp-metadata/forks","keys_url":"https://api.github.com/repos/JustinBeckwith/gcp-metadata/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JustinBeckwith/gcp-metadata/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JustinBeckwith/gcp-metadata/teams","hooks_url":"https://api.github.com/repos/JustinBeckwith/gcp-metadata/hooks","issue_events_url":"https://api.github.com/repos/JustinBeckwith/gcp-metadata/issues/events{/number}","events_url":"https://api.github.com/repos/JustinBeckwith/gcp-metadata/events","assignees_url":"https://api.github.com/repos/JustinBeckwith/gcp-metadata/assignees{/user}","branches_url":"https://api.github.com/repos/JustinBeckwith/gcp-metadata/branches{/branch}","tags_url":"https://api.github.com/repos/JustinBeckwith/gcp-metadata/tags","blobs_url":"https://api.github.com/repos/JustinBeckwith/gcp-metadata/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JustinBeckwith/gcp-metadata/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JustinBeckwith/gcp-metadata/git/refs{/sha}","trees_url":"https://api.github.com/repos/JustinBeckwith/gcp-metadata/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JustinBeckwith/gcp-metadata/statuses/{sha}","languages_url":"https://api.github.com/repos/JustinBeckwith/gcp-metadata/languages","stargazers_url":"https://api.github.com/repos/JustinBeckwith/gcp-metadata/stargazers","contributors_url":"https://api.github.com/repos/JustinBeckwith/gcp-metadata/contributors","subscribers_url":"https://api.github.com/repos/JustinBeckwith/gcp-metadata/subscribers","subscription_url":"https://api.github.com/repos/JustinBeckwith/gcp-metadata/subscription","commits_url":"https://api.github.com/repos/JustinBeckwith/gcp-metadata/commits{/sha}","git_commits_url":"https://api.github.com/repos/JustinBeckwith/gcp-metadata/git/commits{/sha}","comments_url":"https://api.github.com/repos/JustinBeckwith/gcp-metadata/comments{/number}","issue_comment_url":"https://api.github.com/repos/JustinBeckwith/gcp-metadata/issues/comments{/number}","contents_url":"https://api.github.com/repos/JustinBeckwith/gcp-metadata/contents/{+path}","compare_url":"https://api.github.com/repos/JustinBeckwith/gcp-metadata/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JustinBeckwith/gcp-metadata/merges","archive_url":"https://api.github.com/repos/JustinBeckwith/gcp-metadata/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JustinBeckwith/gcp-metadata/downloads","issues_url":"https://api.github.com/repos/JustinBeckwith/gcp-metadata/issues{/number}","pulls_url":"https://api.github.com/repos/JustinBeckwith/gcp-metadata/pulls{/number}","milestones_url":"https://api.github.com/repos/JustinBeckwith/gcp-metadata/milestones{/number}","notifications_url":"https://api.github.com/repos/JustinBeckwith/gcp-metadata/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JustinBeckwith/gcp-metadata/labels{/name}","releases_url":"https://api.github.com/repos/JustinBeckwith/gcp-metadata/releases{/id}","deployments_url":"https://api.github.com/repos/JustinBeckwith/gcp-metadata/deployments","created_at":"2018-01-24T00:30:38Z","updated_at":"2018-01-24T00:30:40Z","pushed_at":"2018-02-17T04:01:51Z","git_url":"git://github.com/JustinBeckwith/gcp-metadata.git","ssh_url":"git@github.com:JustinBeckwith/gcp-metadata.git","clone_url":"https://github.com/JustinBeckwith/gcp-metadata.git","svn_url":"https://github.com/JustinBeckwith/gcp-metadata","homepage":null,"size":75,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"stephenplusplus:master","ref":"master","sha":"c83896d3f60d48739036f38ddd067f0d71e26e11","user":{"login":"stephenplusplus","id":723048,"avatar_url":"https://avatars0.githubusercontent.com/u/723048?v=4","gravatar_id":"","url":"https://api.github.com/users/stephenplusplus","html_url":"https://github.com/stephenplusplus","followers_url":"https://api.github.com/users/stephenplusplus/followers","following_url":"https://api.github.com/users/stephenplusplus/following{/other_user}","gists_url":"https://api.github.com/users/stephenplusplus/gists{/gist_id}","starred_url":"https://api.github.com/users/stephenplusplus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephenplusplus/subscriptions","organizations_url":"https://api.github.com/users/stephenplusplus/orgs","repos_url":"https://api.github.com/users/stephenplusplus/repos","events_url":"https://api.github.com/users/stephenplusplus/events{/privacy}","received_events_url":"https://api.github.com/users/stephenplusplus/received_events","type":"User","site_admin":false},"repo":{"id":76677713,"name":"gcp-metadata","full_name":"stephenplusplus/gcp-metadata","owner":{"login":"stephenplusplus","id":723048,"avatar_url":"https://avatars0.githubusercontent.com/u/723048?v=4","gravatar_id":"","url":"https://api.github.com/users/stephenplusplus","html_url":"https://github.com/stephenplusplus","followers_url":"https://api.github.com/users/stephenplusplus/followers","following_url":"https://api.github.com/users/stephenplusplus/following{/other_user}","gists_url":"https://api.github.com/users/stephenplusplus/gists{/gist_id}","starred_url":"https://api.github.com/users/stephenplusplus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephenplusplus/subscriptions","organizations_url":"https://api.github.com/users/stephenplusplus/orgs","repos_url":"https://api.github.com/users/stephenplusplus/repos","events_url":"https://api.github.com/users/stephenplusplus/events{/privacy}","received_events_url":"https://api.github.com/users/stephenplusplus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/stephenplusplus/gcp-metadata","description":"Get the metadata from a Google Cloud Platform environment","fork":false,"url":"https://api.github.com/repos/stephenplusplus/gcp-metadata","forks_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/forks","keys_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/teams","hooks_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/hooks","issue_events_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/issues/events{/number}","events_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/events","assignees_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/assignees{/user}","branches_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/branches{/branch}","tags_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/tags","blobs_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/git/refs{/sha}","trees_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/statuses/{sha}","languages_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/languages","stargazers_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/stargazers","contributors_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/contributors","subscribers_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/subscribers","subscription_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/subscription","commits_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/commits{/sha}","git_commits_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/git/commits{/sha}","comments_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/comments{/number}","issue_comment_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/issues/comments{/number}","contents_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/contents/{+path}","compare_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/merges","archive_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/downloads","issues_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/issues{/number}","pulls_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/pulls{/number}","milestones_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/milestones{/number}","notifications_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/labels{/name}","releases_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/releases{/id}","deployments_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/deployments","created_at":"2016-12-16T18:53:26Z","updated_at":"2018-01-24T00:30:36Z","pushed_at":"2018-02-20T15:56:57Z","git_url":"git://github.com/stephenplusplus/gcp-metadata.git","ssh_url":"git@github.com:stephenplusplus/gcp-metadata.git","clone_url":"https://github.com/stephenplusplus/gcp-metadata.git","svn_url":"https://github.com/stephenplusplus/gcp-metadata","homepage":null,"size":47,"stargazers_count":1,"watchers_count":1,"language":"TypeScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":5,"open_issues":5,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/stephenplusplus/gcp-metadata/pulls/37"},"html":{"href":"https://github.com/stephenplusplus/gcp-metadata/pull/37"},"issue":{"href":"https://api.github.com/repos/stephenplusplus/gcp-metadata/issues/37"},"comments":{"href":"https://api.github.com/repos/stephenplusplus/gcp-metadata/issues/37/comments"},"review_comments":{"href":"https://api.github.com/repos/stephenplusplus/gcp-metadata/pulls/37/comments"},"review_comment":{"href":"https://api.github.com/repos/stephenplusplus/gcp-metadata/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/stephenplusplus/gcp-metadata/pulls/37/commits"},"statuses":{"href":"https://api.github.com/repos/stephenplusplus/gcp-metadata/statuses/21221557eec152145c1c47b3b2eb97b576cffd92"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"ofrobots"}}