You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that client.pull() automatically extracts archives which is a nice feature however I don't require it so it is possible to disable?
I've also noticed that the result from the pull is an invalid path, the path is actually the path to the extacted folder however the returned path includes the tgz which is infact in another folder (all be it with a random name)
The text was updated successfully, but these errors were encountered:
When I use "oras pull" it doesn't unpack the tgz automatically so I thought it was just an issue with the py library.
Looking at the pull function, could we add an argument like "skip_unpack= kwargs.get("skip_unpack", false)" and then check the value of that variable here if layer["mediaType"] == oras.defaults.default_blob_dir_media_type:
Yes absolutely - I think that's the direction the upstream client will go to. Would you care to do a pull request? We can add the argument, and ensure that:
It seems that client.pull() automatically extracts archives which is a nice feature however I don't require it so it is possible to disable?
I've also noticed that the result from the pull is an invalid path, the path is actually the path to the extacted folder however the returned path includes the tgz which is infact in another folder (all be it with a random name)
The text was updated successfully, but these errors were encountered: