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

Distribution proposal: support reverse-lookup from a manifest to its referrers (such as an index) #13

Closed
avtakkar opened this issue Sep 8, 2020 · 1 comment

Comments

@avtakkar
Copy link

avtakkar commented Sep 8, 2020

With regards to the manifest referrer metadata store discussed in #14, two options come to mind for implementing the reverse lookup:

  1. Let each manifest have a reverse lookup to all indexes that reference it. Retrieving referrer metadata for a particular manifest would mean first retrieving the indexes, and then following their references to the config objects to get the requested metadata references.

  2. Let each manifest have a reverse lookup to all config objects referenced by indexes that reference the manifest. This approach short circuits the indexes from the reverse lookup, providing direct access to the referrer metadata.

@SteveLasker
Copy link
Contributor

Closing as this is being tracked through the proposed reference type working group, with the current design tracked through oci.artifact.manifest PR #29

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

No branches or pull requests

2 participants