/srv/irclogs.ubuntu.com/2016/05/16/#snappy.txt

mjs7231Hey guys, I'm having trouble creating a snap that uses Gtk.  It seems everything is working fine, but when I try to run my Python script, I get "ValueError: Namespace Gtk not available"02:14
mjs7231I'm probably missing a dependency, I tried gir1.2-gtk-3.0, gobject-introspection, and libgtk-3-0 -- nothing works.02:15
=== chihchun_afk is now known as chihchun
MikaelaIs there anything like apt:url for snaps?05:52
zygao/09:09
=== JanC is now known as Guest47278
=== JanC_ is now known as JanC
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
sborovkovHi. Couple of questions about new security - is there a way now to say run root commands from snap? Particularly reboot. Also RPI specific - how would it be possible to be able to change config.txt which is a part of gadget snap from another snap?15:41
jdstrandTrevinho: hi! did you happen to get hello-unity working?20:00
jdstrandTrevinho: fyi, for the launcher API: https://github.com/ubuntu-core/snappy/pull/117320:01
Trevinhojdstrand: yeah...20:01
Trevinhojdstrand: I mean, I got the hello unity thing working20:01
Trevinhojdstrand: I wanted to push it, but I've not done it yet20:01
Trevinhojdstrand: I'll do that in a bit20:01
jdstrandTrevinho: thanks!20:02
Trevinhojdstrand: do you happen to know why gtk apps get the anonymous path?20:04
Trevinhojdstrand: it should be appid...20:04
TrevinhoThat's something we also noticed at the desktop sprint20:04
jdstrandno idea20:04
Trevinhojdstrand: the only thing I don't get working in hello unity is the indicator icon... I didn't debug that much yet, though... But I believe it's libappindicator not being able to locate the icon (although I've all the caches set)20:07
jdstrandTrevinho: intersting. If you want to commit what you have, I can verify what you have so far20:18
Trevinhojdstrand: yeah, give me 10 minutes, since I've done that in a VM which is in a different machine from the one I'm on right now :)20:19
jdstrandnp, thanks again20:21
KristbaumHello, is this the right place if I have questions about snappy?20:21
jdstrandKristbaum: yes20:22
KristbaumOkay thanks ;) I wanted to know what the "home" slot in "snappy interfaces" is about. I coudn't find anything elsewhere..20:24
jdstrandKristbaum: the docs are being worked on and are a bit behind atm on the website. You can see this though: https://github.com/ubuntu-core/snappy/blob/master/docs/interfaces.md20:25
KristbaumAh thanks, so if I enable the "home" slot in the .yaml file, what happens if a user tries to install it?20:28
jdstrandthe interface is not (currently) autoconnected, so the access is denied20:29
KristbaumCan a User enable it?20:29
Kristbaumwith snap connect?20:30
jdstrandthe user would then need to do something like: snap connect <you snap name>:home ubuntu-core:home20:30
KristbaumBut support for autoconnect is planned?20:31
jdstrandautoconnect is there now20:31
jdstrandit is explicitly set to not autoconnect20:32
jdstrandaiui, the gadget snap would make that auto-connectable20:32
jdstrandalso, future snap assertions might make then autoconnect depending on how the store is set up (that is planned)20:32
jdstrandthem*20:33
jdstrandalso, tooling might improve to assist with connecting20:33
zygajdstrand: o/20:34
KristbaumAh, so maybe in the future, there may be a Dialogue where the User decides if he want's to enable access tho his/her homefolder?20:34
zygajdstrand: I was off today, sorry for not realizing this earlier20:34
jdstrandKristbaum: it's conceivable20:34
jdstrandhey zyga :)20:34
jdstrandzyga: if you're off, why are you here now?20:35
ogra_jetlaggers paradise ;)20:35
zygajdstrand: just talking to slangasek about a missed meeting20:35
jdstrandKristbaum: you might be interested in https://insights.ubuntu.com/2016/05/04/security-confinement-in-ubuntu-core/20:36
zygajdstrand: ohh, published now!20:36
zygajdstrand: cool20:36
jdstrandzyga: that's niemeyer's blog post from a little while ago20:36
jdstrandnot the whitepaper20:36
zygaahh, too bad :)20:36
zygaI look forward for the whitepaper20:37
jdstrandKristbaum: there is also http://www.zygoon.pl/2016/04/snappy-snapcraft-and-interfaces.html20:37
jdstrandzyga: it will be nice to have up. I think it is in the community team's court at this point20:38
Kristbaumjdstrand: Thanks for this ;) How exactly are the snaps on desktop Ubuntu updated at the moment? Do I have to hit refresh on ervery app?20:38
ogra_there used to be an autorefresh feature, that was disabled and i currently re-worked20:40
ogra_it will return eventually20:40
ogra_(currently you have to use snap refresh)20:41
KristbaumInteresting. Do you know anything about how source code will be managed in the snappy store? Are there considerations on this? (In the sense of "apt source")20:44
ogra_no, snaps are purely binary20:47
ogra_you woud just host your code on github or wherever and aadd a snapcraft.yaml to the tree20:48
KristbaumIsn't this a Problem when you want a trusted, reproducable build?20:49
ogra_why would you ?20:49
ogra_the esssence of a snap is that it can be competely untrusted thanks to the confinement and the entry checks in the store20:50
KristbaumIf, for example, I use a FIrefox snap to to 90% of my work, how do I know that the snap  is really only the sourcecode from Mozilla, not anything else.20:50
Kristbaum?20:50
ogra_you cant ...20:51
ogra_i mean ... iit is likely that it is unmodified if mozilla uploaded it to the store ... but there is no guarantee20:51
KristbaumYeah, but isn't this a problem, or am I seeing this wrong?20:52
ogra_and effectively it does not matter ... since you have to decide what you allow to that snap20:52
KristbaumBut I do need to trust Firefox, because my work is in it, not in the Rest of the System. And if i can't check if it's really Firefox, how does this help me?20:54
ogra_how do you know it today ?20:55
jdstrandKristbaum: that gets into the assertions stuff I referenced earlier20:57
KristbaumI guess I trust the Debian/Ubuntu Developers that took the source and put it in the repo, or I type apt source and check it myself.20:57
jdstrandKristbaum: the idea is that you'll be able to be confident that a snap comes from a particular publisher (eg mozilla). assertions have crypto the ensures that and that crypto could be used to verify your installed snap20:58
jdstrandKristbaum: that does not guaratee that the publisher built the snap from their source trees20:58
Trevinhojdstrand: sorry for the delay, i'm pushing the thing soon... but i've just noticed that I've lost some of the things I was working on (damn me and staing on tmp), so... let me check i can get them back20:58
jdstrandKristbaum: Launchpad will grow functionality to build snaps, similar to ppas today, that can be triggered off source uploads. some of that is already in place20:59
ogra_it already has it20:59
jdstrandyes, but not autouploads to the store21:00
ogra_as a button for a tree though ...21:00
KristbaumOke, this isn't bad, so I can at least trust, it's from Mozilla. And will these Launchpad snaps be marked, so I know I can check the source if I want, and they directly are build from this source?21:01
Kristbaumjdstrand: ^21:01
jdstrandI'm not up on those details. Immediately you could download the snap from Launchpad, generate a hash of the file and compare that to what is on your system21:02
jdstrandI know source builds are something that is desired; I just don't know how they tie into assertions21:03
KristbaumOk, but it isn't on the roadmap yet? You would get a lot of "free-software-street-cred" if you implement this, I would presume. :D21:05
jdstrandit is on the roadmap, I just don't know the plans21:06
jdstrandKristbaum: you might ask on the list-- you'll get more authoritative answers :)21:07
jdstrandI think a lot of people are off today21:07
ogra_at least we pretend to :)21:08
KristbaumThanks, you helped me a lot ;) ! Very nice talking to you, I'll be off then, good night!21:09
qenghojdstrand: it would be kind of cool to have reproducible builds and ship a snapcraft.yaml if it came from that.21:24
qenghoAsk user at upload time.21:25
qenghoAsk publisher, that is.21:25
jdstrandI would love reproducible builds21:26
niemeyerjdstrand, zyga: We need to work on a disc-drive interface of sorts, soonish..21:33
jdstrandniemeyer: I have no details on that. can you file a bug?21:43
jdstrand(with the snapd-interface tag of course :)21:43
=== blr_ is now known as blr
niemeyerjdstrand: Will do, although I don't have many details either ;)22:43
mhall119sergiusens: where can I find the snapcraft.yaml for your telegram snap?22:44
niemeyerjdstrand: The idea is just enabling applications that want /dev/cdrom etc22:44
niemeyermhall119: Under his GH username22:44
niemeyersergiusens/telegram-snap22:45
mhall119thanks niemeyer22:51

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!