{"action":"opened","number":47,"pull_request":{"url":"https://api.github.com/repos/resin-io/drivelist/pulls/47","id":54893806,"html_url":"https://github.com/resin-io/drivelist/pull/47","diff_url":"https://github.com/resin-io/drivelist/pull/47.diff","patch_url":"https://github.com/resin-io/drivelist/pull/47.patch","issue_url":"https://api.github.com/repos/resin-io/drivelist/issues/47","number":47,"state":"open","locked":false,"title":"Trim trailing commas in parser","user":{"login":"jviotti","id":2192773,"avatar_url":"https://avatars.githubusercontent.com/u/2192773?v=3","gravatar_id":"","url":"https://api.github.com/users/jviotti","html_url":"https://github.com/jviotti","followers_url":"https://api.github.com/users/jviotti/followers","following_url":"https://api.github.com/users/jviotti/following{/other_user}","gists_url":"https://api.github.com/users/jviotti/gists{/gist_id}","starred_url":"https://api.github.com/users/jviotti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jviotti/subscriptions","organizations_url":"https://api.github.com/users/jviotti/orgs","repos_url":"https://api.github.com/users/jviotti/repos","events_url":"https://api.github.com/users/jviotti/events{/privacy}","received_events_url":"https://api.github.com/users/jviotti/received_events","type":"User","site_admin":false},"body":"On GNU/Linux, we emit a comma-separated string of the different\nmountpoints of a certain drive, for example `/mnt,/tmp/mnt,`.\n\nFor simplicity, the `linux.sh` script replaces all `\\n` with a comma,\ncausing all mountpoints to have a trailing comma, independently of\nhaving a single mountpoint or many.\n\nFixes: https://github.com/resin-io/drivelist/issues/46","created_at":"2016-01-01T17:29:41Z","updated_at":"2016-01-01T17:29:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/resin-io/drivelist/pulls/47/commits","review_comments_url":"https://api.github.com/repos/resin-io/drivelist/pulls/47/comments","review_comment_url":"https://api.github.com/repos/resin-io/drivelist/pulls/comments{/number}","comments_url":"https://api.github.com/repos/resin-io/drivelist/issues/47/comments","statuses_url":"https://api.github.com/repos/resin-io/drivelist/statuses/fb40c07279bbcdad6089e9a4b07373807f8b378b","head":{"label":"resin-io:fix/linux-mountpoint-trailing-comma","ref":"fix/linux-mountpoint-trailing-comma","sha":"fb40c07279bbcdad6089e9a4b07373807f8b378b","user":{"login":"resin-io","id":6157842,"avatar_url":"https://avatars.githubusercontent.com/u/6157842?v=3","gravatar_id":"","url":"https://api.github.com/users/resin-io","html_url":"https://github.com/resin-io","followers_url":"https://api.github.com/users/resin-io/followers","following_url":"https://api.github.com/users/resin-io/following{/other_user}","gists_url":"https://api.github.com/users/resin-io/gists{/gist_id}","starred_url":"https://api.github.com/users/resin-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/resin-io/subscriptions","organizations_url":"https://api.github.com/users/resin-io/orgs","repos_url":"https://api.github.com/users/resin-io/repos","events_url":"https://api.github.com/users/resin-io/events{/privacy}","received_events_url":"https://api.github.com/users/resin-io/received_events","type":"Organization","site_admin":false},"repo":{"id":30077787,"name":"drivelist","full_name":"resin-io/drivelist","owner":{"login":"resin-io","id":6157842,"avatar_url":"https://avatars.githubusercontent.com/u/6157842?v=3","gravatar_id":"","url":"https://api.github.com/users/resin-io","html_url":"https://github.com/resin-io","followers_url":"https://api.github.com/users/resin-io/followers","following_url":"https://api.github.com/users/resin-io/following{/other_user}","gists_url":"https://api.github.com/users/resin-io/gists{/gist_id}","starred_url":"https://api.github.com/users/resin-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/resin-io/subscriptions","organizations_url":"https://api.github.com/users/resin-io/orgs","repos_url":"https://api.github.com/users/resin-io/repos","events_url":"https://api.github.com/users/resin-io/events{/privacy}","received_events_url":"https://api.github.com/users/resin-io/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/resin-io/drivelist","description":"List all connected drives in your computer, in all major operating systems.","fork":false,"url":"https://api.github.com/repos/resin-io/drivelist","forks_url":"https://api.github.com/repos/resin-io/drivelist/forks","keys_url":"https://api.github.com/repos/resin-io/drivelist/keys{/key_id}","collaborators_url":"https://api.github.com/repos/resin-io/drivelist/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/resin-io/drivelist/teams","hooks_url":"https://api.github.com/repos/resin-io/drivelist/hooks","issue_events_url":"https://api.github.com/repos/resin-io/drivelist/issues/events{/number}","events_url":"https://api.github.com/repos/resin-io/drivelist/events","assignees_url":"https://api.github.com/repos/resin-io/drivelist/assignees{/user}","branches_url":"https://api.github.com/repos/resin-io/drivelist/branches{/branch}","tags_url":"https://api.github.com/repos/resin-io/drivelist/tags","blobs_url":"https://api.github.com/repos/resin-io/drivelist/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/resin-io/drivelist/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/resin-io/drivelist/git/refs{/sha}","trees_url":"https://api.github.com/repos/resin-io/drivelist/git/trees{/sha}","statuses_url":"https://api.github.com/repos/resin-io/drivelist/statuses/{sha}","languages_url":"https://api.github.com/repos/resin-io/drivelist/languages","stargazers_url":"https://api.github.com/repos/resin-io/drivelist/stargazers","contributors_url":"https://api.github.com/repos/resin-io/drivelist/contributors","subscribers_url":"https://api.github.com/repos/resin-io/drivelist/subscribers","subscription_url":"https://api.github.com/repos/resin-io/drivelist/subscription","commits_url":"https://api.github.com/repos/resin-io/drivelist/commits{/sha}","git_commits_url":"https://api.github.com/repos/resin-io/drivelist/git/commits{/sha}","comments_url":"https://api.github.com/repos/resin-io/drivelist/comments{/number}","issue_comment_url":"https://api.github.com/repos/resin-io/drivelist/issues/comments{/number}","contents_url":"https://api.github.com/repos/resin-io/drivelist/contents/{+path}","compare_url":"https://api.github.com/repos/resin-io/drivelist/compare/{base}...{head}","merges_url":"https://api.github.com/repos/resin-io/drivelist/merges","archive_url":"https://api.github.com/repos/resin-io/drivelist/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/resin-io/drivelist/downloads","issues_url":"https://api.github.com/repos/resin-io/drivelist/issues{/number}","pulls_url":"https://api.github.com/repos/resin-io/drivelist/pulls{/number}","milestones_url":"https://api.github.com/repos/resin-io/drivelist/milestones{/number}","notifications_url":"https://api.github.com/repos/resin-io/drivelist/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/resin-io/drivelist/labels{/name}","releases_url":"https://api.github.com/repos/resin-io/drivelist/releases{/id}","created_at":"2015-01-30T15:27:41Z","updated_at":"2015-12-29T07:03:20Z","pushed_at":"2016-01-01T17:29:38Z","git_url":"git://github.com/resin-io/drivelist.git","ssh_url":"git@github.com:resin-io/drivelist.git","clone_url":"https://github.com/resin-io/drivelist.git","svn_url":"https://github.com/resin-io/drivelist","homepage":null,"size":78,"stargazers_count":11,"watchers_count":11,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":4,"forks":9,"open_issues":4,"watchers":11,"default_branch":"master"}},"base":{"label":"resin-io:master","ref":"master","sha":"de4d7e589ea63466edb3b7d4d8d6ec441faf9143","user":{"login":"resin-io","id":6157842,"avatar_url":"https://avatars.githubusercontent.com/u/6157842?v=3","gravatar_id":"","url":"https://api.github.com/users/resin-io","html_url":"https://github.com/resin-io","followers_url":"https://api.github.com/users/resin-io/followers","following_url":"https://api.github.com/users/resin-io/following{/other_user}","gists_url":"https://api.github.com/users/resin-io/gists{/gist_id}","starred_url":"https://api.github.com/users/resin-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/resin-io/subscriptions","organizations_url":"https://api.github.com/users/resin-io/orgs","repos_url":"https://api.github.com/users/resin-io/repos","events_url":"https://api.github.com/users/resin-io/events{/privacy}","received_events_url":"https://api.github.com/users/resin-io/received_events","type":"Organization","site_admin":false},"repo":{"id":30077787,"name":"drivelist","full_name":"resin-io/drivelist","owner":{"login":"resin-io","id":6157842,"avatar_url":"https://avatars.githubusercontent.com/u/6157842?v=3","gravatar_id":"","url":"https://api.github.com/users/resin-io","html_url":"https://github.com/resin-io","followers_url":"https://api.github.com/users/resin-io/followers","following_url":"https://api.github.com/users/resin-io/following{/other_user}","gists_url":"https://api.github.com/users/resin-io/gists{/gist_id}","starred_url":"https://api.github.com/users/resin-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/resin-io/subscriptions","organizations_url":"https://api.github.com/users/resin-io/orgs","repos_url":"https://api.github.com/users/resin-io/repos","events_url":"https://api.github.com/users/resin-io/events{/privacy}","received_events_url":"https://api.github.com/users/resin-io/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/resin-io/drivelist","description":"List all connected drives in your computer, in all major operating systems.","fork":false,"url":"https://api.github.com/repos/resin-io/drivelist","forks_url":"https://api.github.com/repos/resin-io/drivelist/forks","keys_url":"https://api.github.com/repos/resin-io/drivelist/keys{/key_id}","collaborators_url":"https://api.github.com/repos/resin-io/drivelist/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/resin-io/drivelist/teams","hooks_url":"https://api.github.com/repos/resin-io/drivelist/hooks","issue_events_url":"https://api.github.com/repos/resin-io/drivelist/issues/events{/number}","events_url":"https://api.github.com/repos/resin-io/drivelist/events","assignees_url":"https://api.github.com/repos/resin-io/drivelist/assignees{/user}","branches_url":"https://api.github.com/repos/resin-io/drivelist/branches{/branch}","tags_url":"https://api.github.com/repos/resin-io/drivelist/tags","blobs_url":"https://api.github.com/repos/resin-io/drivelist/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/resin-io/drivelist/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/resin-io/drivelist/git/refs{/sha}","trees_url":"https://api.github.com/repos/resin-io/drivelist/git/trees{/sha}","statuses_url":"https://api.github.com/repos/resin-io/drivelist/statuses/{sha}","languages_url":"https://api.github.com/repos/resin-io/drivelist/languages","stargazers_url":"https://api.github.com/repos/resin-io/drivelist/stargazers","contributors_url":"https://api.github.com/repos/resin-io/drivelist/contributors","subscribers_url":"https://api.github.com/repos/resin-io/drivelist/subscribers","subscription_url":"https://api.github.com/repos/resin-io/drivelist/subscription","commits_url":"https://api.github.com/repos/resin-io/drivelist/commits{/sha}","git_commits_url":"https://api.github.com/repos/resin-io/drivelist/git/commits{/sha}","comments_url":"https://api.github.com/repos/resin-io/drivelist/comments{/number}","issue_comment_url":"https://api.github.com/repos/resin-io/drivelist/issues/comments{/number}","contents_url":"https://api.github.com/repos/resin-io/drivelist/contents/{+path}","compare_url":"https://api.github.com/repos/resin-io/drivelist/compare/{base}...{head}","merges_url":"https://api.github.com/repos/resin-io/drivelist/merges","archive_url":"https://api.github.com/repos/resin-io/drivelist/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/resin-io/drivelist/downloads","issues_url":"https://api.github.com/repos/resin-io/drivelist/issues{/number}","pulls_url":"https://api.github.com/repos/resin-io/drivelist/pulls{/number}","milestones_url":"https://api.github.com/repos/resin-io/drivelist/milestones{/number}","notifications_url":"https://api.github.com/repos/resin-io/drivelist/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/resin-io/drivelist/labels{/name}","releases_url":"https://api.github.com/repos/resin-io/drivelist/releases{/id}","created_at":"2015-01-30T15:27:41Z","updated_at":"2015-12-29T07:03:20Z","pushed_at":"2016-01-01T17:29:38Z","git_url":"git://github.com/resin-io/drivelist.git","ssh_url":"git@github.com:resin-io/drivelist.git","clone_url":"https://github.com/resin-io/drivelist.git","svn_url":"https://github.com/resin-io/drivelist","homepage":null,"size":78,"stargazers_count":11,"watchers_count":11,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":4,"forks":9,"open_issues":4,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/resin-io/drivelist/pulls/47"},"html":{"href":"https://github.com/resin-io/drivelist/pull/47"},"issue":{"href":"https://api.github.com/repos/resin-io/drivelist/issues/47"},"comments":{"href":"https://api.github.com/repos/resin-io/drivelist/issues/47/comments"},"review_comments":{"href":"https://api.github.com/repos/resin-io/drivelist/pulls/47/comments"},"review_comment":{"href":"https://api.github.com/repos/resin-io/drivelist/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/resin-io/drivelist/pulls/47/commits"},"statuses":{"href":"https://api.github.com/repos/resin-io/drivelist/statuses/fb40c07279bbcdad6089e9a4b07373807f8b378b"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":18,"deletions":2,"changed_files":3}}