Open sgallagher opened 9 years ago
This will also require us to implement job-control for some (most? all) actions in the API. This will be a major, backwards-incompatible change, so we need to plan it carefully,
I had some more thoughts on this today. I'd also like to get the opinions of the Cockpit team here (@andreasn, @stefwalter).
deploy_job()
, etc and then have the existing deploy()
routine internally implement the job mechanism. I'm not certain yet if this will be useful, since I don't know whether anyone is actually consuming the API besides rolectl. We might be able to get away with just breaking API this one time.@andreasn, @stefwalter Ping? I'd like to work out a design here so we can start working on this for Fedora 24.
Sorry for the delay. Been busy with other stuff. Will look into it.
We should allow clients to register for a progress update signal so they can see how far along the action has gone.