{"action":"created","issue":{"url":"https://api.github.com/repos/juliangruber/hyperdrive-import-files/issues/20","repository_url":"https://api.github.com/repos/juliangruber/hyperdrive-import-files","labels_url":"https://api.github.com/repos/juliangruber/hyperdrive-import-files/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/juliangruber/hyperdrive-import-files/issues/20/comments","events_url":"https://api.github.com/repos/juliangruber/hyperdrive-import-files/issues/20/events","html_url":"https://github.com/juliangruber/hyperdrive-import-files/issues/20","id":177666884,"number":20,"title":"base directory getting added to metadata on each import","user":{"login":"joehand","id":684965,"avatar_url":"https://avatars.githubusercontent.com/u/684965?v=3","gravatar_id":"","url":"https://api.github.com/users/joehand","html_url":"https://github.com/joehand","followers_url":"https://api.github.com/users/joehand/followers","following_url":"https://api.github.com/users/joehand/following{/other_user}","gists_url":"https://api.github.com/users/joehand/gists{/gist_id}","starred_url":"https://api.github.com/users/joehand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joehand/subscriptions","organizations_url":"https://api.github.com/users/joehand/orgs","repos_url":"https://api.github.com/users/joehand/repos","events_url":"https://api.github.com/users/joehand/events{/privacy}","received_events_url":"https://api.github.com/users/joehand/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-18T18:10:16Z","updated_at":"2016-09-19T07:44:11Z","closed_at":null,"body":"If you import a dat multiple times the base directory gets added each time. \r\n\r\n```json\r\n{\"name\":\"\",\"linkname\":\"\",\"length\":0,\"blocks\":0,\"mode\":0,\"uid\":0,\"gid\":0,\"mtime\":1474204777000,\"ctime\":0,\"content\":{\"blockOffset\":2,\"bytesOffset\":813},\"type\":\"directory\"}\r\n{\"name\":\"\",\"linkname\":\"\",\"length\":0,\"blocks\":0,\"mode\":0,\"uid\":0,\"gid\":0,\"mtime\":1474204777000,\"ctime\":0,\"content\":{\"blockOffset\":2,\"bytesOffset\":813},\"type\":\"directory\"}\r\n{\"name\":\"\",\"linkname\":\"\",\"length\":0,\"blocks\":0,\"mode\":0,\"uid\":0,\"gid\":0,\"mtime\":1474204777000,\"ctime\":0,\"content\":{\"blockOffset\":2,\"bytesOffset\":813},\"type\":\"directory\"}\r\n```"},"comment":{"url":"https://api.github.com/repos/juliangruber/hyperdrive-import-files/issues/comments/247928923","html_url":"https://github.com/juliangruber/hyperdrive-import-files/issues/20#issuecomment-247928923","issue_url":"https://api.github.com/repos/juliangruber/hyperdrive-import-files/issues/20","id":247928923,"user":{"login":"juliangruber","id":10247,"avatar_url":"https://avatars.githubusercontent.com/u/10247?v=3","gravatar_id":"","url":"https://api.github.com/users/juliangruber","html_url":"https://github.com/juliangruber","followers_url":"https://api.github.com/users/juliangruber/followers","following_url":"https://api.github.com/users/juliangruber/following{/other_user}","gists_url":"https://api.github.com/users/juliangruber/gists{/gist_id}","starred_url":"https://api.github.com/users/juliangruber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juliangruber/subscriptions","organizations_url":"https://api.github.com/users/juliangruber/orgs","repos_url":"https://api.github.com/users/juliangruber/repos","events_url":"https://api.github.com/users/juliangruber/events{/privacy}","received_events_url":"https://api.github.com/users/juliangruber/received_events","type":"User","site_admin":false},"created_at":"2016-09-19T07:44:11Z","updated_at":"2016-09-19T07:44:11Z","body":"@mafintosh should `archive.append()` with an entry that already exists simply noop or overwrite the current entry?"}}
{"actor":{"display_login":"juliangruber"}}