{"action":"created","comment":{"url":"https://api.github.com/repos/dcos/dcos/pulls/comments/87910357","pull_request_review_id":8499839,"id":87910357,"diff_hunk":"@@ -111,7 +111,7 @@ def get_src_fetcher(src_info, cache_dir, working_directory):\n \n         return pkgpanda.build.src_fetchers.all_fetchers[kind](**args)\n     except ValidationError as ex:\n-        raise BuildError(\"Validation error when fetching sources for package: {}\".format(ex))\n+        raise BuildError(\"Validation error when fetching sources for package: {}\".format(src_name)) from ex","path":"pkgpanda/build/__init__.py","position":25,"original_position":25,"commit_id":"17e07d13115181aa68f5e193849df2bd912ba4fe","original_commit_id":"17e07d13115181aa68f5e193849df2bd912ba4fe","user":{"login":"cmaloney","id":751088,"avatar_url":"https://avatars.githubusercontent.com/u/751088?v=3","gravatar_id":"","url":"https://api.github.com/users/cmaloney","html_url":"https://github.com/cmaloney","followers_url":"https://api.github.com/users/cmaloney/followers","following_url":"https://api.github.com/users/cmaloney/following{/other_user}","gists_url":"https://api.github.com/users/cmaloney/gists{/gist_id}","starred_url":"https://api.github.com/users/cmaloney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmaloney/subscriptions","organizations_url":"https://api.github.com/users/cmaloney/orgs","repos_url":"https://api.github.com/users/cmaloney/repos","events_url":"https://api.github.com/users/cmaloney/events{/privacy}","received_events_url":"https://api.github.com/users/cmaloney/received_events","type":"User","site_admin":false},"body":"We want the exception here (it tells us _why_ the fetch failed). Please don't make these sorts of changes when there's so much code motion already. Should be separate PRs.","created_at":"2016-11-14T22:43:10Z","updated_at":"2016-11-14T22:52:14Z","html_url":"https://github.com/dcos/dcos/pull/936#discussion_r87910357","pull_request_url":"https://api.github.com/repos/dcos/dcos/pulls/936","_links":{"self":{"href":"https://api.github.com/repos/dcos/dcos/pulls/comments/87910357"},"html":{"href":"https://github.com/dcos/dcos/pull/936#discussion_r87910357"},"pull_request":{"href":"https://api.github.com/repos/dcos/dcos/pulls/936"}}},"pull_request":{"url":"https://api.github.com/repos/dcos/dcos/pulls/936","id":92426739,"html_url":"https://github.com/dcos/dcos/pull/936","diff_url":"https://github.com/dcos/dcos/pull/936.diff","patch_url":"https://github.com/dcos/dcos/pull/936.patch","issue_url":"https://api.github.com/repos/dcos/dcos/issues/936","number":936,"state":"open","locked":false,"title":"Teamcity message integration","user":{"login":"BenWhitehead","id":1754037,"avatar_url":"https://avatars.githubusercontent.com/u/1754037?v=3","gravatar_id":"","url":"https://api.github.com/users/BenWhitehead","html_url":"https://github.com/BenWhitehead","followers_url":"https://api.github.com/users/BenWhitehead/followers","following_url":"https://api.github.com/users/BenWhitehead/following{/other_user}","gists_url":"https://api.github.com/users/BenWhitehead/gists{/gist_id}","starred_url":"https://api.github.com/users/BenWhitehead/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BenWhitehead/subscriptions","organizations_url":"https://api.github.com/users/BenWhitehead/orgs","repos_url":"https://api.github.com/users/BenWhitehead/repos","events_url":"https://api.github.com/users/BenWhitehead/events{/privacy}","received_events_url":"https://api.github.com/users/BenWhitehead/received_events","type":"User","site_admin":false},"body":"Add pkgpanda.util.MessageLogger\r\n\r\n* MessageLogger provides a set of methods that improve logging when ran\r\n  in the context of TeamCity.\r\n  * The first type of method is `scope`, which allows the user to define\r\n    a \"block\" where all other log messages created within the scope of the\r\n    context managed method will be \"in\" that block and will be collapsed\r\n    when viewing the log in TeamCity.\r\n  * The second type of methods set specific log levels on the messages\r\n    being logged, and in the case of error allows providing some error\r\n    details.\r\n  * When any of these methods are used in a context determined not to be\r\n    TeamCity (determined by `is_running_uder_teamcity()`) the scope\r\n    messages will not be printed, and the log level messages will be\r\n    simplified removing the teamcity specific elements\r\n\r\nRefactorings\r\n============\r\n1. create new package `teamcity-messages`. Rather than teamcity-messages\r\n   only being added by tox, it is now a primary dependency of pkgpanda and\r\n   dcos-image.\r\n2. Add usage of new \"scope\" and \"level\" messages into pkgpanda and\r\n   dcos-image for builds","created_at":"2016-11-04T22:38:16Z","updated_at":"2016-11-14T22:52:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4a7e5a852d999370d7ae01065aeae22add77ecfe","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/dcos/dcos/pulls/936/commits","review_comments_url":"https://api.github.com/repos/dcos/dcos/pulls/936/comments","review_comment_url":"https://api.github.com/repos/dcos/dcos/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dcos/dcos/issues/936/comments","statuses_url":"https://api.github.com/repos/dcos/dcos/statuses/17e07d13115181aa68f5e193849df2bd912ba4fe","head":{"label":"BenWhitehead:teamcity-message-integration","ref":"teamcity-message-integration","sha":"17e07d13115181aa68f5e193849df2bd912ba4fe","user":{"login":"BenWhitehead","id":1754037,"avatar_url":"https://avatars.githubusercontent.com/u/1754037?v=3","gravatar_id":"","url":"https://api.github.com/users/BenWhitehead","html_url":"https://github.com/BenWhitehead","followers_url":"https://api.github.com/users/BenWhitehead/followers","following_url":"https://api.github.com/users/BenWhitehead/following{/other_user}","gists_url":"https://api.github.com/users/BenWhitehead/gists{/gist_id}","starred_url":"https://api.github.com/users/BenWhitehead/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BenWhitehead/subscriptions","organizations_url":"https://api.github.com/users/BenWhitehead/orgs","repos_url":"https://api.github.com/users/BenWhitehead/repos","events_url":"https://api.github.com/users/BenWhitehead/events{/privacy}","received_events_url":"https://api.github.com/users/BenWhitehead/received_events","type":"User","site_admin":false},"repo":{"id":61917163,"name":"dcos","full_name":"BenWhitehead/dcos","owner":{"login":"BenWhitehead","id":1754037,"avatar_url":"https://avatars.githubusercontent.com/u/1754037?v=3","gravatar_id":"","url":"https://api.github.com/users/BenWhitehead","html_url":"https://github.com/BenWhitehead","followers_url":"https://api.github.com/users/BenWhitehead/followers","following_url":"https://api.github.com/users/BenWhitehead/following{/other_user}","gists_url":"https://api.github.com/users/BenWhitehead/gists{/gist_id}","starred_url":"https://api.github.com/users/BenWhitehead/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BenWhitehead/subscriptions","organizations_url":"https://api.github.com/users/BenWhitehead/orgs","repos_url":"https://api.github.com/users/BenWhitehead/repos","events_url":"https://api.github.com/users/BenWhitehead/events{/privacy}","received_events_url":"https://api.github.com/users/BenWhitehead/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/BenWhitehead/dcos","description":"DC/OS Build and Release tools","fork":true,"url":"https://api.github.com/repos/BenWhitehead/dcos","forks_url":"https://api.github.com/repos/BenWhitehead/dcos/forks","keys_url":"https://api.github.com/repos/BenWhitehead/dcos/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BenWhitehead/dcos/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BenWhitehead/dcos/teams","hooks_url":"https://api.github.com/repos/BenWhitehead/dcos/hooks","issue_events_url":"https://api.github.com/repos/BenWhitehead/dcos/issues/events{/number}","events_url":"https://api.github.com/repos/BenWhitehead/dcos/events","assignees_url":"https://api.github.com/repos/BenWhitehead/dcos/assignees{/user}","branches_url":"https://api.github.com/repos/BenWhitehead/dcos/branches{/branch}","tags_url":"https://api.github.com/repos/BenWhitehead/dcos/tags","blobs_url":"https://api.github.com/repos/BenWhitehead/dcos/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BenWhitehead/dcos/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BenWhitehead/dcos/git/refs{/sha}","trees_url":"https://api.github.com/repos/BenWhitehead/dcos/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BenWhitehead/dcos/statuses/{sha}","languages_url":"https://api.github.com/repos/BenWhitehead/dcos/languages","stargazers_url":"https://api.github.com/repos/BenWhitehead/dcos/stargazers","contributors_url":"https://api.github.com/repos/BenWhitehead/dcos/contributors","subscribers_url":"https://api.github.com/repos/BenWhitehead/dcos/subscribers","subscription_url":"https://api.github.com/repos/BenWhitehead/dcos/subscription","commits_url":"https://api.github.com/repos/BenWhitehead/dcos/commits{/sha}","git_commits_url":"https://api.github.com/repos/BenWhitehead/dcos/git/commits{/sha}","comments_url":"https://api.github.com/repos/BenWhitehead/dcos/comments{/number}","issue_comment_url":"https://api.github.com/repos/BenWhitehead/dcos/issues/comments{/number}","contents_url":"https://api.github.com/repos/BenWhitehead/dcos/contents/{+path}","compare_url":"https://api.github.com/repos/BenWhitehead/dcos/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BenWhitehead/dcos/merges","archive_url":"https://api.github.com/repos/BenWhitehead/dcos/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BenWhitehead/dcos/downloads","issues_url":"https://api.github.com/repos/BenWhitehead/dcos/issues{/number}","pulls_url":"https://api.github.com/repos/BenWhitehead/dcos/pulls{/number}","milestones_url":"https://api.github.com/repos/BenWhitehead/dcos/milestones{/number}","notifications_url":"https://api.github.com/repos/BenWhitehead/dcos/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BenWhitehead/dcos/labels{/name}","releases_url":"https://api.github.com/repos/BenWhitehead/dcos/releases{/id}","deployments_url":"https://api.github.com/repos/BenWhitehead/dcos/deployments","created_at":"2016-06-24T23:07:02Z","updated_at":"2016-06-24T23:07:04Z","pushed_at":"2016-11-08T20:26:03Z","git_url":"git://github.com/BenWhitehead/dcos.git","ssh_url":"git@github.com:BenWhitehead/dcos.git","clone_url":"https://github.com/BenWhitehead/dcos.git","svn_url":"https://github.com/BenWhitehead/dcos","homepage":"https://dcos.io","size":2113,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"dcos:master","ref":"master","sha":"6174c3a9e3b9136a3bc707dac5ec5aacc10e68c4","user":{"login":"dcos","id":17648048,"avatar_url":"https://avatars.githubusercontent.com/u/17648048?v=3","gravatar_id":"","url":"https://api.github.com/users/dcos","html_url":"https://github.com/dcos","followers_url":"https://api.github.com/users/dcos/followers","following_url":"https://api.github.com/users/dcos/following{/other_user}","gists_url":"https://api.github.com/users/dcos/gists{/gist_id}","starred_url":"https://api.github.com/users/dcos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcos/subscriptions","organizations_url":"https://api.github.com/users/dcos/orgs","repos_url":"https://api.github.com/users/dcos/repos","events_url":"https://api.github.com/users/dcos/events{/privacy}","received_events_url":"https://api.github.com/users/dcos/received_events","type":"Organization","site_admin":false},"repo":{"id":56184050,"name":"dcos","full_name":"dcos/dcos","owner":{"login":"dcos","id":17648048,"avatar_url":"https://avatars.githubusercontent.com/u/17648048?v=3","gravatar_id":"","url":"https://api.github.com/users/dcos","html_url":"https://github.com/dcos","followers_url":"https://api.github.com/users/dcos/followers","following_url":"https://api.github.com/users/dcos/following{/other_user}","gists_url":"https://api.github.com/users/dcos/gists{/gist_id}","starred_url":"https://api.github.com/users/dcos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcos/subscriptions","organizations_url":"https://api.github.com/users/dcos/orgs","repos_url":"https://api.github.com/users/dcos/repos","events_url":"https://api.github.com/users/dcos/events{/privacy}","received_events_url":"https://api.github.com/users/dcos/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dcos/dcos","description":"DC/OS Build and Release tools","fork":false,"url":"https://api.github.com/repos/dcos/dcos","forks_url":"https://api.github.com/repos/dcos/dcos/forks","keys_url":"https://api.github.com/repos/dcos/dcos/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dcos/dcos/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dcos/dcos/teams","hooks_url":"https://api.github.com/repos/dcos/dcos/hooks","issue_events_url":"https://api.github.com/repos/dcos/dcos/issues/events{/number}","events_url":"https://api.github.com/repos/dcos/dcos/events","assignees_url":"https://api.github.com/repos/dcos/dcos/assignees{/user}","branches_url":"https://api.github.com/repos/dcos/dcos/branches{/branch}","tags_url":"https://api.github.com/repos/dcos/dcos/tags","blobs_url":"https://api.github.com/repos/dcos/dcos/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dcos/dcos/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dcos/dcos/git/refs{/sha}","trees_url":"https://api.github.com/repos/dcos/dcos/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dcos/dcos/statuses/{sha}","languages_url":"https://api.github.com/repos/dcos/dcos/languages","stargazers_url":"https://api.github.com/repos/dcos/dcos/stargazers","contributors_url":"https://api.github.com/repos/dcos/dcos/contributors","subscribers_url":"https://api.github.com/repos/dcos/dcos/subscribers","subscription_url":"https://api.github.com/repos/dcos/dcos/subscription","commits_url":"https://api.github.com/repos/dcos/dcos/commits{/sha}","git_commits_url":"https://api.github.com/repos/dcos/dcos/git/commits{/sha}","comments_url":"https://api.github.com/repos/dcos/dcos/comments{/number}","issue_comment_url":"https://api.github.com/repos/dcos/dcos/issues/comments{/number}","contents_url":"https://api.github.com/repos/dcos/dcos/contents/{+path}","compare_url":"https://api.github.com/repos/dcos/dcos/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dcos/dcos/merges","archive_url":"https://api.github.com/repos/dcos/dcos/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dcos/dcos/downloads","issues_url":"https://api.github.com/repos/dcos/dcos/issues{/number}","pulls_url":"https://api.github.com/repos/dcos/dcos/pulls{/number}","milestones_url":"https://api.github.com/repos/dcos/dcos/milestones{/number}","notifications_url":"https://api.github.com/repos/dcos/dcos/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dcos/dcos/labels{/name}","releases_url":"https://api.github.com/repos/dcos/dcos/releases{/id}","deployments_url":"https://api.github.com/repos/dcos/dcos/deployments","created_at":"2016-04-13T20:31:58Z","updated_at":"2016-11-14T16:16:52Z","pushed_at":"2016-11-14T22:05:17Z","git_url":"git://github.com/dcos/dcos.git","ssh_url":"git@github.com:dcos/dcos.git","clone_url":"https://github.com/dcos/dcos.git","svn_url":"https://github.com/dcos/dcos","homepage":"https://dcos.io","size":3256,"stargazers_count":1097,"watchers_count":1097,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":180,"mirror_url":null,"open_issues_count":46,"forks":180,"open_issues":46,"watchers":1097,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dcos/dcos/pulls/936"},"html":{"href":"https://github.com/dcos/dcos/pull/936"},"issue":{"href":"https://api.github.com/repos/dcos/dcos/issues/936"},"comments":{"href":"https://api.github.com/repos/dcos/dcos/issues/936/comments"},"review_comments":{"href":"https://api.github.com/repos/dcos/dcos/pulls/936/comments"},"review_comment":{"href":"https://api.github.com/repos/dcos/dcos/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dcos/dcos/pulls/936/commits"},"statuses":{"href":"https://api.github.com/repos/dcos/dcos/statuses/17e07d13115181aa68f5e193849df2bd912ba4fe"}}}}
{"actor":{"display_login":"cmaloney"}}