{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/BrewPi/firmware/pulls/1","id":29403275,"html_url":"https://github.com/BrewPi/firmware/pull/1","diff_url":"https://github.com/BrewPi/firmware/pull/1.diff","patch_url":"https://github.com/BrewPi/firmware/pull/1.patch","issue_url":"https://api.github.com/repos/BrewPi/firmware/issues/1","number":1,"state":"open","locked":false,"title":"feature/firmware upgrade","user":{"login":"m-mcgowan","id":2465470,"avatar_url":"https://avatars.githubusercontent.com/u/2465470?v=3","gravatar_id":"","url":"https://api.github.com/users/m-mcgowan","html_url":"https://github.com/m-mcgowan","followers_url":"https://api.github.com/users/m-mcgowan/followers","following_url":"https://api.github.com/users/m-mcgowan/following{/other_user}","gists_url":"https://api.github.com/users/m-mcgowan/gists{/gist_id}","starred_url":"https://api.github.com/users/m-mcgowan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m-mcgowan/subscriptions","organizations_url":"https://api.github.com/users/m-mcgowan/orgs","repos_url":"https://api.github.com/users/m-mcgowan/repos","events_url":"https://api.github.com/users/m-mcgowan/events{/privacy}","received_events_url":"https://api.github.com/users/m-mcgowan/received_events","type":"User","site_admin":false},"body":"This implements over-the-wire (OTW) upgrade of firmware for brewpi. It uses the YModem serial upgrade functionality provided by the Spark core firmware. \r\n\r\nTesting:\r\n- have a spark core flashed with this firmware\r\n- find some alternative firmware (e.g. an image from different feature branch)\r\n- run `programArduino.py` - (edit the file location at the bottom of the script to point to the modified firmware)\r\n- the firmware will be updated\r\n\r\nAlternatively testing can also be done via the web UI if pulling the feature branch from the other two brewpi repos.","created_at":"2015-02-16T21:55:59Z","updated_at":"2015-02-16T21:55:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/BrewPi/firmware/pulls/1/commits","review_comments_url":"https://api.github.com/repos/BrewPi/firmware/pulls/1/comments","review_comment_url":"https://api.github.com/repos/BrewPi/firmware/pulls/comments/{number}","comments_url":"https://api.github.com/repos/BrewPi/firmware/issues/1/comments","statuses_url":"https://api.github.com/repos/BrewPi/firmware/statuses/eaaa560de840b85d6770557a37c7a0dcc3e69274","head":{"label":"BrewPi:feature/firmware-upgrade","ref":"feature/firmware-upgrade","sha":"eaaa560de840b85d6770557a37c7a0dcc3e69274","user":{"login":"BrewPi","id":2395822,"avatar_url":"https://avatars.githubusercontent.com/u/2395822?v=3","gravatar_id":"","url":"https://api.github.com/users/BrewPi","html_url":"https://github.com/BrewPi","followers_url":"https://api.github.com/users/BrewPi/followers","following_url":"https://api.github.com/users/BrewPi/following{/other_user}","gists_url":"https://api.github.com/users/BrewPi/gists{/gist_id}","starred_url":"https://api.github.com/users/BrewPi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrewPi/subscriptions","organizations_url":"https://api.github.com/users/BrewPi/orgs","repos_url":"https://api.github.com/users/BrewPi/repos","events_url":"https://api.github.com/users/BrewPi/events{/privacy}","received_events_url":"https://api.github.com/users/BrewPi/received_events","type":"Organization","site_admin":false},"repo":{"id":28893057,"name":"firmware","full_name":"BrewPi/firmware","owner":{"login":"BrewPi","id":2395822,"avatar_url":"https://avatars.githubusercontent.com/u/2395822?v=3","gravatar_id":"","url":"https://api.github.com/users/BrewPi","html_url":"https://github.com/BrewPi","followers_url":"https://api.github.com/users/BrewPi/followers","following_url":"https://api.github.com/users/BrewPi/following{/other_user}","gists_url":"https://api.github.com/users/BrewPi/gists{/gist_id}","starred_url":"https://api.github.com/users/BrewPi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrewPi/subscriptions","organizations_url":"https://api.github.com/users/BrewPi/orgs","repos_url":"https://api.github.com/users/BrewPi/repos","events_url":"https://api.github.com/users/BrewPi/events{/privacy}","received_events_url":"https://api.github.com/users/BrewPi/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/BrewPi/firmware","description":"the repo for warez that are firm","fork":false,"url":"https://api.github.com/repos/BrewPi/firmware","forks_url":"https://api.github.com/repos/BrewPi/firmware/forks","keys_url":"https://api.github.com/repos/BrewPi/firmware/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BrewPi/firmware/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BrewPi/firmware/teams","hooks_url":"https://api.github.com/repos/BrewPi/firmware/hooks","issue_events_url":"https://api.github.com/repos/BrewPi/firmware/issues/events{/number}","events_url":"https://api.github.com/repos/BrewPi/firmware/events","assignees_url":"https://api.github.com/repos/BrewPi/firmware/assignees{/user}","branches_url":"https://api.github.com/repos/BrewPi/firmware/branches{/branch}","tags_url":"https://api.github.com/repos/BrewPi/firmware/tags","blobs_url":"https://api.github.com/repos/BrewPi/firmware/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BrewPi/firmware/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BrewPi/firmware/git/refs{/sha}","trees_url":"https://api.github.com/repos/BrewPi/firmware/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BrewPi/firmware/statuses/{sha}","languages_url":"https://api.github.com/repos/BrewPi/firmware/languages","stargazers_url":"https://api.github.com/repos/BrewPi/firmware/stargazers","contributors_url":"https://api.github.com/repos/BrewPi/firmware/contributors","subscribers_url":"https://api.github.com/repos/BrewPi/firmware/subscribers","subscription_url":"https://api.github.com/repos/BrewPi/firmware/subscription","commits_url":"https://api.github.com/repos/BrewPi/firmware/commits{/sha}","git_commits_url":"https://api.github.com/repos/BrewPi/firmware/git/commits{/sha}","comments_url":"https://api.github.com/repos/BrewPi/firmware/comments{/number}","issue_comment_url":"https://api.github.com/repos/BrewPi/firmware/issues/comments/{number}","contents_url":"https://api.github.com/repos/BrewPi/firmware/contents/{+path}","compare_url":"https://api.github.com/repos/BrewPi/firmware/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BrewPi/firmware/merges","archive_url":"https://api.github.com/repos/BrewPi/firmware/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BrewPi/firmware/downloads","issues_url":"https://api.github.com/repos/BrewPi/firmware/issues{/number}","pulls_url":"https://api.github.com/repos/BrewPi/firmware/pulls{/number}","milestones_url":"https://api.github.com/repos/BrewPi/firmware/milestones{/number}","notifications_url":"https://api.github.com/repos/BrewPi/firmware/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BrewPi/firmware/labels{/name}","releases_url":"https://api.github.com/repos/BrewPi/firmware/releases{/id}","created_at":"2015-01-07T01:52:02Z","updated_at":"2015-02-16T21:51:41Z","pushed_at":"2015-02-16T21:51:39Z","git_url":"git://github.com/BrewPi/firmware.git","ssh_url":"git@github.com:BrewPi/firmware.git","clone_url":"https://github.com/BrewPi/firmware.git","svn_url":"https://github.com/BrewPi/firmware","homepage":"","size":7517,"stargazers_count":3,"watchers_count":3,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":3,"default_branch":"develop"}},"base":{"label":"BrewPi:develop","ref":"develop","sha":"5cccd47aec73dc5cdb8ef7db0188d71f0b1f50d4","user":{"login":"BrewPi","id":2395822,"avatar_url":"https://avatars.githubusercontent.com/u/2395822?v=3","gravatar_id":"","url":"https://api.github.com/users/BrewPi","html_url":"https://github.com/BrewPi","followers_url":"https://api.github.com/users/BrewPi/followers","following_url":"https://api.github.com/users/BrewPi/following{/other_user}","gists_url":"https://api.github.com/users/BrewPi/gists{/gist_id}","starred_url":"https://api.github.com/users/BrewPi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrewPi/subscriptions","organizations_url":"https://api.github.com/users/BrewPi/orgs","repos_url":"https://api.github.com/users/BrewPi/repos","events_url":"https://api.github.com/users/BrewPi/events{/privacy}","received_events_url":"https://api.github.com/users/BrewPi/received_events","type":"Organization","site_admin":false},"repo":{"id":28893057,"name":"firmware","full_name":"BrewPi/firmware","owner":{"login":"BrewPi","id":2395822,"avatar_url":"https://avatars.githubusercontent.com/u/2395822?v=3","gravatar_id":"","url":"https://api.github.com/users/BrewPi","html_url":"https://github.com/BrewPi","followers_url":"https://api.github.com/users/BrewPi/followers","following_url":"https://api.github.com/users/BrewPi/following{/other_user}","gists_url":"https://api.github.com/users/BrewPi/gists{/gist_id}","starred_url":"https://api.github.com/users/BrewPi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrewPi/subscriptions","organizations_url":"https://api.github.com/users/BrewPi/orgs","repos_url":"https://api.github.com/users/BrewPi/repos","events_url":"https://api.github.com/users/BrewPi/events{/privacy}","received_events_url":"https://api.github.com/users/BrewPi/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/BrewPi/firmware","description":"the repo for warez that are firm","fork":false,"url":"https://api.github.com/repos/BrewPi/firmware","forks_url":"https://api.github.com/repos/BrewPi/firmware/forks","keys_url":"https://api.github.com/repos/BrewPi/firmware/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BrewPi/firmware/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BrewPi/firmware/teams","hooks_url":"https://api.github.com/repos/BrewPi/firmware/hooks","issue_events_url":"https://api.github.com/repos/BrewPi/firmware/issues/events{/number}","events_url":"https://api.github.com/repos/BrewPi/firmware/events","assignees_url":"https://api.github.com/repos/BrewPi/firmware/assignees{/user}","branches_url":"https://api.github.com/repos/BrewPi/firmware/branches{/branch}","tags_url":"https://api.github.com/repos/BrewPi/firmware/tags","blobs_url":"https://api.github.com/repos/BrewPi/firmware/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BrewPi/firmware/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BrewPi/firmware/git/refs{/sha}","trees_url":"https://api.github.com/repos/BrewPi/firmware/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BrewPi/firmware/statuses/{sha}","languages_url":"https://api.github.com/repos/BrewPi/firmware/languages","stargazers_url":"https://api.github.com/repos/BrewPi/firmware/stargazers","contributors_url":"https://api.github.com/repos/BrewPi/firmware/contributors","subscribers_url":"https://api.github.com/repos/BrewPi/firmware/subscribers","subscription_url":"https://api.github.com/repos/BrewPi/firmware/subscription","commits_url":"https://api.github.com/repos/BrewPi/firmware/commits{/sha}","git_commits_url":"https://api.github.com/repos/BrewPi/firmware/git/commits{/sha}","comments_url":"https://api.github.com/repos/BrewPi/firmware/comments{/number}","issue_comment_url":"https://api.github.com/repos/BrewPi/firmware/issues/comments/{number}","contents_url":"https://api.github.com/repos/BrewPi/firmware/contents/{+path}","compare_url":"https://api.github.com/repos/BrewPi/firmware/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BrewPi/firmware/merges","archive_url":"https://api.github.com/repos/BrewPi/firmware/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BrewPi/firmware/downloads","issues_url":"https://api.github.com/repos/BrewPi/firmware/issues{/number}","pulls_url":"https://api.github.com/repos/BrewPi/firmware/pulls{/number}","milestones_url":"https://api.github.com/repos/BrewPi/firmware/milestones{/number}","notifications_url":"https://api.github.com/repos/BrewPi/firmware/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BrewPi/firmware/labels{/name}","releases_url":"https://api.github.com/repos/BrewPi/firmware/releases{/id}","created_at":"2015-01-07T01:52:02Z","updated_at":"2015-02-16T21:51:41Z","pushed_at":"2015-02-16T21:51:39Z","git_url":"git://github.com/BrewPi/firmware.git","ssh_url":"git@github.com:BrewPi/firmware.git","clone_url":"https://github.com/BrewPi/firmware.git","svn_url":"https://github.com/BrewPi/firmware","homepage":"","size":7517,"stargazers_count":3,"watchers_count":3,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":3,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/BrewPi/firmware/pulls/1"},"html":{"href":"https://github.com/BrewPi/firmware/pull/1"},"issue":{"href":"https://api.github.com/repos/BrewPi/firmware/issues/1"},"comments":{"href":"https://api.github.com/repos/BrewPi/firmware/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/BrewPi/firmware/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/BrewPi/firmware/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/BrewPi/firmware/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/BrewPi/firmware/statuses/eaaa560de840b85d6770557a37c7a0dcc3e69274"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":8,"additions":87,"deletions":29,"changed_files":11}}