Add API to be notified when changes occur

Bug #1768418 reported by Robert Ancell
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
snapd
Triaged
Medium
Unassigned

Bug Description

A snapd client doesn't have a means to know when another client does a transaction unless it polls for changes.

For example:
1. GNOME Software is open
2. A snap is installed from the command line
3. GNOME Software is unaware the snap was installed until it checks the state of that snap again.

I propose we add an API like the /v2/logs?follow=1 API (uses application/json-seq).

Revision history for this message
Zygmunt Krynicki (zyga) wrote :

We used to have a primitive and incomplete web socket implementation but it is gone now. I ack the need for a notification channel though I think we should discuss the details on the forum.

Changed in snapd:
status: New → Triaged
Michael Vogt (mvo)
Changed in snapd:
importance: Undecided → Medium
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.