GitHub PullRequestReviewCommentEvent at 2014-10-02 20:18:24
Repository: gaia
Actor: KevinGrandon
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/comments/18364494","id":18364494,"diff_hunk":"@@ -0,0 +1,99 @@\n+#! /usr/bin/env node\n+'use strict';\n+\n+/**\n+Entrypoint for the task graph extension / decisions for gaia tests.\n+*/\n+var slugid = require('slugid');\n+var fs = require('fs');\n+var path = require('path');\n+var template = require('json-templater/object');\n+\n+var GAIA_DIR = path.resolve(__dirname, '..', '..', '..');\n+\n+// Default image name / version this can be overriden at the task level...\n+var IMAGE =\n+  fs.readFileSync(GAIA_DIR + '/build/docker/gaia-taskenv/DOCKER_TAG', 'utf8');\n+\n+var VERSION =\n+  fs.readFileSync(GAIA_DIR + '/build/docker/gaia-taskenv/VERSION', 'utf8');\n+\n+// Default provisioner and worker types\n+var COPIED_ENVS = [\n+  'CI',\n+  'GITHUB_PULL_REQUEST',\n+  'GITHUB_BASE_REPO',\n+  'GITHUB_BASE_USER',\n+  'GITHUB_BASE_GIT',\n+  'GITHUB_BASE_REV',\n+  'GITHUB_BASE_BRANCH',\n+  'GITHUB_HEAD_REPO',\n+  'GITHUB_HEAD_USER',\n+  'GITHUB_HEAD_GIT',\n+  'GITHUB_HEAD_REV',\n+  'GITHUB_HEAD_BRANCH',\n+  'TREEHERDER_PROJECT',\n+  'TREEHERDER_REVISION'\n+];\n+\n+/**\n+Decorates tasks with required parameters.\n+\n+See the http://docs.taskcluster.net/scheduler/api-docs/#extendTaskGraph section.\n+\n+@param {Object} task.\n+@return {Object} decorated task.\n+*/\n+function decorateTask(task, options) {\n+  task = template(task, options);\n+\n+  // Shallow copy the task...\n+  var output = {};\n+  for (var key in task) {\n+    output[key] = task[key];\n+  }\n+\n+  // Each task must have its own unique task id.\n+  output.taskId = output.taskId || slugid.v4();\n+\n+  // Taskcluster needs to know how to run the tasks these specify which\n+  // provisioning method and which worker type to run on.\n+  output.task.created = new Date().toJSON();\n+  output.task.metadata.source = 'http://todo.com/soon';","path":"tests/taskcluster/lib/decorate_task.js","position":62,"original_position":62,"commit_id":"8eb38e9a17a2558486f9555c322ba59a7c221d5b","original_commit_id":"8eb38e9a17a2558486f9555c322ba59a7c221d5b","user":{"login":"KevinGrandon","id":122602,"avatar_url":"https://avatars.githubusercontent.com/u/122602?v=2","gravatar_id":"","url":"https://api.github.com/users/KevinGrandon","html_url":"https://github.com/KevinGrandon","followers_url":"https://api.github.com/users/KevinGrandon/followers","following_url":"https://api.github.com/users/KevinGrandon/following{/other_user}","gists_url":"https://api.github.com/users/KevinGrandon/gists{/gist_id}","starred_url":"https://api.github.com/users/KevinGrandon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KevinGrandon/subscriptions","organizations_url":"https://api.github.com/users/KevinGrandon/orgs","repos_url":"https://api.github.com/users/KevinGrandon/repos","events_url":"https://api.github.com/users/KevinGrandon/events{/privacy}","received_events_url":"https://api.github.com/users/KevinGrandon/received_events","type":"User","site_admin":false},"body":"Should we just land with mozilla-b2g/gaia?","created_at":"2014-10-02T20:18:24Z","updated_at":"2014-10-02T20:18:24Z","html_url":"https://github.com/mozilla-b2g/gaia/pull/24636#discussion_r18364494","pull_request_url":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/24636","_links":{"self":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/comments/18364494"},"html":{"href":"https://github.com/mozilla-b2g/gaia/pull/24636#discussion_r18364494"},"pull_request":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/24636"}}},"pull_request":{"url":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/24636","id":22112863,"html_url":"https://github.com/mozilla-b2g/gaia/pull/24636","diff_url":"https://github.com/mozilla-b2g/gaia/pull/24636.diff","patch_url":"https://github.com/mozilla-b2g/gaia/pull/24636.patch","issue_url":"https://api.github.com/repos/mozilla-b2g/gaia/issues/24636","number":24636,"state":"open","locked":false,"title":"Taskcluster again","user":{"login":"lightsofapollo","id":322957,"avatar_url":"https://avatars.githubusercontent.com/u/322957?v=2","gravatar_id":"","url":"https://api.github.com/users/lightsofapollo","html_url":"https://github.com/lightsofapollo","followers_url":"https://api.github.com/users/lightsofapollo/followers","following_url":"https://api.github.com/users/lightsofapollo/following{/other_user}","gists_url":"https://api.github.com/users/lightsofapollo/gists{/gist_id}","starred_url":"https://api.github.com/users/lightsofapollo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lightsofapollo/subscriptions","organizations_url":"https://api.github.com/users/lightsofapollo/orgs","repos_url":"https://api.github.com/users/lightsofapollo/repos","events_url":"https://api.github.com/users/lightsofapollo/events{/privacy}","received_events_url":"https://api.github.com/users/lightsofapollo/received_events","type":"User","site_admin":false},"body":"","created_at":"2014-10-01T23:48:46Z","updated_at":"2014-10-02T20:18:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"af78b1432a8f8964f1869fc69c3a3381de04374e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/24636/commits","review_comments_url":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/24636/comments","review_comment_url":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/comments/{number}","comments_url":"https://api.github.com/repos/mozilla-b2g/gaia/issues/24636/comments","statuses_url":"https://api.github.com/repos/mozilla-b2g/gaia/statuses/8eb38e9a17a2558486f9555c322ba59a7c221d5b","head":{"label":"lightsofapollo:taskcluster-again","ref":"taskcluster-again","sha":"8eb38e9a17a2558486f9555c322ba59a7c221d5b","user":{"login":"lightsofapollo","id":322957,"avatar_url":"https://avatars.githubusercontent.com/u/322957?v=2","gravatar_id":"","url":"https://api.github.com/users/lightsofapollo","html_url":"https://github.com/lightsofapollo","followers_url":"https://api.github.com/users/lightsofapollo/followers","following_url":"https://api.github.com/users/lightsofapollo/following{/other_user}","gists_url":"https://api.github.com/users/lightsofapollo/gists{/gist_id}","starred_url":"https://api.github.com/users/lightsofapollo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lightsofapollo/subscriptions","organizations_url":"https://api.github.com/users/lightsofapollo/orgs","repos_url":"https://api.github.com/users/lightsofapollo/repos","events_url":"https://api.github.com/users/lightsofapollo/events{/privacy}","received_events_url":"https://api.github.com/users/lightsofapollo/received_events","type":"User","site_admin":false},"repo":{"id":3837072,"name":"gaia","full_name":"lightsofapollo/gaia","owner":{"login":"lightsofapollo","id":322957,"avatar_url":"https://avatars.githubusercontent.com/u/322957?v=2","gravatar_id":"","url":"https://api.github.com/users/lightsofapollo","html_url":"https://github.com/lightsofapollo","followers_url":"https://api.github.com/users/lightsofapollo/followers","following_url":"https://api.github.com/users/lightsofapollo/following{/other_user}","gists_url":"https://api.github.com/users/lightsofapollo/gists{/gist_id}","starred_url":"https://api.github.com/users/lightsofapollo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lightsofapollo/subscriptions","organizations_url":"https://api.github.com/users/lightsofapollo/orgs","repos_url":"https://api.github.com/users/lightsofapollo/repos","events_url":"https://api.github.com/users/lightsofapollo/events{/privacy}","received_events_url":"https://api.github.com/users/lightsofapollo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lightsofapollo/gaia","description":"Gaia is a HTML5-based Phone UI for the Boot 2 Gecko Project","fork":true,"url":"https://api.github.com/repos/lightsofapollo/gaia","forks_url":"https://api.github.com/repos/lightsofapollo/gaia/forks","keys_url":"https://api.github.com/repos/lightsofapollo/gaia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lightsofapollo/gaia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lightsofapollo/gaia/teams","hooks_url":"https://api.github.com/repos/lightsofapollo/gaia/hooks","issue_events_url":"https://api.github.com/repos/lightsofapollo/gaia/issues/events{/number}","events_url":"https://api.github.com/repos/lightsofapollo/gaia/events","assignees_url":"https://api.github.com/repos/lightsofapollo/gaia/assignees{/user}","branches_url":"https://api.github.com/repos/lightsofapollo/gaia/branches{/branch}","tags_url":"https://api.github.com/repos/lightsofapollo/gaia/tags","blobs_url":"https://api.github.com/repos/lightsofapollo/gaia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lightsofapollo/gaia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lightsofapollo/gaia/git/refs{/sha}","trees_url":"https://api.github.com/repos/lightsofapollo/gaia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lightsofapollo/gaia/statuses/{sha}","languages_url":"https://api.github.com/repos/lightsofapollo/gaia/languages","stargazers_url":"https://api.github.com/repos/lightsofapollo/gaia/stargazers","contributors_url":"https://api.github.com/repos/lightsofapollo/gaia/contributors","subscribers_url":"https://api.github.com/repos/lightsofapollo/gaia/subscribers","subscription_url":"https://api.github.com/repos/lightsofapollo/gaia/subscription","commits_url":"https://api.github.com/repos/lightsofapollo/gaia/commits{/sha}","git_commits_url":"https://api.github.com/repos/lightsofapollo/gaia/git/commits{/sha}","comments_url":"https://api.github.com/repos/lightsofapollo/gaia/comments{/number}","issue_comment_url":"https://api.github.com/repos/lightsofapollo/gaia/issues/comments/{number}","contents_url":"https://api.github.com/repos/lightsofapollo/gaia/contents/{+path}","compare_url":"https://api.github.com/repos/lightsofapollo/gaia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lightsofapollo/gaia/merges","archive_url":"https://api.github.com/repos/lightsofapollo/gaia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lightsofapollo/gaia/downloads","issues_url":"https://api.github.com/repos/lightsofapollo/gaia/issues{/number}","pulls_url":"https://api.github.com/repos/lightsofapollo/gaia/pulls{/number}","milestones_url":"https://api.github.com/repos/lightsofapollo/gaia/milestones{/number}","notifications_url":"https://api.github.com/repos/lightsofapollo/gaia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lightsofapollo/gaia/labels{/name}","releases_url":"https://api.github.com/repos/lightsofapollo/gaia/releases{/id}","created_at":"2012-03-26T20:26:21Z","updated_at":"2014-06-25T05:10:18Z","pushed_at":"2014-10-02T06:06:44Z","git_url":"git://github.com/lightsofapollo/gaia.git","ssh_url":"git@github.com:lightsofapollo/gaia.git","clone_url":"https://github.com/lightsofapollo/gaia.git","svn_url":"https://github.com/lightsofapollo/gaia","homepage":"https://wiki.mozilla.org/B2G","size":840531,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":2,"default_branch":"master"}},"base":{"label":"mozilla-b2g:master","ref":"master","sha":"573faf15fbae44523336e548cc5f8a623abed6d1","user":{"login":"mozilla-b2g","id":1261292,"avatar_url":"https://avatars.githubusercontent.com/u/1261292?v=2","gravatar_id":"","url":"https://api.github.com/users/mozilla-b2g","html_url":"https://github.com/mozilla-b2g","followers_url":"https://api.github.com/users/mozilla-b2g/followers","following_url":"https://api.github.com/users/mozilla-b2g/following{/other_user}","gists_url":"https://api.github.com/users/mozilla-b2g/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla-b2g/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla-b2g/subscriptions","organizations_url":"https://api.github.com/users/mozilla-b2g/orgs","repos_url":"https://api.github.com/users/mozilla-b2g/repos","events_url":"https://api.github.com/users/mozilla-b2g/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla-b2g/received_events","type":"Organization","site_admin":false},"repo":{"id":2317369,"name":"gaia","full_name":"mozilla-b2g/gaia","owner":{"login":"mozilla-b2g","id":1261292,"avatar_url":"https://avatars.githubusercontent.com/u/1261292?v=2","gravatar_id":"","url":"https://api.github.com/users/mozilla-b2g","html_url":"https://github.com/mozilla-b2g","followers_url":"https://api.github.com/users/mozilla-b2g/followers","following_url":"https://api.github.com/users/mozilla-b2g/following{/other_user}","gists_url":"https://api.github.com/users/mozilla-b2g/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla-b2g/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla-b2g/subscriptions","organizations_url":"https://api.github.com/users/mozilla-b2g/orgs","repos_url":"https://api.github.com/users/mozilla-b2g/repos","events_url":"https://api.github.com/users/mozilla-b2g/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla-b2g/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla-b2g/gaia","description":"Gaia is a HTML5-based Phone UI for the Boot 2 Gecko Project. NOTE: For details of what branches are used for what releases, see","fork":false,"url":"https://api.github.com/repos/mozilla-b2g/gaia","forks_url":"https://api.github.com/repos/mozilla-b2g/gaia/forks","keys_url":"https://api.github.com/repos/mozilla-b2g/gaia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla-b2g/gaia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla-b2g/gaia/teams","hooks_url":"https://api.github.com/repos/mozilla-b2g/gaia/hooks","issue_events_url":"https://api.github.com/repos/mozilla-b2g/gaia/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla-b2g/gaia/events","assignees_url":"https://api.github.com/repos/mozilla-b2g/gaia/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla-b2g/gaia/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla-b2g/gaia/tags","blobs_url":"https://api.github.com/repos/mozilla-b2g/gaia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla-b2g/gaia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla-b2g/gaia/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla-b2g/gaia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla-b2g/gaia/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla-b2g/gaia/languages","stargazers_url":"https://api.github.com/repos/mozilla-b2g/gaia/stargazers","contributors_url":"https://api.github.com/repos/mozilla-b2g/gaia/contributors","subscribers_url":"https://api.github.com/repos/mozilla-b2g/gaia/subscribers","subscription_url":"https://api.github.com/repos/mozilla-b2g/gaia/subscription","commits_url":"https://api.github.com/repos/mozilla-b2g/gaia/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla-b2g/gaia/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla-b2g/gaia/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla-b2g/gaia/issues/comments/{number}","contents_url":"https://api.github.com/repos/mozilla-b2g/gaia/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla-b2g/gaia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla-b2g/gaia/merges","archive_url":"https://api.github.com/repos/mozilla-b2g/gaia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla-b2g/gaia/downloads","issues_url":"https://api.github.com/repos/mozilla-b2g/gaia/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla-b2g/gaia/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla-b2g/gaia/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla-b2g/gaia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla-b2g/gaia/labels{/name}","releases_url":"https://api.github.com/repos/mozilla-b2g/gaia/releases{/id}","created_at":"2011-09-03T01:38:46Z","updated_at":"2014-10-02T02:50:15Z","pushed_at":"2014-10-02T19:01:52Z","git_url":"git://github.com/mozilla-b2g/gaia.git","ssh_url":"git@github.com:mozilla-b2g/gaia.git","clone_url":"https://github.com/mozilla-b2g/gaia.git","svn_url":"https://github.com/mozilla-b2g/gaia","homepage":"https://wiki.mozilla.org/B2G","size":1473004,"stargazers_count":1758,"watchers_count":1758,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1956,"mirror_url":null,"open_issues_count":350,"forks":1956,"open_issues":350,"watchers":1758,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/24636"},"html":{"href":"https://github.com/mozilla-b2g/gaia/pull/24636"},"issue":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/issues/24636"},"comments":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/issues/24636/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/24636/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/24636/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/statuses/8eb38e9a17a2558486f9555c322ba59a7c221d5b"}}}}