{"action":"created","comment":{"url":"https://api.github.com/repos/HubSpot/Blazar/pulls/comments/37778607","id":37778607,"diff_hunk":"@@ -88,20 +94,28 @@ public State getState() {\n     return log;\n   }\n \n+  public Optional<BuildConfig> getBuildConfig() {\n+    return buildConfig;\n+  }\n+\n   public Build withId(long id) {\n-    return new Build(Optional.of(id), moduleId, buildNumber, state, startTimestamp, endTimestamp, sha, log);\n+    return new Build(Optional.of(id), moduleId, buildNumber, state, startTimestamp, endTimestamp, sha, log, buildConfig);\n   }\n \n   public Build withSha(String sha) {\n-    return new Build(id, moduleId, buildNumber, state, startTimestamp, endTimestamp, Optional.of(sha), log);\n+    return new Build(id, moduleId, buildNumber, state, startTimestamp, endTimestamp, Optional.of(sha), log, buildConfig);\n   }\n \n   public Build withState(State state) {\n-    return new Build(id, moduleId, buildNumber, state, startTimestamp, endTimestamp, sha, log);\n+    return new Build(id, moduleId, buildNumber, state, startTimestamp, endTimestamp, sha, log, buildConfig);\n   }\n \n   public Build withStartTimestamp(long startTimestamp) {\n-    return new Build(id, moduleId, buildNumber, state, Optional.of(startTimestamp), endTimestamp, sha, log);\n+    return new Build(id, moduleId, buildNumber, state, Optional.of(startTimestamp), endTimestamp, sha, log, buildConfig);\n+  }\n+\n+  public Build withBuildConfig(BuildConfig buildConfig) {\n+    return new Build(id, moduleId, buildNumber, state,startTimestamp, endTimestamp, sha, log, Optional.of(buildConfig));","path":"BlazarBase/src/main/java/com/hubspot/blazar/base/Build.java","position":73,"original_position":73,"commit_id":"c16c353ce0a8994346483b3d8dce3fe2bd24ee5f","original_commit_id":"c16c353ce0a8994346483b3d8dce3fe2bd24ee5f","user":{"login":"jhaber","id":611459,"avatar_url":"https://avatars.githubusercontent.com/u/611459?v=3","gravatar_id":"","url":"https://api.github.com/users/jhaber","html_url":"https://github.com/jhaber","followers_url":"https://api.github.com/users/jhaber/followers","following_url":"https://api.github.com/users/jhaber/following{/other_user}","gists_url":"https://api.github.com/users/jhaber/gists{/gist_id}","starred_url":"https://api.github.com/users/jhaber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhaber/subscriptions","organizations_url":"https://api.github.com/users/jhaber/orgs","repos_url":"https://api.github.com/users/jhaber/repos","events_url":"https://api.github.com/users/jhaber/events{/privacy}","received_events_url":"https://api.github.com/users/jhaber/received_events","type":"User","site_admin":false},"body":"Missing a space between state and startTimestamp","created_at":"2015-08-24T17:42:15Z","updated_at":"2015-08-24T17:42:15Z","html_url":"https://github.com/HubSpot/Blazar/pull/6#discussion_r37778607","pull_request_url":"https://api.github.com/repos/HubSpot/Blazar/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/HubSpot/Blazar/pulls/comments/37778607"},"html":{"href":"https://github.com/HubSpot/Blazar/pull/6#discussion_r37778607"},"pull_request":{"href":"https://api.github.com/repos/HubSpot/Blazar/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/HubSpot/Blazar/pulls/6","id":43072213,"html_url":"https://github.com/HubSpot/Blazar/pull/6","diff_url":"https://github.com/HubSpot/Blazar/pull/6.diff","patch_url":"https://github.com/HubSpot/Blazar/pull/6.patch","issue_url":"https://api.github.com/repos/HubSpot/Blazar/issues/6","number":6,"state":"open","locked":false,"title":"v0.1 of build configuration","user":{"login":"jonathanwgoodwin","id":3247956,"avatar_url":"https://avatars.githubusercontent.com/u/3247956?v=3","gravatar_id":"","url":"https://api.github.com/users/jonathanwgoodwin","html_url":"https://github.com/jonathanwgoodwin","followers_url":"https://api.github.com/users/jonathanwgoodwin/followers","following_url":"https://api.github.com/users/jonathanwgoodwin/following{/other_user}","gists_url":"https://api.github.com/users/jonathanwgoodwin/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathanwgoodwin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathanwgoodwin/subscriptions","organizations_url":"https://api.github.com/users/jonathanwgoodwin/orgs","repos_url":"https://api.github.com/users/jonathanwgoodwin/repos","events_url":"https://api.github.com/users/jonathanwgoodwin/events{/privacy}","received_events_url":"https://api.github.com/users/jonathanwgoodwin/received_events","type":"User","site_admin":false},"body":"### todo:\r\n- [ ] specify buildpack, absent => autoDetect: true\r\n- [ ] handle missing configs","created_at":"2015-08-21T19:24:58Z","updated_at":"2015-08-24T17:42:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a824bc6c4a039cb6ffa9a733b73ffb34a89cbbd3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/HubSpot/Blazar/pulls/6/commits","review_comments_url":"https://api.github.com/repos/HubSpot/Blazar/pulls/6/comments","review_comment_url":"https://api.github.com/repos/HubSpot/Blazar/pulls/comments{/number}","comments_url":"https://api.github.com/repos/HubSpot/Blazar/issues/6/comments","statuses_url":"https://api.github.com/repos/HubSpot/Blazar/statuses/c16c353ce0a8994346483b3d8dce3fe2bd24ee5f","head":{"label":"HubSpot:blazar_configs","ref":"blazar_configs","sha":"c16c353ce0a8994346483b3d8dce3fe2bd24ee5f","user":{"login":"HubSpot","id":326419,"avatar_url":"https://avatars.githubusercontent.com/u/326419?v=3","gravatar_id":"","url":"https://api.github.com/users/HubSpot","html_url":"https://github.com/HubSpot","followers_url":"https://api.github.com/users/HubSpot/followers","following_url":"https://api.github.com/users/HubSpot/following{/other_user}","gists_url":"https://api.github.com/users/HubSpot/gists{/gist_id}","starred_url":"https://api.github.com/users/HubSpot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HubSpot/subscriptions","organizations_url":"https://api.github.com/users/HubSpot/orgs","repos_url":"https://api.github.com/users/HubSpot/repos","events_url":"https://api.github.com/users/HubSpot/events{/privacy}","received_events_url":"https://api.github.com/users/HubSpot/received_events","type":"Organization","site_admin":false},"repo":{"id":38639709,"name":"Blazar","full_name":"HubSpot/Blazar","owner":{"login":"HubSpot","id":326419,"avatar_url":"https://avatars.githubusercontent.com/u/326419?v=3","gravatar_id":"","url":"https://api.github.com/users/HubSpot","html_url":"https://github.com/HubSpot","followers_url":"https://api.github.com/users/HubSpot/followers","following_url":"https://api.github.com/users/HubSpot/following{/other_user}","gists_url":"https://api.github.com/users/HubSpot/gists{/gist_id}","starred_url":"https://api.github.com/users/HubSpot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HubSpot/subscriptions","organizations_url":"https://api.github.com/users/HubSpot/orgs","repos_url":"https://api.github.com/users/HubSpot/repos","events_url":"https://api.github.com/users/HubSpot/events{/privacy}","received_events_url":"https://api.github.com/users/HubSpot/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/HubSpot/Blazar","description":"An out-of-this world build system!","fork":false,"url":"https://api.github.com/repos/HubSpot/Blazar","forks_url":"https://api.github.com/repos/HubSpot/Blazar/forks","keys_url":"https://api.github.com/repos/HubSpot/Blazar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/HubSpot/Blazar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/HubSpot/Blazar/teams","hooks_url":"https://api.github.com/repos/HubSpot/Blazar/hooks","issue_events_url":"https://api.github.com/repos/HubSpot/Blazar/issues/events{/number}","events_url":"https://api.github.com/repos/HubSpot/Blazar/events","assignees_url":"https://api.github.com/repos/HubSpot/Blazar/assignees{/user}","branches_url":"https://api.github.com/repos/HubSpot/Blazar/branches{/branch}","tags_url":"https://api.github.com/repos/HubSpot/Blazar/tags","blobs_url":"https://api.github.com/repos/HubSpot/Blazar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/HubSpot/Blazar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/HubSpot/Blazar/git/refs{/sha}","trees_url":"https://api.github.com/repos/HubSpot/Blazar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/HubSpot/Blazar/statuses/{sha}","languages_url":"https://api.github.com/repos/HubSpot/Blazar/languages","stargazers_url":"https://api.github.com/repos/HubSpot/Blazar/stargazers","contributors_url":"https://api.github.com/repos/HubSpot/Blazar/contributors","subscribers_url":"https://api.github.com/repos/HubSpot/Blazar/subscribers","subscription_url":"https://api.github.com/repos/HubSpot/Blazar/subscription","commits_url":"https://api.github.com/repos/HubSpot/Blazar/commits{/sha}","git_commits_url":"https://api.github.com/repos/HubSpot/Blazar/git/commits{/sha}","comments_url":"https://api.github.com/repos/HubSpot/Blazar/comments{/number}","issue_comment_url":"https://api.github.com/repos/HubSpot/Blazar/issues/comments{/number}","contents_url":"https://api.github.com/repos/HubSpot/Blazar/contents/{+path}","compare_url":"https://api.github.com/repos/HubSpot/Blazar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/HubSpot/Blazar/merges","archive_url":"https://api.github.com/repos/HubSpot/Blazar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/HubSpot/Blazar/downloads","issues_url":"https://api.github.com/repos/HubSpot/Blazar/issues{/number}","pulls_url":"https://api.github.com/repos/HubSpot/Blazar/pulls{/number}","milestones_url":"https://api.github.com/repos/HubSpot/Blazar/milestones{/number}","notifications_url":"https://api.github.com/repos/HubSpot/Blazar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/HubSpot/Blazar/labels{/name}","releases_url":"https://api.github.com/repos/HubSpot/Blazar/releases{/id}","created_at":"2015-07-06T18:59:45Z","updated_at":"2015-08-22T02:11:53Z","pushed_at":"2015-08-24T15:41:00Z","git_url":"git://github.com/HubSpot/Blazar.git","ssh_url":"git@github.com:HubSpot/Blazar.git","clone_url":"https://github.com/HubSpot/Blazar.git","svn_url":"https://github.com/HubSpot/Blazar","homepage":null,"size":1457,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":4,"default_branch":"master"}},"base":{"label":"HubSpot:master","ref":"master","sha":"3db394096b4511a3ad3c62ec96c4ff0384e1342f","user":{"login":"HubSpot","id":326419,"avatar_url":"https://avatars.githubusercontent.com/u/326419?v=3","gravatar_id":"","url":"https://api.github.com/users/HubSpot","html_url":"https://github.com/HubSpot","followers_url":"https://api.github.com/users/HubSpot/followers","following_url":"https://api.github.com/users/HubSpot/following{/other_user}","gists_url":"https://api.github.com/users/HubSpot/gists{/gist_id}","starred_url":"https://api.github.com/users/HubSpot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HubSpot/subscriptions","organizations_url":"https://api.github.com/users/HubSpot/orgs","repos_url":"https://api.github.com/users/HubSpot/repos","events_url":"https://api.github.com/users/HubSpot/events{/privacy}","received_events_url":"https://api.github.com/users/HubSpot/received_events","type":"Organization","site_admin":false},"repo":{"id":38639709,"name":"Blazar","full_name":"HubSpot/Blazar","owner":{"login":"HubSpot","id":326419,"avatar_url":"https://avatars.githubusercontent.com/u/326419?v=3","gravatar_id":"","url":"https://api.github.com/users/HubSpot","html_url":"https://github.com/HubSpot","followers_url":"https://api.github.com/users/HubSpot/followers","following_url":"https://api.github.com/users/HubSpot/following{/other_user}","gists_url":"https://api.github.com/users/HubSpot/gists{/gist_id}","starred_url":"https://api.github.com/users/HubSpot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HubSpot/subscriptions","organizations_url":"https://api.github.com/users/HubSpot/orgs","repos_url":"https://api.github.com/users/HubSpot/repos","events_url":"https://api.github.com/users/HubSpot/events{/privacy}","received_events_url":"https://api.github.com/users/HubSpot/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/HubSpot/Blazar","description":"An out-of-this world build system!","fork":false,"url":"https://api.github.com/repos/HubSpot/Blazar","forks_url":"https://api.github.com/repos/HubSpot/Blazar/forks","keys_url":"https://api.github.com/repos/HubSpot/Blazar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/HubSpot/Blazar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/HubSpot/Blazar/teams","hooks_url":"https://api.github.com/repos/HubSpot/Blazar/hooks","issue_events_url":"https://api.github.com/repos/HubSpot/Blazar/issues/events{/number}","events_url":"https://api.github.com/repos/HubSpot/Blazar/events","assignees_url":"https://api.github.com/repos/HubSpot/Blazar/assignees{/user}","branches_url":"https://api.github.com/repos/HubSpot/Blazar/branches{/branch}","tags_url":"https://api.github.com/repos/HubSpot/Blazar/tags","blobs_url":"https://api.github.com/repos/HubSpot/Blazar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/HubSpot/Blazar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/HubSpot/Blazar/git/refs{/sha}","trees_url":"https://api.github.com/repos/HubSpot/Blazar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/HubSpot/Blazar/statuses/{sha}","languages_url":"https://api.github.com/repos/HubSpot/Blazar/languages","stargazers_url":"https://api.github.com/repos/HubSpot/Blazar/stargazers","contributors_url":"https://api.github.com/repos/HubSpot/Blazar/contributors","subscribers_url":"https://api.github.com/repos/HubSpot/Blazar/subscribers","subscription_url":"https://api.github.com/repos/HubSpot/Blazar/subscription","commits_url":"https://api.github.com/repos/HubSpot/Blazar/commits{/sha}","git_commits_url":"https://api.github.com/repos/HubSpot/Blazar/git/commits{/sha}","comments_url":"https://api.github.com/repos/HubSpot/Blazar/comments{/number}","issue_comment_url":"https://api.github.com/repos/HubSpot/Blazar/issues/comments{/number}","contents_url":"https://api.github.com/repos/HubSpot/Blazar/contents/{+path}","compare_url":"https://api.github.com/repos/HubSpot/Blazar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/HubSpot/Blazar/merges","archive_url":"https://api.github.com/repos/HubSpot/Blazar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/HubSpot/Blazar/downloads","issues_url":"https://api.github.com/repos/HubSpot/Blazar/issues{/number}","pulls_url":"https://api.github.com/repos/HubSpot/Blazar/pulls{/number}","milestones_url":"https://api.github.com/repos/HubSpot/Blazar/milestones{/number}","notifications_url":"https://api.github.com/repos/HubSpot/Blazar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/HubSpot/Blazar/labels{/name}","releases_url":"https://api.github.com/repos/HubSpot/Blazar/releases{/id}","created_at":"2015-07-06T18:59:45Z","updated_at":"2015-08-22T02:11:53Z","pushed_at":"2015-08-24T15:41:00Z","git_url":"git://github.com/HubSpot/Blazar.git","ssh_url":"git@github.com:HubSpot/Blazar.git","clone_url":"https://github.com/HubSpot/Blazar.git","svn_url":"https://github.com/HubSpot/Blazar","homepage":null,"size":1457,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/HubSpot/Blazar/pulls/6"},"html":{"href":"https://github.com/HubSpot/Blazar/pull/6"},"issue":{"href":"https://api.github.com/repos/HubSpot/Blazar/issues/6"},"comments":{"href":"https://api.github.com/repos/HubSpot/Blazar/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/HubSpot/Blazar/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/HubSpot/Blazar/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/HubSpot/Blazar/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/HubSpot/Blazar/statuses/c16c353ce0a8994346483b3d8dce3fe2bd24ee5f"}}}}