{"action":"created","comment":{"url":"https://api.github.com/repos/eliangcs/http-prompt/pulls/comments/76248417","id":76248417,"diff_hunk":"@@ -10,14 +10,17 @@\n \n from http_prompt.context import Context\n from http_prompt.execution import execute\n+from http_prompt.xdg import get_tmp_dir","path":"tests/test_execution.py","position":4,"original_position":4,"commit_id":"9e49829fe8d2402b4909a88230cc62ba963157a1","original_commit_id":"9e49829fe8d2402b4909a88230cc62ba963157a1","user":{"login":"eliangcs","id":740461,"avatar_url":"https://avatars.githubusercontent.com/u/740461?v=3","gravatar_id":"","url":"https://api.github.com/users/eliangcs","html_url":"https://github.com/eliangcs","followers_url":"https://api.github.com/users/eliangcs/followers","following_url":"https://api.github.com/users/eliangcs/following{/other_user}","gists_url":"https://api.github.com/users/eliangcs/gists{/gist_id}","starred_url":"https://api.github.com/users/eliangcs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eliangcs/subscriptions","organizations_url":"https://api.github.com/users/eliangcs/orgs","repos_url":"https://api.github.com/users/eliangcs/repos","events_url":"https://api.github.com/users/eliangcs/events{/privacy}","received_events_url":"https://api.github.com/users/eliangcs/received_events","type":"User","site_admin":false},"body":"Python already has a [tempfile](https://docs.python.org/3.5/library/tempfile.html) module that managing temporary files and directories. So writing a `get_tmp_dir` in `http_prompt.xdg` is not really necessary.","created_at":"2016-08-25T14:03:28Z","updated_at":"2016-08-25T14:03:28Z","html_url":"https://github.com/eliangcs/http-prompt/pull/73#discussion_r76248417","pull_request_url":"https://api.github.com/repos/eliangcs/http-prompt/pulls/73","_links":{"self":{"href":"https://api.github.com/repos/eliangcs/http-prompt/pulls/comments/76248417"},"html":{"href":"https://github.com/eliangcs/http-prompt/pull/73#discussion_r76248417"},"pull_request":{"href":"https://api.github.com/repos/eliangcs/http-prompt/pulls/73"}}},"pull_request":{"url":"https://api.github.com/repos/eliangcs/http-prompt/pulls/73","id":82118470,"html_url":"https://github.com/eliangcs/http-prompt/pull/73","diff_url":"https://github.com/eliangcs/http-prompt/pull/73.diff","patch_url":"https://github.com/eliangcs/http-prompt/pull/73.patch","issue_url":"https://api.github.com/repos/eliangcs/http-prompt/issues/73","number":73,"state":"open","locked":false,"title":"Features/env, source and exec commands + basic unix pipelines","user":{"login":"fogine","id":7884288,"avatar_url":"https://avatars.githubusercontent.com/u/7884288?v=3","gravatar_id":"","url":"https://api.github.com/users/fogine","html_url":"https://github.com/fogine","followers_url":"https://api.github.com/users/fogine/followers","following_url":"https://api.github.com/users/fogine/following{/other_user}","gists_url":"https://api.github.com/users/fogine/gists{/gist_id}","starred_url":"https://api.github.com/users/fogine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fogine/subscriptions","organizations_url":"https://api.github.com/users/fogine/orgs","repos_url":"https://api.github.com/users/fogine/repos","events_url":"https://api.github.com/users/fogine/events{/privacy}","received_events_url":"https://api.github.com/users/fogine/received_events","type":"User","site_admin":false},"body":"Solves #70 \r\n\r\nAdds new commands: `env`, `source`, `exec`  \r\nAdds output redirection feature: \r\n```bash\r\n> post query==value > /tmp/request.log # writes response to the file\r\n> post query==value >> /tmp/request.log # appends response to the file ( or creates a new file if it does not exists)\r\n> post query==value | tee [-a,--append] /tmp/request.log # appends or writes to the files and simultaneously prints the response to a console\r\n```\r\n\r\nChanged behavior of automatic context saving... It saves only current session to single file. It's like backup of a unsaved session.\r\n\r\nCovered by tests\r\nReadme file with starting guide updated... so it reflects the new features","created_at":"2016-08-21T21:54:45Z","updated_at":"2016-08-25T14:03:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0bd497242d318320583f04b17b732e97674f7cdc","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/eliangcs/http-prompt/pulls/73/commits","review_comments_url":"https://api.github.com/repos/eliangcs/http-prompt/pulls/73/comments","review_comment_url":"https://api.github.com/repos/eliangcs/http-prompt/pulls/comments{/number}","comments_url":"https://api.github.com/repos/eliangcs/http-prompt/issues/73/comments","statuses_url":"https://api.github.com/repos/eliangcs/http-prompt/statuses/9e49829fe8d2402b4909a88230cc62ba963157a1","head":{"label":"fogine:features/env-source-exec-unix-pipelines","ref":"features/env-source-exec-unix-pipelines","sha":"9e49829fe8d2402b4909a88230cc62ba963157a1","user":{"login":"fogine","id":7884288,"avatar_url":"https://avatars.githubusercontent.com/u/7884288?v=3","gravatar_id":"","url":"https://api.github.com/users/fogine","html_url":"https://github.com/fogine","followers_url":"https://api.github.com/users/fogine/followers","following_url":"https://api.github.com/users/fogine/following{/other_user}","gists_url":"https://api.github.com/users/fogine/gists{/gist_id}","starred_url":"https://api.github.com/users/fogine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fogine/subscriptions","organizations_url":"https://api.github.com/users/fogine/orgs","repos_url":"https://api.github.com/users/fogine/repos","events_url":"https://api.github.com/users/fogine/events{/privacy}","received_events_url":"https://api.github.com/users/fogine/received_events","type":"User","site_admin":false},"repo":{"id":65815157,"name":"http-prompt","full_name":"fogine/http-prompt","owner":{"login":"fogine","id":7884288,"avatar_url":"https://avatars.githubusercontent.com/u/7884288?v=3","gravatar_id":"","url":"https://api.github.com/users/fogine","html_url":"https://github.com/fogine","followers_url":"https://api.github.com/users/fogine/followers","following_url":"https://api.github.com/users/fogine/following{/other_user}","gists_url":"https://api.github.com/users/fogine/gists{/gist_id}","starred_url":"https://api.github.com/users/fogine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fogine/subscriptions","organizations_url":"https://api.github.com/users/fogine/orgs","repos_url":"https://api.github.com/users/fogine/repos","events_url":"https://api.github.com/users/fogine/events{/privacy}","received_events_url":"https://api.github.com/users/fogine/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fogine/http-prompt","description":"HTTPie + prompt_toolkit = an interactive command-line HTTP client featuring autocomplete and syntax highlighting","fork":true,"url":"https://api.github.com/repos/fogine/http-prompt","forks_url":"https://api.github.com/repos/fogine/http-prompt/forks","keys_url":"https://api.github.com/repos/fogine/http-prompt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fogine/http-prompt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fogine/http-prompt/teams","hooks_url":"https://api.github.com/repos/fogine/http-prompt/hooks","issue_events_url":"https://api.github.com/repos/fogine/http-prompt/issues/events{/number}","events_url":"https://api.github.com/repos/fogine/http-prompt/events","assignees_url":"https://api.github.com/repos/fogine/http-prompt/assignees{/user}","branches_url":"https://api.github.com/repos/fogine/http-prompt/branches{/branch}","tags_url":"https://api.github.com/repos/fogine/http-prompt/tags","blobs_url":"https://api.github.com/repos/fogine/http-prompt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fogine/http-prompt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fogine/http-prompt/git/refs{/sha}","trees_url":"https://api.github.com/repos/fogine/http-prompt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fogine/http-prompt/statuses/{sha}","languages_url":"https://api.github.com/repos/fogine/http-prompt/languages","stargazers_url":"https://api.github.com/repos/fogine/http-prompt/stargazers","contributors_url":"https://api.github.com/repos/fogine/http-prompt/contributors","subscribers_url":"https://api.github.com/repos/fogine/http-prompt/subscribers","subscription_url":"https://api.github.com/repos/fogine/http-prompt/subscription","commits_url":"https://api.github.com/repos/fogine/http-prompt/commits{/sha}","git_commits_url":"https://api.github.com/repos/fogine/http-prompt/git/commits{/sha}","comments_url":"https://api.github.com/repos/fogine/http-prompt/comments{/number}","issue_comment_url":"https://api.github.com/repos/fogine/http-prompt/issues/comments{/number}","contents_url":"https://api.github.com/repos/fogine/http-prompt/contents/{+path}","compare_url":"https://api.github.com/repos/fogine/http-prompt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fogine/http-prompt/merges","archive_url":"https://api.github.com/repos/fogine/http-prompt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fogine/http-prompt/downloads","issues_url":"https://api.github.com/repos/fogine/http-prompt/issues{/number}","pulls_url":"https://api.github.com/repos/fogine/http-prompt/pulls{/number}","milestones_url":"https://api.github.com/repos/fogine/http-prompt/milestones{/number}","notifications_url":"https://api.github.com/repos/fogine/http-prompt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fogine/http-prompt/labels{/name}","releases_url":"https://api.github.com/repos/fogine/http-prompt/releases{/id}","deployments_url":"https://api.github.com/repos/fogine/http-prompt/deployments","created_at":"2016-08-16T11:36:57Z","updated_at":"2016-08-16T11:36:58Z","pushed_at":"2016-08-23T21:04:16Z","git_url":"git://github.com/fogine/http-prompt.git","ssh_url":"git@github.com:fogine/http-prompt.git","clone_url":"https://github.com/fogine/http-prompt.git","svn_url":"https://github.com/fogine/http-prompt","homepage":"","size":476,"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":"eliangcs:master","ref":"master","sha":"a02180c0373addacbaf150a4771e2100a14901d5","user":{"login":"eliangcs","id":740461,"avatar_url":"https://avatars.githubusercontent.com/u/740461?v=3","gravatar_id":"","url":"https://api.github.com/users/eliangcs","html_url":"https://github.com/eliangcs","followers_url":"https://api.github.com/users/eliangcs/followers","following_url":"https://api.github.com/users/eliangcs/following{/other_user}","gists_url":"https://api.github.com/users/eliangcs/gists{/gist_id}","starred_url":"https://api.github.com/users/eliangcs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eliangcs/subscriptions","organizations_url":"https://api.github.com/users/eliangcs/orgs","repos_url":"https://api.github.com/users/eliangcs/repos","events_url":"https://api.github.com/users/eliangcs/events{/privacy}","received_events_url":"https://api.github.com/users/eliangcs/received_events","type":"User","site_admin":false},"repo":{"id":55584626,"name":"http-prompt","full_name":"eliangcs/http-prompt","owner":{"login":"eliangcs","id":740461,"avatar_url":"https://avatars.githubusercontent.com/u/740461?v=3","gravatar_id":"","url":"https://api.github.com/users/eliangcs","html_url":"https://github.com/eliangcs","followers_url":"https://api.github.com/users/eliangcs/followers","following_url":"https://api.github.com/users/eliangcs/following{/other_user}","gists_url":"https://api.github.com/users/eliangcs/gists{/gist_id}","starred_url":"https://api.github.com/users/eliangcs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eliangcs/subscriptions","organizations_url":"https://api.github.com/users/eliangcs/orgs","repos_url":"https://api.github.com/users/eliangcs/repos","events_url":"https://api.github.com/users/eliangcs/events{/privacy}","received_events_url":"https://api.github.com/users/eliangcs/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/eliangcs/http-prompt","description":"HTTPie + prompt_toolkit = an interactive command-line HTTP client featuring autocomplete and syntax highlighting","fork":false,"url":"https://api.github.com/repos/eliangcs/http-prompt","forks_url":"https://api.github.com/repos/eliangcs/http-prompt/forks","keys_url":"https://api.github.com/repos/eliangcs/http-prompt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eliangcs/http-prompt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eliangcs/http-prompt/teams","hooks_url":"https://api.github.com/repos/eliangcs/http-prompt/hooks","issue_events_url":"https://api.github.com/repos/eliangcs/http-prompt/issues/events{/number}","events_url":"https://api.github.com/repos/eliangcs/http-prompt/events","assignees_url":"https://api.github.com/repos/eliangcs/http-prompt/assignees{/user}","branches_url":"https://api.github.com/repos/eliangcs/http-prompt/branches{/branch}","tags_url":"https://api.github.com/repos/eliangcs/http-prompt/tags","blobs_url":"https://api.github.com/repos/eliangcs/http-prompt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eliangcs/http-prompt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eliangcs/http-prompt/git/refs{/sha}","trees_url":"https://api.github.com/repos/eliangcs/http-prompt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eliangcs/http-prompt/statuses/{sha}","languages_url":"https://api.github.com/repos/eliangcs/http-prompt/languages","stargazers_url":"https://api.github.com/repos/eliangcs/http-prompt/stargazers","contributors_url":"https://api.github.com/repos/eliangcs/http-prompt/contributors","subscribers_url":"https://api.github.com/repos/eliangcs/http-prompt/subscribers","subscription_url":"https://api.github.com/repos/eliangcs/http-prompt/subscription","commits_url":"https://api.github.com/repos/eliangcs/http-prompt/commits{/sha}","git_commits_url":"https://api.github.com/repos/eliangcs/http-prompt/git/commits{/sha}","comments_url":"https://api.github.com/repos/eliangcs/http-prompt/comments{/number}","issue_comment_url":"https://api.github.com/repos/eliangcs/http-prompt/issues/comments{/number}","contents_url":"https://api.github.com/repos/eliangcs/http-prompt/contents/{+path}","compare_url":"https://api.github.com/repos/eliangcs/http-prompt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eliangcs/http-prompt/merges","archive_url":"https://api.github.com/repos/eliangcs/http-prompt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eliangcs/http-prompt/downloads","issues_url":"https://api.github.com/repos/eliangcs/http-prompt/issues{/number}","pulls_url":"https://api.github.com/repos/eliangcs/http-prompt/pulls{/number}","milestones_url":"https://api.github.com/repos/eliangcs/http-prompt/milestones{/number}","notifications_url":"https://api.github.com/repos/eliangcs/http-prompt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eliangcs/http-prompt/labels{/name}","releases_url":"https://api.github.com/repos/eliangcs/http-prompt/releases{/id}","deployments_url":"https://api.github.com/repos/eliangcs/http-prompt/deployments","created_at":"2016-04-06T07:24:35Z","updated_at":"2016-08-25T13:14:46Z","pushed_at":"2016-08-23T21:12:28Z","git_url":"git://github.com/eliangcs/http-prompt.git","ssh_url":"git@github.com:eliangcs/http-prompt.git","clone_url":"https://github.com/eliangcs/http-prompt.git","svn_url":"https://github.com/eliangcs/http-prompt","homepage":"","size":438,"stargazers_count":5527,"watchers_count":5527,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":181,"mirror_url":null,"open_issues_count":14,"forks":181,"open_issues":14,"watchers":5527,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/eliangcs/http-prompt/pulls/73"},"html":{"href":"https://github.com/eliangcs/http-prompt/pull/73"},"issue":{"href":"https://api.github.com/repos/eliangcs/http-prompt/issues/73"},"comments":{"href":"https://api.github.com/repos/eliangcs/http-prompt/issues/73/comments"},"review_comments":{"href":"https://api.github.com/repos/eliangcs/http-prompt/pulls/73/comments"},"review_comment":{"href":"https://api.github.com/repos/eliangcs/http-prompt/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/eliangcs/http-prompt/pulls/73/commits"},"statuses":{"href":"https://api.github.com/repos/eliangcs/http-prompt/statuses/9e49829fe8d2402b4909a88230cc62ba963157a1"}}}}
{"actor":{"display_login":"eliangcs"}}