{"action":"opened","issue":{"url":"https://api.github.com/repos/snac-cooperative/snac/issues/133","repository_url":"https://api.github.com/repos/snac-cooperative/snac","labels_url":"https://api.github.com/repos/snac-cooperative/snac/issues/133/labels{/name}","comments_url":"https://api.github.com/repos/snac-cooperative/snac/issues/133/comments","events_url":"https://api.github.com/repos/snac-cooperative/snac/issues/133/events","html_url":"https://github.com/snac-cooperative/snac/issues/133","id":323690076,"number":133,"title":"More in-depth resource management","user":{"login":"deternitydx","id":1839197,"avatar_url":"https://avatars1.githubusercontent.com/u/1839197?v=4","gravatar_id":"","url":"https://api.github.com/users/deternitydx","html_url":"https://github.com/deternitydx","followers_url":"https://api.github.com/users/deternitydx/followers","following_url":"https://api.github.com/users/deternitydx/following{/other_user}","gists_url":"https://api.github.com/users/deternitydx/gists{/gist_id}","starred_url":"https://api.github.com/users/deternitydx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deternitydx/subscriptions","organizations_url":"https://api.github.com/users/deternitydx/orgs","repos_url":"https://api.github.com/users/deternitydx/repos","events_url":"https://api.github.com/users/deternitydx/events{/privacy}","received_events_url":"https://api.github.com/users/deternitydx/received_events","type":"User","site_admin":false},"labels":[{"id":845477875,"url":"https://api.github.com/repos/snac-cooperative/snac/labels/Data%20Model%20Change","name":"Data Model Change","color":"abb4e8","default":false}],"state":"open","locked":false,"assignee":{"login":"deternitydx","id":1839197,"avatar_url":"https://avatars1.githubusercontent.com/u/1839197?v=4","gravatar_id":"","url":"https://api.github.com/users/deternitydx","html_url":"https://github.com/deternitydx","followers_url":"https://api.github.com/users/deternitydx/followers","following_url":"https://api.github.com/users/deternitydx/following{/other_user}","gists_url":"https://api.github.com/users/deternitydx/gists{/gist_id}","starred_url":"https://api.github.com/users/deternitydx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deternitydx/subscriptions","organizations_url":"https://api.github.com/users/deternitydx/orgs","repos_url":"https://api.github.com/users/deternitydx/repos","events_url":"https://api.github.com/users/deternitydx/events{/privacy}","received_events_url":"https://api.github.com/users/deternitydx/received_events","type":"User","site_admin":false},"assignees":[{"login":"deternitydx","id":1839197,"avatar_url":"https://avatars1.githubusercontent.com/u/1839197?v=4","gravatar_id":"","url":"https://api.github.com/users/deternitydx","html_url":"https://github.com/deternitydx","followers_url":"https://api.github.com/users/deternitydx/followers","following_url":"https://api.github.com/users/deternitydx/following{/other_user}","gists_url":"https://api.github.com/users/deternitydx/gists{/gist_id}","starred_url":"https://api.github.com/users/deternitydx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deternitydx/subscriptions","organizations_url":"https://api.github.com/users/deternitydx/orgs","repos_url":"https://api.github.com/users/deternitydx/repos","events_url":"https://api.github.com/users/deternitydx/events{/privacy}","received_events_url":"https://api.github.com/users/deternitydx/received_events","type":"User","site_admin":false},{"login":"glassjoseph","id":17987273,"avatar_url":"https://avatars2.githubusercontent.com/u/17987273?v=4","gravatar_id":"","url":"https://api.github.com/users/glassjoseph","html_url":"https://github.com/glassjoseph","followers_url":"https://api.github.com/users/glassjoseph/followers","following_url":"https://api.github.com/users/glassjoseph/following{/other_user}","gists_url":"https://api.github.com/users/glassjoseph/gists{/gist_id}","starred_url":"https://api.github.com/users/glassjoseph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glassjoseph/subscriptions","organizations_url":"https://api.github.com/users/glassjoseph/orgs","repos_url":"https://api.github.com/users/glassjoseph/repos","events_url":"https://api.github.com/users/glassjoseph/events{/privacy}","received_events_url":"https://api.github.com/users/glassjoseph/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-05-16T16:12:05Z","updated_at":"2018-05-16T16:12:05Z","closed_at":null,"author_association":"MEMBER","body":"We need to come up with a slick way to clean up the resources.  Since we had a long time of \"create\" resource functionality without edit, we have multiple copies of resources that are slightly different.  Specifically, one beta tester found 3 copies of the same resource: one with the correct simple URL but no holding repository, one with the correct simple URL with holding repository, and one with a non-preferred long-form URL.\r\n\r\nThe simplistic-sounding need is merging of resources.  However, it's not that simple: we would need to update all Constellations pointing to that resource to the new one.  If we ignore versioning in Constellations, we could just do a database update to replace the resource IDs (assuming the current version of the Constellation is published or at least not in currently editing mode--if the IC is in currently editing, then the user has a stale resource ID in their browser that they may save soon).  If we want to follow our versioning scheme, we would need to update the Constellation and change the resource ID in the newer relationship, but we would also need to keep old resources and their ids (marked deleted) to display the older versions of Constellations correctly).\r\n\r\nNote: We can't control for the preferred/non-preferred URL issue, since that would need to be a policy decision on the part of each holding repository."}}
{"actor":{"display_login":"deternitydx"}}