{"action":"created","issue":{"url":"https://api.github.com/repos/ministryofjustice/salt-shaker/issues/50","repository_url":"https://api.github.com/repos/ministryofjustice/salt-shaker","labels_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/issues/50/comments","events_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/issues/50/events","html_url":"https://github.com/ministryofjustice/salt-shaker/issues/50","id":97094978,"number":50,"title":"error swapping formula branch","user":{"login":"munhitsu","id":18304,"avatar_url":"https://avatars.githubusercontent.com/u/18304?v=3","gravatar_id":"","url":"https://api.github.com/users/munhitsu","html_url":"https://github.com/munhitsu","followers_url":"https://api.github.com/users/munhitsu/followers","following_url":"https://api.github.com/users/munhitsu/following{/other_user}","gists_url":"https://api.github.com/users/munhitsu/gists{/gist_id}","starred_url":"https://api.github.com/users/munhitsu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/munhitsu/subscriptions","organizations_url":"https://api.github.com/users/munhitsu/orgs","repos_url":"https://api.github.com/users/munhitsu/repos","events_url":"https://api.github.com/users/munhitsu/events{/privacy}","received_events_url":"https://api.github.com/users/munhitsu/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ministryofjustice/salt-shaker/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/ministryofjustice/salt-shaker/labels/sweep1","name":"sweep1","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-24T17:13:06Z","updated_at":"2016-04-19T14:39:51Z","closed_at":null,"body":"When swapping branch from master to say debug in master formula-requirements.txt for specific formula - salt-shaker can't cope with it. As new remote branch is not available locally. \r\n`rm -Rf vendors` fixes the problem.\r\n\r\nWould be usefull to either exend error message or check for branch on remote.\r\n"},"comment":{"url":"https://api.github.com/repos/ministryofjustice/salt-shaker/issues/comments/211953355","html_url":"https://github.com/ministryofjustice/salt-shaker/issues/50#issuecomment-211953355","issue_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/issues/50","id":211953355,"user":{"login":"niallcreech","id":2128678,"avatar_url":"https://avatars.githubusercontent.com/u/2128678?v=3","gravatar_id":"","url":"https://api.github.com/users/niallcreech","html_url":"https://github.com/niallcreech","followers_url":"https://api.github.com/users/niallcreech/followers","following_url":"https://api.github.com/users/niallcreech/following{/other_user}","gists_url":"https://api.github.com/users/niallcreech/gists{/gist_id}","starred_url":"https://api.github.com/users/niallcreech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niallcreech/subscriptions","organizations_url":"https://api.github.com/users/niallcreech/orgs","repos_url":"https://api.github.com/users/niallcreech/repos","events_url":"https://api.github.com/users/niallcreech/events{/privacy}","received_events_url":"https://api.github.com/users/niallcreech/received_events","type":"User","site_admin":false},"created_at":"2016-04-19T14:39:51Z","updated_at":"2016-04-19T14:39:51Z","body":"Theres issues with the way we git checkout and update"}}