{"action":"created","comment":{"url":"https://api.github.com/repos/openSUSE/libstorage-bgl-eval/pulls/comments/47502555","id":47502555,"diff_hunk":"@@ -0,0 +1,55 @@\n+\n+\n+#include <iostream>\n+\n+#include \"storage/Devices/BlkDeviceImpl.h\"\n+#include \"storage/Devices/VfatImpl.h\"\n+#include \"storage/Utils/StorageDefines.h\"\n+#include \"storage/Utils/SystemCmd.h\"\n+\n+\n+namespace storage\n+{\n+\n+    using namespace std;\n+\n+\n+    const char* DeviceTraits<Vfat>::classname = \"Vfat\";\n+\n+\n+    Vfat::Impl::Impl(const xmlNode* node)\n+\t: Filesystem::Impl(node)\n+    {\n+    }\n+\n+\n+    void\n+    Vfat::Impl::do_create() const\n+    {\n+\tconst BlkDevice* blkdevice = get_blkdevice();\n+\n+\tblkdevice->get_impl().wait_for_device();\n+\n+\tstring cmd_line = MKFSFATBIN \" \" + quote(blkdevice->get_name());\n+\tcout << cmd_line << endl;\n+\n+\tSystemCmd cmd(cmd_line);\n+\tif (cmd.retcode() != 0)\n+\t    throw runtime_error(\"create vfat failed\");","path":"storage/Devices/VfatImpl.cc","position":38,"original_position":38,"commit_id":"04eecdd3172b6f166720d32d55f1ad184b38dab0","original_commit_id":"04eecdd3172b6f166720d32d55f1ad184b38dab0","user":{"login":"shundhammer","id":11538225,"avatar_url":"https://avatars.githubusercontent.com/u/11538225?v=3","gravatar_id":"","url":"https://api.github.com/users/shundhammer","html_url":"https://github.com/shundhammer","followers_url":"https://api.github.com/users/shundhammer/followers","following_url":"https://api.github.com/users/shundhammer/following{/other_user}","gists_url":"https://api.github.com/users/shundhammer/gists{/gist_id}","starred_url":"https://api.github.com/users/shundhammer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shundhammer/subscriptions","organizations_url":"https://api.github.com/users/shundhammer/orgs","repos_url":"https://api.github.com/users/shundhammer/repos","events_url":"https://api.github.com/users/shundhammer/events{/privacy}","received_events_url":"https://api.github.com/users/shundhammer/received_events","type":"User","site_admin":false},"body":"use ST_THROW","created_at":"2015-12-14T14:26:42Z","updated_at":"2015-12-14T14:26:42Z","html_url":"https://github.com/openSUSE/libstorage-bgl-eval/pull/35#discussion_r47502555","pull_request_url":"https://api.github.com/repos/openSUSE/libstorage-bgl-eval/pulls/35","_links":{"self":{"href":"https://api.github.com/repos/openSUSE/libstorage-bgl-eval/pulls/comments/47502555"},"html":{"href":"https://github.com/openSUSE/libstorage-bgl-eval/pull/35#discussion_r47502555"},"pull_request":{"href":"https://api.github.com/repos/openSUSE/libstorage-bgl-eval/pulls/35"}}},"pull_request":{"url":"https://api.github.com/repos/openSUSE/libstorage-bgl-eval/pulls/35","id":53569421,"html_url":"https://github.com/openSUSE/libstorage-bgl-eval/pull/35","diff_url":"https://github.com/openSUSE/libstorage-bgl-eval/pull/35.diff","patch_url":"https://github.com/openSUSE/libstorage-bgl-eval/pull/35.patch","issue_url":"https://api.github.com/repos/openSUSE/libstorage-bgl-eval/issues/35","number":35,"state":"open","locked":false,"title":"- added basic VFAT and NTFS support","user":{"login":"aschnell","id":908062,"avatar_url":"https://avatars.githubusercontent.com/u/908062?v=3","gravatar_id":"","url":"https://api.github.com/users/aschnell","html_url":"https://github.com/aschnell","followers_url":"https://api.github.com/users/aschnell/followers","following_url":"https://api.github.com/users/aschnell/following{/other_user}","gists_url":"https://api.github.com/users/aschnell/gists{/gist_id}","starred_url":"https://api.github.com/users/aschnell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aschnell/subscriptions","organizations_url":"https://api.github.com/users/aschnell/orgs","repos_url":"https://api.github.com/users/aschnell/repos","events_url":"https://api.github.com/users/aschnell/events{/privacy}","received_events_url":"https://api.github.com/users/aschnell/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-12-14T14:14:57Z","updated_at":"2015-12-14T14:26:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"88ceeffef06c0e1d7d2f28eb438ec1f29fe3d59f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/openSUSE/libstorage-bgl-eval/pulls/35/commits","review_comments_url":"https://api.github.com/repos/openSUSE/libstorage-bgl-eval/pulls/35/comments","review_comment_url":"https://api.github.com/repos/openSUSE/libstorage-bgl-eval/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openSUSE/libstorage-bgl-eval/issues/35/comments","statuses_url":"https://api.github.com/repos/openSUSE/libstorage-bgl-eval/statuses/04eecdd3172b6f166720d32d55f1ad184b38dab0","head":{"label":"aschnell:master","ref":"master","sha":"04eecdd3172b6f166720d32d55f1ad184b38dab0","user":{"login":"aschnell","id":908062,"avatar_url":"https://avatars.githubusercontent.com/u/908062?v=3","gravatar_id":"","url":"https://api.github.com/users/aschnell","html_url":"https://github.com/aschnell","followers_url":"https://api.github.com/users/aschnell/followers","following_url":"https://api.github.com/users/aschnell/following{/other_user}","gists_url":"https://api.github.com/users/aschnell/gists{/gist_id}","starred_url":"https://api.github.com/users/aschnell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aschnell/subscriptions","organizations_url":"https://api.github.com/users/aschnell/orgs","repos_url":"https://api.github.com/users/aschnell/repos","events_url":"https://api.github.com/users/aschnell/events{/privacy}","received_events_url":"https://api.github.com/users/aschnell/received_events","type":"User","site_admin":false},"repo":{"id":44676385,"name":"libstorage-bgl-eval","full_name":"aschnell/libstorage-bgl-eval","owner":{"login":"aschnell","id":908062,"avatar_url":"https://avatars.githubusercontent.com/u/908062?v=3","gravatar_id":"","url":"https://api.github.com/users/aschnell","html_url":"https://github.com/aschnell","followers_url":"https://api.github.com/users/aschnell/followers","following_url":"https://api.github.com/users/aschnell/following{/other_user}","gists_url":"https://api.github.com/users/aschnell/gists{/gist_id}","starred_url":"https://api.github.com/users/aschnell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aschnell/subscriptions","organizations_url":"https://api.github.com/users/aschnell/orgs","repos_url":"https://api.github.com/users/aschnell/repos","events_url":"https://api.github.com/users/aschnell/events{/privacy}","received_events_url":"https://api.github.com/users/aschnell/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aschnell/libstorage-bgl-eval","description":"Evaluating use of boost graph library in libstorage","fork":true,"url":"https://api.github.com/repos/aschnell/libstorage-bgl-eval","forks_url":"https://api.github.com/repos/aschnell/libstorage-bgl-eval/forks","keys_url":"https://api.github.com/repos/aschnell/libstorage-bgl-eval/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aschnell/libstorage-bgl-eval/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aschnell/libstorage-bgl-eval/teams","hooks_url":"https://api.github.com/repos/aschnell/libstorage-bgl-eval/hooks","issue_events_url":"https://api.github.com/repos/aschnell/libstorage-bgl-eval/issues/events{/number}","events_url":"https://api.github.com/repos/aschnell/libstorage-bgl-eval/events","assignees_url":"https://api.github.com/repos/aschnell/libstorage-bgl-eval/assignees{/user}","branches_url":"https://api.github.com/repos/aschnell/libstorage-bgl-eval/branches{/branch}","tags_url":"https://api.github.com/repos/aschnell/libstorage-bgl-eval/tags","blobs_url":"https://api.github.com/repos/aschnell/libstorage-bgl-eval/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aschnell/libstorage-bgl-eval/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aschnell/libstorage-bgl-eval/git/refs{/sha}","trees_url":"https://api.github.com/repos/aschnell/libstorage-bgl-eval/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aschnell/libstorage-bgl-eval/statuses/{sha}","languages_url":"https://api.github.com/repos/aschnell/libstorage-bgl-eval/languages","stargazers_url":"https://api.github.com/repos/aschnell/libstorage-bgl-eval/stargazers","contributors_url":"https://api.github.com/repos/aschnell/libstorage-bgl-eval/contributors","subscribers_url":"https://api.github.com/repos/aschnell/libstorage-bgl-eval/subscribers","subscription_url":"https://api.github.com/repos/aschnell/libstorage-bgl-eval/subscription","commits_url":"https://api.github.com/repos/aschnell/libstorage-bgl-eval/commits{/sha}","git_commits_url":"https://api.github.com/repos/aschnell/libstorage-bgl-eval/git/commits{/sha}","comments_url":"https://api.github.com/repos/aschnell/libstorage-bgl-eval/comments{/number}","issue_comment_url":"https://api.github.com/repos/aschnell/libstorage-bgl-eval/issues/comments{/number}","contents_url":"https://api.github.com/repos/aschnell/libstorage-bgl-eval/contents/{+path}","compare_url":"https://api.github.com/repos/aschnell/libstorage-bgl-eval/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aschnell/libstorage-bgl-eval/merges","archive_url":"https://api.github.com/repos/aschnell/libstorage-bgl-eval/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aschnell/libstorage-bgl-eval/downloads","issues_url":"https://api.github.com/repos/aschnell/libstorage-bgl-eval/issues{/number}","pulls_url":"https://api.github.com/repos/aschnell/libstorage-bgl-eval/pulls{/number}","milestones_url":"https://api.github.com/repos/aschnell/libstorage-bgl-eval/milestones{/number}","notifications_url":"https://api.github.com/repos/aschnell/libstorage-bgl-eval/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aschnell/libstorage-bgl-eval/labels{/name}","releases_url":"https://api.github.com/repos/aschnell/libstorage-bgl-eval/releases{/id}","created_at":"2015-10-21T13:00:17Z","updated_at":"2015-10-21T13:00:18Z","pushed_at":"2015-12-14T14:08:19Z","git_url":"git://github.com/aschnell/libstorage-bgl-eval.git","ssh_url":"git@github.com:aschnell/libstorage-bgl-eval.git","clone_url":"https://github.com/aschnell/libstorage-bgl-eval.git","svn_url":"https://github.com/aschnell/libstorage-bgl-eval","homepage":null,"size":1030,"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":"openSUSE:master","ref":"master","sha":"dde429974fc80e687da29f2b837cf4b08c77481f","user":{"login":"openSUSE","id":623819,"avatar_url":"https://avatars.githubusercontent.com/u/623819?v=3","gravatar_id":"","url":"https://api.github.com/users/openSUSE","html_url":"https://github.com/openSUSE","followers_url":"https://api.github.com/users/openSUSE/followers","following_url":"https://api.github.com/users/openSUSE/following{/other_user}","gists_url":"https://api.github.com/users/openSUSE/gists{/gist_id}","starred_url":"https://api.github.com/users/openSUSE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openSUSE/subscriptions","organizations_url":"https://api.github.com/users/openSUSE/orgs","repos_url":"https://api.github.com/users/openSUSE/repos","events_url":"https://api.github.com/users/openSUSE/events{/privacy}","received_events_url":"https://api.github.com/users/openSUSE/received_events","type":"Organization","site_admin":false},"repo":{"id":25586824,"name":"libstorage-bgl-eval","full_name":"openSUSE/libstorage-bgl-eval","owner":{"login":"openSUSE","id":623819,"avatar_url":"https://avatars.githubusercontent.com/u/623819?v=3","gravatar_id":"","url":"https://api.github.com/users/openSUSE","html_url":"https://github.com/openSUSE","followers_url":"https://api.github.com/users/openSUSE/followers","following_url":"https://api.github.com/users/openSUSE/following{/other_user}","gists_url":"https://api.github.com/users/openSUSE/gists{/gist_id}","starred_url":"https://api.github.com/users/openSUSE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openSUSE/subscriptions","organizations_url":"https://api.github.com/users/openSUSE/orgs","repos_url":"https://api.github.com/users/openSUSE/repos","events_url":"https://api.github.com/users/openSUSE/events{/privacy}","received_events_url":"https://api.github.com/users/openSUSE/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openSUSE/libstorage-bgl-eval","description":"Evaluating use of boost graph library in libstorage","fork":false,"url":"https://api.github.com/repos/openSUSE/libstorage-bgl-eval","forks_url":"https://api.github.com/repos/openSUSE/libstorage-bgl-eval/forks","keys_url":"https://api.github.com/repos/openSUSE/libstorage-bgl-eval/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openSUSE/libstorage-bgl-eval/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openSUSE/libstorage-bgl-eval/teams","hooks_url":"https://api.github.com/repos/openSUSE/libstorage-bgl-eval/hooks","issue_events_url":"https://api.github.com/repos/openSUSE/libstorage-bgl-eval/issues/events{/number}","events_url":"https://api.github.com/repos/openSUSE/libstorage-bgl-eval/events","assignees_url":"https://api.github.com/repos/openSUSE/libstorage-bgl-eval/assignees{/user}","branches_url":"https://api.github.com/repos/openSUSE/libstorage-bgl-eval/branches{/branch}","tags_url":"https://api.github.com/repos/openSUSE/libstorage-bgl-eval/tags","blobs_url":"https://api.github.com/repos/openSUSE/libstorage-bgl-eval/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openSUSE/libstorage-bgl-eval/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openSUSE/libstorage-bgl-eval/git/refs{/sha}","trees_url":"https://api.github.com/repos/openSUSE/libstorage-bgl-eval/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openSUSE/libstorage-bgl-eval/statuses/{sha}","languages_url":"https://api.github.com/repos/openSUSE/libstorage-bgl-eval/languages","stargazers_url":"https://api.github.com/repos/openSUSE/libstorage-bgl-eval/stargazers","contributors_url":"https://api.github.com/repos/openSUSE/libstorage-bgl-eval/contributors","subscribers_url":"https://api.github.com/repos/openSUSE/libstorage-bgl-eval/subscribers","subscription_url":"https://api.github.com/repos/openSUSE/libstorage-bgl-eval/subscription","commits_url":"https://api.github.com/repos/openSUSE/libstorage-bgl-eval/commits{/sha}","git_commits_url":"https://api.github.com/repos/openSUSE/libstorage-bgl-eval/git/commits{/sha}","comments_url":"https://api.github.com/repos/openSUSE/libstorage-bgl-eval/comments{/number}","issue_comment_url":"https://api.github.com/repos/openSUSE/libstorage-bgl-eval/issues/comments{/number}","contents_url":"https://api.github.com/repos/openSUSE/libstorage-bgl-eval/contents/{+path}","compare_url":"https://api.github.com/repos/openSUSE/libstorage-bgl-eval/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openSUSE/libstorage-bgl-eval/merges","archive_url":"https://api.github.com/repos/openSUSE/libstorage-bgl-eval/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openSUSE/libstorage-bgl-eval/downloads","issues_url":"https://api.github.com/repos/openSUSE/libstorage-bgl-eval/issues{/number}","pulls_url":"https://api.github.com/repos/openSUSE/libstorage-bgl-eval/pulls{/number}","milestones_url":"https://api.github.com/repos/openSUSE/libstorage-bgl-eval/milestones{/number}","notifications_url":"https://api.github.com/repos/openSUSE/libstorage-bgl-eval/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openSUSE/libstorage-bgl-eval/labels{/name}","releases_url":"https://api.github.com/repos/openSUSE/libstorage-bgl-eval/releases{/id}","created_at":"2014-10-22T14:46:51Z","updated_at":"2015-11-11T07:37:48Z","pushed_at":"2015-12-14T14:14:58Z","git_url":"git://github.com/openSUSE/libstorage-bgl-eval.git","ssh_url":"git@github.com:openSUSE/libstorage-bgl-eval.git","clone_url":"https://github.com/openSUSE/libstorage-bgl-eval.git","svn_url":"https://github.com/openSUSE/libstorage-bgl-eval","homepage":null,"size":1013,"stargazers_count":2,"watchers_count":2,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":1,"forks":5,"open_issues":1,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openSUSE/libstorage-bgl-eval/pulls/35"},"html":{"href":"https://github.com/openSUSE/libstorage-bgl-eval/pull/35"},"issue":{"href":"https://api.github.com/repos/openSUSE/libstorage-bgl-eval/issues/35"},"comments":{"href":"https://api.github.com/repos/openSUSE/libstorage-bgl-eval/issues/35/comments"},"review_comments":{"href":"https://api.github.com/repos/openSUSE/libstorage-bgl-eval/pulls/35/comments"},"review_comment":{"href":"https://api.github.com/repos/openSUSE/libstorage-bgl-eval/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openSUSE/libstorage-bgl-eval/pulls/35/commits"},"statuses":{"href":"https://api.github.com/repos/openSUSE/libstorage-bgl-eval/statuses/04eecdd3172b6f166720d32d55f1ad184b38dab0"}}}}