{"action":"created","comment":{"url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/pulls/comments/54345854","id":54345854,"diff_hunk":"@@ -16,13 +14,14 @@ def main(j, args, params, tags, tasklet):\n     fields = ['guid', 'nid', 'devicename', 'description', 'active', 'sizeondisk', 'free', 'path']\n \n     out.append('||guid||node||devicename||description||active||free||path||')\n-    vdisks = actor.getVDisks(machineid=machineid)\n+    vdisks =   j.data.models.system.VDisk.find({'machineid':machineid})","path":"apps/gridportal/base/Grid/.macros/wiki/vdisks/1_vdisks.py","position":14,"original_position":14,"commit_id":"dc3091189a5d8b9a3d29f76da18c7c007caa72c1","original_commit_id":"dc3091189a5d8b9a3d29f76da18c7c007caa72c1","user":{"login":"rkhamis","id":8425762,"avatar_url":"https://avatars.githubusercontent.com/u/8425762?v=3","gravatar_id":"","url":"https://api.github.com/users/rkhamis","html_url":"https://github.com/rkhamis","followers_url":"https://api.github.com/users/rkhamis/followers","following_url":"https://api.github.com/users/rkhamis/following{/other_user}","gists_url":"https://api.github.com/users/rkhamis/gists{/gist_id}","starred_url":"https://api.github.com/users/rkhamis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkhamis/subscriptions","organizations_url":"https://api.github.com/users/rkhamis/orgs","repos_url":"https://api.github.com/users/rkhamis/repos","events_url":"https://api.github.com/users/rkhamis/events{/privacy}","received_events_url":"https://api.github.com/users/rkhamis/received_events","type":"User","site_admin":false},"body":"the macro should talk to the actor, not the db directly.","created_at":"2016-02-28T08:22:48Z","updated_at":"2016-02-28T08:22:48Z","html_url":"https://github.com/Jumpscale/jumpscale_portal8/pull/24#discussion_r54345854","pull_request_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/pulls/24","_links":{"self":{"href":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/pulls/comments/54345854"},"html":{"href":"https://github.com/Jumpscale/jumpscale_portal8/pull/24#discussion_r54345854"},"pull_request":{"href":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/pulls/24"}}},"pull_request":{"url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/pulls/24","id":60529841,"html_url":"https://github.com/Jumpscale/jumpscale_portal8/pull/24","diff_url":"https://github.com/Jumpscale/jumpscale_portal8/pull/24.diff","patch_url":"https://github.com/Jumpscale/jumpscale_portal8/pull/24.patch","issue_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/issues/24","number":24,"state":"open","locked":false,"title":"Refactoring","user":{"login":"NourhanOmar","id":15012312,"avatar_url":"https://avatars.githubusercontent.com/u/15012312?v=3","gravatar_id":"","url":"https://api.github.com/users/NourhanOmar","html_url":"https://github.com/NourhanOmar","followers_url":"https://api.github.com/users/NourhanOmar/followers","following_url":"https://api.github.com/users/NourhanOmar/following{/other_user}","gists_url":"https://api.github.com/users/NourhanOmar/gists{/gist_id}","starred_url":"https://api.github.com/users/NourhanOmar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NourhanOmar/subscriptions","organizations_url":"https://api.github.com/users/NourhanOmar/orgs","repos_url":"https://api.github.com/users/NourhanOmar/repos","events_url":"https://api.github.com/users/NourhanOmar/events{/privacy}","received_events_url":"https://api.github.com/users/NourhanOmar/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-02-24T15:51:17Z","updated_at":"2016-02-28T08:22:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9509082a5e9c8e1f5d6405b4ca3c61d37063ca91","assignee":{"login":"NourhanOmar","id":15012312,"avatar_url":"https://avatars.githubusercontent.com/u/15012312?v=3","gravatar_id":"","url":"https://api.github.com/users/NourhanOmar","html_url":"https://github.com/NourhanOmar","followers_url":"https://api.github.com/users/NourhanOmar/followers","following_url":"https://api.github.com/users/NourhanOmar/following{/other_user}","gists_url":"https://api.github.com/users/NourhanOmar/gists{/gist_id}","starred_url":"https://api.github.com/users/NourhanOmar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NourhanOmar/subscriptions","organizations_url":"https://api.github.com/users/NourhanOmar/orgs","repos_url":"https://api.github.com/users/NourhanOmar/repos","events_url":"https://api.github.com/users/NourhanOmar/events{/privacy}","received_events_url":"https://api.github.com/users/NourhanOmar/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/pulls/24/commits","review_comments_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/pulls/24/comments","review_comment_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/issues/24/comments","statuses_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/statuses/dc3091189a5d8b9a3d29f76da18c7c007caa72c1","head":{"label":"Jumpscale:refactoring","ref":"refactoring","sha":"dc3091189a5d8b9a3d29f76da18c7c007caa72c1","user":{"login":"Jumpscale","id":8423908,"avatar_url":"https://avatars.githubusercontent.com/u/8423908?v=3","gravatar_id":"","url":"https://api.github.com/users/Jumpscale","html_url":"https://github.com/Jumpscale","followers_url":"https://api.github.com/users/Jumpscale/followers","following_url":"https://api.github.com/users/Jumpscale/following{/other_user}","gists_url":"https://api.github.com/users/Jumpscale/gists{/gist_id}","starred_url":"https://api.github.com/users/Jumpscale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jumpscale/subscriptions","organizations_url":"https://api.github.com/users/Jumpscale/orgs","repos_url":"https://api.github.com/users/Jumpscale/repos","events_url":"https://api.github.com/users/Jumpscale/events{/privacy}","received_events_url":"https://api.github.com/users/Jumpscale/received_events","type":"Organization","site_admin":false},"repo":{"id":47495525,"name":"jumpscale_portal8","full_name":"Jumpscale/jumpscale_portal8","owner":{"login":"Jumpscale","id":8423908,"avatar_url":"https://avatars.githubusercontent.com/u/8423908?v=3","gravatar_id":"","url":"https://api.github.com/users/Jumpscale","html_url":"https://github.com/Jumpscale","followers_url":"https://api.github.com/users/Jumpscale/followers","following_url":"https://api.github.com/users/Jumpscale/following{/other_user}","gists_url":"https://api.github.com/users/Jumpscale/gists{/gist_id}","starred_url":"https://api.github.com/users/Jumpscale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jumpscale/subscriptions","organizations_url":"https://api.github.com/users/Jumpscale/orgs","repos_url":"https://api.github.com/users/Jumpscale/repos","events_url":"https://api.github.com/users/Jumpscale/events{/privacy}","received_events_url":"https://api.github.com/users/Jumpscale/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Jumpscale/jumpscale_portal8","description":"","fork":false,"url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8","forks_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/forks","keys_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/teams","hooks_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/hooks","issue_events_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/issues/events{/number}","events_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/events","assignees_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/assignees{/user}","branches_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/branches{/branch}","tags_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/tags","blobs_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/git/refs{/sha}","trees_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/statuses/{sha}","languages_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/languages","stargazers_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/stargazers","contributors_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/contributors","subscribers_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/subscribers","subscription_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/subscription","commits_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/commits{/sha}","git_commits_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/git/commits{/sha}","comments_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/comments{/number}","issue_comment_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/issues/comments{/number}","contents_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/contents/{+path}","compare_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/merges","archive_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/downloads","issues_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/issues{/number}","pulls_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/pulls{/number}","milestones_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/milestones{/number}","notifications_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/labels{/name}","releases_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/releases{/id}","deployments_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/deployments","created_at":"2015-12-06T12:18:40Z","updated_at":"2016-01-11T11:03:37Z","pushed_at":"2016-02-24T16:00:04Z","git_url":"git://github.com/Jumpscale/jumpscale_portal8.git","ssh_url":"git@github.com:Jumpscale/jumpscale_portal8.git","clone_url":"https://github.com/Jumpscale/jumpscale_portal8.git","svn_url":"https://github.com/Jumpscale/jumpscale_portal8","homepage":null,"size":11698,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"Jumpscale:master","ref":"master","sha":"214370a75019c12d155dfce07781ad8ff5b2673c","user":{"login":"Jumpscale","id":8423908,"avatar_url":"https://avatars.githubusercontent.com/u/8423908?v=3","gravatar_id":"","url":"https://api.github.com/users/Jumpscale","html_url":"https://github.com/Jumpscale","followers_url":"https://api.github.com/users/Jumpscale/followers","following_url":"https://api.github.com/users/Jumpscale/following{/other_user}","gists_url":"https://api.github.com/users/Jumpscale/gists{/gist_id}","starred_url":"https://api.github.com/users/Jumpscale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jumpscale/subscriptions","organizations_url":"https://api.github.com/users/Jumpscale/orgs","repos_url":"https://api.github.com/users/Jumpscale/repos","events_url":"https://api.github.com/users/Jumpscale/events{/privacy}","received_events_url":"https://api.github.com/users/Jumpscale/received_events","type":"Organization","site_admin":false},"repo":{"id":47495525,"name":"jumpscale_portal8","full_name":"Jumpscale/jumpscale_portal8","owner":{"login":"Jumpscale","id":8423908,"avatar_url":"https://avatars.githubusercontent.com/u/8423908?v=3","gravatar_id":"","url":"https://api.github.com/users/Jumpscale","html_url":"https://github.com/Jumpscale","followers_url":"https://api.github.com/users/Jumpscale/followers","following_url":"https://api.github.com/users/Jumpscale/following{/other_user}","gists_url":"https://api.github.com/users/Jumpscale/gists{/gist_id}","starred_url":"https://api.github.com/users/Jumpscale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jumpscale/subscriptions","organizations_url":"https://api.github.com/users/Jumpscale/orgs","repos_url":"https://api.github.com/users/Jumpscale/repos","events_url":"https://api.github.com/users/Jumpscale/events{/privacy}","received_events_url":"https://api.github.com/users/Jumpscale/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Jumpscale/jumpscale_portal8","description":"","fork":false,"url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8","forks_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/forks","keys_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/teams","hooks_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/hooks","issue_events_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/issues/events{/number}","events_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/events","assignees_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/assignees{/user}","branches_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/branches{/branch}","tags_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/tags","blobs_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/git/refs{/sha}","trees_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/statuses/{sha}","languages_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/languages","stargazers_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/stargazers","contributors_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/contributors","subscribers_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/subscribers","subscription_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/subscription","commits_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/commits{/sha}","git_commits_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/git/commits{/sha}","comments_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/comments{/number}","issue_comment_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/issues/comments{/number}","contents_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/contents/{+path}","compare_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/merges","archive_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/downloads","issues_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/issues{/number}","pulls_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/pulls{/number}","milestones_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/milestones{/number}","notifications_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/labels{/name}","releases_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/releases{/id}","deployments_url":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/deployments","created_at":"2015-12-06T12:18:40Z","updated_at":"2016-01-11T11:03:37Z","pushed_at":"2016-02-24T16:00:04Z","git_url":"git://github.com/Jumpscale/jumpscale_portal8.git","ssh_url":"git@github.com:Jumpscale/jumpscale_portal8.git","clone_url":"https://github.com/Jumpscale/jumpscale_portal8.git","svn_url":"https://github.com/Jumpscale/jumpscale_portal8","homepage":null,"size":11698,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/pulls/24"},"html":{"href":"https://github.com/Jumpscale/jumpscale_portal8/pull/24"},"issue":{"href":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/issues/24"},"comments":{"href":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/issues/24/comments"},"review_comments":{"href":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/pulls/24/comments"},"review_comment":{"href":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/pulls/24/commits"},"statuses":{"href":"https://api.github.com/repos/Jumpscale/jumpscale_portal8/statuses/dc3091189a5d8b9a3d29f76da18c7c007caa72c1"}}}}