-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
improve tar handler to support sparse archives. #684
Conversation
623b4b7
to
e30118f
Compare
e30118f
to
7b22f30
Compare
just wondering, but isn't it a bug in python tar implementation? is there an upstream bug for this? I guess the difference comes from where tar takes the size:
|
@martonilles to me it's not an upstream bug, it's just that the developers chose to consider that a They do this in self.size = origsize That's why unblob fails on sparse tar archives since the handler finds an end offset past the end of the archive, given that the original file size is bigger than the sparse'd size. |
7b22f30
to
7e81c74
Compare
Found a better solution with @e3krisztian |
7e81c74
to
2b5a2fa
Compare
Resolve #683
TODO: