{"action":"created","comment":{"url":"https://api.github.com/repos/2gis/vmmaster/pulls/comments/49834389","id":49834389,"diff_hunk":"@@ -7,10 +7,10 @@ sudo add-apt-repository -y cloud-archive:icehouse\n sudo apt-get update\n \n # install kvm with libvirt\n-sudo apt-get -y install qemu-kvm libvirt-bin\n+sudo apt-get -y install qemu-kvm\n \n # install libvirt dependencies\n-sudo apt-get -y install libvirt-dev\n+sudo apt-get -y --force-yes install libvirt-dev libvirt-bin","path":"install-dependencies.sh","position":9,"original_position":9,"commit_id":"9cd4982eb37249f754c052d5955e7acb017897e5","original_commit_id":"9cd4982eb37249f754c052d5955e7acb017897e5","user":{"login":"z00sts","id":5012880,"avatar_url":"https://avatars.githubusercontent.com/u/5012880?v=3","gravatar_id":"","url":"https://api.github.com/users/z00sts","html_url":"https://github.com/z00sts","followers_url":"https://api.github.com/users/z00sts/followers","following_url":"https://api.github.com/users/z00sts/following{/other_user}","gists_url":"https://api.github.com/users/z00sts/gists{/gist_id}","starred_url":"https://api.github.com/users/z00sts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/z00sts/subscriptions","organizations_url":"https://api.github.com/users/z00sts/orgs","repos_url":"https://api.github.com/users/z00sts/repos","events_url":"https://api.github.com/users/z00sts/events{/privacy}","received_events_url":"https://api.github.com/users/z00sts/received_events","type":"User","site_admin":false},"body":"Да, но именно без него не работало)","created_at":"2016-01-15T09:25:06Z","updated_at":"2016-01-15T09:25:06Z","html_url":"https://github.com/2gis/vmmaster/pull/170#discussion_r49834389","pull_request_url":"https://api.github.com/repos/2gis/vmmaster/pulls/170","_links":{"self":{"href":"https://api.github.com/repos/2gis/vmmaster/pulls/comments/49834389"},"html":{"href":"https://github.com/2gis/vmmaster/pull/170#discussion_r49834389"},"pull_request":{"href":"https://api.github.com/repos/2gis/vmmaster/pulls/170"}}},"pull_request":{"url":"https://api.github.com/repos/2gis/vmmaster/pulls/170","id":55568258,"html_url":"https://github.com/2gis/vmmaster/pull/170","diff_url":"https://github.com/2gis/vmmaster/pull/170.diff","patch_url":"https://github.com/2gis/vmmaster/pull/170.patch","issue_url":"https://api.github.com/repos/2gis/vmmaster/issues/170","number":170,"state":"open","locked":false,"title":"Move db and pool init to app","user":{"login":"z00sts","id":5012880,"avatar_url":"https://avatars.githubusercontent.com/u/5012880?v=3","gravatar_id":"","url":"https://api.github.com/users/z00sts","html_url":"https://github.com/z00sts","followers_url":"https://api.github.com/users/z00sts/followers","following_url":"https://api.github.com/users/z00sts/following{/other_user}","gists_url":"https://api.github.com/users/z00sts/gists{/gist_id}","starred_url":"https://api.github.com/users/z00sts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/z00sts/subscriptions","organizations_url":"https://api.github.com/users/z00sts/orgs","repos_url":"https://api.github.com/users/z00sts/repos","events_url":"https://api.github.com/users/z00sts/events{/privacy}","received_events_url":"https://api.github.com/users/z00sts/received_events","type":"User","site_admin":false},"body":"- Перенес импорт внутрь метода во избежание циклических импортов, можно будет поправить позже (вынести всё из init.py например)\r\n```\r\nfrom core.sessions import Session as WrappedSession\r\n```\r\n\r\n- Приходится передавать ссылку на pool в клоны. Через current_app.pool получается не очень красиво (т.к. клоны создаются в том числе preloader'ом)\r\n\r\n- платформы спрятал в pool, session_worker - в sessions.","created_at":"2016-01-10T16:23:58Z","updated_at":"2016-01-15T09:25:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"024c90ef844a275c5df27c47a97e8debb924f509","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/2gis/vmmaster/pulls/170/commits","review_comments_url":"https://api.github.com/repos/2gis/vmmaster/pulls/170/comments","review_comment_url":"https://api.github.com/repos/2gis/vmmaster/pulls/comments{/number}","comments_url":"https://api.github.com/repos/2gis/vmmaster/issues/170/comments","statuses_url":"https://api.github.com/repos/2gis/vmmaster/statuses/9cd4982eb37249f754c052d5955e7acb017897e5","head":{"label":"2gis:move-db-and-pool-init-to-app","ref":"move-db-and-pool-init-to-app","sha":"9cd4982eb37249f754c052d5955e7acb017897e5","user":{"login":"2gis","id":1481435,"avatar_url":"https://avatars.githubusercontent.com/u/1481435?v=3","gravatar_id":"","url":"https://api.github.com/users/2gis","html_url":"https://github.com/2gis","followers_url":"https://api.github.com/users/2gis/followers","following_url":"https://api.github.com/users/2gis/following{/other_user}","gists_url":"https://api.github.com/users/2gis/gists{/gist_id}","starred_url":"https://api.github.com/users/2gis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/2gis/subscriptions","organizations_url":"https://api.github.com/users/2gis/orgs","repos_url":"https://api.github.com/users/2gis/repos","events_url":"https://api.github.com/users/2gis/events{/privacy}","received_events_url":"https://api.github.com/users/2gis/received_events","type":"Organization","site_admin":false},"repo":{"id":31351213,"name":"vmmaster","full_name":"2gis/vmmaster","owner":{"login":"2gis","id":1481435,"avatar_url":"https://avatars.githubusercontent.com/u/1481435?v=3","gravatar_id":"","url":"https://api.github.com/users/2gis","html_url":"https://github.com/2gis","followers_url":"https://api.github.com/users/2gis/followers","following_url":"https://api.github.com/users/2gis/following{/other_user}","gists_url":"https://api.github.com/users/2gis/gists{/gist_id}","starred_url":"https://api.github.com/users/2gis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/2gis/subscriptions","organizations_url":"https://api.github.com/users/2gis/orgs","repos_url":"https://api.github.com/users/2gis/repos","events_url":"https://api.github.com/users/2gis/events{/privacy}","received_events_url":"https://api.github.com/users/2gis/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/2gis/vmmaster","description":"Automatic virtual machines manager for selenium-based testing","fork":false,"url":"https://api.github.com/repos/2gis/vmmaster","forks_url":"https://api.github.com/repos/2gis/vmmaster/forks","keys_url":"https://api.github.com/repos/2gis/vmmaster/keys{/key_id}","collaborators_url":"https://api.github.com/repos/2gis/vmmaster/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/2gis/vmmaster/teams","hooks_url":"https://api.github.com/repos/2gis/vmmaster/hooks","issue_events_url":"https://api.github.com/repos/2gis/vmmaster/issues/events{/number}","events_url":"https://api.github.com/repos/2gis/vmmaster/events","assignees_url":"https://api.github.com/repos/2gis/vmmaster/assignees{/user}","branches_url":"https://api.github.com/repos/2gis/vmmaster/branches{/branch}","tags_url":"https://api.github.com/repos/2gis/vmmaster/tags","blobs_url":"https://api.github.com/repos/2gis/vmmaster/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/2gis/vmmaster/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/2gis/vmmaster/git/refs{/sha}","trees_url":"https://api.github.com/repos/2gis/vmmaster/git/trees{/sha}","statuses_url":"https://api.github.com/repos/2gis/vmmaster/statuses/{sha}","languages_url":"https://api.github.com/repos/2gis/vmmaster/languages","stargazers_url":"https://api.github.com/repos/2gis/vmmaster/stargazers","contributors_url":"https://api.github.com/repos/2gis/vmmaster/contributors","subscribers_url":"https://api.github.com/repos/2gis/vmmaster/subscribers","subscription_url":"https://api.github.com/repos/2gis/vmmaster/subscription","commits_url":"https://api.github.com/repos/2gis/vmmaster/commits{/sha}","git_commits_url":"https://api.github.com/repos/2gis/vmmaster/git/commits{/sha}","comments_url":"https://api.github.com/repos/2gis/vmmaster/comments{/number}","issue_comment_url":"https://api.github.com/repos/2gis/vmmaster/issues/comments{/number}","contents_url":"https://api.github.com/repos/2gis/vmmaster/contents/{+path}","compare_url":"https://api.github.com/repos/2gis/vmmaster/compare/{base}...{head}","merges_url":"https://api.github.com/repos/2gis/vmmaster/merges","archive_url":"https://api.github.com/repos/2gis/vmmaster/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/2gis/vmmaster/downloads","issues_url":"https://api.github.com/repos/2gis/vmmaster/issues{/number}","pulls_url":"https://api.github.com/repos/2gis/vmmaster/pulls{/number}","milestones_url":"https://api.github.com/repos/2gis/vmmaster/milestones{/number}","notifications_url":"https://api.github.com/repos/2gis/vmmaster/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/2gis/vmmaster/labels{/name}","releases_url":"https://api.github.com/repos/2gis/vmmaster/releases{/id}","created_at":"2015-02-26T04:53:56Z","updated_at":"2015-10-09T17:37:14Z","pushed_at":"2016-01-12T08:24:53Z","git_url":"git://github.com/2gis/vmmaster.git","ssh_url":"git@github.com:2gis/vmmaster.git","clone_url":"https://github.com/2gis/vmmaster.git","svn_url":"https://github.com/2gis/vmmaster","homepage":"","size":920,"stargazers_count":8,"watchers_count":8,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":3,"forks":2,"open_issues":3,"watchers":8,"default_branch":"master"}},"base":{"label":"2gis:master","ref":"master","sha":"bf290347eec95f4cac1fc36e6b78bf3f92648c17","user":{"login":"2gis","id":1481435,"avatar_url":"https://avatars.githubusercontent.com/u/1481435?v=3","gravatar_id":"","url":"https://api.github.com/users/2gis","html_url":"https://github.com/2gis","followers_url":"https://api.github.com/users/2gis/followers","following_url":"https://api.github.com/users/2gis/following{/other_user}","gists_url":"https://api.github.com/users/2gis/gists{/gist_id}","starred_url":"https://api.github.com/users/2gis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/2gis/subscriptions","organizations_url":"https://api.github.com/users/2gis/orgs","repos_url":"https://api.github.com/users/2gis/repos","events_url":"https://api.github.com/users/2gis/events{/privacy}","received_events_url":"https://api.github.com/users/2gis/received_events","type":"Organization","site_admin":false},"repo":{"id":31351213,"name":"vmmaster","full_name":"2gis/vmmaster","owner":{"login":"2gis","id":1481435,"avatar_url":"https://avatars.githubusercontent.com/u/1481435?v=3","gravatar_id":"","url":"https://api.github.com/users/2gis","html_url":"https://github.com/2gis","followers_url":"https://api.github.com/users/2gis/followers","following_url":"https://api.github.com/users/2gis/following{/other_user}","gists_url":"https://api.github.com/users/2gis/gists{/gist_id}","starred_url":"https://api.github.com/users/2gis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/2gis/subscriptions","organizations_url":"https://api.github.com/users/2gis/orgs","repos_url":"https://api.github.com/users/2gis/repos","events_url":"https://api.github.com/users/2gis/events{/privacy}","received_events_url":"https://api.github.com/users/2gis/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/2gis/vmmaster","description":"Automatic virtual machines manager for selenium-based testing","fork":false,"url":"https://api.github.com/repos/2gis/vmmaster","forks_url":"https://api.github.com/repos/2gis/vmmaster/forks","keys_url":"https://api.github.com/repos/2gis/vmmaster/keys{/key_id}","collaborators_url":"https://api.github.com/repos/2gis/vmmaster/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/2gis/vmmaster/teams","hooks_url":"https://api.github.com/repos/2gis/vmmaster/hooks","issue_events_url":"https://api.github.com/repos/2gis/vmmaster/issues/events{/number}","events_url":"https://api.github.com/repos/2gis/vmmaster/events","assignees_url":"https://api.github.com/repos/2gis/vmmaster/assignees{/user}","branches_url":"https://api.github.com/repos/2gis/vmmaster/branches{/branch}","tags_url":"https://api.github.com/repos/2gis/vmmaster/tags","blobs_url":"https://api.github.com/repos/2gis/vmmaster/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/2gis/vmmaster/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/2gis/vmmaster/git/refs{/sha}","trees_url":"https://api.github.com/repos/2gis/vmmaster/git/trees{/sha}","statuses_url":"https://api.github.com/repos/2gis/vmmaster/statuses/{sha}","languages_url":"https://api.github.com/repos/2gis/vmmaster/languages","stargazers_url":"https://api.github.com/repos/2gis/vmmaster/stargazers","contributors_url":"https://api.github.com/repos/2gis/vmmaster/contributors","subscribers_url":"https://api.github.com/repos/2gis/vmmaster/subscribers","subscription_url":"https://api.github.com/repos/2gis/vmmaster/subscription","commits_url":"https://api.github.com/repos/2gis/vmmaster/commits{/sha}","git_commits_url":"https://api.github.com/repos/2gis/vmmaster/git/commits{/sha}","comments_url":"https://api.github.com/repos/2gis/vmmaster/comments{/number}","issue_comment_url":"https://api.github.com/repos/2gis/vmmaster/issues/comments{/number}","contents_url":"https://api.github.com/repos/2gis/vmmaster/contents/{+path}","compare_url":"https://api.github.com/repos/2gis/vmmaster/compare/{base}...{head}","merges_url":"https://api.github.com/repos/2gis/vmmaster/merges","archive_url":"https://api.github.com/repos/2gis/vmmaster/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/2gis/vmmaster/downloads","issues_url":"https://api.github.com/repos/2gis/vmmaster/issues{/number}","pulls_url":"https://api.github.com/repos/2gis/vmmaster/pulls{/number}","milestones_url":"https://api.github.com/repos/2gis/vmmaster/milestones{/number}","notifications_url":"https://api.github.com/repos/2gis/vmmaster/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/2gis/vmmaster/labels{/name}","releases_url":"https://api.github.com/repos/2gis/vmmaster/releases{/id}","created_at":"2015-02-26T04:53:56Z","updated_at":"2015-10-09T17:37:14Z","pushed_at":"2016-01-12T08:24:53Z","git_url":"git://github.com/2gis/vmmaster.git","ssh_url":"git@github.com:2gis/vmmaster.git","clone_url":"https://github.com/2gis/vmmaster.git","svn_url":"https://github.com/2gis/vmmaster","homepage":"","size":920,"stargazers_count":8,"watchers_count":8,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":3,"forks":2,"open_issues":3,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/2gis/vmmaster/pulls/170"},"html":{"href":"https://github.com/2gis/vmmaster/pull/170"},"issue":{"href":"https://api.github.com/repos/2gis/vmmaster/issues/170"},"comments":{"href":"https://api.github.com/repos/2gis/vmmaster/issues/170/comments"},"review_comments":{"href":"https://api.github.com/repos/2gis/vmmaster/pulls/170/comments"},"review_comment":{"href":"https://api.github.com/repos/2gis/vmmaster/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/2gis/vmmaster/pulls/170/commits"},"statuses":{"href":"https://api.github.com/repos/2gis/vmmaster/statuses/9cd4982eb37249f754c052d5955e7acb017897e5"}}}}