Skip to content

Conversation

vsoch
Copy link
Contributor

@vsoch vsoch commented Nov 10, 2023

There is a bug with the title that, given it does not have .tar.gz with the oras-go client, it will not be extracted as such.

Signed-off-by: vsoch <vsoch@users.noreply.github.com>
@vsoch vsoch requested a review from SteveLasker as a code owner November 10, 2023 21:44
@MichaelKopfMkf
Copy link
Contributor

I think this is not the desired behaviour.
The oras cli does not publish directories with a tar.gz file ending in the title.

I think it uses the layers annotation io.deis.oras.content.unpack to decide whether to unpack a layer or not.
the title is then used as target location for the unpacked tar.

I suggested to make oras-py also use this annotation here:
#170

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants