snapcraft list-revisions requires a base in the API payload

Bug #1904197 reported by Sergio Schvezov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snap Store Server
New
Undecided
Unassigned
Snapcraft
Fix Released
Critical
Sergio Schvezov

Bug Description

The schema documented at https://dashboard.snapcraft.io/docs/v2/en/snaps.html#snap-releases for "revisions" defines that "base" is required, but snaps with no base error as exposed on https://forum.snapcraft.io/t/snapcraft-list-revisions/21110, extracted here:

$ snapcraft list-revisions kubelet
Sorry, an error occurred in Snapcraft:
None is not of type 'string'

Failed validating 'type' in schema['properties']['revisions']['items']['properties']['base']:
    {'introduced_at': 1, 'type': 'string'}

On instance['revisions'][15]['base']:
    None

Revision history for this message
Sergio Schvezov (sergiusens) wrote :

This will be available in 4.4.2

Changed in snapcraft:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.