{"action":"created","comment":{"url":"https://api.github.com/repos/quiltdata/quilt-compiler/pulls/comments/153356076","pull_request_review_id":79349193,"id":153356076,"diff_hunk":"@@ -410,14 +410,23 @@ def _build_internal(package, path, dry_run, env):\n             try:\n                 _clone_git_repo(url, branch, tmpdir)\n                 build_from_path(package, tmpdir, dry_run=dry_run, env=env)\n+            except yaml.scanner.ScannerError as ex:\n+                message_parts = str(ex).split('\\n')\n+                message_parts.insert(0, \"Syntax error while reading {!r}\".format(path))\n+                raise CommandException('\\n  '.join(message_parts))\n             except Exception as exc:\n                 msg = \"attempting git clone raised exception: {exc}\"\n                 raise CommandException(msg.format(exc=exc))\n             finally:\n                 if os.path.exists(tmpdir):\n                     rmtree(tmpdir)\n         else:\n-            build_from_path(package, path, dry_run=dry_run, env=env)\n+            try:\n+                build_from_path(package, path, dry_run=dry_run, env=env)\n+            except yaml.scanner.ScannerError as ex:\n+                message_parts = str(ex).split('\\n')\n+                message_parts.insert(0, \"Syntax error while reading {!r}\".format(path))\n+                raise CommandException('\\n  '.join(message_parts))","path":"quilt/tools/command.py","position":21,"original_position":21,"commit_id":"a684d4e87ddc85fb7d25edbd758e5911f7c3c006","original_commit_id":"a684d4e87ddc85fb7d25edbd758e5911f7c3c006","user":{"login":"eode","id":2475983,"avatar_url":"https://avatars3.githubusercontent.com/u/2475983?v=4","gravatar_id":"","url":"https://api.github.com/users/eode","html_url":"https://github.com/eode","followers_url":"https://api.github.com/users/eode/followers","following_url":"https://api.github.com/users/eode/following{/other_user}","gists_url":"https://api.github.com/users/eode/gists{/gist_id}","starred_url":"https://api.github.com/users/eode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eode/subscriptions","organizations_url":"https://api.github.com/users/eode/orgs","repos_url":"https://api.github.com/users/eode/repos","events_url":"https://api.github.com/users/eode/events{/privacy}","received_events_url":"https://api.github.com/users/eode/received_events","type":"User","site_admin":false},"body":"Ah, I missed the ability to compile from a directory, and thought that 'build from path' took a specific YML file (only).  I see what it's doing now, and I'll shift that over.","created_at":"2017-11-27T23:33:43Z","updated_at":"2017-11-27T23:33:43Z","html_url":"https://github.com/quiltdata/quilt-compiler/pull/201#discussion_r153356076","pull_request_url":"https://api.github.com/repos/quiltdata/quilt-compiler/pulls/201","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/quiltdata/quilt-compiler/pulls/comments/153356076"},"html":{"href":"https://github.com/quiltdata/quilt-compiler/pull/201#discussion_r153356076"},"pull_request":{"href":"https://api.github.com/repos/quiltdata/quilt-compiler/pulls/201"}},"in_reply_to_id":153349211},"pull_request":{"url":"https://api.github.com/repos/quiltdata/quilt-compiler/pulls/201","id":154936625,"html_url":"https://github.com/quiltdata/quilt-compiler/pull/201","diff_url":"https://github.com/quiltdata/quilt-compiler/pull/201.diff","patch_url":"https://github.com/quiltdata/quilt-compiler/pull/201.patch","issue_url":"https://api.github.com/repos/quiltdata/quilt-compiler/issues/201","number":201,"state":"open","locked":false,"title":"Error msg instead of traceback on bad yaml syntax","user":{"login":"eode","id":2475983,"avatar_url":"https://avatars3.githubusercontent.com/u/2475983?v=4","gravatar_id":"","url":"https://api.github.com/users/eode","html_url":"https://github.com/eode","followers_url":"https://api.github.com/users/eode/followers","following_url":"https://api.github.com/users/eode/following{/other_user}","gists_url":"https://api.github.com/users/eode/gists{/gist_id}","starred_url":"https://api.github.com/users/eode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eode/subscriptions","organizations_url":"https://api.github.com/users/eode/orgs","repos_url":"https://api.github.com/users/eode/repos","events_url":"https://api.github.com/users/eode/events{/privacy}","received_events_url":"https://api.github.com/users/eode/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-11-27T22:47:30Z","updated_at":"2017-11-27T23:33:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"75a27ae2a06c1c1555547e2b8d91a833c5b8203d","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/quiltdata/quilt-compiler/pulls/201/commits","review_comments_url":"https://api.github.com/repos/quiltdata/quilt-compiler/pulls/201/comments","review_comment_url":"https://api.github.com/repos/quiltdata/quilt-compiler/pulls/comments{/number}","comments_url":"https://api.github.com/repos/quiltdata/quilt-compiler/issues/201/comments","statuses_url":"https://api.github.com/repos/quiltdata/quilt-compiler/statuses/a684d4e87ddc85fb7d25edbd758e5911f7c3c006","head":{"label":"eode:quilt-yml-as-default","ref":"quilt-yml-as-default","sha":"a684d4e87ddc85fb7d25edbd758e5911f7c3c006","user":{"login":"eode","id":2475983,"avatar_url":"https://avatars3.githubusercontent.com/u/2475983?v=4","gravatar_id":"","url":"https://api.github.com/users/eode","html_url":"https://github.com/eode","followers_url":"https://api.github.com/users/eode/followers","following_url":"https://api.github.com/users/eode/following{/other_user}","gists_url":"https://api.github.com/users/eode/gists{/gist_id}","starred_url":"https://api.github.com/users/eode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eode/subscriptions","organizations_url":"https://api.github.com/users/eode/orgs","repos_url":"https://api.github.com/users/eode/repos","events_url":"https://api.github.com/users/eode/events{/privacy}","received_events_url":"https://api.github.com/users/eode/received_events","type":"User","site_admin":false},"repo":{"id":111227446,"name":"quilt-compiler","full_name":"eode/quilt-compiler","owner":{"login":"eode","id":2475983,"avatar_url":"https://avatars3.githubusercontent.com/u/2475983?v=4","gravatar_id":"","url":"https://api.github.com/users/eode","html_url":"https://github.com/eode","followers_url":"https://api.github.com/users/eode/followers","following_url":"https://api.github.com/users/eode/following{/other_user}","gists_url":"https://api.github.com/users/eode/gists{/gist_id}","starred_url":"https://api.github.com/users/eode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eode/subscriptions","organizations_url":"https://api.github.com/users/eode/orgs","repos_url":"https://api.github.com/users/eode/repos","events_url":"https://api.github.com/users/eode/events{/privacy}","received_events_url":"https://api.github.com/users/eode/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/eode/quilt-compiler","description":"Quilt - manage data like code","fork":true,"url":"https://api.github.com/repos/eode/quilt-compiler","forks_url":"https://api.github.com/repos/eode/quilt-compiler/forks","keys_url":"https://api.github.com/repos/eode/quilt-compiler/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eode/quilt-compiler/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eode/quilt-compiler/teams","hooks_url":"https://api.github.com/repos/eode/quilt-compiler/hooks","issue_events_url":"https://api.github.com/repos/eode/quilt-compiler/issues/events{/number}","events_url":"https://api.github.com/repos/eode/quilt-compiler/events","assignees_url":"https://api.github.com/repos/eode/quilt-compiler/assignees{/user}","branches_url":"https://api.github.com/repos/eode/quilt-compiler/branches{/branch}","tags_url":"https://api.github.com/repos/eode/quilt-compiler/tags","blobs_url":"https://api.github.com/repos/eode/quilt-compiler/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eode/quilt-compiler/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eode/quilt-compiler/git/refs{/sha}","trees_url":"https://api.github.com/repos/eode/quilt-compiler/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eode/quilt-compiler/statuses/{sha}","languages_url":"https://api.github.com/repos/eode/quilt-compiler/languages","stargazers_url":"https://api.github.com/repos/eode/quilt-compiler/stargazers","contributors_url":"https://api.github.com/repos/eode/quilt-compiler/contributors","subscribers_url":"https://api.github.com/repos/eode/quilt-compiler/subscribers","subscription_url":"https://api.github.com/repos/eode/quilt-compiler/subscription","commits_url":"https://api.github.com/repos/eode/quilt-compiler/commits{/sha}","git_commits_url":"https://api.github.com/repos/eode/quilt-compiler/git/commits{/sha}","comments_url":"https://api.github.com/repos/eode/quilt-compiler/comments{/number}","issue_comment_url":"https://api.github.com/repos/eode/quilt-compiler/issues/comments{/number}","contents_url":"https://api.github.com/repos/eode/quilt-compiler/contents/{+path}","compare_url":"https://api.github.com/repos/eode/quilt-compiler/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eode/quilt-compiler/merges","archive_url":"https://api.github.com/repos/eode/quilt-compiler/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eode/quilt-compiler/downloads","issues_url":"https://api.github.com/repos/eode/quilt-compiler/issues{/number}","pulls_url":"https://api.github.com/repos/eode/quilt-compiler/pulls{/number}","milestones_url":"https://api.github.com/repos/eode/quilt-compiler/milestones{/number}","notifications_url":"https://api.github.com/repos/eode/quilt-compiler/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eode/quilt-compiler/labels{/name}","releases_url":"https://api.github.com/repos/eode/quilt-compiler/releases{/id}","deployments_url":"https://api.github.com/repos/eode/quilt-compiler/deployments","created_at":"2017-11-18T18:04:56Z","updated_at":"2017-11-18T18:04:58Z","pushed_at":"2017-11-27T23:22:55Z","git_url":"git://github.com/eode/quilt-compiler.git","ssh_url":"git@github.com:eode/quilt-compiler.git","clone_url":"https://github.com/eode/quilt-compiler.git","svn_url":"https://github.com/eode/quilt-compiler","homepage":"https://quiltdata.com","size":5257,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"quiltdata:quilt-yml-as-default","ref":"quilt-yml-as-default","sha":"68c512dd95d8ed374ba5ecde70cbdb61a418aebb","user":{"login":"quiltdata","id":17112125,"avatar_url":"https://avatars3.githubusercontent.com/u/17112125?v=4","gravatar_id":"","url":"https://api.github.com/users/quiltdata","html_url":"https://github.com/quiltdata","followers_url":"https://api.github.com/users/quiltdata/followers","following_url":"https://api.github.com/users/quiltdata/following{/other_user}","gists_url":"https://api.github.com/users/quiltdata/gists{/gist_id}","starred_url":"https://api.github.com/users/quiltdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quiltdata/subscriptions","organizations_url":"https://api.github.com/users/quiltdata/orgs","repos_url":"https://api.github.com/users/quiltdata/repos","events_url":"https://api.github.com/users/quiltdata/events{/privacy}","received_events_url":"https://api.github.com/users/quiltdata/received_events","type":"User","site_admin":false},"repo":{"id":81518954,"name":"quilt-compiler","full_name":"quiltdata/quilt-compiler","owner":{"login":"quiltdata","id":17112125,"avatar_url":"https://avatars3.githubusercontent.com/u/17112125?v=4","gravatar_id":"","url":"https://api.github.com/users/quiltdata","html_url":"https://github.com/quiltdata","followers_url":"https://api.github.com/users/quiltdata/followers","following_url":"https://api.github.com/users/quiltdata/following{/other_user}","gists_url":"https://api.github.com/users/quiltdata/gists{/gist_id}","starred_url":"https://api.github.com/users/quiltdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quiltdata/subscriptions","organizations_url":"https://api.github.com/users/quiltdata/orgs","repos_url":"https://api.github.com/users/quiltdata/repos","events_url":"https://api.github.com/users/quiltdata/events{/privacy}","received_events_url":"https://api.github.com/users/quiltdata/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/quiltdata/quilt-compiler","description":"Quilt - manage data like code","fork":false,"url":"https://api.github.com/repos/quiltdata/quilt-compiler","forks_url":"https://api.github.com/repos/quiltdata/quilt-compiler/forks","keys_url":"https://api.github.com/repos/quiltdata/quilt-compiler/keys{/key_id}","collaborators_url":"https://api.github.com/repos/quiltdata/quilt-compiler/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/quiltdata/quilt-compiler/teams","hooks_url":"https://api.github.com/repos/quiltdata/quilt-compiler/hooks","issue_events_url":"https://api.github.com/repos/quiltdata/quilt-compiler/issues/events{/number}","events_url":"https://api.github.com/repos/quiltdata/quilt-compiler/events","assignees_url":"https://api.github.com/repos/quiltdata/quilt-compiler/assignees{/user}","branches_url":"https://api.github.com/repos/quiltdata/quilt-compiler/branches{/branch}","tags_url":"https://api.github.com/repos/quiltdata/quilt-compiler/tags","blobs_url":"https://api.github.com/repos/quiltdata/quilt-compiler/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/quiltdata/quilt-compiler/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/quiltdata/quilt-compiler/git/refs{/sha}","trees_url":"https://api.github.com/repos/quiltdata/quilt-compiler/git/trees{/sha}","statuses_url":"https://api.github.com/repos/quiltdata/quilt-compiler/statuses/{sha}","languages_url":"https://api.github.com/repos/quiltdata/quilt-compiler/languages","stargazers_url":"https://api.github.com/repos/quiltdata/quilt-compiler/stargazers","contributors_url":"https://api.github.com/repos/quiltdata/quilt-compiler/contributors","subscribers_url":"https://api.github.com/repos/quiltdata/quilt-compiler/subscribers","subscription_url":"https://api.github.com/repos/quiltdata/quilt-compiler/subscription","commits_url":"https://api.github.com/repos/quiltdata/quilt-compiler/commits{/sha}","git_commits_url":"https://api.github.com/repos/quiltdata/quilt-compiler/git/commits{/sha}","comments_url":"https://api.github.com/repos/quiltdata/quilt-compiler/comments{/number}","issue_comment_url":"https://api.github.com/repos/quiltdata/quilt-compiler/issues/comments{/number}","contents_url":"https://api.github.com/repos/quiltdata/quilt-compiler/contents/{+path}","compare_url":"https://api.github.com/repos/quiltdata/quilt-compiler/compare/{base}...{head}","merges_url":"https://api.github.com/repos/quiltdata/quilt-compiler/merges","archive_url":"https://api.github.com/repos/quiltdata/quilt-compiler/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/quiltdata/quilt-compiler/downloads","issues_url":"https://api.github.com/repos/quiltdata/quilt-compiler/issues{/number}","pulls_url":"https://api.github.com/repos/quiltdata/quilt-compiler/pulls{/number}","milestones_url":"https://api.github.com/repos/quiltdata/quilt-compiler/milestones{/number}","notifications_url":"https://api.github.com/repos/quiltdata/quilt-compiler/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/quiltdata/quilt-compiler/labels{/name}","releases_url":"https://api.github.com/repos/quiltdata/quilt-compiler/releases{/id}","deployments_url":"https://api.github.com/repos/quiltdata/quilt-compiler/deployments","created_at":"2017-02-10T02:46:03Z","updated_at":"2017-11-27T22:47:29Z","pushed_at":"2017-11-27T22:47:31Z","git_url":"git://github.com/quiltdata/quilt-compiler.git","ssh_url":"git@github.com:quiltdata/quilt-compiler.git","clone_url":"https://github.com/quiltdata/quilt-compiler.git","svn_url":"https://github.com/quiltdata/quilt-compiler","homepage":"https://quiltdata.com","size":5240,"stargazers_count":386,"watchers_count":386,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":13,"mirror_url":null,"archived":false,"open_issues_count":8,"forks":13,"open_issues":8,"watchers":386,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/quiltdata/quilt-compiler/pulls/201"},"html":{"href":"https://github.com/quiltdata/quilt-compiler/pull/201"},"issue":{"href":"https://api.github.com/repos/quiltdata/quilt-compiler/issues/201"},"comments":{"href":"https://api.github.com/repos/quiltdata/quilt-compiler/issues/201/comments"},"review_comments":{"href":"https://api.github.com/repos/quiltdata/quilt-compiler/pulls/201/comments"},"review_comment":{"href":"https://api.github.com/repos/quiltdata/quilt-compiler/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/quiltdata/quilt-compiler/pulls/201/commits"},"statuses":{"href":"https://api.github.com/repos/quiltdata/quilt-compiler/statuses/a684d4e87ddc85fb7d25edbd758e5911f7c3c006"}},"author_association":"NONE"}}
{"actor":{"display_login":"eode"}}