{"action":"opened","number":30,"pull_request":{"url":"https://api.github.com/repos/SUSE/ceph/pulls/30","id":63231591,"html_url":"https://github.com/SUSE/ceph/pull/30","diff_url":"https://github.com/SUSE/ceph/pull/30.diff","patch_url":"https://github.com/SUSE/ceph/pull/30.patch","issue_url":"https://api.github.com/repos/SUSE/ceph/issues/30","number":30,"state":"open","locked":false,"title":"ceph_disk.main: s/get_dev_size/get_free_partition_size/","user":{"login":"oms4suse","id":14092619,"avatar_url":"https://avatars.githubusercontent.com/u/14092619?v=3","gravatar_id":"","url":"https://api.github.com/users/oms4suse","html_url":"https://github.com/oms4suse","followers_url":"https://api.github.com/users/oms4suse/followers","following_url":"https://api.github.com/users/oms4suse/following{/other_user}","gists_url":"https://api.github.com/users/oms4suse/gists{/gist_id}","starred_url":"https://api.github.com/users/oms4suse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oms4suse/subscriptions","organizations_url":"https://api.github.com/users/oms4suse/orgs","repos_url":"https://api.github.com/users/oms4suse/repos","events_url":"https://api.github.com/users/oms4suse/events{/privacy}","received_events_url":"https://api.github.com/users/oms4suse/received_events","type":"User","site_admin":false},"body":"The code never needs to know the block device size only the free partion space.\r\n\r\nWe use parted as the output is consitent across these distributions:\r\n\r\n    SUSE Linux Enterprise Server 12 SP1\r\n    openSUSE Leap 42.1 (x86_64)\r\n    Debian GNU/Linux 8.3 (jessie)\r\n    Fedora release 23 (Twenty Three)\r\n    Scientific Linux release 7.2 (Nitrogen)\r\n    Scientific Linux release 6.7 (Carbon)\r\n\r\nBackported from bd3832b5de4f3f03aa2449af930d4ad965f8c22b\r\n\r\nSigned-off-by: Owen Synge <osynge@suse.com>","created_at":"2016-03-17T14:31:44Z","updated_at":"2016-03-17T14:31:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/SUSE/ceph/pulls/30/commits","review_comments_url":"https://api.github.com/repos/SUSE/ceph/pulls/30/comments","review_comment_url":"https://api.github.com/repos/SUSE/ceph/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SUSE/ceph/issues/30/comments","statuses_url":"https://api.github.com/repos/SUSE/ceph/statuses/4585d650c5b8bccc2bcc7361a667780a72479a75","head":{"label":"SUSE:distro-suse-0-94-6-wip-journal-overflow","ref":"distro-suse-0-94-6-wip-journal-overflow","sha":"4585d650c5b8bccc2bcc7361a667780a72479a75","user":{"login":"SUSE","id":1067733,"avatar_url":"https://avatars.githubusercontent.com/u/1067733?v=3","gravatar_id":"","url":"https://api.github.com/users/SUSE","html_url":"https://github.com/SUSE","followers_url":"https://api.github.com/users/SUSE/followers","following_url":"https://api.github.com/users/SUSE/following{/other_user}","gists_url":"https://api.github.com/users/SUSE/gists{/gist_id}","starred_url":"https://api.github.com/users/SUSE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SUSE/subscriptions","organizations_url":"https://api.github.com/users/SUSE/orgs","repos_url":"https://api.github.com/users/SUSE/repos","events_url":"https://api.github.com/users/SUSE/events{/privacy}","received_events_url":"https://api.github.com/users/SUSE/received_events","type":"Organization","site_admin":false},"repo":{"id":20325897,"name":"ceph","full_name":"SUSE/ceph","owner":{"login":"SUSE","id":1067733,"avatar_url":"https://avatars.githubusercontent.com/u/1067733?v=3","gravatar_id":"","url":"https://api.github.com/users/SUSE","html_url":"https://github.com/SUSE","followers_url":"https://api.github.com/users/SUSE/followers","following_url":"https://api.github.com/users/SUSE/following{/other_user}","gists_url":"https://api.github.com/users/SUSE/gists{/gist_id}","starred_url":"https://api.github.com/users/SUSE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SUSE/subscriptions","organizations_url":"https://api.github.com/users/SUSE/orgs","repos_url":"https://api.github.com/users/SUSE/repos","events_url":"https://api.github.com/users/SUSE/events{/privacy}","received_events_url":"https://api.github.com/users/SUSE/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SUSE/ceph","description":"Ceph is a distributed object, block, and file storage platform ","fork":true,"url":"https://api.github.com/repos/SUSE/ceph","forks_url":"https://api.github.com/repos/SUSE/ceph/forks","keys_url":"https://api.github.com/repos/SUSE/ceph/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SUSE/ceph/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SUSE/ceph/teams","hooks_url":"https://api.github.com/repos/SUSE/ceph/hooks","issue_events_url":"https://api.github.com/repos/SUSE/ceph/issues/events{/number}","events_url":"https://api.github.com/repos/SUSE/ceph/events","assignees_url":"https://api.github.com/repos/SUSE/ceph/assignees{/user}","branches_url":"https://api.github.com/repos/SUSE/ceph/branches{/branch}","tags_url":"https://api.github.com/repos/SUSE/ceph/tags","blobs_url":"https://api.github.com/repos/SUSE/ceph/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SUSE/ceph/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SUSE/ceph/git/refs{/sha}","trees_url":"https://api.github.com/repos/SUSE/ceph/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SUSE/ceph/statuses/{sha}","languages_url":"https://api.github.com/repos/SUSE/ceph/languages","stargazers_url":"https://api.github.com/repos/SUSE/ceph/stargazers","contributors_url":"https://api.github.com/repos/SUSE/ceph/contributors","subscribers_url":"https://api.github.com/repos/SUSE/ceph/subscribers","subscription_url":"https://api.github.com/repos/SUSE/ceph/subscription","commits_url":"https://api.github.com/repos/SUSE/ceph/commits{/sha}","git_commits_url":"https://api.github.com/repos/SUSE/ceph/git/commits{/sha}","comments_url":"https://api.github.com/repos/SUSE/ceph/comments{/number}","issue_comment_url":"https://api.github.com/repos/SUSE/ceph/issues/comments{/number}","contents_url":"https://api.github.com/repos/SUSE/ceph/contents/{+path}","compare_url":"https://api.github.com/repos/SUSE/ceph/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SUSE/ceph/merges","archive_url":"https://api.github.com/repos/SUSE/ceph/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SUSE/ceph/downloads","issues_url":"https://api.github.com/repos/SUSE/ceph/issues{/number}","pulls_url":"https://api.github.com/repos/SUSE/ceph/pulls{/number}","milestones_url":"https://api.github.com/repos/SUSE/ceph/milestones{/number}","notifications_url":"https://api.github.com/repos/SUSE/ceph/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SUSE/ceph/labels{/name}","releases_url":"https://api.github.com/repos/SUSE/ceph/releases{/id}","deployments_url":"https://api.github.com/repos/SUSE/ceph/deployments","created_at":"2014-05-30T10:29:18Z","updated_at":"2016-02-11T13:57:48Z","pushed_at":"2016-03-17T14:28:23Z","git_url":"git://github.com/SUSE/ceph.git","ssh_url":"git@github.com:SUSE/ceph.git","clone_url":"https://github.com/SUSE/ceph.git","svn_url":"https://github.com/SUSE/ceph","homepage":"http://ceph.com","size":265977,"stargazers_count":1,"watchers_count":1,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":1,"forks":5,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"SUSE:distro/suse-0-94-6","ref":"distro/suse-0-94-6","sha":"64cdd1c3b67269adc8e2aaaba60b7cab7e1f95e2","user":{"login":"SUSE","id":1067733,"avatar_url":"https://avatars.githubusercontent.com/u/1067733?v=3","gravatar_id":"","url":"https://api.github.com/users/SUSE","html_url":"https://github.com/SUSE","followers_url":"https://api.github.com/users/SUSE/followers","following_url":"https://api.github.com/users/SUSE/following{/other_user}","gists_url":"https://api.github.com/users/SUSE/gists{/gist_id}","starred_url":"https://api.github.com/users/SUSE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SUSE/subscriptions","organizations_url":"https://api.github.com/users/SUSE/orgs","repos_url":"https://api.github.com/users/SUSE/repos","events_url":"https://api.github.com/users/SUSE/events{/privacy}","received_events_url":"https://api.github.com/users/SUSE/received_events","type":"Organization","site_admin":false},"repo":{"id":20325897,"name":"ceph","full_name":"SUSE/ceph","owner":{"login":"SUSE","id":1067733,"avatar_url":"https://avatars.githubusercontent.com/u/1067733?v=3","gravatar_id":"","url":"https://api.github.com/users/SUSE","html_url":"https://github.com/SUSE","followers_url":"https://api.github.com/users/SUSE/followers","following_url":"https://api.github.com/users/SUSE/following{/other_user}","gists_url":"https://api.github.com/users/SUSE/gists{/gist_id}","starred_url":"https://api.github.com/users/SUSE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SUSE/subscriptions","organizations_url":"https://api.github.com/users/SUSE/orgs","repos_url":"https://api.github.com/users/SUSE/repos","events_url":"https://api.github.com/users/SUSE/events{/privacy}","received_events_url":"https://api.github.com/users/SUSE/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SUSE/ceph","description":"Ceph is a distributed object, block, and file storage platform ","fork":true,"url":"https://api.github.com/repos/SUSE/ceph","forks_url":"https://api.github.com/repos/SUSE/ceph/forks","keys_url":"https://api.github.com/repos/SUSE/ceph/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SUSE/ceph/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SUSE/ceph/teams","hooks_url":"https://api.github.com/repos/SUSE/ceph/hooks","issue_events_url":"https://api.github.com/repos/SUSE/ceph/issues/events{/number}","events_url":"https://api.github.com/repos/SUSE/ceph/events","assignees_url":"https://api.github.com/repos/SUSE/ceph/assignees{/user}","branches_url":"https://api.github.com/repos/SUSE/ceph/branches{/branch}","tags_url":"https://api.github.com/repos/SUSE/ceph/tags","blobs_url":"https://api.github.com/repos/SUSE/ceph/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SUSE/ceph/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SUSE/ceph/git/refs{/sha}","trees_url":"https://api.github.com/repos/SUSE/ceph/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SUSE/ceph/statuses/{sha}","languages_url":"https://api.github.com/repos/SUSE/ceph/languages","stargazers_url":"https://api.github.com/repos/SUSE/ceph/stargazers","contributors_url":"https://api.github.com/repos/SUSE/ceph/contributors","subscribers_url":"https://api.github.com/repos/SUSE/ceph/subscribers","subscription_url":"https://api.github.com/repos/SUSE/ceph/subscription","commits_url":"https://api.github.com/repos/SUSE/ceph/commits{/sha}","git_commits_url":"https://api.github.com/repos/SUSE/ceph/git/commits{/sha}","comments_url":"https://api.github.com/repos/SUSE/ceph/comments{/number}","issue_comment_url":"https://api.github.com/repos/SUSE/ceph/issues/comments{/number}","contents_url":"https://api.github.com/repos/SUSE/ceph/contents/{+path}","compare_url":"https://api.github.com/repos/SUSE/ceph/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SUSE/ceph/merges","archive_url":"https://api.github.com/repos/SUSE/ceph/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SUSE/ceph/downloads","issues_url":"https://api.github.com/repos/SUSE/ceph/issues{/number}","pulls_url":"https://api.github.com/repos/SUSE/ceph/pulls{/number}","milestones_url":"https://api.github.com/repos/SUSE/ceph/milestones{/number}","notifications_url":"https://api.github.com/repos/SUSE/ceph/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SUSE/ceph/labels{/name}","releases_url":"https://api.github.com/repos/SUSE/ceph/releases{/id}","deployments_url":"https://api.github.com/repos/SUSE/ceph/deployments","created_at":"2014-05-30T10:29:18Z","updated_at":"2016-02-11T13:57:48Z","pushed_at":"2016-03-17T14:28:23Z","git_url":"git://github.com/SUSE/ceph.git","ssh_url":"git@github.com:SUSE/ceph.git","clone_url":"https://github.com/SUSE/ceph.git","svn_url":"https://github.com/SUSE/ceph","homepage":"http://ceph.com","size":265977,"stargazers_count":1,"watchers_count":1,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":1,"forks":5,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SUSE/ceph/pulls/30"},"html":{"href":"https://github.com/SUSE/ceph/pull/30"},"issue":{"href":"https://api.github.com/repos/SUSE/ceph/issues/30"},"comments":{"href":"https://api.github.com/repos/SUSE/ceph/issues/30/comments"},"review_comments":{"href":"https://api.github.com/repos/SUSE/ceph/pulls/30/comments"},"review_comment":{"href":"https://api.github.com/repos/SUSE/ceph/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SUSE/ceph/pulls/30/commits"},"statuses":{"href":"https://api.github.com/repos/SUSE/ceph/statuses/4585d650c5b8bccc2bcc7361a667780a72479a75"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":77,"deletions":19,"changed_files":1}}