{"action":"created","comment":{"url":"https://api.github.com/repos/googleapis/artman/pulls/comments/58787394","id":58787394,"diff_hunk":"@@ -55,10 +55,10 @@ def _move_to(self, intermediate_config_location, veneer_api_yaml):\n                         os.path.abspath(intermediate_config_location),\n                         [os.path.abspath(c_out) for c_out in veneer_api_yaml])\n \n-        if len(veneer_api_yaml) == 0:\n+        if len(veneer_api_yaml) > 1:\n+            raise ValueError(error_fmt + 'Multiple locations specified')\n+        elif len(veneer_api_yaml) == 0:\n             print error_fmt + 'No location specified'","path":"pipeline/tasks/veneer_tasks.py","position":null,"original_position":8,"commit_id":"405209c4b02f685a8f63a11e4773658049451aab","original_commit_id":"2af34516c51d6718f6ea99bb950d303a165da34a","user":{"login":"michaelbausor","id":14846209,"avatar_url":"https://avatars.githubusercontent.com/u/14846209?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelbausor","html_url":"https://github.com/michaelbausor","followers_url":"https://api.github.com/users/michaelbausor/followers","following_url":"https://api.github.com/users/michaelbausor/following{/other_user}","gists_url":"https://api.github.com/users/michaelbausor/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelbausor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelbausor/subscriptions","organizations_url":"https://api.github.com/users/michaelbausor/orgs","repos_url":"https://api.github.com/users/michaelbausor/repos","events_url":"https://api.github.com/users/michaelbausor/events{/privacy}","received_events_url":"https://api.github.com/users/michaelbausor/received_events","type":"User","site_admin":false},"body":"Updated. Note that this will cause consecutive runs of the config generator to fail, because the file will already exist. Will this be OK? I thought yes because we don't expect the config generator to be run repeatedly, just once and then make manual edits to the file.","created_at":"2016-04-06T21:42:53Z","updated_at":"2016-04-06T21:42:53Z","html_url":"https://github.com/googleapis/artman/pull/4#discussion_r58787394","pull_request_url":"https://api.github.com/repos/googleapis/artman/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/googleapis/artman/pulls/comments/58787394"},"html":{"href":"https://github.com/googleapis/artman/pull/4#discussion_r58787394"},"pull_request":{"href":"https://api.github.com/repos/googleapis/artman/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/googleapis/artman/pulls/4","id":65385113,"html_url":"https://github.com/googleapis/artman/pull/4","diff_url":"https://github.com/googleapis/artman/pull/4.diff","patch_url":"https://github.com/googleapis/artman/pull/4.patch","issue_url":"https://api.github.com/repos/googleapis/artman/issues/4","number":4,"state":"open","locked":false,"title":"Config generation pipeline","user":{"login":"michaelbausor","id":14846209,"avatar_url":"https://avatars.githubusercontent.com/u/14846209?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelbausor","html_url":"https://github.com/michaelbausor","followers_url":"https://api.github.com/users/michaelbausor/followers","following_url":"https://api.github.com/users/michaelbausor/following{/other_user}","gists_url":"https://api.github.com/users/michaelbausor/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelbausor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelbausor/subscriptions","organizations_url":"https://api.github.com/users/michaelbausor/orgs","repos_url":"https://api.github.com/users/michaelbausor/repos","events_url":"https://api.github.com/users/michaelbausor/events{/privacy}","received_events_url":"https://api.github.com/users/michaelbausor/received_events","type":"User","site_admin":false},"body":"Added config generation pipeline and associated tests\r\n","created_at":"2016-04-05T22:53:54Z","updated_at":"2016-04-06T21:42:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e9995dafe201d39ee87070507d9a15bdf9eb6966","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/googleapis/artman/pulls/4/commits","review_comments_url":"https://api.github.com/repos/googleapis/artman/pulls/4/comments","review_comment_url":"https://api.github.com/repos/googleapis/artman/pulls/comments{/number}","comments_url":"https://api.github.com/repos/googleapis/artman/issues/4/comments","statuses_url":"https://api.github.com/repos/googleapis/artman/statuses/405209c4b02f685a8f63a11e4773658049451aab","head":{"label":"michaelbausor:master","ref":"master","sha":"405209c4b02f685a8f63a11e4773658049451aab","user":{"login":"michaelbausor","id":14846209,"avatar_url":"https://avatars.githubusercontent.com/u/14846209?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelbausor","html_url":"https://github.com/michaelbausor","followers_url":"https://api.github.com/users/michaelbausor/followers","following_url":"https://api.github.com/users/michaelbausor/following{/other_user}","gists_url":"https://api.github.com/users/michaelbausor/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelbausor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelbausor/subscriptions","organizations_url":"https://api.github.com/users/michaelbausor/orgs","repos_url":"https://api.github.com/users/michaelbausor/repos","events_url":"https://api.github.com/users/michaelbausor/events{/privacy}","received_events_url":"https://api.github.com/users/michaelbausor/received_events","type":"User","site_admin":false},"repo":{"id":55555691,"name":"artman","full_name":"michaelbausor/artman","owner":{"login":"michaelbausor","id":14846209,"avatar_url":"https://avatars.githubusercontent.com/u/14846209?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelbausor","html_url":"https://github.com/michaelbausor","followers_url":"https://api.github.com/users/michaelbausor/followers","following_url":"https://api.github.com/users/michaelbausor/following{/other_user}","gists_url":"https://api.github.com/users/michaelbausor/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelbausor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelbausor/subscriptions","organizations_url":"https://api.github.com/users/michaelbausor/orgs","repos_url":"https://api.github.com/users/michaelbausor/repos","events_url":"https://api.github.com/users/michaelbausor/events{/privacy}","received_events_url":"https://api.github.com/users/michaelbausor/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/michaelbausor/artman","description":"","fork":true,"url":"https://api.github.com/repos/michaelbausor/artman","forks_url":"https://api.github.com/repos/michaelbausor/artman/forks","keys_url":"https://api.github.com/repos/michaelbausor/artman/keys{/key_id}","collaborators_url":"https://api.github.com/repos/michaelbausor/artman/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/michaelbausor/artman/teams","hooks_url":"https://api.github.com/repos/michaelbausor/artman/hooks","issue_events_url":"https://api.github.com/repos/michaelbausor/artman/issues/events{/number}","events_url":"https://api.github.com/repos/michaelbausor/artman/events","assignees_url":"https://api.github.com/repos/michaelbausor/artman/assignees{/user}","branches_url":"https://api.github.com/repos/michaelbausor/artman/branches{/branch}","tags_url":"https://api.github.com/repos/michaelbausor/artman/tags","blobs_url":"https://api.github.com/repos/michaelbausor/artman/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/michaelbausor/artman/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/michaelbausor/artman/git/refs{/sha}","trees_url":"https://api.github.com/repos/michaelbausor/artman/git/trees{/sha}","statuses_url":"https://api.github.com/repos/michaelbausor/artman/statuses/{sha}","languages_url":"https://api.github.com/repos/michaelbausor/artman/languages","stargazers_url":"https://api.github.com/repos/michaelbausor/artman/stargazers","contributors_url":"https://api.github.com/repos/michaelbausor/artman/contributors","subscribers_url":"https://api.github.com/repos/michaelbausor/artman/subscribers","subscription_url":"https://api.github.com/repos/michaelbausor/artman/subscription","commits_url":"https://api.github.com/repos/michaelbausor/artman/commits{/sha}","git_commits_url":"https://api.github.com/repos/michaelbausor/artman/git/commits{/sha}","comments_url":"https://api.github.com/repos/michaelbausor/artman/comments{/number}","issue_comment_url":"https://api.github.com/repos/michaelbausor/artman/issues/comments{/number}","contents_url":"https://api.github.com/repos/michaelbausor/artman/contents/{+path}","compare_url":"https://api.github.com/repos/michaelbausor/artman/compare/{base}...{head}","merges_url":"https://api.github.com/repos/michaelbausor/artman/merges","archive_url":"https://api.github.com/repos/michaelbausor/artman/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/michaelbausor/artman/downloads","issues_url":"https://api.github.com/repos/michaelbausor/artman/issues{/number}","pulls_url":"https://api.github.com/repos/michaelbausor/artman/pulls{/number}","milestones_url":"https://api.github.com/repos/michaelbausor/artman/milestones{/number}","notifications_url":"https://api.github.com/repos/michaelbausor/artman/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/michaelbausor/artman/labels{/name}","releases_url":"https://api.github.com/repos/michaelbausor/artman/releases{/id}","deployments_url":"https://api.github.com/repos/michaelbausor/artman/deployments","created_at":"2016-04-05T21:45:25Z","updated_at":"2016-04-05T21:45:27Z","pushed_at":"2016-04-06T21:40:31Z","git_url":"git://github.com/michaelbausor/artman.git","ssh_url":"git@github.com:michaelbausor/artman.git","clone_url":"https://github.com/michaelbausor/artman.git","svn_url":"https://github.com/michaelbausor/artman","homepage":null,"size":220,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"googleapis:master","ref":"master","sha":"ee9598d95b5a10706076b660173ad5efe015a6b0","user":{"login":"googleapis","id":16785467,"avatar_url":"https://avatars.githubusercontent.com/u/16785467?v=3","gravatar_id":"","url":"https://api.github.com/users/googleapis","html_url":"https://github.com/googleapis","followers_url":"https://api.github.com/users/googleapis/followers","following_url":"https://api.github.com/users/googleapis/following{/other_user}","gists_url":"https://api.github.com/users/googleapis/gists{/gist_id}","starred_url":"https://api.github.com/users/googleapis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/googleapis/subscriptions","organizations_url":"https://api.github.com/users/googleapis/orgs","repos_url":"https://api.github.com/users/googleapis/repos","events_url":"https://api.github.com/users/googleapis/events{/privacy}","received_events_url":"https://api.github.com/users/googleapis/received_events","type":"Organization","site_admin":false},"repo":{"id":55101236,"name":"artman","full_name":"googleapis/artman","owner":{"login":"googleapis","id":16785467,"avatar_url":"https://avatars.githubusercontent.com/u/16785467?v=3","gravatar_id":"","url":"https://api.github.com/users/googleapis","html_url":"https://github.com/googleapis","followers_url":"https://api.github.com/users/googleapis/followers","following_url":"https://api.github.com/users/googleapis/following{/other_user}","gists_url":"https://api.github.com/users/googleapis/gists{/gist_id}","starred_url":"https://api.github.com/users/googleapis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/googleapis/subscriptions","organizations_url":"https://api.github.com/users/googleapis/orgs","repos_url":"https://api.github.com/users/googleapis/repos","events_url":"https://api.github.com/users/googleapis/events{/privacy}","received_events_url":"https://api.github.com/users/googleapis/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/googleapis/artman","description":"Google API Artifact manager","fork":false,"url":"https://api.github.com/repos/googleapis/artman","forks_url":"https://api.github.com/repos/googleapis/artman/forks","keys_url":"https://api.github.com/repos/googleapis/artman/keys{/key_id}","collaborators_url":"https://api.github.com/repos/googleapis/artman/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/googleapis/artman/teams","hooks_url":"https://api.github.com/repos/googleapis/artman/hooks","issue_events_url":"https://api.github.com/repos/googleapis/artman/issues/events{/number}","events_url":"https://api.github.com/repos/googleapis/artman/events","assignees_url":"https://api.github.com/repos/googleapis/artman/assignees{/user}","branches_url":"https://api.github.com/repos/googleapis/artman/branches{/branch}","tags_url":"https://api.github.com/repos/googleapis/artman/tags","blobs_url":"https://api.github.com/repos/googleapis/artman/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/googleapis/artman/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/googleapis/artman/git/refs{/sha}","trees_url":"https://api.github.com/repos/googleapis/artman/git/trees{/sha}","statuses_url":"https://api.github.com/repos/googleapis/artman/statuses/{sha}","languages_url":"https://api.github.com/repos/googleapis/artman/languages","stargazers_url":"https://api.github.com/repos/googleapis/artman/stargazers","contributors_url":"https://api.github.com/repos/googleapis/artman/contributors","subscribers_url":"https://api.github.com/repos/googleapis/artman/subscribers","subscription_url":"https://api.github.com/repos/googleapis/artman/subscription","commits_url":"https://api.github.com/repos/googleapis/artman/commits{/sha}","git_commits_url":"https://api.github.com/repos/googleapis/artman/git/commits{/sha}","comments_url":"https://api.github.com/repos/googleapis/artman/comments{/number}","issue_comment_url":"https://api.github.com/repos/googleapis/artman/issues/comments{/number}","contents_url":"https://api.github.com/repos/googleapis/artman/contents/{+path}","compare_url":"https://api.github.com/repos/googleapis/artman/compare/{base}...{head}","merges_url":"https://api.github.com/repos/googleapis/artman/merges","archive_url":"https://api.github.com/repos/googleapis/artman/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/googleapis/artman/downloads","issues_url":"https://api.github.com/repos/googleapis/artman/issues{/number}","pulls_url":"https://api.github.com/repos/googleapis/artman/pulls{/number}","milestones_url":"https://api.github.com/repos/googleapis/artman/milestones{/number}","notifications_url":"https://api.github.com/repos/googleapis/artman/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/googleapis/artman/labels{/name}","releases_url":"https://api.github.com/repos/googleapis/artman/releases{/id}","deployments_url":"https://api.github.com/repos/googleapis/artman/deployments","created_at":"2016-03-30T22:09:32Z","updated_at":"2016-04-06T16:25:19Z","pushed_at":"2016-04-06T21:40:31Z","git_url":"git://github.com/googleapis/artman.git","ssh_url":"git@github.com:googleapis/artman.git","clone_url":"https://github.com/googleapis/artman.git","svn_url":"https://github.com/googleapis/artman","homepage":"","size":202,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":1,"forks":4,"open_issues":1,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/googleapis/artman/pulls/4"},"html":{"href":"https://github.com/googleapis/artman/pull/4"},"issue":{"href":"https://api.github.com/repos/googleapis/artman/issues/4"},"comments":{"href":"https://api.github.com/repos/googleapis/artman/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/googleapis/artman/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/googleapis/artman/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/googleapis/artman/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/googleapis/artman/statuses/405209c4b02f685a8f63a11e4773658049451aab"}}}}