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

Support referrers to a missing manifest #491

Merged

Conversation

sudo-bmitch
Copy link
Contributor

In the discussions of whether to require registries to accept a manifest with a subject pointing to missing digest, there was a use case mentioned of pushing metadata to a separate repo from the images. In cases where the registry does support pushing these manifests, the empty response to the referrers API breaks that use case. It also doesn't provide any value for those that want to validate the subject descriptor. So I propose removing that exception from the spec.

The changes to the conformance tests can be gated behind configuration variables if registries have the option to validate the subject field in a future version of the spec.

@sudo-bmitch
Copy link
Contributor Author

cc @jonjohnsonjr and @sajayantony

@sudo-bmitch sudo-bmitch added this to the v1.1.0 milestone Nov 14, 2023
Copy link
Member

@mikebrow mikebrow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see comment on additional phrase... that would need to be removed..

and the question regarding contentDiscovery with/without 1.0 type validations..

spec.md Outdated Show resolved Hide resolved
conformance/03_discovery_test.go Show resolved Hide resolved
Signed-off-by: Brandon Mitchell <git@bmitch.net>
Copy link
Member

@jdolitsky jdolitsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as a card-carrying mike brown, i approve

@sudo-bmitch
Copy link
Contributor Author

@mikebrow was your feedback addressed, or is there anything else I'm missing?

Copy link
Member

@mikebrow mikebrow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LTGM
we can add additional tests later see #501

@sudo-bmitch sudo-bmitch merged commit b5f09eb into opencontainers:main Jan 11, 2024
5 checks passed
@sudo-bmitch sudo-bmitch deleted the pr-referrers-to-missing branch January 11, 2024 18:46
@jdolitsky jdolitsky mentioned this pull request Jan 11, 2024
8 tasks
@sudo-bmitch sudo-bmitch mentioned this pull request Feb 1, 2024
8 tasks
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.

None yet

4 participants