Missing snap 'Published / Created' data in the Info api

Bug #1793096 reported by Claudio Gomboli
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snap Store Server
Fix Released
Undecided
Unassigned
snapd
Triaged
Medium
Unassigned

Bug Description

We would like to implement a new design for the recommended server snaps screens in the Subiquity installer, and we would use the "Published" information that appears on the store (see attachments). It seems that this data is missing in the Info API.

Tags: info-api
Revision history for this message
Claudio Gomboli (gomboli) wrote :
Bret Barker (noise)
Changed in snapstore:
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → Celso Providelo (cprov)
Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

The update on this seems to be that the v2/ store api supports this data, but subiquity talks to the v2 _snapd_ api and that does not.

Revision history for this message
Celso Providelo (cprov) wrote :

Michael,

Your point about the differences in Store v2 and the Snapd v2 API is correct. The problem is more specifically around Snapd `v2/find` being filled from sometimes from Store v1 search response and other from Store v2 info ('?name=rocketchat-server'), the latter is what the storefront is using in your screenshot.

We are planning to work on a Store v2 search early in 19.04 cycle, which will solve this internal mismatch, but that might be too late for subiquity.

Another implementation route, preliminary step would be to augment v1 search to also expose the information you need (`created-at`) and change snapd to accommodate the differences while Store v2 search is not a reality.

Please let us know what's your timeline and expectation on this particularly design. Our preference it to continue with the planned v2 search early 19.04

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

To be honest, I think this bug may be mistargeted given what you say -- the store exposes the information I want, but it's not available via the snapd API. Currently subiquity only talks to the snapd API and I'd generally prefer to keep it that way...

Revision history for this message
Celso Providelo (cprov) wrote :

Thanks for your input, Michael.

Subiquity should remain only talking to snapd API (it was never suggested otherwise, apologies if it wasn't clear) and we should stick to the original plan to consolidate snapd v2 API by exposing a Store search v2 API during the next cycle.

Changed in snapstore:
importance: Medium → Undecided
Michael Vogt (mvo)
Changed in snapd:
importance: Undecided → Medium
Celso Providelo (cprov)
Changed in snapstore:
status: Confirmed → Fix Released
assignee: Celso Providelo (cprov) → Johan Dahlin (jdahlin)
Zygmunt Krynicki (zyga)
Changed in snapd:
status: New → Triaged
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.