{"action":"created","issue":{"url":"https://api.github.com/repos/RoboJackets/robocup-software/issues/214","labels_url":"https://api.github.com/repos/RoboJackets/robocup-software/issues/214/labels{/name}","comments_url":"https://api.github.com/repos/RoboJackets/robocup-software/issues/214/comments","events_url":"https://api.github.com/repos/RoboJackets/robocup-software/issues/214/events","html_url":"https://github.com/RoboJackets/robocup-software/issues/214","id":57956533,"number":214,"title":"Add git version info to robot firmware","user":{"login":"justbuchanan","id":115131,"avatar_url":"https://avatars.githubusercontent.com/u/115131?v=3","gravatar_id":"","url":"https://api.github.com/users/justbuchanan","html_url":"https://github.com/justbuchanan","followers_url":"https://api.github.com/users/justbuchanan/followers","following_url":"https://api.github.com/users/justbuchanan/following{/other_user}","gists_url":"https://api.github.com/users/justbuchanan/gists{/gist_id}","starred_url":"https://api.github.com/users/justbuchanan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justbuchanan/subscriptions","organizations_url":"https://api.github.com/users/justbuchanan/orgs","repos_url":"https://api.github.com/users/justbuchanan/repos","events_url":"https://api.github.com/users/justbuchanan/events{/privacy}","received_events_url":"https://api.github.com/users/justbuchanan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/RoboJackets/robocup-software/labels/firmware","name":"firmware","color":"006b75"}],"state":"open","locked":false,"assignee":{"login":"jgkamat","id":4349709,"avatar_url":"https://avatars.githubusercontent.com/u/4349709?v=3","gravatar_id":"","url":"https://api.github.com/users/jgkamat","html_url":"https://github.com/jgkamat","followers_url":"https://api.github.com/users/jgkamat/followers","following_url":"https://api.github.com/users/jgkamat/following{/other_user}","gists_url":"https://api.github.com/users/jgkamat/gists{/gist_id}","starred_url":"https://api.github.com/users/jgkamat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgkamat/subscriptions","organizations_url":"https://api.github.com/users/jgkamat/orgs","repos_url":"https://api.github.com/users/jgkamat/repos","events_url":"https://api.github.com/users/jgkamat/events{/privacy}","received_events_url":"https://api.github.com/users/jgkamat/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/RoboJackets/robocup-software/milestones/2","labels_url":"https://api.github.com/repos/RoboJackets/robocup-software/milestones/2/labels","id":834931,"number":2,"title":"China 2015","description":"The summer 2015 international RoboCup competition in China","creator":{"login":"justbuchanan","id":115131,"avatar_url":"https://avatars.githubusercontent.com/u/115131?v=3","gravatar_id":"","url":"https://api.github.com/users/justbuchanan","html_url":"https://github.com/justbuchanan","followers_url":"https://api.github.com/users/justbuchanan/followers","following_url":"https://api.github.com/users/justbuchanan/following{/other_user}","gists_url":"https://api.github.com/users/justbuchanan/gists{/gist_id}","starred_url":"https://api.github.com/users/justbuchanan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justbuchanan/subscriptions","organizations_url":"https://api.github.com/users/justbuchanan/orgs","repos_url":"https://api.github.com/users/justbuchanan/repos","events_url":"https://api.github.com/users/justbuchanan/events{/privacy}","received_events_url":"https://api.github.com/users/justbuchanan/received_events","type":"User","site_admin":false},"open_issues":19,"closed_issues":14,"state":"open","created_at":"2014-10-21T19:45:05Z","updated_at":"2015-02-17T17:43:38Z","due_on":"2015-06-30T07:00:00Z","closed_at":null},"comments":2,"created_at":"2015-02-17T17:43:38Z","updated_at":"2015-02-17T18:17:46Z","closed_at":null,"body":"In order to help with debugging, it's helpful to know what version of the firmware our robot is running.  To do this, we'll use the git SHA as a version id so that we can resolve the version on the robot to a specific commit in our codebase.\r\n\r\nThis would go well in either a `status` or `version` command in the robot's console/terminal.\r\n\r\nRight now we have CMake setup to automatically generate a `git_version.cpp` file that has two variables: `git_version_hash` and `git_version_dirty`.  We'll need to compile this cpp file into the firmware binary and add a command to the terminal.\r\n\r\nSee the CMakeLists.txt file in the common/ folder for info on how `git_version.cpp` is generated."},"comment":{"url":"https://api.github.com/repos/RoboJackets/robocup-software/issues/comments/74720226","html_url":"https://github.com/RoboJackets/robocup-software/issues/214#issuecomment-74720226","issue_url":"https://api.github.com/repos/RoboJackets/robocup-software/issues/214","id":74720226,"user":{"login":"justbuchanan","id":115131,"avatar_url":"https://avatars.githubusercontent.com/u/115131?v=3","gravatar_id":"","url":"https://api.github.com/users/justbuchanan","html_url":"https://github.com/justbuchanan","followers_url":"https://api.github.com/users/justbuchanan/followers","following_url":"https://api.github.com/users/justbuchanan/following{/other_user}","gists_url":"https://api.github.com/users/justbuchanan/gists{/gist_id}","starred_url":"https://api.github.com/users/justbuchanan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justbuchanan/subscriptions","organizations_url":"https://api.github.com/users/justbuchanan/orgs","repos_url":"https://api.github.com/users/justbuchanan/repos","events_url":"https://api.github.com/users/justbuchanan/events{/privacy}","received_events_url":"https://api.github.com/users/justbuchanan/received_events","type":"User","site_admin":false},"created_at":"2015-02-17T18:17:46Z","updated_at":"2015-02-17T18:17:46Z","body":"Sounds good!  I j ust assigned it to you."}}