{"action":"created","comment":{"url":"https://api.github.com/repos/crate/croud/pulls/comments/239113884","pull_request_review_id":181817538,"id":239113884,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzOTExMzg4NA==","diff_hunk":"@@ -84,8 +88,14 @@ def override_context(env: str) -> None:\n \n \n def load_config() -> dict:\n-    with open(Configuration.FILEPATH, \"r\") as f:\n-        return yaml.load(f) or {}\n+    try:\n+        with open(Configuration.FILEPATH, \"r\") as f:","path":"croud/config.py","position":27,"original_position":18,"commit_id":"ee4093c748eae77b6e0d1445431e3db8daebe537","original_commit_id":"ce44cca9f15ae367741690850b1b54b68113a54e","user":{"login":"chaudum","id":281260,"node_id":"MDQ6VXNlcjI4MTI2MA==","avatar_url":"https://avatars0.githubusercontent.com/u/281260?v=4","gravatar_id":"","url":"https://api.github.com/users/chaudum","html_url":"https://github.com/chaudum","followers_url":"https://api.github.com/users/chaudum/followers","following_url":"https://api.github.com/users/chaudum/following{/other_user}","gists_url":"https://api.github.com/users/chaudum/gists{/gist_id}","starred_url":"https://api.github.com/users/chaudum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chaudum/subscriptions","organizations_url":"https://api.github.com/users/chaudum/orgs","repos_url":"https://api.github.com/users/chaudum/repos","events_url":"https://api.github.com/users/chaudum/events{/privacy}","received_events_url":"https://api.github.com/users/chaudum/received_events","type":"User","site_admin":false},"body":"Reading and parsing the yaml file should never fail. If it fails, it's not because of the incompatibility.","created_at":"2018-12-05T15:32:54Z","updated_at":"2018-12-05T15:50:01Z","html_url":"https://github.com/crate/croud/pull/21#discussion_r239113884","pull_request_url":"https://api.github.com/repos/crate/croud/pulls/21","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/crate/croud/pulls/comments/239113884"},"html":{"href":"https://github.com/crate/croud/pull/21#discussion_r239113884"},"pull_request":{"href":"https://api.github.com/repos/crate/croud/pulls/21"}}},"pull_request":{"url":"https://api.github.com/repos/crate/croud/pulls/21","id":236090584,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM2MDkwNTg0","html_url":"https://github.com/crate/croud/pull/21","diff_url":"https://github.com/crate/croud/pull/21.diff","patch_url":"https://github.com/crate/croud/pull/21.patch","issue_url":"https://api.github.com/repos/crate/croud/issues/21","number":21,"state":"open","locked":false,"title":"Note the incompatible storage format of config across versions","user":{"login":"mikethebeer","id":6863216,"node_id":"MDQ6VXNlcjY4NjMyMTY=","avatar_url":"https://avatars1.githubusercontent.com/u/6863216?v=4","gravatar_id":"","url":"https://api.github.com/users/mikethebeer","html_url":"https://github.com/mikethebeer","followers_url":"https://api.github.com/users/mikethebeer/followers","following_url":"https://api.github.com/users/mikethebeer/following{/other_user}","gists_url":"https://api.github.com/users/mikethebeer/gists{/gist_id}","starred_url":"https://api.github.com/users/mikethebeer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikethebeer/subscriptions","organizations_url":"https://api.github.com/users/mikethebeer/orgs","repos_url":"https://api.github.com/users/mikethebeer/repos","events_url":"https://api.github.com/users/mikethebeer/events{/privacy}","received_events_url":"https://api.github.com/users/mikethebeer/received_events","type":"User","site_admin":false},"body":"If the config file that holds the login credentials has an\r\nincompatible or incorrect format the user will be informed to remove the\r\nconfig file.\r\n\r\n```\r\n==> Error: Incompatible storage format in /home/mibe/.config/Crate/croud.yaml. Please remove the config and try again.\r\n```","created_at":"2018-12-05T08:50:23Z","updated_at":"2018-12-05T15:50:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e94c7a483c04c3852a6752f46f743423829b9c44","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/crate/croud/pulls/21/commits","review_comments_url":"https://api.github.com/repos/crate/croud/pulls/21/comments","review_comment_url":"https://api.github.com/repos/crate/croud/pulls/comments{/number}","comments_url":"https://api.github.com/repos/crate/croud/issues/21/comments","statuses_url":"https://api.github.com/repos/crate/croud/statuses/ee4093c748eae77b6e0d1445431e3db8daebe537","head":{"label":"crate:m/note-storage-format","ref":"m/note-storage-format","sha":"ee4093c748eae77b6e0d1445431e3db8daebe537","user":{"login":"crate","id":4048232,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQwNDgyMzI=","avatar_url":"https://avatars3.githubusercontent.com/u/4048232?v=4","gravatar_id":"","url":"https://api.github.com/users/crate","html_url":"https://github.com/crate","followers_url":"https://api.github.com/users/crate/followers","following_url":"https://api.github.com/users/crate/following{/other_user}","gists_url":"https://api.github.com/users/crate/gists{/gist_id}","starred_url":"https://api.github.com/users/crate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crate/subscriptions","organizations_url":"https://api.github.com/users/crate/orgs","repos_url":"https://api.github.com/users/crate/repos","events_url":"https://api.github.com/users/crate/events{/privacy}","received_events_url":"https://api.github.com/users/crate/received_events","type":"Organization","site_admin":false},"repo":{"id":157708078,"node_id":"MDEwOlJlcG9zaXRvcnkxNTc3MDgwNzg=","name":"croud","full_name":"crate/croud","private":false,"owner":{"login":"crate","id":4048232,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQwNDgyMzI=","avatar_url":"https://avatars3.githubusercontent.com/u/4048232?v=4","gravatar_id":"","url":"https://api.github.com/users/crate","html_url":"https://github.com/crate","followers_url":"https://api.github.com/users/crate/followers","following_url":"https://api.github.com/users/crate/following{/other_user}","gists_url":"https://api.github.com/users/crate/gists{/gist_id}","starred_url":"https://api.github.com/users/crate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crate/subscriptions","organizations_url":"https://api.github.com/users/crate/orgs","repos_url":"https://api.github.com/users/crate/repos","events_url":"https://api.github.com/users/crate/events{/privacy}","received_events_url":"https://api.github.com/users/crate/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/crate/croud","description":"A command line interface for CrateDB Cloud ☁","fork":false,"url":"https://api.github.com/repos/crate/croud","forks_url":"https://api.github.com/repos/crate/croud/forks","keys_url":"https://api.github.com/repos/crate/croud/keys{/key_id}","collaborators_url":"https://api.github.com/repos/crate/croud/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/crate/croud/teams","hooks_url":"https://api.github.com/repos/crate/croud/hooks","issue_events_url":"https://api.github.com/repos/crate/croud/issues/events{/number}","events_url":"https://api.github.com/repos/crate/croud/events","assignees_url":"https://api.github.com/repos/crate/croud/assignees{/user}","branches_url":"https://api.github.com/repos/crate/croud/branches{/branch}","tags_url":"https://api.github.com/repos/crate/croud/tags","blobs_url":"https://api.github.com/repos/crate/croud/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/crate/croud/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/crate/croud/git/refs{/sha}","trees_url":"https://api.github.com/repos/crate/croud/git/trees{/sha}","statuses_url":"https://api.github.com/repos/crate/croud/statuses/{sha}","languages_url":"https://api.github.com/repos/crate/croud/languages","stargazers_url":"https://api.github.com/repos/crate/croud/stargazers","contributors_url":"https://api.github.com/repos/crate/croud/contributors","subscribers_url":"https://api.github.com/repos/crate/croud/subscribers","subscription_url":"https://api.github.com/repos/crate/croud/subscription","commits_url":"https://api.github.com/repos/crate/croud/commits{/sha}","git_commits_url":"https://api.github.com/repos/crate/croud/git/commits{/sha}","comments_url":"https://api.github.com/repos/crate/croud/comments{/number}","issue_comment_url":"https://api.github.com/repos/crate/croud/issues/comments{/number}","contents_url":"https://api.github.com/repos/crate/croud/contents/{+path}","compare_url":"https://api.github.com/repos/crate/croud/compare/{base}...{head}","merges_url":"https://api.github.com/repos/crate/croud/merges","archive_url":"https://api.github.com/repos/crate/croud/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/crate/croud/downloads","issues_url":"https://api.github.com/repos/crate/croud/issues{/number}","pulls_url":"https://api.github.com/repos/crate/croud/pulls{/number}","milestones_url":"https://api.github.com/repos/crate/croud/milestones{/number}","notifications_url":"https://api.github.com/repos/crate/croud/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/crate/croud/labels{/name}","releases_url":"https://api.github.com/repos/crate/croud/releases{/id}","deployments_url":"https://api.github.com/repos/crate/croud/deployments","created_at":"2018-11-15T12:31:32Z","updated_at":"2018-12-05T15:47:04Z","pushed_at":"2018-12-05T15:47:06Z","git_url":"git://github.com/crate/croud.git","ssh_url":"git@github.com:crate/croud.git","clone_url":"https://github.com/crate/croud.git","svn_url":"https://github.com/crate/croud","homepage":"","size":74,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"crate:master","ref":"master","sha":"1ff2f52e9cbe09d48ba2d0085c31d0504a5e1849","user":{"login":"crate","id":4048232,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQwNDgyMzI=","avatar_url":"https://avatars3.githubusercontent.com/u/4048232?v=4","gravatar_id":"","url":"https://api.github.com/users/crate","html_url":"https://github.com/crate","followers_url":"https://api.github.com/users/crate/followers","following_url":"https://api.github.com/users/crate/following{/other_user}","gists_url":"https://api.github.com/users/crate/gists{/gist_id}","starred_url":"https://api.github.com/users/crate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crate/subscriptions","organizations_url":"https://api.github.com/users/crate/orgs","repos_url":"https://api.github.com/users/crate/repos","events_url":"https://api.github.com/users/crate/events{/privacy}","received_events_url":"https://api.github.com/users/crate/received_events","type":"Organization","site_admin":false},"repo":{"id":157708078,"node_id":"MDEwOlJlcG9zaXRvcnkxNTc3MDgwNzg=","name":"croud","full_name":"crate/croud","private":false,"owner":{"login":"crate","id":4048232,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQwNDgyMzI=","avatar_url":"https://avatars3.githubusercontent.com/u/4048232?v=4","gravatar_id":"","url":"https://api.github.com/users/crate","html_url":"https://github.com/crate","followers_url":"https://api.github.com/users/crate/followers","following_url":"https://api.github.com/users/crate/following{/other_user}","gists_url":"https://api.github.com/users/crate/gists{/gist_id}","starred_url":"https://api.github.com/users/crate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crate/subscriptions","organizations_url":"https://api.github.com/users/crate/orgs","repos_url":"https://api.github.com/users/crate/repos","events_url":"https://api.github.com/users/crate/events{/privacy}","received_events_url":"https://api.github.com/users/crate/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/crate/croud","description":"A command line interface for CrateDB Cloud ☁","fork":false,"url":"https://api.github.com/repos/crate/croud","forks_url":"https://api.github.com/repos/crate/croud/forks","keys_url":"https://api.github.com/repos/crate/croud/keys{/key_id}","collaborators_url":"https://api.github.com/repos/crate/croud/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/crate/croud/teams","hooks_url":"https://api.github.com/repos/crate/croud/hooks","issue_events_url":"https://api.github.com/repos/crate/croud/issues/events{/number}","events_url":"https://api.github.com/repos/crate/croud/events","assignees_url":"https://api.github.com/repos/crate/croud/assignees{/user}","branches_url":"https://api.github.com/repos/crate/croud/branches{/branch}","tags_url":"https://api.github.com/repos/crate/croud/tags","blobs_url":"https://api.github.com/repos/crate/croud/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/crate/croud/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/crate/croud/git/refs{/sha}","trees_url":"https://api.github.com/repos/crate/croud/git/trees{/sha}","statuses_url":"https://api.github.com/repos/crate/croud/statuses/{sha}","languages_url":"https://api.github.com/repos/crate/croud/languages","stargazers_url":"https://api.github.com/repos/crate/croud/stargazers","contributors_url":"https://api.github.com/repos/crate/croud/contributors","subscribers_url":"https://api.github.com/repos/crate/croud/subscribers","subscription_url":"https://api.github.com/repos/crate/croud/subscription","commits_url":"https://api.github.com/repos/crate/croud/commits{/sha}","git_commits_url":"https://api.github.com/repos/crate/croud/git/commits{/sha}","comments_url":"https://api.github.com/repos/crate/croud/comments{/number}","issue_comment_url":"https://api.github.com/repos/crate/croud/issues/comments{/number}","contents_url":"https://api.github.com/repos/crate/croud/contents/{+path}","compare_url":"https://api.github.com/repos/crate/croud/compare/{base}...{head}","merges_url":"https://api.github.com/repos/crate/croud/merges","archive_url":"https://api.github.com/repos/crate/croud/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/crate/croud/downloads","issues_url":"https://api.github.com/repos/crate/croud/issues{/number}","pulls_url":"https://api.github.com/repos/crate/croud/pulls{/number}","milestones_url":"https://api.github.com/repos/crate/croud/milestones{/number}","notifications_url":"https://api.github.com/repos/crate/croud/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/crate/croud/labels{/name}","releases_url":"https://api.github.com/repos/crate/croud/releases{/id}","deployments_url":"https://api.github.com/repos/crate/croud/deployments","created_at":"2018-11-15T12:31:32Z","updated_at":"2018-12-05T15:47:04Z","pushed_at":"2018-12-05T15:47:06Z","git_url":"git://github.com/crate/croud.git","ssh_url":"git@github.com:crate/croud.git","clone_url":"https://github.com/crate/croud.git","svn_url":"https://github.com/crate/croud","homepage":"","size":74,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/crate/croud/pulls/21"},"html":{"href":"https://github.com/crate/croud/pull/21"},"issue":{"href":"https://api.github.com/repos/crate/croud/issues/21"},"comments":{"href":"https://api.github.com/repos/crate/croud/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/crate/croud/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/crate/croud/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/crate/croud/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/crate/croud/statuses/ee4093c748eae77b6e0d1445431e3db8daebe537"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"chaudum"}}