{"action":"created","issue":{"url":"https://api.github.com/repos/alexcrichton/tar-rs/issues/70","repository_url":"https://api.github.com/repos/alexcrichton/tar-rs","labels_url":"https://api.github.com/repos/alexcrichton/tar-rs/issues/70/labels{/name}","comments_url":"https://api.github.com/repos/alexcrichton/tar-rs/issues/70/comments","events_url":"https://api.github.com/repos/alexcrichton/tar-rs/issues/70/events","html_url":"https://github.com/alexcrichton/tar-rs/issues/70","id":165242082,"number":70,"title":"7z shows extra directories in tar-rs archive","user":{"login":"lnicola","id":308347,"avatar_url":"https://avatars.githubusercontent.com/u/308347?v=3","gravatar_id":"","url":"https://api.github.com/users/lnicola","html_url":"https://github.com/lnicola","followers_url":"https://api.github.com/users/lnicola/followers","following_url":"https://api.github.com/users/lnicola/following{/other_user}","gists_url":"https://api.github.com/users/lnicola/gists{/gist_id}","starred_url":"https://api.github.com/users/lnicola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lnicola/subscriptions","organizations_url":"https://api.github.com/users/lnicola/orgs","repos_url":"https://api.github.com/users/lnicola/repos","events_url":"https://api.github.com/users/lnicola/events{/privacy}","received_events_url":"https://api.github.com/users/lnicola/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-13T05:45:58Z","updated_at":"2016-07-13T17:47:49Z","closed_at":null,"body":"I created an archive with two files using `append_path`. Running `7z l` gives me:\r\n\r\n```\r\nType = tar\r\nPhysical Size = 27136\r\nHeaders Size = 2048\r\nCode Page = UTF-8\r\n\r\n   Date      Time    Attr         Size   Compressed  Name\r\n------------------- ----- ------------ ------------  ------------------------\r\n2016-07-12 23:59:56 .....          232          512  12741255114/Cargo.toml\r\n2016-07-13 00:00:10 .....        24496        24576  12740666100/Cargo.lock\r\n------------------- ----- ------------ ------------  ------------------------\r\n2016-07-13 00:00:10              24728        25088  2 files\r\n```\r\n\r\nDoing the same on an archive created with `tar` (ignore the different entry order):\r\n\r\n```\r\nType = tar\r\nPhysical Size = 30720\r\nHeaders Size = 5632\r\nCode Page = UTF-8\r\n\r\n   Date      Time    Attr         Size   Compressed  Name\r\n------------------- ----- ------------ ------------  ------------------------\r\n2016-07-13 00:00:10 .....        24496        24576  Cargo.lock\r\n2016-07-12 23:59:56 .....          232          512  Cargo.toml\r\n------------------- ----- ------------ ------------  ------------------------\r\n2016-07-13 00:00:10              24728        25088  2 files\r\n```\r\n\r\n`tar` extracts the archive just fine, but it can be a hassle for `7z` users, especially on Windows. I haven't tried other archiving programs."},"comment":{"url":"https://api.github.com/repos/alexcrichton/tar-rs/issues/comments/232433105","html_url":"https://github.com/alexcrichton/tar-rs/issues/70#issuecomment-232433105","issue_url":"https://api.github.com/repos/alexcrichton/tar-rs/issues/70","id":232433105,"user":{"login":"alexcrichton","id":64996,"avatar_url":"https://avatars.githubusercontent.com/u/64996?v=3","gravatar_id":"","url":"https://api.github.com/users/alexcrichton","html_url":"https://github.com/alexcrichton","followers_url":"https://api.github.com/users/alexcrichton/followers","following_url":"https://api.github.com/users/alexcrichton/following{/other_user}","gists_url":"https://api.github.com/users/alexcrichton/gists{/gist_id}","starred_url":"https://api.github.com/users/alexcrichton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexcrichton/subscriptions","organizations_url":"https://api.github.com/users/alexcrichton/orgs","repos_url":"https://api.github.com/users/alexcrichton/repos","events_url":"https://api.github.com/users/alexcrichton/events{/privacy}","received_events_url":"https://api.github.com/users/alexcrichton/received_events","type":"User","site_admin":false},"created_at":"2016-07-13T17:47:49Z","updated_at":"2016-07-13T17:47:49Z","body":"Oh dear, sounds bad! Could you upload the code you use to create the archive, along with the two archives in question? "}}
{"actor":{"display_login":"alexcrichton"}}