Comment 0 for bug 1600449

Revision history for this message
Jonas G. Drange (jonas-drange) wrote : Emit Applied once for each client. Or, allow asking if update was applied.

Applied cannot be a signal that is _maybe_ sent to the client, a client needs to know if an update was applied, and what build number that update had.

Reproduce:
Apply system update

What happens:
No way to know if update was applied or not, besides reading current build number (might have changed)

What should happen:
For each new client that connects to the <backend>, a signal should be emitted for that client.

So for some client that's really out of the loop (updates 301, 302 and 303 was applied after the last time it connected to the <backend>), it will receive the following signals when it connects to the <backend>:

    applied(301)
    applied(302)
    applied(303)