{"action":"opened","issue":{"url":"https://api.github.com/repos/jgpawletko/git_transactor/issues/12","labels_url":"https://api.github.com/repos/jgpawletko/git_transactor/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/jgpawletko/git_transactor/issues/12/comments","events_url":"https://api.github.com/repos/jgpawletko/git_transactor/issues/12/events","html_url":"https://github.com/jgpawletko/git_transactor/issues/12","id":58636861,"number":12,"title":"add error cases","user":{"login":"jgpawletko","id":79021,"avatar_url":"https://avatars.githubusercontent.com/u/79021?v=3","gravatar_id":"","url":"https://api.github.com/users/jgpawletko","html_url":"https://github.com/jgpawletko","followers_url":"https://api.github.com/users/jgpawletko/followers","following_url":"https://api.github.com/users/jgpawletko/following{/other_user}","gists_url":"https://api.github.com/users/jgpawletko/gists{/gist_id}","starred_url":"https://api.github.com/users/jgpawletko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgpawletko/subscriptions","organizations_url":"https://api.github.com/users/jgpawletko/orgs","repos_url":"https://api.github.com/users/jgpawletko/repos","events_url":"https://api.github.com/users/jgpawletko/events{/privacy}","received_events_url":"https://api.github.com/users/jgpawletko/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-23T19:40:07Z","updated_at":"2015-02-23T19:40:07Z","closed_at":null,"body":"```\r\nopen queue directory                                                                                                                       \r\nfor each request                                                                                                                           \r\n  if add                                                                                                                                   \r\n    find file in source directory                                                                                                          \r\n    copy file from source directory into corresponding repo directory                                                                      \r\n    add the file to the repo                                                                                                               \r\n    commit the change with the proper commit message                                                                                       \r\n                                                                                                                                           \r\nerror cases:                                                                                                                               \r\n  file specified in add    request not present in source dir                                                                               \r\n  file specified in delete request not present in repo                                                                                     \r\n  copy file fails during add                                                                                                               \r\n  git blows up (git add, git rm, git commit)                                                                                               \r\n ```"}}