After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 781007 - Replace snapd code with snapd-glib
Replace snapd code with snapd-glib
Status: RESOLVED FIXED
Product: gnome-software
Classification: Applications
Component: Snap
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Robert Ancell
Robert Ancell
Depends on:
Blocks:
 
 
Reported: 2017-04-07 03:15 UTC by Robert Ancell
Modified: 2017-05-04 01:57 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Robert Ancell 2017-04-07 03:15:01 UTC
We currently have code to communicate with snapd in plugins/snap/gs-snapd.[ch]. This should be able to be replaced with snapd-glib (which we only use currently for login).
Comment 1 Robert Ancell 2017-04-07 03:15:59 UTC
I haven't been able to get this to work because the snapd-glib sync calls don't complete when run inside the snap plugin. I think it might be some thread/mainloop interactions not working. snapd-glib might need modifying if it's doing something odd / wrong.