{"action":"created","comment":{"url":"https://api.github.com/repos/Fizzadar/pyinfra/pulls/comments/87170784","pull_request_review_id":7792365,"id":87170784,"diff_hunk":"@@ -51,7 +51,7 @@ def virtualenv(\n def packages(\n     state, host,\n     packages=None, present=True, latest=False,\n-    requirements=None, virtualenv=None\n+    requirements=None, virtualenv_root=None","path":"pyinfra/modules/pip.py","position":47,"original_position":5,"commit_id":"917b33f8173982d817fb69a76723213f23bd8533","original_commit_id":"917b33f8173982d817fb69a76723213f23bd8533","user":{"login":"oksome","id":4591771,"avatar_url":"https://avatars.githubusercontent.com/u/4591771?v=3","gravatar_id":"","url":"https://api.github.com/users/oksome","html_url":"https://github.com/oksome","followers_url":"https://api.github.com/users/oksome/followers","following_url":"https://api.github.com/users/oksome/following{/other_user}","gists_url":"https://api.github.com/users/oksome/gists{/gist_id}","starred_url":"https://api.github.com/users/oksome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oksome/subscriptions","organizations_url":"https://api.github.com/users/oksome/orgs","repos_url":"https://api.github.com/users/oksome/repos","events_url":"https://api.github.com/users/oksome/events{/privacy}","received_events_url":"https://api.github.com/users/oksome/received_events","type":"User","site_admin":false},"body":"That's a bit hacky, but it would work.","created_at":"2016-11-09T10:56:19Z","updated_at":"2016-11-09T10:56:19Z","html_url":"https://github.com/Fizzadar/pyinfra/pull/80#discussion_r87170784","pull_request_url":"https://api.github.com/repos/Fizzadar/pyinfra/pulls/80","_links":{"self":{"href":"https://api.github.com/repos/Fizzadar/pyinfra/pulls/comments/87170784"},"html":{"href":"https://github.com/Fizzadar/pyinfra/pull/80#discussion_r87170784"},"pull_request":{"href":"https://api.github.com/repos/Fizzadar/pyinfra/pulls/80"}}},"pull_request":{"url":"https://api.github.com/repos/Fizzadar/pyinfra/pulls/80","id":91278614,"html_url":"https://github.com/Fizzadar/pyinfra/pull/80","diff_url":"https://github.com/Fizzadar/pyinfra/pull/80.diff","patch_url":"https://github.com/Fizzadar/pyinfra/pull/80.patch","issue_url":"https://api.github.com/repos/Fizzadar/pyinfra/issues/80","number":80,"state":"open","locked":false,"title":"Add module virtualenv","user":{"login":"hoh","id":404665,"avatar_url":"https://avatars.githubusercontent.com/u/404665?v=3","gravatar_id":"","url":"https://api.github.com/users/hoh","html_url":"https://github.com/hoh","followers_url":"https://api.github.com/users/hoh/followers","following_url":"https://api.github.com/users/hoh/following{/other_user}","gists_url":"https://api.github.com/users/hoh/gists{/gist_id}","starred_url":"https://api.github.com/users/hoh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hoh/subscriptions","organizations_url":"https://api.github.com/users/hoh/orgs","repos_url":"https://api.github.com/users/hoh/repos","events_url":"https://api.github.com/users/hoh/events{/privacy}","received_events_url":"https://api.github.com/users/hoh/received_events","type":"User","site_admin":false},"body":"This branch adds a new module to create Python virtualenvs, and supports the usual options of `virtualenv`: python interpreter, sytem-site-packages and use of symlink or copy.\n\nIt could make sense to merge this module with the `pip` module as they are quite related, but I am not sure how we would make this merge. There is also a `python` module, but it is used for unrelated operations.\n","created_at":"2016-10-27T20:53:07Z","updated_at":"2016-11-09T10:56:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"13425098e04e42ad35d6b314cdcad762e2c0e353","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Fizzadar/pyinfra/pulls/80/commits","review_comments_url":"https://api.github.com/repos/Fizzadar/pyinfra/pulls/80/comments","review_comment_url":"https://api.github.com/repos/Fizzadar/pyinfra/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Fizzadar/pyinfra/issues/80/comments","statuses_url":"https://api.github.com/repos/Fizzadar/pyinfra/statuses/917b33f8173982d817fb69a76723213f23bd8533","head":{"label":"hoh:add_virtualenv","ref":"add_virtualenv","sha":"917b33f8173982d817fb69a76723213f23bd8533","user":{"login":"hoh","id":404665,"avatar_url":"https://avatars.githubusercontent.com/u/404665?v=3","gravatar_id":"","url":"https://api.github.com/users/hoh","html_url":"https://github.com/hoh","followers_url":"https://api.github.com/users/hoh/followers","following_url":"https://api.github.com/users/hoh/following{/other_user}","gists_url":"https://api.github.com/users/hoh/gists{/gist_id}","starred_url":"https://api.github.com/users/hoh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hoh/subscriptions","organizations_url":"https://api.github.com/users/hoh/orgs","repos_url":"https://api.github.com/users/hoh/repos","events_url":"https://api.github.com/users/hoh/events{/privacy}","received_events_url":"https://api.github.com/users/hoh/received_events","type":"User","site_admin":false},"repo":{"id":64318932,"name":"pyinfra","full_name":"hoh/pyinfra","owner":{"login":"hoh","id":404665,"avatar_url":"https://avatars.githubusercontent.com/u/404665?v=3","gravatar_id":"","url":"https://api.github.com/users/hoh","html_url":"https://github.com/hoh","followers_url":"https://api.github.com/users/hoh/followers","following_url":"https://api.github.com/users/hoh/following{/other_user}","gists_url":"https://api.github.com/users/hoh/gists{/gist_id}","starred_url":"https://api.github.com/users/hoh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hoh/subscriptions","organizations_url":"https://api.github.com/users/hoh/orgs","repos_url":"https://api.github.com/users/hoh/repos","events_url":"https://api.github.com/users/hoh/events{/privacy}","received_events_url":"https://api.github.com/users/hoh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hoh/pyinfra","description":":zap: Deploy stuff by diff-ing the state you want against the remote server","fork":true,"url":"https://api.github.com/repos/hoh/pyinfra","forks_url":"https://api.github.com/repos/hoh/pyinfra/forks","keys_url":"https://api.github.com/repos/hoh/pyinfra/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hoh/pyinfra/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hoh/pyinfra/teams","hooks_url":"https://api.github.com/repos/hoh/pyinfra/hooks","issue_events_url":"https://api.github.com/repos/hoh/pyinfra/issues/events{/number}","events_url":"https://api.github.com/repos/hoh/pyinfra/events","assignees_url":"https://api.github.com/repos/hoh/pyinfra/assignees{/user}","branches_url":"https://api.github.com/repos/hoh/pyinfra/branches{/branch}","tags_url":"https://api.github.com/repos/hoh/pyinfra/tags","blobs_url":"https://api.github.com/repos/hoh/pyinfra/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hoh/pyinfra/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hoh/pyinfra/git/refs{/sha}","trees_url":"https://api.github.com/repos/hoh/pyinfra/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hoh/pyinfra/statuses/{sha}","languages_url":"https://api.github.com/repos/hoh/pyinfra/languages","stargazers_url":"https://api.github.com/repos/hoh/pyinfra/stargazers","contributors_url":"https://api.github.com/repos/hoh/pyinfra/contributors","subscribers_url":"https://api.github.com/repos/hoh/pyinfra/subscribers","subscription_url":"https://api.github.com/repos/hoh/pyinfra/subscription","commits_url":"https://api.github.com/repos/hoh/pyinfra/commits{/sha}","git_commits_url":"https://api.github.com/repos/hoh/pyinfra/git/commits{/sha}","comments_url":"https://api.github.com/repos/hoh/pyinfra/comments{/number}","issue_comment_url":"https://api.github.com/repos/hoh/pyinfra/issues/comments{/number}","contents_url":"https://api.github.com/repos/hoh/pyinfra/contents/{+path}","compare_url":"https://api.github.com/repos/hoh/pyinfra/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hoh/pyinfra/merges","archive_url":"https://api.github.com/repos/hoh/pyinfra/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hoh/pyinfra/downloads","issues_url":"https://api.github.com/repos/hoh/pyinfra/issues{/number}","pulls_url":"https://api.github.com/repos/hoh/pyinfra/pulls{/number}","milestones_url":"https://api.github.com/repos/hoh/pyinfra/milestones{/number}","notifications_url":"https://api.github.com/repos/hoh/pyinfra/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hoh/pyinfra/labels{/name}","releases_url":"https://api.github.com/repos/hoh/pyinfra/releases{/id}","deployments_url":"https://api.github.com/repos/hoh/pyinfra/deployments","created_at":"2016-07-27T15:13:36Z","updated_at":"2016-07-27T15:13:37Z","pushed_at":"2016-11-08T13:31:14Z","git_url":"git://github.com/hoh/pyinfra.git","ssh_url":"git@github.com:hoh/pyinfra.git","clone_url":"https://github.com/hoh/pyinfra.git","svn_url":"https://github.com/hoh/pyinfra","homepage":"","size":14604,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"Fizzadar:develop","ref":"develop","sha":"37b9c94806dffb30c052846deb7ae45518503dd2","user":{"login":"Fizzadar","id":1026154,"avatar_url":"https://avatars.githubusercontent.com/u/1026154?v=3","gravatar_id":"","url":"https://api.github.com/users/Fizzadar","html_url":"https://github.com/Fizzadar","followers_url":"https://api.github.com/users/Fizzadar/followers","following_url":"https://api.github.com/users/Fizzadar/following{/other_user}","gists_url":"https://api.github.com/users/Fizzadar/gists{/gist_id}","starred_url":"https://api.github.com/users/Fizzadar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fizzadar/subscriptions","organizations_url":"https://api.github.com/users/Fizzadar/orgs","repos_url":"https://api.github.com/users/Fizzadar/repos","events_url":"https://api.github.com/users/Fizzadar/events{/privacy}","received_events_url":"https://api.github.com/users/Fizzadar/received_events","type":"User","site_admin":false},"repo":{"id":25437858,"name":"pyinfra","full_name":"Fizzadar/pyinfra","owner":{"login":"Fizzadar","id":1026154,"avatar_url":"https://avatars.githubusercontent.com/u/1026154?v=3","gravatar_id":"","url":"https://api.github.com/users/Fizzadar","html_url":"https://github.com/Fizzadar","followers_url":"https://api.github.com/users/Fizzadar/followers","following_url":"https://api.github.com/users/Fizzadar/following{/other_user}","gists_url":"https://api.github.com/users/Fizzadar/gists{/gist_id}","starred_url":"https://api.github.com/users/Fizzadar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fizzadar/subscriptions","organizations_url":"https://api.github.com/users/Fizzadar/orgs","repos_url":"https://api.github.com/users/Fizzadar/repos","events_url":"https://api.github.com/users/Fizzadar/events{/privacy}","received_events_url":"https://api.github.com/users/Fizzadar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Fizzadar/pyinfra","description":":zap: Deploy stuff by diff-ing the state you want against the remote server","fork":false,"url":"https://api.github.com/repos/Fizzadar/pyinfra","forks_url":"https://api.github.com/repos/Fizzadar/pyinfra/forks","keys_url":"https://api.github.com/repos/Fizzadar/pyinfra/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Fizzadar/pyinfra/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Fizzadar/pyinfra/teams","hooks_url":"https://api.github.com/repos/Fizzadar/pyinfra/hooks","issue_events_url":"https://api.github.com/repos/Fizzadar/pyinfra/issues/events{/number}","events_url":"https://api.github.com/repos/Fizzadar/pyinfra/events","assignees_url":"https://api.github.com/repos/Fizzadar/pyinfra/assignees{/user}","branches_url":"https://api.github.com/repos/Fizzadar/pyinfra/branches{/branch}","tags_url":"https://api.github.com/repos/Fizzadar/pyinfra/tags","blobs_url":"https://api.github.com/repos/Fizzadar/pyinfra/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Fizzadar/pyinfra/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Fizzadar/pyinfra/git/refs{/sha}","trees_url":"https://api.github.com/repos/Fizzadar/pyinfra/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Fizzadar/pyinfra/statuses/{sha}","languages_url":"https://api.github.com/repos/Fizzadar/pyinfra/languages","stargazers_url":"https://api.github.com/repos/Fizzadar/pyinfra/stargazers","contributors_url":"https://api.github.com/repos/Fizzadar/pyinfra/contributors","subscribers_url":"https://api.github.com/repos/Fizzadar/pyinfra/subscribers","subscription_url":"https://api.github.com/repos/Fizzadar/pyinfra/subscription","commits_url":"https://api.github.com/repos/Fizzadar/pyinfra/commits{/sha}","git_commits_url":"https://api.github.com/repos/Fizzadar/pyinfra/git/commits{/sha}","comments_url":"https://api.github.com/repos/Fizzadar/pyinfra/comments{/number}","issue_comment_url":"https://api.github.com/repos/Fizzadar/pyinfra/issues/comments{/number}","contents_url":"https://api.github.com/repos/Fizzadar/pyinfra/contents/{+path}","compare_url":"https://api.github.com/repos/Fizzadar/pyinfra/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Fizzadar/pyinfra/merges","archive_url":"https://api.github.com/repos/Fizzadar/pyinfra/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Fizzadar/pyinfra/downloads","issues_url":"https://api.github.com/repos/Fizzadar/pyinfra/issues{/number}","pulls_url":"https://api.github.com/repos/Fizzadar/pyinfra/pulls{/number}","milestones_url":"https://api.github.com/repos/Fizzadar/pyinfra/milestones{/number}","notifications_url":"https://api.github.com/repos/Fizzadar/pyinfra/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Fizzadar/pyinfra/labels{/name}","releases_url":"https://api.github.com/repos/Fizzadar/pyinfra/releases{/id}","deployments_url":"https://api.github.com/repos/Fizzadar/pyinfra/deployments","created_at":"2014-10-19T19:37:45Z","updated_at":"2016-10-24T12:47:40Z","pushed_at":"2016-11-08T13:31:14Z","git_url":"git://github.com/Fizzadar/pyinfra.git","ssh_url":"git@github.com:Fizzadar/pyinfra.git","clone_url":"https://github.com/Fizzadar/pyinfra.git","svn_url":"https://github.com/Fizzadar/pyinfra","homepage":"","size":14828,"stargazers_count":150,"watchers_count":150,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":18,"forks":12,"open_issues":18,"watchers":150,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/Fizzadar/pyinfra/pulls/80"},"html":{"href":"https://github.com/Fizzadar/pyinfra/pull/80"},"issue":{"href":"https://api.github.com/repos/Fizzadar/pyinfra/issues/80"},"comments":{"href":"https://api.github.com/repos/Fizzadar/pyinfra/issues/80/comments"},"review_comments":{"href":"https://api.github.com/repos/Fizzadar/pyinfra/pulls/80/comments"},"review_comment":{"href":"https://api.github.com/repos/Fizzadar/pyinfra/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Fizzadar/pyinfra/pulls/80/commits"},"statuses":{"href":"https://api.github.com/repos/Fizzadar/pyinfra/statuses/917b33f8173982d817fb69a76723213f23bd8533"}}}}
{"actor":{"display_login":"oksome"}}