Skip to content
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

Put manifest without subject fails #9

Closed
sajayantony opened this issue Sep 15, 2021 · 4 comments
Closed

Put manifest without subject fails #9

sajayantony opened this issue Sep 15, 2021 · 4 comments
Assignees

Comments

@sajayantony
Copy link

Once the mediaType was removed the distribution fork could not handle manifests without subjects

See manifest below -

{
    "artifactType": "test",
    "blobs": [
        {
            "mediaType": "application/vnd.oci.image.layer.v1.tar",
            "digest": "sha256:641e4de3c3a30dd1abab107fad45eef2594e200a7f2085e648035d3efe43cf44",
            "size": 4235802,
            "urls": [
                "https://github.com/sajayantony/oras/releases/download/v0.5.4-alpha/oras_0.5.4-alpha_linux_amd64.tar.gz"
            ]
        }
    ]
}
```

Also if there are url fields should we validate that the blob exists? 
@shizhMSFT
Copy link

@m5i-work Could you work on this?

@m5i-work
Copy link

@shizhMSFT Sure, let me take a look.

@shizhMSFT
Copy link

Pending on oras-project/artifacts-spec#103

@shizhMSFT
Copy link

Resolved by #19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Done
Development

No branches or pull requests

3 participants