{"action":"created","issue":{"url":"https://api.github.com/repos/hydroshare/hydroshare/issues/598","labels_url":"https://api.github.com/repos/hydroshare/hydroshare/issues/598/labels{/name}","comments_url":"https://api.github.com/repos/hydroshare/hydroshare/issues/598/comments","events_url":"https://api.github.com/repos/hydroshare/hydroshare/issues/598/events","html_url":"https://github.com/hydroshare/hydroshare/pull/598","id":104477209,"number":598,"title":"[WIP] REST API ingestion of BagIt archives","user":{"login":"selimnairb","id":2529681,"avatar_url":"https://avatars.githubusercontent.com/u/2529681?v=3","gravatar_id":"","url":"https://api.github.com/users/selimnairb","html_url":"https://github.com/selimnairb","followers_url":"https://api.github.com/users/selimnairb/followers","following_url":"https://api.github.com/users/selimnairb/following{/other_user}","gists_url":"https://api.github.com/users/selimnairb/gists{/gist_id}","starred_url":"https://api.github.com/users/selimnairb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/selimnairb/subscriptions","organizations_url":"https://api.github.com/users/selimnairb/orgs","repos_url":"https://api.github.com/users/selimnairb/repos","events_url":"https://api.github.com/users/selimnairb/events{/privacy}","received_events_url":"https://api.github.com/users/selimnairb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-09-02T13:11:21Z","updated_at":"2015-09-22T21:15:07Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/hydroshare/hydroshare/pulls/598","html_url":"https://github.com/hydroshare/hydroshare/pull/598","diff_url":"https://github.com/hydroshare/hydroshare/pull/598.diff","patch_url":"https://github.com/hydroshare/hydroshare/pull/598.patch"},"body":"Work in progress, do not merge yet."},"comment":{"url":"https://api.github.com/repos/hydroshare/hydroshare/issues/comments/142424977","html_url":"https://github.com/hydroshare/hydroshare/pull/598#issuecomment-142424977","issue_url":"https://api.github.com/repos/hydroshare/hydroshare/issues/598","id":142424977,"user":{"login":"hyi","id":476302,"avatar_url":"https://avatars.githubusercontent.com/u/476302?v=3","gravatar_id":"","url":"https://api.github.com/users/hyi","html_url":"https://github.com/hyi","followers_url":"https://api.github.com/users/hyi/followers","following_url":"https://api.github.com/users/hyi/following{/other_user}","gists_url":"https://api.github.com/users/hyi/gists{/gist_id}","starred_url":"https://api.github.com/users/hyi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hyi/subscriptions","organizations_url":"https://api.github.com/users/hyi/orgs","repos_url":"https://api.github.com/users/hyi/repos","events_url":"https://api.github.com/users/hyi/events{/privacy}","received_events_url":"https://api.github.com/users/hyi/received_events","type":"User","site_admin":false},"created_at":"2015-09-22T21:15:07Z","updated_at":"2015-09-22T21:15:07Z","body":"@selimnairb I have pulled your bag ingestion branch trying to run it to ingest resources into my local dev environment to get an environment ready for access control and social data migrations. I see that create_resource_from_bag() method takes unpacked bag_content_path as input parameter and read metadata and content files directly without unpacking the zipped bag files. So does this mean we only need those resource_uuid directories to parse content files without needing the zipped bags or the zipped bags are unpacked first in a temp directory to create these resource content directories before calling this create_resource_from_bag()? Could you let me know how I can run bag ingestion in my local dev env? We can talk about this in tomorrow's dev call if that is easier. Thanks."}}