{"action":"opened","number":1765,"pull_request":{"url":"https://api.github.com/repos/cockpit-project/cockpit/pulls/1765","id":28397072,"html_url":"https://github.com/cockpit-project/cockpit/pull/1765","diff_url":"https://github.com/cockpit-project/cockpit/pull/1765.diff","patch_url":"https://github.com/cockpit-project/cockpit/pull/1765.patch","issue_url":"https://api.github.com/repos/cockpit-project/cockpit/issues/1765","number":1765,"state":"open","locked":false,"title":"docker: Add storage panel","user":{"login":"petervo","id":10439156,"avatar_url":"https://avatars.githubusercontent.com/u/10439156?v=3","gravatar_id":"","url":"https://api.github.com/users/petervo","html_url":"https://github.com/petervo","followers_url":"https://api.github.com/users/petervo/followers","following_url":"https://api.github.com/users/petervo/following{/other_user}","gists_url":"https://api.github.com/users/petervo/gists{/gist_id}","starred_url":"https://api.github.com/users/petervo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petervo/subscriptions","organizations_url":"https://api.github.com/users/petervo/orgs","repos_url":"https://api.github.com/users/petervo/repos","events_url":"https://api.github.com/users/petervo/events{/privacy}","received_events_url":"https://api.github.com/users/petervo/received_events","type":"User","site_admin":false},"body":"Fixes #1662 \r\n\r\nThe only graphdriver that reports any usage statistics is devicemapper. In a default setup that will use a sparse file as the loopback device for it's pool. Docker reports the size of that file as the available space even if the underlying device really doesn't have that much space available. I'm going to see if they are interested in reporting the actual available space but in the mean time this just has a disclaimer.\r\n\r\nCurrently this is only updating on load, triggering it on events seemed a little overkill but if we think that it should be fresher maybe we should use a timer.","created_at":"2015-01-30T22:03:26Z","updated_at":"2015-01-30T22:03:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cockpit-project/cockpit/pulls/1765/commits","review_comments_url":"https://api.github.com/repos/cockpit-project/cockpit/pulls/1765/comments","review_comment_url":"https://api.github.com/repos/cockpit-project/cockpit/pulls/comments/{number}","comments_url":"https://api.github.com/repos/cockpit-project/cockpit/issues/1765/comments","statuses_url":"https://api.github.com/repos/cockpit-project/cockpit/statuses/135631d76d2a58efca07e8bd174f9a31973dfbb3","head":{"label":"petervo:docker-storage","ref":"docker-storage","sha":"135631d76d2a58efca07e8bd174f9a31973dfbb3","user":{"login":"petervo","id":10439156,"avatar_url":"https://avatars.githubusercontent.com/u/10439156?v=3","gravatar_id":"","url":"https://api.github.com/users/petervo","html_url":"https://github.com/petervo","followers_url":"https://api.github.com/users/petervo/followers","following_url":"https://api.github.com/users/petervo/following{/other_user}","gists_url":"https://api.github.com/users/petervo/gists{/gist_id}","starred_url":"https://api.github.com/users/petervo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petervo/subscriptions","organizations_url":"https://api.github.com/users/petervo/orgs","repos_url":"https://api.github.com/users/petervo/repos","events_url":"https://api.github.com/users/petervo/events{/privacy}","received_events_url":"https://api.github.com/users/petervo/received_events","type":"User","site_admin":false},"repo":{"id":28927963,"name":"cockpit","full_name":"petervo/cockpit","owner":{"login":"petervo","id":10439156,"avatar_url":"https://avatars.githubusercontent.com/u/10439156?v=3","gravatar_id":"","url":"https://api.github.com/users/petervo","html_url":"https://github.com/petervo","followers_url":"https://api.github.com/users/petervo/followers","following_url":"https://api.github.com/users/petervo/following{/other_user}","gists_url":"https://api.github.com/users/petervo/gists{/gist_id}","starred_url":"https://api.github.com/users/petervo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petervo/subscriptions","organizations_url":"https://api.github.com/users/petervo/orgs","repos_url":"https://api.github.com/users/petervo/repos","events_url":"https://api.github.com/users/petervo/events{/privacy}","received_events_url":"https://api.github.com/users/petervo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/petervo/cockpit","description":"Cockpit, a user interface for GNU/Linux servers","fork":true,"url":"https://api.github.com/repos/petervo/cockpit","forks_url":"https://api.github.com/repos/petervo/cockpit/forks","keys_url":"https://api.github.com/repos/petervo/cockpit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/petervo/cockpit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/petervo/cockpit/teams","hooks_url":"https://api.github.com/repos/petervo/cockpit/hooks","issue_events_url":"https://api.github.com/repos/petervo/cockpit/issues/events{/number}","events_url":"https://api.github.com/repos/petervo/cockpit/events","assignees_url":"https://api.github.com/repos/petervo/cockpit/assignees{/user}","branches_url":"https://api.github.com/repos/petervo/cockpit/branches{/branch}","tags_url":"https://api.github.com/repos/petervo/cockpit/tags","blobs_url":"https://api.github.com/repos/petervo/cockpit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/petervo/cockpit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/petervo/cockpit/git/refs{/sha}","trees_url":"https://api.github.com/repos/petervo/cockpit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/petervo/cockpit/statuses/{sha}","languages_url":"https://api.github.com/repos/petervo/cockpit/languages","stargazers_url":"https://api.github.com/repos/petervo/cockpit/stargazers","contributors_url":"https://api.github.com/repos/petervo/cockpit/contributors","subscribers_url":"https://api.github.com/repos/petervo/cockpit/subscribers","subscription_url":"https://api.github.com/repos/petervo/cockpit/subscription","commits_url":"https://api.github.com/repos/petervo/cockpit/commits{/sha}","git_commits_url":"https://api.github.com/repos/petervo/cockpit/git/commits{/sha}","comments_url":"https://api.github.com/repos/petervo/cockpit/comments{/number}","issue_comment_url":"https://api.github.com/repos/petervo/cockpit/issues/comments/{number}","contents_url":"https://api.github.com/repos/petervo/cockpit/contents/{+path}","compare_url":"https://api.github.com/repos/petervo/cockpit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/petervo/cockpit/merges","archive_url":"https://api.github.com/repos/petervo/cockpit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/petervo/cockpit/downloads","issues_url":"https://api.github.com/repos/petervo/cockpit/issues{/number}","pulls_url":"https://api.github.com/repos/petervo/cockpit/pulls{/number}","milestones_url":"https://api.github.com/repos/petervo/cockpit/milestones{/number}","notifications_url":"https://api.github.com/repos/petervo/cockpit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/petervo/cockpit/labels{/name}","releases_url":"https://api.github.com/repos/petervo/cockpit/releases{/id}","created_at":"2015-01-07T18:36:59Z","updated_at":"2015-01-30T21:56:20Z","pushed_at":"2015-01-30T21:56:18Z","git_url":"git://github.com/petervo/cockpit.git","ssh_url":"git@github.com:petervo/cockpit.git","clone_url":"https://github.com/petervo/cockpit.git","svn_url":"https://github.com/petervo/cockpit","homepage":"http://www.cockpit-project.org/","size":10564,"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":"cockpit-project:master","ref":"master","sha":"631aaf5ac20da78006fea5f5968c8618eaf8da4e","user":{"login":"cockpit-project","id":5765104,"avatar_url":"https://avatars.githubusercontent.com/u/5765104?v=3","gravatar_id":"","url":"https://api.github.com/users/cockpit-project","html_url":"https://github.com/cockpit-project","followers_url":"https://api.github.com/users/cockpit-project/followers","following_url":"https://api.github.com/users/cockpit-project/following{/other_user}","gists_url":"https://api.github.com/users/cockpit-project/gists{/gist_id}","starred_url":"https://api.github.com/users/cockpit-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cockpit-project/subscriptions","organizations_url":"https://api.github.com/users/cockpit-project/orgs","repos_url":"https://api.github.com/users/cockpit-project/repos","events_url":"https://api.github.com/users/cockpit-project/events{/privacy}","received_events_url":"https://api.github.com/users/cockpit-project/received_events","type":"Organization","site_admin":false},"repo":{"id":14049216,"name":"cockpit","full_name":"cockpit-project/cockpit","owner":{"login":"cockpit-project","id":5765104,"avatar_url":"https://avatars.githubusercontent.com/u/5765104?v=3","gravatar_id":"","url":"https://api.github.com/users/cockpit-project","html_url":"https://github.com/cockpit-project","followers_url":"https://api.github.com/users/cockpit-project/followers","following_url":"https://api.github.com/users/cockpit-project/following{/other_user}","gists_url":"https://api.github.com/users/cockpit-project/gists{/gist_id}","starred_url":"https://api.github.com/users/cockpit-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cockpit-project/subscriptions","organizations_url":"https://api.github.com/users/cockpit-project/orgs","repos_url":"https://api.github.com/users/cockpit-project/repos","events_url":"https://api.github.com/users/cockpit-project/events{/privacy}","received_events_url":"https://api.github.com/users/cockpit-project/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cockpit-project/cockpit","description":"Cockpit, a user interface for GNU/Linux servers","fork":false,"url":"https://api.github.com/repos/cockpit-project/cockpit","forks_url":"https://api.github.com/repos/cockpit-project/cockpit/forks","keys_url":"https://api.github.com/repos/cockpit-project/cockpit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cockpit-project/cockpit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cockpit-project/cockpit/teams","hooks_url":"https://api.github.com/repos/cockpit-project/cockpit/hooks","issue_events_url":"https://api.github.com/repos/cockpit-project/cockpit/issues/events{/number}","events_url":"https://api.github.com/repos/cockpit-project/cockpit/events","assignees_url":"https://api.github.com/repos/cockpit-project/cockpit/assignees{/user}","branches_url":"https://api.github.com/repos/cockpit-project/cockpit/branches{/branch}","tags_url":"https://api.github.com/repos/cockpit-project/cockpit/tags","blobs_url":"https://api.github.com/repos/cockpit-project/cockpit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cockpit-project/cockpit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cockpit-project/cockpit/git/refs{/sha}","trees_url":"https://api.github.com/repos/cockpit-project/cockpit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cockpit-project/cockpit/statuses/{sha}","languages_url":"https://api.github.com/repos/cockpit-project/cockpit/languages","stargazers_url":"https://api.github.com/repos/cockpit-project/cockpit/stargazers","contributors_url":"https://api.github.com/repos/cockpit-project/cockpit/contributors","subscribers_url":"https://api.github.com/repos/cockpit-project/cockpit/subscribers","subscription_url":"https://api.github.com/repos/cockpit-project/cockpit/subscription","commits_url":"https://api.github.com/repos/cockpit-project/cockpit/commits{/sha}","git_commits_url":"https://api.github.com/repos/cockpit-project/cockpit/git/commits{/sha}","comments_url":"https://api.github.com/repos/cockpit-project/cockpit/comments{/number}","issue_comment_url":"https://api.github.com/repos/cockpit-project/cockpit/issues/comments/{number}","contents_url":"https://api.github.com/repos/cockpit-project/cockpit/contents/{+path}","compare_url":"https://api.github.com/repos/cockpit-project/cockpit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cockpit-project/cockpit/merges","archive_url":"https://api.github.com/repos/cockpit-project/cockpit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cockpit-project/cockpit/downloads","issues_url":"https://api.github.com/repos/cockpit-project/cockpit/issues{/number}","pulls_url":"https://api.github.com/repos/cockpit-project/cockpit/pulls{/number}","milestones_url":"https://api.github.com/repos/cockpit-project/cockpit/milestones{/number}","notifications_url":"https://api.github.com/repos/cockpit-project/cockpit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cockpit-project/cockpit/labels{/name}","releases_url":"https://api.github.com/repos/cockpit-project/cockpit/releases{/id}","created_at":"2013-11-01T17:36:46Z","updated_at":"2015-01-30T15:56:30Z","pushed_at":"2015-01-30T15:56:30Z","git_url":"git://github.com/cockpit-project/cockpit.git","ssh_url":"git@github.com:cockpit-project/cockpit.git","clone_url":"https://github.com/cockpit-project/cockpit.git","svn_url":"https://github.com/cockpit-project/cockpit","homepage":"http://www.cockpit-project.org/","size":22805,"stargazers_count":875,"watchers_count":875,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":77,"mirror_url":null,"open_issues_count":292,"forks":77,"open_issues":292,"watchers":875,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cockpit-project/cockpit/pulls/1765"},"html":{"href":"https://github.com/cockpit-project/cockpit/pull/1765"},"issue":{"href":"https://api.github.com/repos/cockpit-project/cockpit/issues/1765"},"comments":{"href":"https://api.github.com/repos/cockpit-project/cockpit/issues/1765/comments"},"review_comments":{"href":"https://api.github.com/repos/cockpit-project/cockpit/pulls/1765/comments"},"review_comment":{"href":"https://api.github.com/repos/cockpit-project/cockpit/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/cockpit-project/cockpit/pulls/1765/commits"},"statuses":{"href":"https://api.github.com/repos/cockpit-project/cockpit/statuses/135631d76d2a58efca07e8bd174f9a31973dfbb3"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":102,"deletions":6,"changed_files":3}}