snapd events API
Ted Gould
ted at ubuntu.com
Wed Aug 17 14:22:21 UTC 2016
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
> om> wrote:
> > On 17 August 2016 at 03:24, Robert Ancell
> > com> 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
> > Snapcraft at lists.snapcraft.io
> > Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman
> > /listinfo/snapcraft
> >
>
>
> --
> gustavo @ http://niemeyer.net
> --
> Snapcraft mailing list
> Snapcraft at lists.snapcraft.io
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/l
> istinfo/snapcraft
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20160817/53e859bb/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20160817/53e859bb/attachment.sig>
More information about the Snapcraft
mailing list