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

Annotations for descriptors? #440

Closed
wking opened this issue Nov 3, 2016 · 2 comments
Closed

Annotations for descriptors? #440

wking opened this issue Nov 3, 2016 · 2 comments
Assignees
Milestone

Comments

@wking
Copy link
Contributor

wking commented Nov 3, 2016

In #438, @vbatts proposed optional ref annotations:

{
  "ref": "stable",
  "annotations": {
    "org.waffles.with": "syrup,raspberries",
    "io.flatpak.app.name": "org.gnome.gedit"
  }
}

to support “top level views” in tooling that may publish or fetch from an OCI image-layout. I'm not entirely clear on that use case, but it brings up two questions:

  1. Do we need annotations for refs? Basically, can someone explain the “top level views” use-case in more detail.
  2. After establishing (1), can we accomplish that same goal by adding annotations to our descriptor model? This would allow us to support ref (and other) annotations even for refs accessed by the ref/ directory or other ref engine.
@vbatts
Copy link
Member

vbatts commented Nov 29, 2016

I've just done something like this in #438 (comment)

@wking
Copy link
Contributor Author

wking commented Dec 1, 2016 via email

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