Skip to content

Support referrers to a missing manifest#491

Merged
sudo-bmitch merged 1 commit intoopencontainers:mainfrom
sudo-bmitch:pr-referrers-to-missing
Jan 11, 2024
Merged

Support referrers to a missing manifest#491
sudo-bmitch merged 1 commit intoopencontainers:mainfrom
sudo-bmitch:pr-referrers-to-missing

Conversation

@sudo-bmitch
Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

cc @jonjohnsonjr and @sajayantony

@sudo-bmitch sudo-bmitch added this to the v1.1.0 milestone Nov 14, 2023
Copy link
Copy Markdown
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..

Signed-off-by: Brandon Mitchell <git@bmitch.net>
@sudo-bmitch sudo-bmitch force-pushed the pr-referrers-to-missing branch from f695222 to 0a867d6 Compare November 14, 2023 16:58
Copy link
Copy Markdown
Contributor

@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
Copy Markdown
Contributor Author

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

Copy link
Copy Markdown
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
@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.

4 participants