{"action":"created","comment":{"url":"https://api.github.com/repos/vatesfr/xo-server/pulls/comments/119337147","pull_request_review_id":41206150,"id":119337147,"diff_hunk":"@@ -383,3 +383,6 @@ export const useUpdateSystem = host => {\n   // Match Xen Center's condition: https://github.com/xenserver/xenadmin/blob/f3a64fc54bbff239ca6f285406d9034f57537d64/XenModel/Utils/Helpers.cs#L420\n   return versionSatisfies(host.software_version.platform_version, '^2.1.1')\n }\n+\n+export const isSrAdequate = (sr, minSize) =>","path":"src/xapi/utils.js","position":5,"original_position":5,"commit_id":"cd366cdca03a84712d7e9083f980035803843e86","original_commit_id":"cd366cdca03a84712d7e9083f980035803843e86","user":{"login":"pdonias","id":10992860,"avatar_url":"https://avatars2.githubusercontent.com/u/10992860?v=3","gravatar_id":"","url":"https://api.github.com/users/pdonias","html_url":"https://github.com/pdonias","followers_url":"https://api.github.com/users/pdonias/followers","following_url":"https://api.github.com/users/pdonias/following{/other_user}","gists_url":"https://api.github.com/users/pdonias/gists{/gist_id}","starred_url":"https://api.github.com/users/pdonias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdonias/subscriptions","organizations_url":"https://api.github.com/users/pdonias/orgs","repos_url":"https://api.github.com/users/pdonias/repos","events_url":"https://api.github.com/users/pdonias/events{/privacy}","received_events_url":"https://api.github.com/users/pdonias/received_events","type":"User","site_admin":false},"body":"Is the SR `sr` available to host a new VDI of size `minSize`","created_at":"2017-05-31T11:49:05Z","updated_at":"2017-05-31T11:49:05Z","html_url":"https://github.com/vatesfr/xo-server/pull/559#discussion_r119337147","pull_request_url":"https://api.github.com/repos/vatesfr/xo-server/pulls/559","_links":{"self":{"href":"https://api.github.com/repos/vatesfr/xo-server/pulls/comments/119337147"},"html":{"href":"https://github.com/vatesfr/xo-server/pull/559#discussion_r119337147"},"pull_request":{"href":"https://api.github.com/repos/vatesfr/xo-server/pulls/559"}}},"pull_request":{"url":"https://api.github.com/repos/vatesfr/xo-server/pulls/559","id":123033625,"html_url":"https://github.com/vatesfr/xo-server/pull/559","diff_url":"https://github.com/vatesfr/xo-server/pull/559.diff","patch_url":"https://github.com/vatesfr/xo-server/pull/559.patch","issue_url":"https://api.github.com/repos/vatesfr/xo-server/issues/559","number":559,"state":"open","locked":false,"title":"feat(patching): support pool patching on XS 7.1","user":{"login":"pdonias","id":10992860,"avatar_url":"https://avatars2.githubusercontent.com/u/10992860?v=3","gravatar_id":"","url":"https://api.github.com/users/pdonias","html_url":"https://github.com/pdonias","followers_url":"https://api.github.com/users/pdonias/followers","following_url":"https://api.github.com/users/pdonias/following{/other_user}","gists_url":"https://api.github.com/users/pdonias/gists{/gist_id}","starred_url":"https://api.github.com/users/pdonias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdonias/subscriptions","organizations_url":"https://api.github.com/users/pdonias/orgs","repos_url":"https://api.github.com/users/pdonias/repos","events_url":"https://api.github.com/users/pdonias/events{/privacy}","received_events_url":"https://api.github.com/users/pdonias/received_events","type":"User","site_admin":false},"body":"See vatesfr/xo-web#2058","created_at":"2017-05-30T12:03:33Z","updated_at":"2017-05-31T11:49:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c7c5204a7a655e9fe05bf03798fcf47364264ea0","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/vatesfr/xo-server/pulls/559/commits","review_comments_url":"https://api.github.com/repos/vatesfr/xo-server/pulls/559/comments","review_comment_url":"https://api.github.com/repos/vatesfr/xo-server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vatesfr/xo-server/issues/559/comments","statuses_url":"https://api.github.com/repos/vatesfr/xo-server/statuses/cd366cdca03a84712d7e9083f980035803843e86","head":{"label":"vatesfr:pierre-patches-and-packs-7.1-bis","ref":"pierre-patches-and-packs-7.1-bis","sha":"cd366cdca03a84712d7e9083f980035803843e86","user":{"login":"vatesfr","id":2064170,"avatar_url":"https://avatars1.githubusercontent.com/u/2064170?v=3","gravatar_id":"","url":"https://api.github.com/users/vatesfr","html_url":"https://github.com/vatesfr","followers_url":"https://api.github.com/users/vatesfr/followers","following_url":"https://api.github.com/users/vatesfr/following{/other_user}","gists_url":"https://api.github.com/users/vatesfr/gists{/gist_id}","starred_url":"https://api.github.com/users/vatesfr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vatesfr/subscriptions","organizations_url":"https://api.github.com/users/vatesfr/orgs","repos_url":"https://api.github.com/users/vatesfr/repos","events_url":"https://api.github.com/users/vatesfr/events{/privacy}","received_events_url":"https://api.github.com/users/vatesfr/received_events","type":"Organization","site_admin":false},"repo":{"id":7262203,"name":"xo-server","full_name":"vatesfr/xo-server","owner":{"login":"vatesfr","id":2064170,"avatar_url":"https://avatars1.githubusercontent.com/u/2064170?v=3","gravatar_id":"","url":"https://api.github.com/users/vatesfr","html_url":"https://github.com/vatesfr","followers_url":"https://api.github.com/users/vatesfr/followers","following_url":"https://api.github.com/users/vatesfr/following{/other_user}","gists_url":"https://api.github.com/users/vatesfr/gists{/gist_id}","starred_url":"https://api.github.com/users/vatesfr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vatesfr/subscriptions","organizations_url":"https://api.github.com/users/vatesfr/orgs","repos_url":"https://api.github.com/users/vatesfr/repos","events_url":"https://api.github.com/users/vatesfr/events{/privacy}","received_events_url":"https://api.github.com/users/vatesfr/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/vatesfr/xo-server","description":"Server part of Xen Orchestra.","fork":false,"url":"https://api.github.com/repos/vatesfr/xo-server","forks_url":"https://api.github.com/repos/vatesfr/xo-server/forks","keys_url":"https://api.github.com/repos/vatesfr/xo-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vatesfr/xo-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vatesfr/xo-server/teams","hooks_url":"https://api.github.com/repos/vatesfr/xo-server/hooks","issue_events_url":"https://api.github.com/repos/vatesfr/xo-server/issues/events{/number}","events_url":"https://api.github.com/repos/vatesfr/xo-server/events","assignees_url":"https://api.github.com/repos/vatesfr/xo-server/assignees{/user}","branches_url":"https://api.github.com/repos/vatesfr/xo-server/branches{/branch}","tags_url":"https://api.github.com/repos/vatesfr/xo-server/tags","blobs_url":"https://api.github.com/repos/vatesfr/xo-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vatesfr/xo-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vatesfr/xo-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/vatesfr/xo-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vatesfr/xo-server/statuses/{sha}","languages_url":"https://api.github.com/repos/vatesfr/xo-server/languages","stargazers_url":"https://api.github.com/repos/vatesfr/xo-server/stargazers","contributors_url":"https://api.github.com/repos/vatesfr/xo-server/contributors","subscribers_url":"https://api.github.com/repos/vatesfr/xo-server/subscribers","subscription_url":"https://api.github.com/repos/vatesfr/xo-server/subscription","commits_url":"https://api.github.com/repos/vatesfr/xo-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/vatesfr/xo-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/vatesfr/xo-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/vatesfr/xo-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/vatesfr/xo-server/contents/{+path}","compare_url":"https://api.github.com/repos/vatesfr/xo-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vatesfr/xo-server/merges","archive_url":"https://api.github.com/repos/vatesfr/xo-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vatesfr/xo-server/downloads","issues_url":"https://api.github.com/repos/vatesfr/xo-server/issues{/number}","pulls_url":"https://api.github.com/repos/vatesfr/xo-server/pulls{/number}","milestones_url":"https://api.github.com/repos/vatesfr/xo-server/milestones{/number}","notifications_url":"https://api.github.com/repos/vatesfr/xo-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vatesfr/xo-server/labels{/name}","releases_url":"https://api.github.com/repos/vatesfr/xo-server/releases{/id}","deployments_url":"https://api.github.com/repos/vatesfr/xo-server/deployments","created_at":"2012-12-20T18:23:37Z","updated_at":"2017-05-18T09:13:51Z","pushed_at":"2017-05-31T10:17:50Z","git_url":"git://github.com/vatesfr/xo-server.git","ssh_url":"git@github.com:vatesfr/xo-server.git","clone_url":"https://github.com/vatesfr/xo-server.git","svn_url":"https://github.com/vatesfr/xo-server","homepage":"","size":3193,"stargazers_count":76,"watchers_count":76,"language":"JavaScript","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":35,"mirror_url":null,"open_issues_count":16,"forks":35,"open_issues":16,"watchers":76,"default_branch":"next-release"}},"base":{"label":"vatesfr:next-release","ref":"next-release","sha":"b7d746ee0965647133c0db8ecb8c41215e520d67","user":{"login":"vatesfr","id":2064170,"avatar_url":"https://avatars1.githubusercontent.com/u/2064170?v=3","gravatar_id":"","url":"https://api.github.com/users/vatesfr","html_url":"https://github.com/vatesfr","followers_url":"https://api.github.com/users/vatesfr/followers","following_url":"https://api.github.com/users/vatesfr/following{/other_user}","gists_url":"https://api.github.com/users/vatesfr/gists{/gist_id}","starred_url":"https://api.github.com/users/vatesfr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vatesfr/subscriptions","organizations_url":"https://api.github.com/users/vatesfr/orgs","repos_url":"https://api.github.com/users/vatesfr/repos","events_url":"https://api.github.com/users/vatesfr/events{/privacy}","received_events_url":"https://api.github.com/users/vatesfr/received_events","type":"Organization","site_admin":false},"repo":{"id":7262203,"name":"xo-server","full_name":"vatesfr/xo-server","owner":{"login":"vatesfr","id":2064170,"avatar_url":"https://avatars1.githubusercontent.com/u/2064170?v=3","gravatar_id":"","url":"https://api.github.com/users/vatesfr","html_url":"https://github.com/vatesfr","followers_url":"https://api.github.com/users/vatesfr/followers","following_url":"https://api.github.com/users/vatesfr/following{/other_user}","gists_url":"https://api.github.com/users/vatesfr/gists{/gist_id}","starred_url":"https://api.github.com/users/vatesfr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vatesfr/subscriptions","organizations_url":"https://api.github.com/users/vatesfr/orgs","repos_url":"https://api.github.com/users/vatesfr/repos","events_url":"https://api.github.com/users/vatesfr/events{/privacy}","received_events_url":"https://api.github.com/users/vatesfr/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/vatesfr/xo-server","description":"Server part of Xen Orchestra.","fork":false,"url":"https://api.github.com/repos/vatesfr/xo-server","forks_url":"https://api.github.com/repos/vatesfr/xo-server/forks","keys_url":"https://api.github.com/repos/vatesfr/xo-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vatesfr/xo-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vatesfr/xo-server/teams","hooks_url":"https://api.github.com/repos/vatesfr/xo-server/hooks","issue_events_url":"https://api.github.com/repos/vatesfr/xo-server/issues/events{/number}","events_url":"https://api.github.com/repos/vatesfr/xo-server/events","assignees_url":"https://api.github.com/repos/vatesfr/xo-server/assignees{/user}","branches_url":"https://api.github.com/repos/vatesfr/xo-server/branches{/branch}","tags_url":"https://api.github.com/repos/vatesfr/xo-server/tags","blobs_url":"https://api.github.com/repos/vatesfr/xo-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vatesfr/xo-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vatesfr/xo-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/vatesfr/xo-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vatesfr/xo-server/statuses/{sha}","languages_url":"https://api.github.com/repos/vatesfr/xo-server/languages","stargazers_url":"https://api.github.com/repos/vatesfr/xo-server/stargazers","contributors_url":"https://api.github.com/repos/vatesfr/xo-server/contributors","subscribers_url":"https://api.github.com/repos/vatesfr/xo-server/subscribers","subscription_url":"https://api.github.com/repos/vatesfr/xo-server/subscription","commits_url":"https://api.github.com/repos/vatesfr/xo-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/vatesfr/xo-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/vatesfr/xo-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/vatesfr/xo-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/vatesfr/xo-server/contents/{+path}","compare_url":"https://api.github.com/repos/vatesfr/xo-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vatesfr/xo-server/merges","archive_url":"https://api.github.com/repos/vatesfr/xo-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vatesfr/xo-server/downloads","issues_url":"https://api.github.com/repos/vatesfr/xo-server/issues{/number}","pulls_url":"https://api.github.com/repos/vatesfr/xo-server/pulls{/number}","milestones_url":"https://api.github.com/repos/vatesfr/xo-server/milestones{/number}","notifications_url":"https://api.github.com/repos/vatesfr/xo-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vatesfr/xo-server/labels{/name}","releases_url":"https://api.github.com/repos/vatesfr/xo-server/releases{/id}","deployments_url":"https://api.github.com/repos/vatesfr/xo-server/deployments","created_at":"2012-12-20T18:23:37Z","updated_at":"2017-05-18T09:13:51Z","pushed_at":"2017-05-31T10:17:50Z","git_url":"git://github.com/vatesfr/xo-server.git","ssh_url":"git@github.com:vatesfr/xo-server.git","clone_url":"https://github.com/vatesfr/xo-server.git","svn_url":"https://github.com/vatesfr/xo-server","homepage":"","size":3193,"stargazers_count":76,"watchers_count":76,"language":"JavaScript","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":35,"mirror_url":null,"open_issues_count":16,"forks":35,"open_issues":16,"watchers":76,"default_branch":"next-release"}},"_links":{"self":{"href":"https://api.github.com/repos/vatesfr/xo-server/pulls/559"},"html":{"href":"https://github.com/vatesfr/xo-server/pull/559"},"issue":{"href":"https://api.github.com/repos/vatesfr/xo-server/issues/559"},"comments":{"href":"https://api.github.com/repos/vatesfr/xo-server/issues/559/comments"},"review_comments":{"href":"https://api.github.com/repos/vatesfr/xo-server/pulls/559/comments"},"review_comment":{"href":"https://api.github.com/repos/vatesfr/xo-server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vatesfr/xo-server/pulls/559/commits"},"statuses":{"href":"https://api.github.com/repos/vatesfr/xo-server/statuses/cd366cdca03a84712d7e9083f980035803843e86"}}}}
{"actor":{"display_login":"pdonias"}}