{"action":"created","comment":{"url":"https://api.github.com/repos/mozilla/oghliner/pulls/comments/44332344","id":44332344,"diff_hunk":"@@ -0,0 +1,272 @@\n+var promisify = require('promisify-node');\n+var childProcess = require('child_process');\n+var readlineSync = require('readline-sync');\n+\n+var Travis = require('travis-ci');\n+var travis = new Travis({ version: '2.0.0' });\n+\n+travis.authenticate = promisify(travis.authenticate);\n+travis.users.get = promisify(travis.users.get);\n+travis.users.sync.post = promisify(travis.users.sync.post);\n+\n+var GitHub = require('github');\n+var github = new GitHub({\n+  version: '3.0.0',\n+  protocol: 'https',\n+  headers: {\n+    'user-agent': 'Oghliner',\n+  },\n+});\n+\n+var liveUtils = {\n+  repoName: 'test_oghliner_live' + process.version + process.pid,","path":"test/liveUtils.js","position":22,"original_position":22,"commit_id":"0cf43a8a4af422a946b682294dc6a5f9fdef3f2b","original_commit_id":"0cf43a8a4af422a946b682294dc6a5f9fdef3f2b","user":{"login":"mykmelez","id":305455,"avatar_url":"https://avatars.githubusercontent.com/u/305455?v=3","gravatar_id":"","url":"https://api.github.com/users/mykmelez","html_url":"https://github.com/mykmelez","followers_url":"https://api.github.com/users/mykmelez/followers","following_url":"https://api.github.com/users/mykmelez/following{/other_user}","gists_url":"https://api.github.com/users/mykmelez/gists{/gist_id}","starred_url":"https://api.github.com/users/mykmelez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mykmelez/subscriptions","organizations_url":"https://api.github.com/users/mykmelez/orgs","repos_url":"https://api.github.com/users/mykmelez/repos","events_url":"https://api.github.com/users/mykmelez/events{/privacy}","received_events_url":"https://api.github.com/users/mykmelez/received_events","type":"User","site_admin":false},"body":"Nit: these repo names would be a bit easier to read with separator characters between the version and id, f.e.: `test_oghliner_livev0.12.729326` -> `test_oghliner_live_v0.12_729326`.","created_at":"2015-11-09T21:12:42Z","updated_at":"2015-11-09T21:12:42Z","html_url":"https://github.com/mozilla/oghliner/pull/119#discussion_r44332344","pull_request_url":"https://api.github.com/repos/mozilla/oghliner/pulls/119","_links":{"self":{"href":"https://api.github.com/repos/mozilla/oghliner/pulls/comments/44332344"},"html":{"href":"https://github.com/mozilla/oghliner/pull/119#discussion_r44332344"},"pull_request":{"href":"https://api.github.com/repos/mozilla/oghliner/pulls/119"}}},"pull_request":{"url":"https://api.github.com/repos/mozilla/oghliner/pulls/119","id":48680371,"html_url":"https://github.com/mozilla/oghliner/pull/119","diff_url":"https://github.com/mozilla/oghliner/pull/119.diff","patch_url":"https://github.com/mozilla/oghliner/pull/119.patch","issue_url":"https://api.github.com/repos/mozilla/oghliner/issues/119","number":119,"state":"open","locked":false,"title":"Add live test for Oghliner used as a template with CLI commands","user":{"login":"marco-c","id":1616846,"avatar_url":"https://avatars.githubusercontent.com/u/1616846?v=3","gravatar_id":"","url":"https://api.github.com/users/marco-c","html_url":"https://github.com/marco-c","followers_url":"https://api.github.com/users/marco-c/followers","following_url":"https://api.github.com/users/marco-c/following{/other_user}","gists_url":"https://api.github.com/users/marco-c/gists{/gist_id}","starred_url":"https://api.github.com/users/marco-c/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marco-c/subscriptions","organizations_url":"https://api.github.com/users/marco-c/orgs","repos_url":"https://api.github.com/users/marco-c/repos","events_url":"https://api.github.com/users/marco-c/events{/privacy}","received_events_url":"https://api.github.com/users/marco-c/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-10-25T15:18:23Z","updated_at":"2015-11-09T21:12:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a3529d946e27324e5aac82871c97b32cd4e5b675","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mozilla/oghliner/pulls/119/commits","review_comments_url":"https://api.github.com/repos/mozilla/oghliner/pulls/119/comments","review_comment_url":"https://api.github.com/repos/mozilla/oghliner/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla/oghliner/issues/119/comments","statuses_url":"https://api.github.com/repos/mozilla/oghliner/statuses/0cf43a8a4af422a946b682294dc6a5f9fdef3f2b","head":{"label":"mozilla:test_live_template","ref":"test_live_template","sha":"0cf43a8a4af422a946b682294dc6a5f9fdef3f2b","user":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"repo":{"id":42184542,"name":"oghliner","full_name":"mozilla/oghliner","owner":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla/oghliner","description":"template and tool for deploying Offline Web Apps to GitHub Pages","fork":false,"url":"https://api.github.com/repos/mozilla/oghliner","forks_url":"https://api.github.com/repos/mozilla/oghliner/forks","keys_url":"https://api.github.com/repos/mozilla/oghliner/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/oghliner/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/oghliner/teams","hooks_url":"https://api.github.com/repos/mozilla/oghliner/hooks","issue_events_url":"https://api.github.com/repos/mozilla/oghliner/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/oghliner/events","assignees_url":"https://api.github.com/repos/mozilla/oghliner/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/oghliner/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/oghliner/tags","blobs_url":"https://api.github.com/repos/mozilla/oghliner/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/oghliner/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/oghliner/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/oghliner/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/oghliner/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/oghliner/languages","stargazers_url":"https://api.github.com/repos/mozilla/oghliner/stargazers","contributors_url":"https://api.github.com/repos/mozilla/oghliner/contributors","subscribers_url":"https://api.github.com/repos/mozilla/oghliner/subscribers","subscription_url":"https://api.github.com/repos/mozilla/oghliner/subscription","commits_url":"https://api.github.com/repos/mozilla/oghliner/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/oghliner/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/oghliner/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/oghliner/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/oghliner/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/oghliner/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/oghliner/merges","archive_url":"https://api.github.com/repos/mozilla/oghliner/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/oghliner/downloads","issues_url":"https://api.github.com/repos/mozilla/oghliner/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/oghliner/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/oghliner/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/oghliner/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/oghliner/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/oghliner/releases{/id}","created_at":"2015-09-09T14:42:56Z","updated_at":"2015-11-04T15:17:13Z","pushed_at":"2015-11-09T17:05:28Z","git_url":"git://github.com/mozilla/oghliner.git","ssh_url":"git@github.com:mozilla/oghliner.git","clone_url":"https://github.com/mozilla/oghliner.git","svn_url":"https://github.com/mozilla/oghliner","homepage":"https://mozilla.github.io/oghliner/","size":1601,"stargazers_count":8,"watchers_count":8,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":7,"mirror_url":null,"open_issues_count":33,"forks":7,"open_issues":33,"watchers":8,"default_branch":"master"}},"base":{"label":"mozilla:master","ref":"master","sha":"8f7166ef1325ac178cce00cb5cf04f1a012c3d07","user":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"repo":{"id":42184542,"name":"oghliner","full_name":"mozilla/oghliner","owner":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla/oghliner","description":"template and tool for deploying Offline Web Apps to GitHub Pages","fork":false,"url":"https://api.github.com/repos/mozilla/oghliner","forks_url":"https://api.github.com/repos/mozilla/oghliner/forks","keys_url":"https://api.github.com/repos/mozilla/oghliner/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/oghliner/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/oghliner/teams","hooks_url":"https://api.github.com/repos/mozilla/oghliner/hooks","issue_events_url":"https://api.github.com/repos/mozilla/oghliner/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/oghliner/events","assignees_url":"https://api.github.com/repos/mozilla/oghliner/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/oghliner/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/oghliner/tags","blobs_url":"https://api.github.com/repos/mozilla/oghliner/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/oghliner/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/oghliner/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/oghliner/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/oghliner/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/oghliner/languages","stargazers_url":"https://api.github.com/repos/mozilla/oghliner/stargazers","contributors_url":"https://api.github.com/repos/mozilla/oghliner/contributors","subscribers_url":"https://api.github.com/repos/mozilla/oghliner/subscribers","subscription_url":"https://api.github.com/repos/mozilla/oghliner/subscription","commits_url":"https://api.github.com/repos/mozilla/oghliner/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/oghliner/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/oghliner/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/oghliner/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/oghliner/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/oghliner/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/oghliner/merges","archive_url":"https://api.github.com/repos/mozilla/oghliner/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/oghliner/downloads","issues_url":"https://api.github.com/repos/mozilla/oghliner/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/oghliner/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/oghliner/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/oghliner/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/oghliner/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/oghliner/releases{/id}","created_at":"2015-09-09T14:42:56Z","updated_at":"2015-11-04T15:17:13Z","pushed_at":"2015-11-09T17:05:28Z","git_url":"git://github.com/mozilla/oghliner.git","ssh_url":"git@github.com:mozilla/oghliner.git","clone_url":"https://github.com/mozilla/oghliner.git","svn_url":"https://github.com/mozilla/oghliner","homepage":"https://mozilla.github.io/oghliner/","size":1601,"stargazers_count":8,"watchers_count":8,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":7,"mirror_url":null,"open_issues_count":33,"forks":7,"open_issues":33,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/oghliner/pulls/119"},"html":{"href":"https://github.com/mozilla/oghliner/pull/119"},"issue":{"href":"https://api.github.com/repos/mozilla/oghliner/issues/119"},"comments":{"href":"https://api.github.com/repos/mozilla/oghliner/issues/119/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/oghliner/pulls/119/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla/oghliner/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla/oghliner/pulls/119/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/oghliner/statuses/0cf43a8a4af422a946b682294dc6a5f9fdef3f2b"}}}}