Snapd channel information

  1. These fields are all completely independent, which perhaps means I don’t understand the question.
  2. The risk level is just one of the components in a channel name. We have details on that terminology documented.
  3. No, there are custom components. The doc explains that in detail too.
  4. Track is another component of a channel name (also in doc). The “channel” field is what tells the channel currently being tracked.
  5. I suggest exposing it as a string too, so the code remains generic, and our validation code accepts strings as well, where appropriate. The background of that curious choice is that we need a revision for local snaps that does not clash with real revisions. Those are monotonically incremented, and prefixed by an “x”.