{"action":"created","comment":{"url":"https://api.github.com/repos/ReproNim/niceman/pulls/comments/166777925","pull_request_review_id":94878479,"id":166777925,"diff_hunk":"@@ -46,15 +56,16 @@ class SSH(Resource):\n     _ssh = attr.ib(default=None)\n \n     def connect(self):\n+        \"\"\"Open a connection to the environment resource.\n         \"\"\"\n-        Open a connection to the environment resource.\n-        \"\"\"\n-        self._ssh = SSHClient(\n+        self._ssh = paramiko.SSHClient()\n+        self._ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())","path":"niceman/resource/ssh.py","position":44,"original_position":44,"commit_id":"89416caaa9c56ef22a38f6d77537d7ad50a24af1","original_commit_id":"89416caaa9c56ef22a38f6d77537d7ad50a24af1","user":{"login":"yarikoptic","id":39889,"avatar_url":"https://avatars3.githubusercontent.com/u/39889?v=4","gravatar_id":"","url":"https://api.github.com/users/yarikoptic","html_url":"https://github.com/yarikoptic","followers_url":"https://api.github.com/users/yarikoptic/followers","following_url":"https://api.github.com/users/yarikoptic/following{/other_user}","gists_url":"https://api.github.com/users/yarikoptic/gists{/gist_id}","starred_url":"https://api.github.com/users/yarikoptic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yarikoptic/subscriptions","organizations_url":"https://api.github.com/users/yarikoptic/orgs","repos_url":"https://api.github.com/users/yarikoptic/repos","events_url":"https://api.github.com/users/yarikoptic/events{/privacy}","received_events_url":"https://api.github.com/users/yarikoptic/received_events","type":"User","site_admin":false},"body":"TODO (file an issue): we shouldn't blindly login to unknown hosts","created_at":"2018-02-07T22:32:25Z","updated_at":"2018-02-07T22:53:07Z","html_url":"https://github.com/ReproNim/niceman/pull/127#discussion_r166777925","pull_request_url":"https://api.github.com/repos/ReproNim/niceman/pulls/127","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/ReproNim/niceman/pulls/comments/166777925"},"html":{"href":"https://github.com/ReproNim/niceman/pull/127#discussion_r166777925"},"pull_request":{"href":"https://api.github.com/repos/ReproNim/niceman/pulls/127"}}},"pull_request":{"url":"https://api.github.com/repos/ReproNim/niceman/pulls/127","id":148957243,"html_url":"https://github.com/ReproNim/niceman/pull/127","diff_url":"https://github.com/ReproNim/niceman/pull/127.diff","patch_url":"https://github.com/ReproNim/niceman/pull/127.patch","issue_url":"https://api.github.com/repos/ReproNim/niceman/issues/127","number":127,"state":"open","locked":false,"title":"ENH: get/put for Docker containers","user":{"login":"mjtravers","id":2971785,"avatar_url":"https://avatars0.githubusercontent.com/u/2971785?v=4","gravatar_id":"","url":"https://api.github.com/users/mjtravers","html_url":"https://github.com/mjtravers","followers_url":"https://api.github.com/users/mjtravers/followers","following_url":"https://api.github.com/users/mjtravers/following{/other_user}","gists_url":"https://api.github.com/users/mjtravers/gists{/gist_id}","starred_url":"https://api.github.com/users/mjtravers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjtravers/subscriptions","organizations_url":"https://api.github.com/users/mjtravers/orgs","repos_url":"https://api.github.com/users/mjtravers/repos","events_url":"https://api.github.com/users/mjtravers/events{/privacy}","received_events_url":"https://api.github.com/users/mjtravers/received_events","type":"User","site_admin":false},"body":"On this branch:\r\n\r\n1. Added get/put to docker container\r\n2. Added handling of command exit status for docker containers\r\n3. Added testing code for resource classes","created_at":"2017-10-26T14:49:32Z","updated_at":"2018-02-07T22:53:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7846f58fa00b269d8044a6efb00fcb3b80ddd650","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/ReproNim/niceman/pulls/127/commits","review_comments_url":"https://api.github.com/repos/ReproNim/niceman/pulls/127/comments","review_comment_url":"https://api.github.com/repos/ReproNim/niceman/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ReproNim/niceman/issues/127/comments","statuses_url":"https://api.github.com/repos/ReproNim/niceman/statuses/89416caaa9c56ef22a38f6d77537d7ad50a24af1","head":{"label":"mjtravers:enh_get_put","ref":"enh_get_put","sha":"89416caaa9c56ef22a38f6d77537d7ad50a24af1","user":{"login":"mjtravers","id":2971785,"avatar_url":"https://avatars0.githubusercontent.com/u/2971785?v=4","gravatar_id":"","url":"https://api.github.com/users/mjtravers","html_url":"https://github.com/mjtravers","followers_url":"https://api.github.com/users/mjtravers/followers","following_url":"https://api.github.com/users/mjtravers/following{/other_user}","gists_url":"https://api.github.com/users/mjtravers/gists{/gist_id}","starred_url":"https://api.github.com/users/mjtravers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjtravers/subscriptions","organizations_url":"https://api.github.com/users/mjtravers/orgs","repos_url":"https://api.github.com/users/mjtravers/repos","events_url":"https://api.github.com/users/mjtravers/events{/privacy}","received_events_url":"https://api.github.com/users/mjtravers/received_events","type":"User","site_admin":false},"repo":{"id":68405518,"name":"niceman","full_name":"mjtravers/niceman","owner":{"login":"mjtravers","id":2971785,"avatar_url":"https://avatars0.githubusercontent.com/u/2971785?v=4","gravatar_id":"","url":"https://api.github.com/users/mjtravers","html_url":"https://github.com/mjtravers","followers_url":"https://api.github.com/users/mjtravers/followers","following_url":"https://api.github.com/users/mjtravers/following{/other_user}","gists_url":"https://api.github.com/users/mjtravers/gists{/gist_id}","starred_url":"https://api.github.com/users/mjtravers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjtravers/subscriptions","organizations_url":"https://api.github.com/users/mjtravers/orgs","repos_url":"https://api.github.com/users/mjtravers/repos","events_url":"https://api.github.com/users/mjtravers/events{/privacy}","received_events_url":"https://api.github.com/users/mjtravers/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mjtravers/niceman","description":"Suite of tools for reproducible neuroimaging (formerly TRD3)","fork":true,"url":"https://api.github.com/repos/mjtravers/niceman","forks_url":"https://api.github.com/repos/mjtravers/niceman/forks","keys_url":"https://api.github.com/repos/mjtravers/niceman/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mjtravers/niceman/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mjtravers/niceman/teams","hooks_url":"https://api.github.com/repos/mjtravers/niceman/hooks","issue_events_url":"https://api.github.com/repos/mjtravers/niceman/issues/events{/number}","events_url":"https://api.github.com/repos/mjtravers/niceman/events","assignees_url":"https://api.github.com/repos/mjtravers/niceman/assignees{/user}","branches_url":"https://api.github.com/repos/mjtravers/niceman/branches{/branch}","tags_url":"https://api.github.com/repos/mjtravers/niceman/tags","blobs_url":"https://api.github.com/repos/mjtravers/niceman/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mjtravers/niceman/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mjtravers/niceman/git/refs{/sha}","trees_url":"https://api.github.com/repos/mjtravers/niceman/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mjtravers/niceman/statuses/{sha}","languages_url":"https://api.github.com/repos/mjtravers/niceman/languages","stargazers_url":"https://api.github.com/repos/mjtravers/niceman/stargazers","contributors_url":"https://api.github.com/repos/mjtravers/niceman/contributors","subscribers_url":"https://api.github.com/repos/mjtravers/niceman/subscribers","subscription_url":"https://api.github.com/repos/mjtravers/niceman/subscription","commits_url":"https://api.github.com/repos/mjtravers/niceman/commits{/sha}","git_commits_url":"https://api.github.com/repos/mjtravers/niceman/git/commits{/sha}","comments_url":"https://api.github.com/repos/mjtravers/niceman/comments{/number}","issue_comment_url":"https://api.github.com/repos/mjtravers/niceman/issues/comments{/number}","contents_url":"https://api.github.com/repos/mjtravers/niceman/contents/{+path}","compare_url":"https://api.github.com/repos/mjtravers/niceman/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mjtravers/niceman/merges","archive_url":"https://api.github.com/repos/mjtravers/niceman/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mjtravers/niceman/downloads","issues_url":"https://api.github.com/repos/mjtravers/niceman/issues{/number}","pulls_url":"https://api.github.com/repos/mjtravers/niceman/pulls{/number}","milestones_url":"https://api.github.com/repos/mjtravers/niceman/milestones{/number}","notifications_url":"https://api.github.com/repos/mjtravers/niceman/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mjtravers/niceman/labels{/name}","releases_url":"https://api.github.com/repos/mjtravers/niceman/releases{/id}","deployments_url":"https://api.github.com/repos/mjtravers/niceman/deployments","created_at":"2016-09-16T18:34:46Z","updated_at":"2017-01-12T19:36:20Z","pushed_at":"2018-02-05T16:14:09Z","git_url":"git://github.com/mjtravers/niceman.git","ssh_url":"git@github.com:mjtravers/niceman.git","clone_url":"https://github.com/mjtravers/niceman.git","svn_url":"https://github.com/mjtravers/niceman","homepage":"","size":1576,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ReproNim:master","ref":"master","sha":"b3b94571ee6addae1630090ddf575ff381f6a515","user":{"login":"ReproNim","id":18501735,"avatar_url":"https://avatars0.githubusercontent.com/u/18501735?v=4","gravatar_id":"","url":"https://api.github.com/users/ReproNim","html_url":"https://github.com/ReproNim","followers_url":"https://api.github.com/users/ReproNim/followers","following_url":"https://api.github.com/users/ReproNim/following{/other_user}","gists_url":"https://api.github.com/users/ReproNim/gists{/gist_id}","starred_url":"https://api.github.com/users/ReproNim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ReproNim/subscriptions","organizations_url":"https://api.github.com/users/ReproNim/orgs","repos_url":"https://api.github.com/users/ReproNim/repos","events_url":"https://api.github.com/users/ReproNim/events{/privacy}","received_events_url":"https://api.github.com/users/ReproNim/received_events","type":"Organization","site_admin":false},"repo":{"id":57322104,"name":"niceman","full_name":"ReproNim/niceman","owner":{"login":"ReproNim","id":18501735,"avatar_url":"https://avatars0.githubusercontent.com/u/18501735?v=4","gravatar_id":"","url":"https://api.github.com/users/ReproNim","html_url":"https://github.com/ReproNim","followers_url":"https://api.github.com/users/ReproNim/followers","following_url":"https://api.github.com/users/ReproNim/following{/other_user}","gists_url":"https://api.github.com/users/ReproNim/gists{/gist_id}","starred_url":"https://api.github.com/users/ReproNim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ReproNim/subscriptions","organizations_url":"https://api.github.com/users/ReproNim/orgs","repos_url":"https://api.github.com/users/ReproNim/repos","events_url":"https://api.github.com/users/ReproNim/events{/privacy}","received_events_url":"https://api.github.com/users/ReproNim/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ReproNim/niceman","description":"Neuroimaging Computational Environments Manager (NICEMAN) (AKA ReproNim TRD3)","fork":false,"url":"https://api.github.com/repos/ReproNim/niceman","forks_url":"https://api.github.com/repos/ReproNim/niceman/forks","keys_url":"https://api.github.com/repos/ReproNim/niceman/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ReproNim/niceman/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ReproNim/niceman/teams","hooks_url":"https://api.github.com/repos/ReproNim/niceman/hooks","issue_events_url":"https://api.github.com/repos/ReproNim/niceman/issues/events{/number}","events_url":"https://api.github.com/repos/ReproNim/niceman/events","assignees_url":"https://api.github.com/repos/ReproNim/niceman/assignees{/user}","branches_url":"https://api.github.com/repos/ReproNim/niceman/branches{/branch}","tags_url":"https://api.github.com/repos/ReproNim/niceman/tags","blobs_url":"https://api.github.com/repos/ReproNim/niceman/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ReproNim/niceman/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ReproNim/niceman/git/refs{/sha}","trees_url":"https://api.github.com/repos/ReproNim/niceman/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ReproNim/niceman/statuses/{sha}","languages_url":"https://api.github.com/repos/ReproNim/niceman/languages","stargazers_url":"https://api.github.com/repos/ReproNim/niceman/stargazers","contributors_url":"https://api.github.com/repos/ReproNim/niceman/contributors","subscribers_url":"https://api.github.com/repos/ReproNim/niceman/subscribers","subscription_url":"https://api.github.com/repos/ReproNim/niceman/subscription","commits_url":"https://api.github.com/repos/ReproNim/niceman/commits{/sha}","git_commits_url":"https://api.github.com/repos/ReproNim/niceman/git/commits{/sha}","comments_url":"https://api.github.com/repos/ReproNim/niceman/comments{/number}","issue_comment_url":"https://api.github.com/repos/ReproNim/niceman/issues/comments{/number}","contents_url":"https://api.github.com/repos/ReproNim/niceman/contents/{+path}","compare_url":"https://api.github.com/repos/ReproNim/niceman/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ReproNim/niceman/merges","archive_url":"https://api.github.com/repos/ReproNim/niceman/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ReproNim/niceman/downloads","issues_url":"https://api.github.com/repos/ReproNim/niceman/issues{/number}","pulls_url":"https://api.github.com/repos/ReproNim/niceman/pulls{/number}","milestones_url":"https://api.github.com/repos/ReproNim/niceman/milestones{/number}","notifications_url":"https://api.github.com/repos/ReproNim/niceman/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ReproNim/niceman/labels{/name}","releases_url":"https://api.github.com/repos/ReproNim/niceman/releases{/id}","deployments_url":"https://api.github.com/repos/ReproNim/niceman/deployments","created_at":"2016-04-28T17:41:42Z","updated_at":"2018-01-11T16:49:52Z","pushed_at":"2018-02-07T20:34:34Z","git_url":"git://github.com/ReproNim/niceman.git","ssh_url":"git@github.com:ReproNim/niceman.git","clone_url":"https://github.com/ReproNim/niceman.git","svn_url":"https://github.com/ReproNim/niceman","homepage":"","size":1540,"stargazers_count":7,"watchers_count":7,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":7,"mirror_url":null,"archived":false,"open_issues_count":57,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":7,"open_issues":57,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ReproNim/niceman/pulls/127"},"html":{"href":"https://github.com/ReproNim/niceman/pull/127"},"issue":{"href":"https://api.github.com/repos/ReproNim/niceman/issues/127"},"comments":{"href":"https://api.github.com/repos/ReproNim/niceman/issues/127/comments"},"review_comments":{"href":"https://api.github.com/repos/ReproNim/niceman/pulls/127/comments"},"review_comment":{"href":"https://api.github.com/repos/ReproNim/niceman/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ReproNim/niceman/pulls/127/commits"},"statuses":{"href":"https://api.github.com/repos/ReproNim/niceman/statuses/89416caaa9c56ef22a38f6d77537d7ad50a24af1"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"yarikoptic"}}