{"action":"opened","issue":{"url":"https://api.github.com/repos/DANS-KNAW/easy-deposit/issues/10","labels_url":"https://api.github.com/repos/DANS-KNAW/easy-deposit/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/DANS-KNAW/easy-deposit/issues/10/comments","events_url":"https://api.github.com/repos/DANS-KNAW/easy-deposit/issues/10/events","html_url":"https://github.com/DANS-KNAW/easy-deposit/issues/10","id":103257049,"number":10,"title":"Implement git-support: return state of deposit in sword statement","user":{"login":"janvanmansum","id":3862694,"avatar_url":"https://avatars.githubusercontent.com/u/3862694?v=3","gravatar_id":"","url":"https://api.github.com/users/janvanmansum","html_url":"https://github.com/janvanmansum","followers_url":"https://api.github.com/users/janvanmansum/followers","following_url":"https://api.github.com/users/janvanmansum/following{/other_user}","gists_url":"https://api.github.com/users/janvanmansum/gists{/gist_id}","starred_url":"https://api.github.com/users/janvanmansum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janvanmansum/subscriptions","organizations_url":"https://api.github.com/users/janvanmansum/orgs","repos_url":"https://api.github.com/users/janvanmansum/repos","events_url":"https://api.github.com/users/janvanmansum/events{/privacy}","received_events_url":"https://api.github.com/users/janvanmansum/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-26T12:37:15Z","updated_at":"2015-08-26T12:37:15Z","closed_at":null,"body":"`easy-deposit` must return the current state of the deposit:\r\n* if the working directory is not clean, return `state=PROCESSING`\r\n* if the working directory is clean, but the HEAD is not tagged with a state-tag, return `state=PROCESSING`\r\n* if the working directory is clean and the HEAD is tagged with a state-tag, return the state (valid states to be determined).\r\n"}}