{"action":"created","comment":{"url":"https://api.github.com/repos/cocaine/cocaine-plugins/pulls/comments/40659551","id":40659551,"diff_hunk":"@@ -0,0 +1,38 @@\n+/*\n+    Copyright (c) 2011-2013 Dmitry Unkovsky <diunko@yandex-team.ru>\n+    Copyright (c) 2011-2013 Other contributors as noted in the AUTHORS file.\n+\n+    This file is part of Cocaine.\n+\n+    Cocaine is free software; you can redistribute it and/or modify\n+    it under the terms of the GNU Lesser General Public License as published by\n+    the Free Software Foundation; either version 3 of the License, or\n+    (at your option) any later version.\n+\n+    Cocaine is distributed in the hope that it will be useful,\n+    but WITHOUT ANY WARRANTY; without even the implied warranty of\n+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n+    GNU Lesser General Public License for more details.\n+\n+    You should have received a copy of the GNU Lesser General Public License\n+    along with this program. If not, see <http://www.gnu.org/licenses/>.\n+*/\n+\n+#include \"isolate.hpp\"\n+#include \"cocaine/conductor.hpp\"\n+\n+using namespace cocaine;\n+using namespace cocaine::isolate;\n+\n+extern \"C\" {\n+    auto\n+    validation() -> api::preconditions_t {\n+        return api::preconditions_t { COCAINE_MAKE_VERSION(0, 12, 0) };","path":"conductor/isolate/module.cpp","position":30,"original_position":30,"commit_id":"574820234a43ccdac81968dd8cc58bdd4f711bf2","original_commit_id":"574820234a43ccdac81968dd8cc58bdd4f711bf2","user":{"login":"3Hren","id":969900,"avatar_url":"https://avatars.githubusercontent.com/u/969900?v=3","gravatar_id":"","url":"https://api.github.com/users/3Hren","html_url":"https://github.com/3Hren","followers_url":"https://api.github.com/users/3Hren/followers","following_url":"https://api.github.com/users/3Hren/following{/other_user}","gists_url":"https://api.github.com/users/3Hren/gists{/gist_id}","starred_url":"https://api.github.com/users/3Hren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/3Hren/subscriptions","organizations_url":"https://api.github.com/users/3Hren/orgs","repos_url":"https://api.github.com/users/3Hren/repos","events_url":"https://api.github.com/users/3Hren/events{/privacy}","received_events_url":"https://api.github.com/users/3Hren/received_events","type":"User","site_admin":false},"body":"Actually it must be 0.12.3, because you use external services.","created_at":"2015-09-29T11:21:57Z","updated_at":"2015-09-29T11:21:57Z","html_url":"https://github.com/cocaine/cocaine-plugins/pull/108#discussion_r40659551","pull_request_url":"https://api.github.com/repos/cocaine/cocaine-plugins/pulls/108","_links":{"self":{"href":"https://api.github.com/repos/cocaine/cocaine-plugins/pulls/comments/40659551"},"html":{"href":"https://github.com/cocaine/cocaine-plugins/pull/108#discussion_r40659551"},"pull_request":{"href":"https://api.github.com/repos/cocaine/cocaine-plugins/pulls/108"}}},"pull_request":{"url":"https://api.github.com/repos/cocaine/cocaine-plugins/pulls/108","id":46260300,"html_url":"https://github.com/cocaine/cocaine-plugins/pull/108","diff_url":"https://github.com/cocaine/cocaine-plugins/pull/108.diff","patch_url":"https://github.com/cocaine/cocaine-plugins/pull/108.patch","issue_url":"https://api.github.com/repos/cocaine/cocaine-plugins/issues/108","number":108,"state":"open","locked":false,"title":"[WIP] Porto isolation support ","user":{"login":"diunko","id":169559,"avatar_url":"https://avatars.githubusercontent.com/u/169559?v=3","gravatar_id":"","url":"https://api.github.com/users/diunko","html_url":"https://github.com/diunko","followers_url":"https://api.github.com/users/diunko/followers","following_url":"https://api.github.com/users/diunko/following{/other_user}","gists_url":"https://api.github.com/users/diunko/gists{/gist_id}","starred_url":"https://api.github.com/users/diunko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diunko/subscriptions","organizations_url":"https://api.github.com/users/diunko/orgs","repos_url":"https://api.github.com/users/diunko/repos","events_url":"https://api.github.com/users/diunko/events{/privacy}","received_events_url":"https://api.github.com/users/diunko/received_events","type":"User","site_admin":false},"body":"There are three components:\r\n* \"conductor\" service\r\n* rpc-isolate plugin\r\n* external agent\r\n\r\nConductor service has `subscribe` method, which sends out a stream of `spawn`, `spool`, and `stop` requests.\r\nAlso it has notification methods `on_spawn` and `on_spool`, which are for use by agent to notify on corresponding events completion.\r\n\r\nRpc-isolate plugin uses Conductor service to communicate isolation events to the agent.\r\n\r\nAgent fetches layers, composes them into volumes, manages volumes and containers.","created_at":"2015-09-29T10:31:37Z","updated_at":"2015-09-29T11:21:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"eb1900d6fbd3d42c90c84ddffdf616f2233e8570","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cocaine/cocaine-plugins/pulls/108/commits","review_comments_url":"https://api.github.com/repos/cocaine/cocaine-plugins/pulls/108/comments","review_comment_url":"https://api.github.com/repos/cocaine/cocaine-plugins/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cocaine/cocaine-plugins/issues/108/comments","statuses_url":"https://api.github.com/repos/cocaine/cocaine-plugins/statuses/574820234a43ccdac81968dd8cc58bdd4f711bf2","head":{"label":"diunko:porto","ref":"porto","sha":"574820234a43ccdac81968dd8cc58bdd4f711bf2","user":{"login":"diunko","id":169559,"avatar_url":"https://avatars.githubusercontent.com/u/169559?v=3","gravatar_id":"","url":"https://api.github.com/users/diunko","html_url":"https://github.com/diunko","followers_url":"https://api.github.com/users/diunko/followers","following_url":"https://api.github.com/users/diunko/following{/other_user}","gists_url":"https://api.github.com/users/diunko/gists{/gist_id}","starred_url":"https://api.github.com/users/diunko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diunko/subscriptions","organizations_url":"https://api.github.com/users/diunko/orgs","repos_url":"https://api.github.com/users/diunko/repos","events_url":"https://api.github.com/users/diunko/events{/privacy}","received_events_url":"https://api.github.com/users/diunko/received_events","type":"User","site_admin":false},"repo":{"id":38239318,"name":"cocaine-plugins","full_name":"diunko/cocaine-plugins","owner":{"login":"diunko","id":169559,"avatar_url":"https://avatars.githubusercontent.com/u/169559?v=3","gravatar_id":"","url":"https://api.github.com/users/diunko","html_url":"https://github.com/diunko","followers_url":"https://api.github.com/users/diunko/followers","following_url":"https://api.github.com/users/diunko/following{/other_user}","gists_url":"https://api.github.com/users/diunko/gists{/gist_id}","starred_url":"https://api.github.com/users/diunko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diunko/subscriptions","organizations_url":"https://api.github.com/users/diunko/orgs","repos_url":"https://api.github.com/users/diunko/repos","events_url":"https://api.github.com/users/diunko/events{/privacy}","received_events_url":"https://api.github.com/users/diunko/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/diunko/cocaine-plugins","description":"Cocaine Plugins","fork":true,"url":"https://api.github.com/repos/diunko/cocaine-plugins","forks_url":"https://api.github.com/repos/diunko/cocaine-plugins/forks","keys_url":"https://api.github.com/repos/diunko/cocaine-plugins/keys{/key_id}","collaborators_url":"https://api.github.com/repos/diunko/cocaine-plugins/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/diunko/cocaine-plugins/teams","hooks_url":"https://api.github.com/repos/diunko/cocaine-plugins/hooks","issue_events_url":"https://api.github.com/repos/diunko/cocaine-plugins/issues/events{/number}","events_url":"https://api.github.com/repos/diunko/cocaine-plugins/events","assignees_url":"https://api.github.com/repos/diunko/cocaine-plugins/assignees{/user}","branches_url":"https://api.github.com/repos/diunko/cocaine-plugins/branches{/branch}","tags_url":"https://api.github.com/repos/diunko/cocaine-plugins/tags","blobs_url":"https://api.github.com/repos/diunko/cocaine-plugins/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/diunko/cocaine-plugins/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/diunko/cocaine-plugins/git/refs{/sha}","trees_url":"https://api.github.com/repos/diunko/cocaine-plugins/git/trees{/sha}","statuses_url":"https://api.github.com/repos/diunko/cocaine-plugins/statuses/{sha}","languages_url":"https://api.github.com/repos/diunko/cocaine-plugins/languages","stargazers_url":"https://api.github.com/repos/diunko/cocaine-plugins/stargazers","contributors_url":"https://api.github.com/repos/diunko/cocaine-plugins/contributors","subscribers_url":"https://api.github.com/repos/diunko/cocaine-plugins/subscribers","subscription_url":"https://api.github.com/repos/diunko/cocaine-plugins/subscription","commits_url":"https://api.github.com/repos/diunko/cocaine-plugins/commits{/sha}","git_commits_url":"https://api.github.com/repos/diunko/cocaine-plugins/git/commits{/sha}","comments_url":"https://api.github.com/repos/diunko/cocaine-plugins/comments{/number}","issue_comment_url":"https://api.github.com/repos/diunko/cocaine-plugins/issues/comments{/number}","contents_url":"https://api.github.com/repos/diunko/cocaine-plugins/contents/{+path}","compare_url":"https://api.github.com/repos/diunko/cocaine-plugins/compare/{base}...{head}","merges_url":"https://api.github.com/repos/diunko/cocaine-plugins/merges","archive_url":"https://api.github.com/repos/diunko/cocaine-plugins/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/diunko/cocaine-plugins/downloads","issues_url":"https://api.github.com/repos/diunko/cocaine-plugins/issues{/number}","pulls_url":"https://api.github.com/repos/diunko/cocaine-plugins/pulls{/number}","milestones_url":"https://api.github.com/repos/diunko/cocaine-plugins/milestones{/number}","notifications_url":"https://api.github.com/repos/diunko/cocaine-plugins/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/diunko/cocaine-plugins/labels{/name}","releases_url":"https://api.github.com/repos/diunko/cocaine-plugins/releases{/id}","created_at":"2015-06-29T09:27:19Z","updated_at":"2015-06-29T09:27:20Z","pushed_at":"2015-09-29T10:19:10Z","git_url":"git://github.com/diunko/cocaine-plugins.git","ssh_url":"git@github.com:diunko/cocaine-plugins.git","clone_url":"https://github.com/diunko/cocaine-plugins.git","svn_url":"https://github.com/diunko/cocaine-plugins","homepage":null,"size":1410,"stargazers_count":0,"watchers_count":0,"language":"C++","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":"cocaine:master","ref":"master","sha":"c8e296c0ce289e8eb9b62ed00781b41967178e36","user":{"login":"cocaine","id":1553730,"avatar_url":"https://avatars.githubusercontent.com/u/1553730?v=3","gravatar_id":"","url":"https://api.github.com/users/cocaine","html_url":"https://github.com/cocaine","followers_url":"https://api.github.com/users/cocaine/followers","following_url":"https://api.github.com/users/cocaine/following{/other_user}","gists_url":"https://api.github.com/users/cocaine/gists{/gist_id}","starred_url":"https://api.github.com/users/cocaine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cocaine/subscriptions","organizations_url":"https://api.github.com/users/cocaine/orgs","repos_url":"https://api.github.com/users/cocaine/repos","events_url":"https://api.github.com/users/cocaine/events{/privacy}","received_events_url":"https://api.github.com/users/cocaine/received_events","type":"Organization","site_admin":false},"repo":{"id":4738266,"name":"cocaine-plugins","full_name":"cocaine/cocaine-plugins","owner":{"login":"cocaine","id":1553730,"avatar_url":"https://avatars.githubusercontent.com/u/1553730?v=3","gravatar_id":"","url":"https://api.github.com/users/cocaine","html_url":"https://github.com/cocaine","followers_url":"https://api.github.com/users/cocaine/followers","following_url":"https://api.github.com/users/cocaine/following{/other_user}","gists_url":"https://api.github.com/users/cocaine/gists{/gist_id}","starred_url":"https://api.github.com/users/cocaine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cocaine/subscriptions","organizations_url":"https://api.github.com/users/cocaine/orgs","repos_url":"https://api.github.com/users/cocaine/repos","events_url":"https://api.github.com/users/cocaine/events{/privacy}","received_events_url":"https://api.github.com/users/cocaine/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cocaine/cocaine-plugins","description":"Cocaine Plugins","fork":false,"url":"https://api.github.com/repos/cocaine/cocaine-plugins","forks_url":"https://api.github.com/repos/cocaine/cocaine-plugins/forks","keys_url":"https://api.github.com/repos/cocaine/cocaine-plugins/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cocaine/cocaine-plugins/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cocaine/cocaine-plugins/teams","hooks_url":"https://api.github.com/repos/cocaine/cocaine-plugins/hooks","issue_events_url":"https://api.github.com/repos/cocaine/cocaine-plugins/issues/events{/number}","events_url":"https://api.github.com/repos/cocaine/cocaine-plugins/events","assignees_url":"https://api.github.com/repos/cocaine/cocaine-plugins/assignees{/user}","branches_url":"https://api.github.com/repos/cocaine/cocaine-plugins/branches{/branch}","tags_url":"https://api.github.com/repos/cocaine/cocaine-plugins/tags","blobs_url":"https://api.github.com/repos/cocaine/cocaine-plugins/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cocaine/cocaine-plugins/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cocaine/cocaine-plugins/git/refs{/sha}","trees_url":"https://api.github.com/repos/cocaine/cocaine-plugins/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cocaine/cocaine-plugins/statuses/{sha}","languages_url":"https://api.github.com/repos/cocaine/cocaine-plugins/languages","stargazers_url":"https://api.github.com/repos/cocaine/cocaine-plugins/stargazers","contributors_url":"https://api.github.com/repos/cocaine/cocaine-plugins/contributors","subscribers_url":"https://api.github.com/repos/cocaine/cocaine-plugins/subscribers","subscription_url":"https://api.github.com/repos/cocaine/cocaine-plugins/subscription","commits_url":"https://api.github.com/repos/cocaine/cocaine-plugins/commits{/sha}","git_commits_url":"https://api.github.com/repos/cocaine/cocaine-plugins/git/commits{/sha}","comments_url":"https://api.github.com/repos/cocaine/cocaine-plugins/comments{/number}","issue_comment_url":"https://api.github.com/repos/cocaine/cocaine-plugins/issues/comments{/number}","contents_url":"https://api.github.com/repos/cocaine/cocaine-plugins/contents/{+path}","compare_url":"https://api.github.com/repos/cocaine/cocaine-plugins/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cocaine/cocaine-plugins/merges","archive_url":"https://api.github.com/repos/cocaine/cocaine-plugins/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cocaine/cocaine-plugins/downloads","issues_url":"https://api.github.com/repos/cocaine/cocaine-plugins/issues{/number}","pulls_url":"https://api.github.com/repos/cocaine/cocaine-plugins/pulls{/number}","milestones_url":"https://api.github.com/repos/cocaine/cocaine-plugins/milestones{/number}","notifications_url":"https://api.github.com/repos/cocaine/cocaine-plugins/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cocaine/cocaine-plugins/labels{/name}","releases_url":"https://api.github.com/repos/cocaine/cocaine-plugins/releases{/id}","created_at":"2012-06-21T11:24:30Z","updated_at":"2015-04-21T15:32:25Z","pushed_at":"2015-09-29T10:31:37Z","git_url":"git://github.com/cocaine/cocaine-plugins.git","ssh_url":"git@github.com:cocaine/cocaine-plugins.git","clone_url":"https://github.com/cocaine/cocaine-plugins.git","svn_url":"https://github.com/cocaine/cocaine-plugins","homepage":null,"size":3673,"stargazers_count":19,"watchers_count":19,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":20,"mirror_url":null,"open_issues_count":5,"forks":20,"open_issues":5,"watchers":19,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cocaine/cocaine-plugins/pulls/108"},"html":{"href":"https://github.com/cocaine/cocaine-plugins/pull/108"},"issue":{"href":"https://api.github.com/repos/cocaine/cocaine-plugins/issues/108"},"comments":{"href":"https://api.github.com/repos/cocaine/cocaine-plugins/issues/108/comments"},"review_comments":{"href":"https://api.github.com/repos/cocaine/cocaine-plugins/pulls/108/comments"},"review_comment":{"href":"https://api.github.com/repos/cocaine/cocaine-plugins/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cocaine/cocaine-plugins/pulls/108/commits"},"statuses":{"href":"https://api.github.com/repos/cocaine/cocaine-plugins/statuses/574820234a43ccdac81968dd8cc58bdd4f711bf2"}}}}