{"action":"created","comment":{"url":"https://api.github.com/repos/intel-iot-devkit/mraa/pulls/comments/66480057","id":66480057,"diff_hunk":"@@ -215,7 +216,7 @@ typedef struct {\n     /*@{*/\n     unsigned int pinmap; /**< sysfs pin */\n     unsigned int parent_id; /** parent chip id */\n-    unsigned int mux_total; /** Numfer of muxes needed for operation of pin */\n+    unsigned int mux_total; /** Number of muxes needed for operation of pin */","path":"include/mraa_internal_types.h","position":13,"original_position":13,"commit_id":"994c8be47cc23cc48f4d9bdaa71e85451fd4c0fa","original_commit_id":"994c8be47cc23cc48f4d9bdaa71e85451fd4c0fa","user":{"login":"alext-mkrs","id":6135723,"avatar_url":"https://avatars.githubusercontent.com/u/6135723?v=3","gravatar_id":"","url":"https://api.github.com/users/alext-mkrs","html_url":"https://github.com/alext-mkrs","followers_url":"https://api.github.com/users/alext-mkrs/followers","following_url":"https://api.github.com/users/alext-mkrs/following{/other_user}","gists_url":"https://api.github.com/users/alext-mkrs/gists{/gist_id}","starred_url":"https://api.github.com/users/alext-mkrs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alext-mkrs/subscriptions","organizations_url":"https://api.github.com/users/alext-mkrs/orgs","repos_url":"https://api.github.com/users/alext-mkrs/repos","events_url":"https://api.github.com/users/alext-mkrs/events{/privacy}","received_events_url":"https://api.github.com/users/alext-mkrs/received_events","type":"User","site_admin":false},"body":"Styling/typo fixes not directly related to the change at hand should better be split out into separate commits.\r\n\r\nOthserwise they pollute git history and make it harder to git bisect/blame","created_at":"2016-06-09T17:00:20Z","updated_at":"2016-06-09T17:00:20Z","html_url":"https://github.com/intel-iot-devkit/mraa/pull/523#discussion_r66480057","pull_request_url":"https://api.github.com/repos/intel-iot-devkit/mraa/pulls/523","_links":{"self":{"href":"https://api.github.com/repos/intel-iot-devkit/mraa/pulls/comments/66480057"},"html":{"href":"https://github.com/intel-iot-devkit/mraa/pull/523#discussion_r66480057"},"pull_request":{"href":"https://api.github.com/repos/intel-iot-devkit/mraa/pulls/523"}}},"pull_request":{"url":"https://api.github.com/repos/intel-iot-devkit/mraa/pulls/523","id":72884379,"html_url":"https://github.com/intel-iot-devkit/mraa/pull/523","diff_url":"https://github.com/intel-iot-devkit/mraa/pull/523.diff","patch_url":"https://github.com/intel-iot-devkit/mraa/pull/523.patch","issue_url":"https://api.github.com/repos/intel-iot-devkit/mraa/issues/523","number":523,"state":"open","locked":false,"title":"Support to old fashion GPIOs class path names","user":{"login":"bmeneguele","id":453611,"avatar_url":"https://avatars.githubusercontent.com/u/453611?v=3","gravatar_id":"","url":"https://api.github.com/users/bmeneguele","html_url":"https://github.com/bmeneguele","followers_url":"https://api.github.com/users/bmeneguele/followers","following_url":"https://api.github.com/users/bmeneguele/following{/other_user}","gists_url":"https://api.github.com/users/bmeneguele/gists{/gist_id}","starred_url":"https://api.github.com/users/bmeneguele/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmeneguele/subscriptions","organizations_url":"https://api.github.com/users/bmeneguele/orgs","repos_url":"https://api.github.com/users/bmeneguele/repos","events_url":"https://api.github.com/users/bmeneguele/events{/privacy}","received_events_url":"https://api.github.com/users/bmeneguele/received_events","type":"User","site_admin":false},"body":"Old kernel version (3.x) use gpio paths in the format of gpio<pin_number>_<pin_name>, where both were defined at .fex files passed by the bootloader to the kernel with hardware information.\r\n\r\nLibmraa didn't support this kind of paths because all gpio operations were done with hard coded path names. With this commit it's possible to run libmraa either on newer kernel version and older ones, with both formats of gpio sysfs paths.\r\n\r\nThis PR also guarantees the kernel version discovery either when the gpio was already exported by any other process or when it is the first time used.","created_at":"2016-06-07T14:23:08Z","updated_at":"2016-06-09T17:00:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"eb5b6b9fd0ffb122c561316d86e023ff4bc94b35","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/intel-iot-devkit/mraa/pulls/523/commits","review_comments_url":"https://api.github.com/repos/intel-iot-devkit/mraa/pulls/523/comments","review_comment_url":"https://api.github.com/repos/intel-iot-devkit/mraa/pulls/comments{/number}","comments_url":"https://api.github.com/repos/intel-iot-devkit/mraa/issues/523/comments","statuses_url":"https://api.github.com/repos/intel-iot-devkit/mraa/statuses/994c8be47cc23cc48f4d9bdaa71e85451fd4c0fa","head":{"label":"bmeneguele:feature-gpio-class-#520","ref":"feature-gpio-class-#520","sha":"994c8be47cc23cc48f4d9bdaa71e85451fd4c0fa","user":{"login":"bmeneguele","id":453611,"avatar_url":"https://avatars.githubusercontent.com/u/453611?v=3","gravatar_id":"","url":"https://api.github.com/users/bmeneguele","html_url":"https://github.com/bmeneguele","followers_url":"https://api.github.com/users/bmeneguele/followers","following_url":"https://api.github.com/users/bmeneguele/following{/other_user}","gists_url":"https://api.github.com/users/bmeneguele/gists{/gist_id}","starred_url":"https://api.github.com/users/bmeneguele/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmeneguele/subscriptions","organizations_url":"https://api.github.com/users/bmeneguele/orgs","repos_url":"https://api.github.com/users/bmeneguele/repos","events_url":"https://api.github.com/users/bmeneguele/events{/privacy}","received_events_url":"https://api.github.com/users/bmeneguele/received_events","type":"User","site_admin":false},"repo":{"id":58897530,"name":"mraa","full_name":"bmeneguele/mraa","owner":{"login":"bmeneguele","id":453611,"avatar_url":"https://avatars.githubusercontent.com/u/453611?v=3","gravatar_id":"","url":"https://api.github.com/users/bmeneguele","html_url":"https://github.com/bmeneguele","followers_url":"https://api.github.com/users/bmeneguele/followers","following_url":"https://api.github.com/users/bmeneguele/following{/other_user}","gists_url":"https://api.github.com/users/bmeneguele/gists{/gist_id}","starred_url":"https://api.github.com/users/bmeneguele/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmeneguele/subscriptions","organizations_url":"https://api.github.com/users/bmeneguele/orgs","repos_url":"https://api.github.com/users/bmeneguele/repos","events_url":"https://api.github.com/users/bmeneguele/events{/privacy}","received_events_url":"https://api.github.com/users/bmeneguele/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bmeneguele/mraa","description":"Low Level Skeleton Library for IO Communication on GNU/Linux platforms","fork":true,"url":"https://api.github.com/repos/bmeneguele/mraa","forks_url":"https://api.github.com/repos/bmeneguele/mraa/forks","keys_url":"https://api.github.com/repos/bmeneguele/mraa/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bmeneguele/mraa/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bmeneguele/mraa/teams","hooks_url":"https://api.github.com/repos/bmeneguele/mraa/hooks","issue_events_url":"https://api.github.com/repos/bmeneguele/mraa/issues/events{/number}","events_url":"https://api.github.com/repos/bmeneguele/mraa/events","assignees_url":"https://api.github.com/repos/bmeneguele/mraa/assignees{/user}","branches_url":"https://api.github.com/repos/bmeneguele/mraa/branches{/branch}","tags_url":"https://api.github.com/repos/bmeneguele/mraa/tags","blobs_url":"https://api.github.com/repos/bmeneguele/mraa/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bmeneguele/mraa/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bmeneguele/mraa/git/refs{/sha}","trees_url":"https://api.github.com/repos/bmeneguele/mraa/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bmeneguele/mraa/statuses/{sha}","languages_url":"https://api.github.com/repos/bmeneguele/mraa/languages","stargazers_url":"https://api.github.com/repos/bmeneguele/mraa/stargazers","contributors_url":"https://api.github.com/repos/bmeneguele/mraa/contributors","subscribers_url":"https://api.github.com/repos/bmeneguele/mraa/subscribers","subscription_url":"https://api.github.com/repos/bmeneguele/mraa/subscription","commits_url":"https://api.github.com/repos/bmeneguele/mraa/commits{/sha}","git_commits_url":"https://api.github.com/repos/bmeneguele/mraa/git/commits{/sha}","comments_url":"https://api.github.com/repos/bmeneguele/mraa/comments{/number}","issue_comment_url":"https://api.github.com/repos/bmeneguele/mraa/issues/comments{/number}","contents_url":"https://api.github.com/repos/bmeneguele/mraa/contents/{+path}","compare_url":"https://api.github.com/repos/bmeneguele/mraa/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bmeneguele/mraa/merges","archive_url":"https://api.github.com/repos/bmeneguele/mraa/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bmeneguele/mraa/downloads","issues_url":"https://api.github.com/repos/bmeneguele/mraa/issues{/number}","pulls_url":"https://api.github.com/repos/bmeneguele/mraa/pulls{/number}","milestones_url":"https://api.github.com/repos/bmeneguele/mraa/milestones{/number}","notifications_url":"https://api.github.com/repos/bmeneguele/mraa/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bmeneguele/mraa/labels{/name}","releases_url":"https://api.github.com/repos/bmeneguele/mraa/releases{/id}","deployments_url":"https://api.github.com/repos/bmeneguele/mraa/deployments","created_at":"2016-05-16T02:28:00Z","updated_at":"2016-05-16T02:28:01Z","pushed_at":"2016-06-08T15:11:54Z","git_url":"git://github.com/bmeneguele/mraa.git","ssh_url":"git@github.com:bmeneguele/mraa.git","clone_url":"https://github.com/bmeneguele/mraa.git","svn_url":"https://github.com/bmeneguele/mraa","homepage":"","size":2239,"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":"intel-iot-devkit:master","ref":"master","sha":"c413a43d5a127f9c5b7d7f5cc2df203a7f1734f3","user":{"login":"intel-iot-devkit","id":7722711,"avatar_url":"https://avatars.githubusercontent.com/u/7722711?v=3","gravatar_id":"","url":"https://api.github.com/users/intel-iot-devkit","html_url":"https://github.com/intel-iot-devkit","followers_url":"https://api.github.com/users/intel-iot-devkit/followers","following_url":"https://api.github.com/users/intel-iot-devkit/following{/other_user}","gists_url":"https://api.github.com/users/intel-iot-devkit/gists{/gist_id}","starred_url":"https://api.github.com/users/intel-iot-devkit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/intel-iot-devkit/subscriptions","organizations_url":"https://api.github.com/users/intel-iot-devkit/orgs","repos_url":"https://api.github.com/users/intel-iot-devkit/repos","events_url":"https://api.github.com/users/intel-iot-devkit/events{/privacy}","received_events_url":"https://api.github.com/users/intel-iot-devkit/received_events","type":"Organization","site_admin":false},"repo":{"id":20253182,"name":"mraa","full_name":"intel-iot-devkit/mraa","owner":{"login":"intel-iot-devkit","id":7722711,"avatar_url":"https://avatars.githubusercontent.com/u/7722711?v=3","gravatar_id":"","url":"https://api.github.com/users/intel-iot-devkit","html_url":"https://github.com/intel-iot-devkit","followers_url":"https://api.github.com/users/intel-iot-devkit/followers","following_url":"https://api.github.com/users/intel-iot-devkit/following{/other_user}","gists_url":"https://api.github.com/users/intel-iot-devkit/gists{/gist_id}","starred_url":"https://api.github.com/users/intel-iot-devkit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/intel-iot-devkit/subscriptions","organizations_url":"https://api.github.com/users/intel-iot-devkit/orgs","repos_url":"https://api.github.com/users/intel-iot-devkit/repos","events_url":"https://api.github.com/users/intel-iot-devkit/events{/privacy}","received_events_url":"https://api.github.com/users/intel-iot-devkit/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/intel-iot-devkit/mraa","description":"Low Level Skeleton Library for IO Communication on GNU/Linux platforms","fork":false,"url":"https://api.github.com/repos/intel-iot-devkit/mraa","forks_url":"https://api.github.com/repos/intel-iot-devkit/mraa/forks","keys_url":"https://api.github.com/repos/intel-iot-devkit/mraa/keys{/key_id}","collaborators_url":"https://api.github.com/repos/intel-iot-devkit/mraa/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/intel-iot-devkit/mraa/teams","hooks_url":"https://api.github.com/repos/intel-iot-devkit/mraa/hooks","issue_events_url":"https://api.github.com/repos/intel-iot-devkit/mraa/issues/events{/number}","events_url":"https://api.github.com/repos/intel-iot-devkit/mraa/events","assignees_url":"https://api.github.com/repos/intel-iot-devkit/mraa/assignees{/user}","branches_url":"https://api.github.com/repos/intel-iot-devkit/mraa/branches{/branch}","tags_url":"https://api.github.com/repos/intel-iot-devkit/mraa/tags","blobs_url":"https://api.github.com/repos/intel-iot-devkit/mraa/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/intel-iot-devkit/mraa/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/intel-iot-devkit/mraa/git/refs{/sha}","trees_url":"https://api.github.com/repos/intel-iot-devkit/mraa/git/trees{/sha}","statuses_url":"https://api.github.com/repos/intel-iot-devkit/mraa/statuses/{sha}","languages_url":"https://api.github.com/repos/intel-iot-devkit/mraa/languages","stargazers_url":"https://api.github.com/repos/intel-iot-devkit/mraa/stargazers","contributors_url":"https://api.github.com/repos/intel-iot-devkit/mraa/contributors","subscribers_url":"https://api.github.com/repos/intel-iot-devkit/mraa/subscribers","subscription_url":"https://api.github.com/repos/intel-iot-devkit/mraa/subscription","commits_url":"https://api.github.com/repos/intel-iot-devkit/mraa/commits{/sha}","git_commits_url":"https://api.github.com/repos/intel-iot-devkit/mraa/git/commits{/sha}","comments_url":"https://api.github.com/repos/intel-iot-devkit/mraa/comments{/number}","issue_comment_url":"https://api.github.com/repos/intel-iot-devkit/mraa/issues/comments{/number}","contents_url":"https://api.github.com/repos/intel-iot-devkit/mraa/contents/{+path}","compare_url":"https://api.github.com/repos/intel-iot-devkit/mraa/compare/{base}...{head}","merges_url":"https://api.github.com/repos/intel-iot-devkit/mraa/merges","archive_url":"https://api.github.com/repos/intel-iot-devkit/mraa/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/intel-iot-devkit/mraa/downloads","issues_url":"https://api.github.com/repos/intel-iot-devkit/mraa/issues{/number}","pulls_url":"https://api.github.com/repos/intel-iot-devkit/mraa/pulls{/number}","milestones_url":"https://api.github.com/repos/intel-iot-devkit/mraa/milestones{/number}","notifications_url":"https://api.github.com/repos/intel-iot-devkit/mraa/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/intel-iot-devkit/mraa/labels{/name}","releases_url":"https://api.github.com/repos/intel-iot-devkit/mraa/releases{/id}","deployments_url":"https://api.github.com/repos/intel-iot-devkit/mraa/deployments","created_at":"2014-05-28T10:09:14Z","updated_at":"2016-06-09T09:17:04Z","pushed_at":"2016-06-08T15:11:55Z","git_url":"git://github.com/intel-iot-devkit/mraa.git","ssh_url":"git@github.com:intel-iot-devkit/mraa.git","clone_url":"https://github.com/intel-iot-devkit/mraa.git","svn_url":"https://github.com/intel-iot-devkit/mraa","homepage":"","size":3811,"stargazers_count":602,"watchers_count":602,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":275,"mirror_url":null,"open_issues_count":57,"forks":275,"open_issues":57,"watchers":602,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/intel-iot-devkit/mraa/pulls/523"},"html":{"href":"https://github.com/intel-iot-devkit/mraa/pull/523"},"issue":{"href":"https://api.github.com/repos/intel-iot-devkit/mraa/issues/523"},"comments":{"href":"https://api.github.com/repos/intel-iot-devkit/mraa/issues/523/comments"},"review_comments":{"href":"https://api.github.com/repos/intel-iot-devkit/mraa/pulls/523/comments"},"review_comment":{"href":"https://api.github.com/repos/intel-iot-devkit/mraa/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/intel-iot-devkit/mraa/pulls/523/commits"},"statuses":{"href":"https://api.github.com/repos/intel-iot-devkit/mraa/statuses/994c8be47cc23cc48f4d9bdaa71e85451fd4c0fa"}}}}
{"actor":{"display_login":"alext-mkrs"}}