{"action":"opened","number":4,"pull_request":{"url":"https://api.github.com/repos/LowPowerLab/RaspberryPi-Gateway/pulls/4","id":50343989,"html_url":"https://github.com/LowPowerLab/RaspberryPi-Gateway/pull/4","diff_url":"https://github.com/LowPowerLab/RaspberryPi-Gateway/pull/4.diff","patch_url":"https://github.com/LowPowerLab/RaspberryPi-Gateway/pull/4.patch","issue_url":"https://api.github.com/repos/LowPowerLab/RaspberryPi-Gateway/issues/4","number":4,"state":"open","locked":false,"title":"Removed trailing spaces from various files.","user":{"login":"karrots","id":6307688,"avatar_url":"https://avatars.githubusercontent.com/u/6307688?v=3","gravatar_id":"","url":"https://api.github.com/users/karrots","html_url":"https://github.com/karrots","followers_url":"https://api.github.com/users/karrots/followers","following_url":"https://api.github.com/users/karrots/following{/other_user}","gists_url":"https://api.github.com/users/karrots/gists{/gist_id}","starred_url":"https://api.github.com/users/karrots/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karrots/subscriptions","organizations_url":"https://api.github.com/users/karrots/orgs","repos_url":"https://api.github.com/users/karrots/repos","events_url":"https://api.github.com/users/karrots/events{/privacy}","received_events_url":"https://api.github.com/users/karrots/received_events","type":"User","site_admin":false},"body":"This will help clean up future patches. I used the program https://github.com/dlenski/wtf to remove trailing spaces and fix new lines at end of files. I suggest applying this before the other patches to make them a bit more readable.\r\n\r\nWhat editor and what OS do you use when programming? Most can be configured to prevent this type of white space from showing up.","created_at":"2015-11-11T03:23:17Z","updated_at":"2015-11-11T03:23:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/LowPowerLab/RaspberryPi-Gateway/pulls/4/commits","review_comments_url":"https://api.github.com/repos/LowPowerLab/RaspberryPi-Gateway/pulls/4/comments","review_comment_url":"https://api.github.com/repos/LowPowerLab/RaspberryPi-Gateway/pulls/comments{/number}","comments_url":"https://api.github.com/repos/LowPowerLab/RaspberryPi-Gateway/issues/4/comments","statuses_url":"https://api.github.com/repos/LowPowerLab/RaspberryPi-Gateway/statuses/efcc4cf1fc776649a363f7e28fe2274c2ec12699","head":{"label":"karrots:whitespace_removal","ref":"whitespace_removal","sha":"efcc4cf1fc776649a363f7e28fe2274c2ec12699","user":{"login":"karrots","id":6307688,"avatar_url":"https://avatars.githubusercontent.com/u/6307688?v=3","gravatar_id":"","url":"https://api.github.com/users/karrots","html_url":"https://github.com/karrots","followers_url":"https://api.github.com/users/karrots/followers","following_url":"https://api.github.com/users/karrots/following{/other_user}","gists_url":"https://api.github.com/users/karrots/gists{/gist_id}","starred_url":"https://api.github.com/users/karrots/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karrots/subscriptions","organizations_url":"https://api.github.com/users/karrots/orgs","repos_url":"https://api.github.com/users/karrots/repos","events_url":"https://api.github.com/users/karrots/events{/privacy}","received_events_url":"https://api.github.com/users/karrots/received_events","type":"User","site_admin":false},"repo":{"id":42368188,"name":"RaspberryPi-Gateway","full_name":"karrots/RaspberryPi-Gateway","owner":{"login":"karrots","id":6307688,"avatar_url":"https://avatars.githubusercontent.com/u/6307688?v=3","gravatar_id":"","url":"https://api.github.com/users/karrots","html_url":"https://github.com/karrots","followers_url":"https://api.github.com/users/karrots/followers","following_url":"https://api.github.com/users/karrots/following{/other_user}","gists_url":"https://api.github.com/users/karrots/gists{/gist_id}","starred_url":"https://api.github.com/users/karrots/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karrots/subscriptions","organizations_url":"https://api.github.com/users/karrots/orgs","repos_url":"https://api.github.com/users/karrots/repos","events_url":"https://api.github.com/users/karrots/events{/privacy}","received_events_url":"https://api.github.com/users/karrots/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/karrots/RaspberryPi-Gateway","description":"RaspberryPi code that listens on the serial port and passes data to EmonCMS","fork":true,"url":"https://api.github.com/repos/karrots/RaspberryPi-Gateway","forks_url":"https://api.github.com/repos/karrots/RaspberryPi-Gateway/forks","keys_url":"https://api.github.com/repos/karrots/RaspberryPi-Gateway/keys{/key_id}","collaborators_url":"https://api.github.com/repos/karrots/RaspberryPi-Gateway/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/karrots/RaspberryPi-Gateway/teams","hooks_url":"https://api.github.com/repos/karrots/RaspberryPi-Gateway/hooks","issue_events_url":"https://api.github.com/repos/karrots/RaspberryPi-Gateway/issues/events{/number}","events_url":"https://api.github.com/repos/karrots/RaspberryPi-Gateway/events","assignees_url":"https://api.github.com/repos/karrots/RaspberryPi-Gateway/assignees{/user}","branches_url":"https://api.github.com/repos/karrots/RaspberryPi-Gateway/branches{/branch}","tags_url":"https://api.github.com/repos/karrots/RaspberryPi-Gateway/tags","blobs_url":"https://api.github.com/repos/karrots/RaspberryPi-Gateway/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/karrots/RaspberryPi-Gateway/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/karrots/RaspberryPi-Gateway/git/refs{/sha}","trees_url":"https://api.github.com/repos/karrots/RaspberryPi-Gateway/git/trees{/sha}","statuses_url":"https://api.github.com/repos/karrots/RaspberryPi-Gateway/statuses/{sha}","languages_url":"https://api.github.com/repos/karrots/RaspberryPi-Gateway/languages","stargazers_url":"https://api.github.com/repos/karrots/RaspberryPi-Gateway/stargazers","contributors_url":"https://api.github.com/repos/karrots/RaspberryPi-Gateway/contributors","subscribers_url":"https://api.github.com/repos/karrots/RaspberryPi-Gateway/subscribers","subscription_url":"https://api.github.com/repos/karrots/RaspberryPi-Gateway/subscription","commits_url":"https://api.github.com/repos/karrots/RaspberryPi-Gateway/commits{/sha}","git_commits_url":"https://api.github.com/repos/karrots/RaspberryPi-Gateway/git/commits{/sha}","comments_url":"https://api.github.com/repos/karrots/RaspberryPi-Gateway/comments{/number}","issue_comment_url":"https://api.github.com/repos/karrots/RaspberryPi-Gateway/issues/comments{/number}","contents_url":"https://api.github.com/repos/karrots/RaspberryPi-Gateway/contents/{+path}","compare_url":"https://api.github.com/repos/karrots/RaspberryPi-Gateway/compare/{base}...{head}","merges_url":"https://api.github.com/repos/karrots/RaspberryPi-Gateway/merges","archive_url":"https://api.github.com/repos/karrots/RaspberryPi-Gateway/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/karrots/RaspberryPi-Gateway/downloads","issues_url":"https://api.github.com/repos/karrots/RaspberryPi-Gateway/issues{/number}","pulls_url":"https://api.github.com/repos/karrots/RaspberryPi-Gateway/pulls{/number}","milestones_url":"https://api.github.com/repos/karrots/RaspberryPi-Gateway/milestones{/number}","notifications_url":"https://api.github.com/repos/karrots/RaspberryPi-Gateway/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/karrots/RaspberryPi-Gateway/labels{/name}","releases_url":"https://api.github.com/repos/karrots/RaspberryPi-Gateway/releases{/id}","created_at":"2015-09-12T18:29:42Z","updated_at":"2015-09-13T06:01:22Z","pushed_at":"2015-11-11T02:52:12Z","git_url":"git://github.com/karrots/RaspberryPi-Gateway.git","ssh_url":"git@github.com:karrots/RaspberryPi-Gateway.git","clone_url":"https://github.com/karrots/RaspberryPi-Gateway.git","svn_url":"https://github.com/karrots/RaspberryPi-Gateway","homepage":null,"size":5316,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"LowPowerLab:master","ref":"master","sha":"bbffe5e664a9c80e1d2db40e4c8f74cc5d65833c","user":{"login":"LowPowerLab","id":3129069,"avatar_url":"https://avatars.githubusercontent.com/u/3129069?v=3","gravatar_id":"","url":"https://api.github.com/users/LowPowerLab","html_url":"https://github.com/LowPowerLab","followers_url":"https://api.github.com/users/LowPowerLab/followers","following_url":"https://api.github.com/users/LowPowerLab/following{/other_user}","gists_url":"https://api.github.com/users/LowPowerLab/gists{/gist_id}","starred_url":"https://api.github.com/users/LowPowerLab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LowPowerLab/subscriptions","organizations_url":"https://api.github.com/users/LowPowerLab/orgs","repos_url":"https://api.github.com/users/LowPowerLab/repos","events_url":"https://api.github.com/users/LowPowerLab/events{/privacy}","received_events_url":"https://api.github.com/users/LowPowerLab/received_events","type":"User","site_admin":false},"repo":{"id":7982260,"name":"RaspberryPi-Gateway","full_name":"LowPowerLab/RaspberryPi-Gateway","owner":{"login":"LowPowerLab","id":3129069,"avatar_url":"https://avatars.githubusercontent.com/u/3129069?v=3","gravatar_id":"","url":"https://api.github.com/users/LowPowerLab","html_url":"https://github.com/LowPowerLab","followers_url":"https://api.github.com/users/LowPowerLab/followers","following_url":"https://api.github.com/users/LowPowerLab/following{/other_user}","gists_url":"https://api.github.com/users/LowPowerLab/gists{/gist_id}","starred_url":"https://api.github.com/users/LowPowerLab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LowPowerLab/subscriptions","organizations_url":"https://api.github.com/users/LowPowerLab/orgs","repos_url":"https://api.github.com/users/LowPowerLab/repos","events_url":"https://api.github.com/users/LowPowerLab/events{/privacy}","received_events_url":"https://api.github.com/users/LowPowerLab/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/LowPowerLab/RaspberryPi-Gateway","description":"RaspberryPi code that listens on the serial port and passes data to EmonCMS","fork":false,"url":"https://api.github.com/repos/LowPowerLab/RaspberryPi-Gateway","forks_url":"https://api.github.com/repos/LowPowerLab/RaspberryPi-Gateway/forks","keys_url":"https://api.github.com/repos/LowPowerLab/RaspberryPi-Gateway/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LowPowerLab/RaspberryPi-Gateway/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LowPowerLab/RaspberryPi-Gateway/teams","hooks_url":"https://api.github.com/repos/LowPowerLab/RaspberryPi-Gateway/hooks","issue_events_url":"https://api.github.com/repos/LowPowerLab/RaspberryPi-Gateway/issues/events{/number}","events_url":"https://api.github.com/repos/LowPowerLab/RaspberryPi-Gateway/events","assignees_url":"https://api.github.com/repos/LowPowerLab/RaspberryPi-Gateway/assignees{/user}","branches_url":"https://api.github.com/repos/LowPowerLab/RaspberryPi-Gateway/branches{/branch}","tags_url":"https://api.github.com/repos/LowPowerLab/RaspberryPi-Gateway/tags","blobs_url":"https://api.github.com/repos/LowPowerLab/RaspberryPi-Gateway/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LowPowerLab/RaspberryPi-Gateway/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LowPowerLab/RaspberryPi-Gateway/git/refs{/sha}","trees_url":"https://api.github.com/repos/LowPowerLab/RaspberryPi-Gateway/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LowPowerLab/RaspberryPi-Gateway/statuses/{sha}","languages_url":"https://api.github.com/repos/LowPowerLab/RaspberryPi-Gateway/languages","stargazers_url":"https://api.github.com/repos/LowPowerLab/RaspberryPi-Gateway/stargazers","contributors_url":"https://api.github.com/repos/LowPowerLab/RaspberryPi-Gateway/contributors","subscribers_url":"https://api.github.com/repos/LowPowerLab/RaspberryPi-Gateway/subscribers","subscription_url":"https://api.github.com/repos/LowPowerLab/RaspberryPi-Gateway/subscription","commits_url":"https://api.github.com/repos/LowPowerLab/RaspberryPi-Gateway/commits{/sha}","git_commits_url":"https://api.github.com/repos/LowPowerLab/RaspberryPi-Gateway/git/commits{/sha}","comments_url":"https://api.github.com/repos/LowPowerLab/RaspberryPi-Gateway/comments{/number}","issue_comment_url":"https://api.github.com/repos/LowPowerLab/RaspberryPi-Gateway/issues/comments{/number}","contents_url":"https://api.github.com/repos/LowPowerLab/RaspberryPi-Gateway/contents/{+path}","compare_url":"https://api.github.com/repos/LowPowerLab/RaspberryPi-Gateway/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LowPowerLab/RaspberryPi-Gateway/merges","archive_url":"https://api.github.com/repos/LowPowerLab/RaspberryPi-Gateway/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LowPowerLab/RaspberryPi-Gateway/downloads","issues_url":"https://api.github.com/repos/LowPowerLab/RaspberryPi-Gateway/issues{/number}","pulls_url":"https://api.github.com/repos/LowPowerLab/RaspberryPi-Gateway/pulls{/number}","milestones_url":"https://api.github.com/repos/LowPowerLab/RaspberryPi-Gateway/milestones{/number}","notifications_url":"https://api.github.com/repos/LowPowerLab/RaspberryPi-Gateway/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LowPowerLab/RaspberryPi-Gateway/labels{/name}","releases_url":"https://api.github.com/repos/LowPowerLab/RaspberryPi-Gateway/releases{/id}","created_at":"2013-02-02T21:34:37Z","updated_at":"2015-10-21T12:35:12Z","pushed_at":"2015-11-05T04:59:31Z","git_url":"git://github.com/LowPowerLab/RaspberryPi-Gateway.git","ssh_url":"git@github.com:LowPowerLab/RaspberryPi-Gateway.git","clone_url":"https://github.com/LowPowerLab/RaspberryPi-Gateway.git","svn_url":"https://github.com/LowPowerLab/RaspberryPi-Gateway","homepage":null,"size":5464,"stargazers_count":27,"watchers_count":27,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":1,"forks":14,"open_issues":1,"watchers":27,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/LowPowerLab/RaspberryPi-Gateway/pulls/4"},"html":{"href":"https://github.com/LowPowerLab/RaspberryPi-Gateway/pull/4"},"issue":{"href":"https://api.github.com/repos/LowPowerLab/RaspberryPi-Gateway/issues/4"},"comments":{"href":"https://api.github.com/repos/LowPowerLab/RaspberryPi-Gateway/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/LowPowerLab/RaspberryPi-Gateway/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/LowPowerLab/RaspberryPi-Gateway/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/LowPowerLab/RaspberryPi-Gateway/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/LowPowerLab/RaspberryPi-Gateway/statuses/efcc4cf1fc776649a363f7e28fe2274c2ec12699"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":153,"deletions":156,"changed_files":13}}