{"action":"opened","number":407,"pull_request":{"url":"https://api.github.com/repos/dbcli/pgcli/pulls/407","id":49774754,"html_url":"https://github.com/dbcli/pgcli/pull/407","diff_url":"https://github.com/dbcli/pgcli/pull/407.diff","patch_url":"https://github.com/dbcli/pgcli/pull/407.patch","issue_url":"https://api.github.com/repos/dbcli/pgcli/issues/407","number":407,"state":"open","locked":false,"title":"Switch the location of log/history file based on OS.","user":{"login":"amjith","id":49260,"avatar_url":"https://avatars.githubusercontent.com/u/49260?v=3","gravatar_id":"","url":"https://api.github.com/users/amjith","html_url":"https://github.com/amjith","followers_url":"https://api.github.com/users/amjith/followers","following_url":"https://api.github.com/users/amjith/following{/other_user}","gists_url":"https://api.github.com/users/amjith/gists{/gist_id}","starred_url":"https://api.github.com/users/amjith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amjith/subscriptions","organizations_url":"https://api.github.com/users/amjith/orgs","repos_url":"https://api.github.com/users/amjith/repos","events_url":"https://api.github.com/users/amjith/events{/privacy}","received_events_url":"https://api.github.com/users/amjith/received_events","type":"User","site_admin":false},"body":"@j-bennet @darikg I made a reference implementation of what I had in mind. \r\n\r\nYou're welcome to test this and merge or write your own implementation if you're not satisfied. \r\n\r\nI haven't tested this yet, sorry. ","created_at":"2015-11-05T02:23:18Z","updated_at":"2015-11-05T02:23:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dbcli/pgcli/pulls/407/commits","review_comments_url":"https://api.github.com/repos/dbcli/pgcli/pulls/407/comments","review_comment_url":"https://api.github.com/repos/dbcli/pgcli/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dbcli/pgcli/issues/407/comments","statuses_url":"https://api.github.com/repos/dbcli/pgcli/statuses/6fd2806e6f4062c452b81565655759d228d008df","head":{"label":"dbcli:amjith/fix_log_file_windows","ref":"amjith/fix_log_file_windows","sha":"6fd2806e6f4062c452b81565655759d228d008df","user":{"login":"dbcli","id":11810727,"avatar_url":"https://avatars.githubusercontent.com/u/11810727?v=3","gravatar_id":"","url":"https://api.github.com/users/dbcli","html_url":"https://github.com/dbcli","followers_url":"https://api.github.com/users/dbcli/followers","following_url":"https://api.github.com/users/dbcli/following{/other_user}","gists_url":"https://api.github.com/users/dbcli/gists{/gist_id}","starred_url":"https://api.github.com/users/dbcli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbcli/subscriptions","organizations_url":"https://api.github.com/users/dbcli/orgs","repos_url":"https://api.github.com/users/dbcli/repos","events_url":"https://api.github.com/users/dbcli/events{/privacy}","received_events_url":"https://api.github.com/users/dbcli/received_events","type":"Organization","site_admin":false},"repo":{"id":25126616,"name":"pgcli","full_name":"dbcli/pgcli","owner":{"login":"dbcli","id":11810727,"avatar_url":"https://avatars.githubusercontent.com/u/11810727?v=3","gravatar_id":"","url":"https://api.github.com/users/dbcli","html_url":"https://github.com/dbcli","followers_url":"https://api.github.com/users/dbcli/followers","following_url":"https://api.github.com/users/dbcli/following{/other_user}","gists_url":"https://api.github.com/users/dbcli/gists{/gist_id}","starred_url":"https://api.github.com/users/dbcli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbcli/subscriptions","organizations_url":"https://api.github.com/users/dbcli/orgs","repos_url":"https://api.github.com/users/dbcli/repos","events_url":"https://api.github.com/users/dbcli/events{/privacy}","received_events_url":"https://api.github.com/users/dbcli/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dbcli/pgcli","description":"Postgres CLI with autocompletion and syntax highlighting","fork":false,"url":"https://api.github.com/repos/dbcli/pgcli","forks_url":"https://api.github.com/repos/dbcli/pgcli/forks","keys_url":"https://api.github.com/repos/dbcli/pgcli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dbcli/pgcli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dbcli/pgcli/teams","hooks_url":"https://api.github.com/repos/dbcli/pgcli/hooks","issue_events_url":"https://api.github.com/repos/dbcli/pgcli/issues/events{/number}","events_url":"https://api.github.com/repos/dbcli/pgcli/events","assignees_url":"https://api.github.com/repos/dbcli/pgcli/assignees{/user}","branches_url":"https://api.github.com/repos/dbcli/pgcli/branches{/branch}","tags_url":"https://api.github.com/repos/dbcli/pgcli/tags","blobs_url":"https://api.github.com/repos/dbcli/pgcli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dbcli/pgcli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dbcli/pgcli/git/refs{/sha}","trees_url":"https://api.github.com/repos/dbcli/pgcli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dbcli/pgcli/statuses/{sha}","languages_url":"https://api.github.com/repos/dbcli/pgcli/languages","stargazers_url":"https://api.github.com/repos/dbcli/pgcli/stargazers","contributors_url":"https://api.github.com/repos/dbcli/pgcli/contributors","subscribers_url":"https://api.github.com/repos/dbcli/pgcli/subscribers","subscription_url":"https://api.github.com/repos/dbcli/pgcli/subscription","commits_url":"https://api.github.com/repos/dbcli/pgcli/commits{/sha}","git_commits_url":"https://api.github.com/repos/dbcli/pgcli/git/commits{/sha}","comments_url":"https://api.github.com/repos/dbcli/pgcli/comments{/number}","issue_comment_url":"https://api.github.com/repos/dbcli/pgcli/issues/comments{/number}","contents_url":"https://api.github.com/repos/dbcli/pgcli/contents/{+path}","compare_url":"https://api.github.com/repos/dbcli/pgcli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dbcli/pgcli/merges","archive_url":"https://api.github.com/repos/dbcli/pgcli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dbcli/pgcli/downloads","issues_url":"https://api.github.com/repos/dbcli/pgcli/issues{/number}","pulls_url":"https://api.github.com/repos/dbcli/pgcli/pulls{/number}","milestones_url":"https://api.github.com/repos/dbcli/pgcli/milestones{/number}","notifications_url":"https://api.github.com/repos/dbcli/pgcli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dbcli/pgcli/labels{/name}","releases_url":"https://api.github.com/repos/dbcli/pgcli/releases{/id}","created_at":"2014-10-12T17:32:33Z","updated_at":"2015-11-04T23:40:46Z","pushed_at":"2015-11-05T02:23:19Z","git_url":"git://github.com/dbcli/pgcli.git","ssh_url":"git@github.com:dbcli/pgcli.git","clone_url":"https://github.com/dbcli/pgcli.git","svn_url":"https://github.com/dbcli/pgcli","homepage":null,"size":3860,"stargazers_count":3983,"watchers_count":3983,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":141,"mirror_url":null,"open_issues_count":52,"forks":141,"open_issues":52,"watchers":3983,"default_branch":"master"}},"base":{"label":"dbcli:master","ref":"master","sha":"2c1c493977dbb5d208815b1adc1413084d636813","user":{"login":"dbcli","id":11810727,"avatar_url":"https://avatars.githubusercontent.com/u/11810727?v=3","gravatar_id":"","url":"https://api.github.com/users/dbcli","html_url":"https://github.com/dbcli","followers_url":"https://api.github.com/users/dbcli/followers","following_url":"https://api.github.com/users/dbcli/following{/other_user}","gists_url":"https://api.github.com/users/dbcli/gists{/gist_id}","starred_url":"https://api.github.com/users/dbcli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbcli/subscriptions","organizations_url":"https://api.github.com/users/dbcli/orgs","repos_url":"https://api.github.com/users/dbcli/repos","events_url":"https://api.github.com/users/dbcli/events{/privacy}","received_events_url":"https://api.github.com/users/dbcli/received_events","type":"Organization","site_admin":false},"repo":{"id":25126616,"name":"pgcli","full_name":"dbcli/pgcli","owner":{"login":"dbcli","id":11810727,"avatar_url":"https://avatars.githubusercontent.com/u/11810727?v=3","gravatar_id":"","url":"https://api.github.com/users/dbcli","html_url":"https://github.com/dbcli","followers_url":"https://api.github.com/users/dbcli/followers","following_url":"https://api.github.com/users/dbcli/following{/other_user}","gists_url":"https://api.github.com/users/dbcli/gists{/gist_id}","starred_url":"https://api.github.com/users/dbcli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbcli/subscriptions","organizations_url":"https://api.github.com/users/dbcli/orgs","repos_url":"https://api.github.com/users/dbcli/repos","events_url":"https://api.github.com/users/dbcli/events{/privacy}","received_events_url":"https://api.github.com/users/dbcli/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dbcli/pgcli","description":"Postgres CLI with autocompletion and syntax highlighting","fork":false,"url":"https://api.github.com/repos/dbcli/pgcli","forks_url":"https://api.github.com/repos/dbcli/pgcli/forks","keys_url":"https://api.github.com/repos/dbcli/pgcli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dbcli/pgcli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dbcli/pgcli/teams","hooks_url":"https://api.github.com/repos/dbcli/pgcli/hooks","issue_events_url":"https://api.github.com/repos/dbcli/pgcli/issues/events{/number}","events_url":"https://api.github.com/repos/dbcli/pgcli/events","assignees_url":"https://api.github.com/repos/dbcli/pgcli/assignees{/user}","branches_url":"https://api.github.com/repos/dbcli/pgcli/branches{/branch}","tags_url":"https://api.github.com/repos/dbcli/pgcli/tags","blobs_url":"https://api.github.com/repos/dbcli/pgcli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dbcli/pgcli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dbcli/pgcli/git/refs{/sha}","trees_url":"https://api.github.com/repos/dbcli/pgcli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dbcli/pgcli/statuses/{sha}","languages_url":"https://api.github.com/repos/dbcli/pgcli/languages","stargazers_url":"https://api.github.com/repos/dbcli/pgcli/stargazers","contributors_url":"https://api.github.com/repos/dbcli/pgcli/contributors","subscribers_url":"https://api.github.com/repos/dbcli/pgcli/subscribers","subscription_url":"https://api.github.com/repos/dbcli/pgcli/subscription","commits_url":"https://api.github.com/repos/dbcli/pgcli/commits{/sha}","git_commits_url":"https://api.github.com/repos/dbcli/pgcli/git/commits{/sha}","comments_url":"https://api.github.com/repos/dbcli/pgcli/comments{/number}","issue_comment_url":"https://api.github.com/repos/dbcli/pgcli/issues/comments{/number}","contents_url":"https://api.github.com/repos/dbcli/pgcli/contents/{+path}","compare_url":"https://api.github.com/repos/dbcli/pgcli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dbcli/pgcli/merges","archive_url":"https://api.github.com/repos/dbcli/pgcli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dbcli/pgcli/downloads","issues_url":"https://api.github.com/repos/dbcli/pgcli/issues{/number}","pulls_url":"https://api.github.com/repos/dbcli/pgcli/pulls{/number}","milestones_url":"https://api.github.com/repos/dbcli/pgcli/milestones{/number}","notifications_url":"https://api.github.com/repos/dbcli/pgcli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dbcli/pgcli/labels{/name}","releases_url":"https://api.github.com/repos/dbcli/pgcli/releases{/id}","created_at":"2014-10-12T17:32:33Z","updated_at":"2015-11-04T23:40:46Z","pushed_at":"2015-11-05T02:23:19Z","git_url":"git://github.com/dbcli/pgcli.git","ssh_url":"git@github.com:dbcli/pgcli.git","clone_url":"https://github.com/dbcli/pgcli.git","svn_url":"https://github.com/dbcli/pgcli","homepage":null,"size":3860,"stargazers_count":3983,"watchers_count":3983,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":141,"mirror_url":null,"open_issues_count":52,"forks":141,"open_issues":52,"watchers":3983,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dbcli/pgcli/pulls/407"},"html":{"href":"https://github.com/dbcli/pgcli/pull/407"},"issue":{"href":"https://api.github.com/repos/dbcli/pgcli/issues/407"},"comments":{"href":"https://api.github.com/repos/dbcli/pgcli/issues/407/comments"},"review_comments":{"href":"https://api.github.com/repos/dbcli/pgcli/pulls/407/comments"},"review_comment":{"href":"https://api.github.com/repos/dbcli/pgcli/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dbcli/pgcli/pulls/407/commits"},"statuses":{"href":"https://api.github.com/repos/dbcli/pgcli/statuses/6fd2806e6f4062c452b81565655759d228d008df"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":16,"deletions":6,"changed_files":3}}