Understood, thanks for the details. For the time being, I suggest implementing that in terms of polling since we already have good APIs for that which should be very fast (it's all in memory).
This gives us some more time to focus on the image deliverables that we have impending, and some time to design the events API properly as well. On Wed, Aug 17, 2016 at 11:22 AM, Ted Gould <[email protected]> wrote: > > For me, the most critical events are package installed, upgraded¹ and > removed. The primary use-case is to handle entries on the Unity panel (i.e. > remove them if the package gets removed). That seems like an easy place to > get started. > > Ted > > ¹ Not sure if upgrade is a remove/install pair, listed for completeness, > not because we have a need for it to be distinct. > > On Wed, 2016-08-17 at 10:56 -0300, Gustavo Niemeyer wrote: > > Yeah, this is non-working remainings of something that wasn't discussed > much. > > Before patching it, we need to come up with a more clear idea of how the > API looks like, how it's supposed to evolve, and what's the plan for > integration into the various aspects of the system. > > On Wed, Aug 17, 2016 at 7:25 AM, John Lenton <[email protected]> > wrote: > > On 17 August 2016 at 03:24, Robert Ancell <[email protected]> > wrote: > > I've been trying to access snapd events using the REST API [1] and I'm > not > > able to get it working. > > I'm afraid the events work has fallen by the wayside. It was not > completed afaik, and obviously has no (or not enough) tests otherwise > this would've popped up. We're not using it for anything, and the only > consumer we had was also the implementer (namely snapweb) but moved > away from using (at least in the short term) it mid-implementation. > > I'm all for fixing it, but we're rather tight for time I'm afraid. > Patches welcome :-D > > -- > Snapcraft mailing list > [email protected] > Modify settings or unsubscribe at: https://lists.ubuntu.com/mailm > an/listinfo/snapcraft > > > > > -- > gustavo @ http://niemeyer.net > > -- > Snapcraft mailing [email protected] > Modify settings or unsubscribe at: > https://lists.ubuntu.com/mailman/listinfo/snapcraft > > > -- > Snapcraft mailing list > [email protected] > Modify settings or unsubscribe at: https://lists.ubuntu.com/mailm > an/listinfo/snapcraft > > -- gustavo @ http://niemeyer.net
-- Snapcraft mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
