Skip to content

docs: validation-set documentation is missing snap components #318

@jocado

Description

@jocado

Snap component specification is supported in a validation-set, alongside the snap for which the component is for.
This should be reflected in the documentation.

Please check, but I believe the format support is as follows:

type:            validation-set
authority-id:     <authority account id>
series:         16
account-id:     <account-id>
name:            <validation set name>
revision:         <int>
sequence:         <int>
snaps:
  - name:      <snap-name>
    id:        <snap id>
    presence: "required"|"optional"|"invalid" # optional
                                             # defaults to required
    revision: <n> # the revision of the snap. optional
    components:   # optional
       <component-name-1>: "optional"|"required"|"invalid" # presence
       <component-name-2>:
           presence: "optional"|"required"|"invalid"           
           revision: <n> # optional
      
 ...
timestamp:    <utc-datetime>

Reported from: https://documentation.ubuntu.com/core/reference/assertions/validation-set/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions