{"action":"created","issue":{"url":"https://api.github.com/repos/arfoll/unrarall/issues/37","repository_url":"https://api.github.com/repos/arfoll/unrarall","labels_url":"https://api.github.com/repos/arfoll/unrarall/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/arfoll/unrarall/issues/37/comments","events_url":"https://api.github.com/repos/arfoll/unrarall/issues/37/events","html_url":"https://github.com/arfoll/unrarall/issues/37","id":198952413,"number":37,"title":"Clobbering files on extraction and skipping already extracted files ","user":{"login":"delcypher","id":511795,"avatar_url":"https://avatars0.githubusercontent.com/u/511795?v=4","gravatar_id":"","url":"https://api.github.com/users/delcypher","html_url":"https://github.com/delcypher","followers_url":"https://api.github.com/users/delcypher/followers","following_url":"https://api.github.com/users/delcypher/following{/other_user}","gists_url":"https://api.github.com/users/delcypher/gists{/gist_id}","starred_url":"https://api.github.com/users/delcypher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/delcypher/subscriptions","organizations_url":"https://api.github.com/users/delcypher/orgs","repos_url":"https://api.github.com/users/delcypher/repos","events_url":"https://api.github.com/users/delcypher/events{/privacy}","received_events_url":"https://api.github.com/users/delcypher/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-01-05T13:10:16Z","updated_at":"2018-02-20T10:13:13Z","closed_at":"2018-02-20T10:13:13Z","author_association":"COLLABORATOR","body":"PRs #34 and #30 both try to make unrarall avoid extracting already extracted files.\r\n\r\nIssue #31 reported problems where unrarall would clobber existing rar files upon extraction.\r\n\r\nThese problems are not independent of each and so they should be tackled together.\r\n\r\nIdeally we\r\n\r\n* Should not clobber existing files that come from existing archives. E.g. If `a.rar` contains `foo` and `b.rar` contains a different `foo` and we use the `--output` flag we'll only end up with one `foo` file as one will be written over the other. We should avoid this.\r\n\r\n* We should handle rar files within rar files (i.e. do recursive extract up to some bound) and should not clobber existing rar files when we do the extraction.\r\n\r\n* We should have an option to avoid extracting already extracted files.\r\n\r\nThe solution to these problems would probably involve examining the archive contents before extracting, always doing extraction in a temporary folder and have a sensible scheme for handling clobbering that emits a warning and tries to carry on by writing the conflicting files somewhere else.\r\n\r\nI don't have time to work on this but if anyone wants to tackle this task that would be great."},"comment":{"url":"https://api.github.com/repos/arfoll/unrarall/issues/comments/366930108","html_url":"https://github.com/arfoll/unrarall/issues/37#issuecomment-366930108","issue_url":"https://api.github.com/repos/arfoll/unrarall/issues/37","id":366930108,"user":{"login":"arfoll","id":514406,"avatar_url":"https://avatars1.githubusercontent.com/u/514406?v=4","gravatar_id":"","url":"https://api.github.com/users/arfoll","html_url":"https://github.com/arfoll","followers_url":"https://api.github.com/users/arfoll/followers","following_url":"https://api.github.com/users/arfoll/following{/other_user}","gists_url":"https://api.github.com/users/arfoll/gists{/gist_id}","starred_url":"https://api.github.com/users/arfoll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arfoll/subscriptions","organizations_url":"https://api.github.com/users/arfoll/orgs","repos_url":"https://api.github.com/users/arfoll/repos","events_url":"https://api.github.com/users/arfoll/events{/privacy}","received_events_url":"https://api.github.com/users/arfoll/received_events","type":"User","site_admin":false},"created_at":"2018-02-20T10:13:13Z","updated_at":"2018-02-20T10:13:13Z","author_association":"OWNER","body":"Done & merged"}}
{"actor":{"display_login":"arfoll"}}