Skip to content

Annotations for descriptors? #440

@wking

Description

@wking

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions