{"action":"opened","issue":{"url":"https://api.github.com/repos/DDMAL/misirlou/issues/9","labels_url":"https://api.github.com/repos/DDMAL/misirlou/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/DDMAL/misirlou/issues/9/comments","events_url":"https://api.github.com/repos/DDMAL/misirlou/issues/9/events","html_url":"https://github.com/DDMAL/misirlou/issues/9","id":109631797,"number":9,"title":"Check for duplicate remote_urls when posting in.","user":{"login":"lexpar","id":9021839,"avatar_url":"https://avatars.githubusercontent.com/u/9021839?v=3","gravatar_id":"","url":"https://api.github.com/users/lexpar","html_url":"https://github.com/lexpar","followers_url":"https://api.github.com/users/lexpar/followers","following_url":"https://api.github.com/users/lexpar/following{/other_user}","gists_url":"https://api.github.com/users/lexpar/gists{/gist_id}","starred_url":"https://api.github.com/users/lexpar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lexpar/subscriptions","organizations_url":"https://api.github.com/users/lexpar/orgs","repos_url":"https://api.github.com/users/lexpar/repos","events_url":"https://api.github.com/users/lexpar/events{/privacy}","received_events_url":"https://api.github.com/users/lexpar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-03T16:40:13Z","updated_at":"2015-10-03T16:40:13Z","closed_at":null,"body":"Currently there is no check to see that we do not already have a manifest indexed and stored in the DB. Clearly there should be one. The issue, as Will pointed out in #2 is how the event of a duplicate should be handled.\r\n\r\nA redirect to the manifests page is not out of the question - or maybe we should simply handle this by deleting the old document and re-indexing in solr. I think this might be the most graceful way to handle it. We want to occasionally check if remote manifests have been updated, so using the opportunity of a duplicate in a POST to do so is, I think, reasonable. "}}