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

Clarify recommendations around OCI annotations #405

Open
jlegrone opened this issue Feb 3, 2021 · 0 comments
Open

Clarify recommendations around OCI annotations #405

jlegrone opened this issue Feb 3, 2021 · 0 comments

Comments

@jlegrone
Copy link
Member

jlegrone commented Feb 3, 2021

In https://github.com/cnabio/cnab-spec/blob/master/201-representing-CNAB-in-OCI.md, we discuss how bundles should be represented as OCI manifests. There is one mention of annotations:

While implementations MAY choose to surface information from the bundle as top-level annotations in the OCI representations, they MUST store the unmodified bundle file as a blob.

I think it would be useful to clarify the following points, along with an updated example manifest.

  1. How additional bundle metadata SHOULD be reflected in annotations, including which fields of a bundle.json should map to which pre-defined annotations
  2. Should annotations go on the top level of the manifest object, or under .config?
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

1 participant