/srv/irclogs.ubuntu.com/2016/08/20/#snappy.txt

sabdflwililupy, is there a switchdev version of your code?00:07
wililupysabdfl: no. This is all based on OpenNSL and OpenNetworkLinux.org kernel source.00:08
sabdflok, if there are generally-useful modules we will carry them in the common kernel, otherwise making your own kernel snap is pretty easy00:09
* ahoneybun bangs head on desk00:09
sabdflahoneybun, its very satisfying when you get to full confinement :)00:09
leftyfbI'm just getting started with snappy. Can someone explain this to me? http://pastebin.com/yMDSMNZv00:09
ahoneybunsabdfl, it's not past even opening up yet00:10
ahoneybunno devmode is whole different beast00:10
sabdflleftyfb, what's in /snap/bin/ ?00:10
leftyfbsabdfl: as, so there it is. I guess I have to add /snap/bin to $PATH?00:11
sabdflyes, i'm trying to figure out why i never had to do anything special for that00:11
ahoneybunsabdfl, can't even find why it runs on my machine but not the snap00:12
sabdflbasically, snapd parses the snap metadata (snap.yaml) and it creates things in /snap/bin/ so you get them on your $PATH00:12
naccleftyfb: where were you installing it? 16.04?00:12
leftyfbnacc: yes00:12
leftyfbnacc: recently upgraded from 14.0400:12
sabdflleftyfb, I have /snap/bin/ as the last item in $PATH but i'm not sure where that is set00:13
sabdfli know the recend sudo update added it for the sudo case00:14
leftyfbsabdfl: usually ~/.bashrc and/or ~/.profile00:14
nacclooks to be /etc/profile.d/apps-bin-path.sh00:14
naccfrom snapd package00:14
sabdflthanks nacc00:14
sabdflahoneybun, as you can see you are better off with nacc's help than mine :)00:15
naccsabdfl: np, wondered the same thing myself :)00:15
ahoneybunI think I throw nacc off too lol00:15
ahoneybunthe libs are there00:15
ahoneybunno idea if the snap is looking in the wrong place or what00:15
naccleftyfb: odd that your profile isn't sourcing that, wonder if it's a quirk of the upgrade00:15
sabdflahoneybun, what's the name of the snap?00:15
ahoneybunPithos00:16
ahoneybunthe pandora player client00:16
ahoneybuntrying to snap the new 1.2.1 build00:16
leftyfbnacc: any idea where that should be sourced? Something in /etc/ * assume00:16
sabdfli think there is a way to get a shell with the same confinement.... 'snap run --shell pithos' perhaps?00:16
naccleftyfb: iirc, /etc/profile sources any .sh files00:16
sabdflleftyfb, what's your $SHELL?00:17
tsimonq2ooh Pithos would be a great snap :)00:17
tsimonq2I love it00:17
ahoneybuntsimonq2, if I could get it to start at all00:17
leftyfbsabdfl: bash00:17
sabdflleftyfb, oh well if you want to go using weird stuff like...00:17
* ahoneybun found a inkscape snap today00:17
tsimonq2ahoneybun: let me know :)00:18
ahoneybunknow what?00:18
tsimonq2when you get it working00:18
tsimonq2o/ sabdfl, how are you? :)00:18
ahoneybunthat might be the 1.2.3.... or on release ll00:18
sabdflahoneybun, can you stick a bin/bash in your snap? then the snap run --shell cmd will work iirc00:18
sabdfltsimonq2, good thanks, you?00:18
ahoneybunwhat sabdfl ?00:18
tsimonq2great sabdfl :)00:19
leftyfbyeah, it's odd. It looks like I'm not sourcing /etc/profile.d/apps-bin-path.sh even when logging out and back in00:19
sabdflahoneybun, are you the author of this snap, or just consuming it?00:19
ahoneybuntsimonq2, I think gi.repository is a python thing00:19
ahoneybunsabdfl, I did not write the app, just trying to make it a snap00:19
sabdflnot in store so I assume you are making the snap?00:19
sabdflright00:19
sabdflyou can add a command to the snap, which is a shell00:20
ahoneybunbut what help does that give me?00:20
sabdfli think you basically can just copy /bin/bash into your snap at bin/bash00:20
naccleftyfb: very strange, is this in your /etc/profile ? http://paste.ubuntu.com/23071877/00:20
sabdfli think it will let us debug things more easily00:20
sabdflaiui you have a problem with python not finding a lib00:20
naccahoneybun: it would let you drop into the snap's env and then you can try to figure out what your snap's executable is seeing00:20
ahoneybunI don't get the error on my machine so it must be missing a package00:21
leftyfbnacc: yes00:21
naccahoneybun: or in this , not seeing :)00:21
sabdflthat will be easier to debug if we can pretend to be python and go looking for it00:21
ahoneybunmm go on sabdfl ;)00:21
naccleftyfb: really strange!00:21
sabdflbasically, each snap runs in its own little world where it sees glimpses of what other snaps provide00:21
ahoneybunhow do I add this?00:21
sabdflit sees a glimpse of the core snap ("ubuntu-core") and it sees its own files00:21
sabdfland it may see things from other snaps too (thats what plugs and slots do)00:22
sabdflthose pieces are arranged so that the snap can get on and do what it does but not taint any other snap00:22
naccahoneybun: you'd add another 'app', i think, say 'pithos-shell' which just runs bash, and add a part that copies your system's /bin/bash into the snap, i believe00:22
sabdflnacc, we should definitely make this a built-in thing so you don't need the boilerplate00:22
naccsabdfl: absolutely, esp. in devmode :)00:23
leftyfbnacc: yep. I've noticed a few things with the upgrade. terminator crashes more often then I would like. Shutdown takes longer than it should. The notifications indicator doesn't always start on boot. And I have to restart NM in order for vpn item in NM to not be greyed out for me to click it.00:23
naccsabdfl: given one could assume you're developing then :)00:23
sabdflhttps://github.com/snapcore/snapcraft/blob/master/tour/00-SNAPCRAFT/02-parts/snapcraft.yaml00:23
sabdflthat's a fairly blunt example (haven't tried it) which actually looks like it builds bash00:24
ahoneybunI might be missing a full steps00:24
sabdfla simpler one would just COPY it in00:24
sabdflbut the point is if you add that you can run pithos.bash00:24
sabdfland THEN you have a shell which sees the same slices of reality that your python app does00:24
sabdfli.e. the filesystems and kernel permissions etc are the same00:24
naccincluding in particular, in this case, if that gi modules is present00:24
sabdflthen you can just poke around and more easily see what is really going on00:25
sabdflahoneybun, pastebin your snapcraft.yaml00:25
sabdflor snap.yaml if you are doing things the heroic manual way00:25
ahoneybunhttp://pastebin.ubuntu.com/23071882/00:26
ahoneybunyea I just broke things trying that bash thing00:26
ahoneybuntsimonq2, the inkscape snap has access to the HUD too00:27
ahoneybunwhich is super cool00:27
naccahoneybun: can you pastebin the output of `unsquashfs -l pithos_ahoneybun_1.2.0_amd64.snap`?00:28
naccerr, pithos-ahoneybun, sorry00:28
ahoneybunno such file or dir00:29
naccsorry, i was sort of guessing on the resulting snap's name; it'd be something.snap in the same directory you ran `snapcraft build` in00:29
ahoneybunthe .snap you mean?00:30
ahoneybunlet me build the snap again00:30
naccahoneybun: yeah, the resulting .snap (which is just a squashfs fs)00:31
naccsabdfl: filed LP: #161516300:35
mupBug #1615163: shell boilerplate could be automatically added when building in devmode <snapcraft (Ubuntu):New> <https://launchpad.net/bugs/1615163>00:35
ahoneybunnacc, http://paste.ubuntu.com/23071892/00:38
ahoneybunsorry about the wait00:38
ahoneybungod I love pastebinit tsimonq200:38
sabdflahoneybun, try this part in your snapcraft.yaml:00:38
sabdfl  bash:00:38
sabdfl    plugin: copy00:38
sabdfl    source: bin/00:38
sabdfl    files:00:38
sabdfl      bash: bin/bash00:38
sabdflerk sorry meant to pastebin that00:39
sabdflyou will need to make a bin/ directory in your snap source tree and copy /bin/bash into that00:39
sabdflthen add this to your apps: stanza in snapcraft.yaml00:40
sabdfl  bash:00:40
sabdfl    command: bin/bash00:40
sabdflI *think* that will get you a bin/bash in your snap00:40
naccahoneybun: np, looking at it now00:40
ahoneybunsabdfl, going to see what nacc and I can get from that other way first00:41
sabdflok00:41
naccahoneybun: for my own edification, is /snap/pithos-ahoneybun/x1/usr/bin/pithos a python script?00:42
sabdfli'm testing here on my own snap and it seems to work00:42
sabdflthe net effect is I can then run snapname.bash00:42
naccsabdfl: yeah that should work, agreed (note that copy is deprecated in favor of dump :)00:42
sabdfland i am in the sandbox that the snap lives in00:42
sabdflnacc, yeah, i couldn't figure out the help text for dump :p00:42
naccahoneybun: (note the x<#> may vary depending on if you've done more revisions since the paste)00:42
sabdflx# is code for "local revision #"00:43
naccsabdfl: :) i had the same issue, hence my bug report says i'm not entirely sure if it works as written :)00:43
ahoneybunI don't see that file nacc00:43
sabdflok, i'm retiring for the day, nice to meet you ahoneybun i look forward to trying your snap. yours too wililupy00:44
naccahoneybun: when you run the app now, doesn't it say something like "File ..., line 8, in <module>" in the traceback?00:44
ahoneybunit's in /bin now00:44
ahoneybunneed to go00:44
wililupyhave a great evening sabdfl00:44
naccahoneybun: me too, will try and be around next week00:48
mupPR snapd#1693 closed: tests: add qemu to our spread.yaml and update README <Created by mvo5> <Merged by niemeyer> <https://github.com/snapcore/snapd/pull/1693>01:13
mupPR snapd#1693 closed: tests: add qemu to our spread.yaml and update README <Created by mvo5> <Merged by niemeyer> <https://github.com/snapcore/snapd/pull/1693>01:13
mupPR snapd#1711 opened: tests: disable unity test <Created by niemeyer> <https://github.com/snapcore/snapd/pull/1711>01:30
stgraberc01:31
stgraberoops :)01:31
mupPR snapd#1711 closed: tests: disable unity test <Created by niemeyer> <Merged by niemeyer> <https://github.com/snapcore/snapd/pull/1711>02:01
mupPR snapd#1706 closed: tests: add process-control interface spread test <Created by fgimenez> <Merged by niemeyer> <https://github.com/snapcore/snapd/pull/1706>02:07
mhall119ahoneybun: you around? I figured out your problem03:03
mhall119ahoneybun: unfortunately it won't get you very far, pithos looks to be a mess of hardcoded paths03:09
ahoneybunthe file is in the right place03:12
ahoneybunthat's what's weird03:12
ahoneybunls prime/share/pithos/03:12
ahoneybunpithos.gresource03:12
mhall119ahoneybun: the problem is your #! line in ${SNAP}/bin/pithos is telling it to use the system python, not the snap's python03:15
mhall119ahoneybun: change your snapcraft app command to this:03:16
mhall119command: desktop-launch python3 ${SNAP}/bin/pithos03:16
mhall119that will use the snap's python3, so it will find gi.repository03:16
ahoneybunit found that now03:16
mhall119but it will fail a little further down, when it's using more hardcoded paths to load files03:16
ahoneybunthat part03:16
ahoneybunIhttp://pastebin.ubuntu.com/23072018/03:16
ahoneybunhttp://pastebin.ubuntu.com/23072018/03:16
ahoneybunfunny that the file is in the right place and name03:17
ahoneybunso it gets to this part of bin/pithos resource = Gio.resource_load(os.path.join(pkgdatadir, 'pithos.gresource'))03:17
mhall119and pkgdatadir is /share/pithos03:19
mhall119which is not the right directory03:19
ahoneybunit is03:19
ahoneybunpithos-ahoneybun/x1/share/pithos/03:20
mhall119which is not the same as /share/pithos03:20
ahoneybunmm03:20
mhall119your snap isn't a chroot03:20
mhall119in a snap means / on your machine03:20
ahoneybunI COULD change the pkgdatadir or something to ${SNAP} but it would brake with every release03:21
ahoneybunor something similar03:21
mhall119yeah, really upstream should be using XDG_DATA_DIRS or something like that, rather than hardcoded paths03:23
ahoneybunso pointless snap idea then?03:24
mhall119depends on how willing upstream is to take patches from you to improve it03:24
ahoneybunno idea how to make it better03:24
ahoneybunit's on github so it is possible to do requests03:25
mhall119I know someone was workign on some runtime hack to redirect attempts to read from /usr/share/ to account for things like this, but I don't know how far along that is03:25
ahoneybunI'd rather avoid hacks tbh03:25
ahoneybunfunny someone made a flatpak03:29
mhall119flatpaks are chroots, or containers, or something more separate from the host machine than snaps are03:31
ahoneybunmm03:32
ahoneybunack03:32
ahoneybunsnapcraft is so picky on spacing03:35
mhall119spacing?03:36
ahoneybunyea03:36
ahoneybunfound character '\t' that cannot start any token on03:36
ahoneybunabout to give up man03:37
ahoneybunjust keeps yelling about it03:37
tsimonq2ahoneybun: don't give up, give up for the day, sure, but Pithos snap... :O03:37
ahoneybuntsimonq2, that one is not going to work03:37
ahoneybunatm I'm messing with Geary03:38
tsimonq2oh03:38
ahoneybunyep03:46
ahoneybuncan snap deal with deb files?03:49
mhall119ahoneybun: that's probably yaml, not snapcraft04:39
ahoneybunwell04:39
ahoneybunit handles .git fine04:39
ahoneybunnice to know04:39
ahoneybuntrying to snap otter-browser atm04:39
ahoneybunreally rare to see you up mhall11904:39
ahoneybunhttps://github.com/OtterBrowser/otter-browser04:40
mhall119yeah, I've been trying to find a way to make pithos work without patching it.......spent too long on it04:40
ahoneybunmhall119, sorry about that04:40
ahoneybundon't worry about it04:40
ahoneybunfirst time very rarely works on anything04:40
mhall119not your fault, I just can't turn away from a challenge :)04:40
ahoneybunI kinda can04:41
ahoneybunhitting a xcb error atm04:41
ahoneybunadded libqt5gui5 but no dice04:42
ahoneybunmhall119, trying to find *something* that I can snap right lol04:45
=== chihchun_afk is now known as chihchun
=== JanC is now known as Guest65624
=== JanC_ is now known as JanC
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== beisner- is now known as beisner
=== mup_ is now known as mup
=== diddledan__ is now known as diddledan
=== tvoss_ is now known as tvoss
=== mariogrip_ is now known as mariogrip
=== braderhart_ is now known as braderhart
=== Tristit1a is now known as Tristitia
mupPR snapd#1609 closed: overlord/devicestate: first pass at device registration logic <Critical> <Created by pedronis> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/1609>08:32
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
sabdflahoneybun, mhall119, didya crack it?11:06
MrChrisDruifSo I've got quassel-core installed on my Raspberry Pi. Should make me a little more connected to IRC again.11:31
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
mupPR snapd#1712 opened: asserts/sysdb: embed the new format official root/trusted assertions <Created by pedronis> <https://github.com/snapcore/snapd/pull/1712>13:08
mupPR snapd#1713 opened: tests: start teaching the fakestore about assertions <Created by pedronis> <https://github.com/snapcore/snapd/pull/1713>13:39
=== JanC_ is now known as JanC
=== chihchun_afk is now known as chihchun
eldarkg\HELP14:29
eldarkgHello guys. How to do snap app to open URL retranslating to the system browser or the system application (like evince for PDF)?14:32
qengho_eldarkg: I don't think it can. You can not expect any browser or PDF viewer to exist, unless it's provided by your snap.14:41
eldarkgqengho_: What about xdg-open to open file if mime exist?14:43
=== qengho_ is now known as qengho
eldarkgqengho: What about this https://bugs.launchpad.net/snappy/+bug/1580740 ?14:44
mupBug #1580740: [SRU] Cannot open a browser link from a snap that provides a link <snap-desktop-issue> <verification-needed> <Snappy:Triaged> <snapd-xdg-open (Ubuntu):Confirmed> <snapd-xdg-open (Ubuntu Xenial):Fix Committed> <https://launchpad.net/bugs/1580740>14:44
qenghoeldarkg: Yes? What about it?14:46
eldarkgqengho: I failed14:48
=== chihchun is now known as chihchun_afk
mhall119sabdfl: we fixed one problem, but pithos has so many hardcoded paths that it will take quite a bit of patching to make it work15:12
mhall119eldarkg: it's being worked on, if not already working15:13
mhall119the tl;dr is that your snap will need to call a special version of xdg-open that will pass the URI over to the real thing15:14
mhall119using a trusted mediator that will let it open the webbrowser outside of your snap's confinement15:15
eldarkgmhall119: Where I can to get information about how to configure my snap?15:18
eldarkgmhall119: or example snap?15:19
mhall119eldarkg: to open urls externally, or in general?15:21
mhall119http://snapcraft.io is good for general info on snapping15:22
mhall119judging by the bug report you posted above, I don't think the new snap-xdg-open stuff is landed yet15:22
eldarkgmhall119: I snap kicad. Kicad have documentation in html format that opened from kicad that retranslated to web-browser.15:24
mhall119so that's what this snap-xdg-open project is going to fix, it will pass the documentation file URI outside of your snap's environment so it can be opened in the system browser15:25
eldarkgI thought may be exist another ways to solve this problem15:28
mhall119you could possibly include xdg-open and a lightweight browser in your snap, but I'm not sure to tell xdg-open how to find the in-snap browser15:36
eldarkgmhall119: Thank you. But I don't want to include browser in snap15:42
mhall119eldarkg: that's going to be the best long-term anyway, check back here on Monday and see if attente or elopio are give you an ETA on when snap-xdg-open will be available15:45
eldarkgmhall119: ok15:45
=== chihchun_afk is now known as chihchun
mupBug #1615248 opened: ubuntu-core-launcher nvidia driver detection is bogus <Snappy:New> <https://launchpad.net/bugs/1615248>16:21
sabdflmhall119, what's the best way to uncerstand wrapper commands?16:23
sabdflunderstand, even16:23
sabdfli'm snapping up something cloudy and snapcraft made me a command-foo.wrapper16:23
sabdflbut i want to make a custom one, where to put it?16:23
=== chihchun is now known as chihchun_afk
ogra_sabdfl, that wrapper is always there to set up the snap env ... just create a wrapper.sh (or omit the  .sh) that does what you want and define it as the executable in your apps entry16:24
ogra_sabdfl, here is a very simple example https://github.com/ogra1/laidout16:25
sabdflthanks folks16:26
sabdflis $SNAP_COMMON the unversioned system directory?16:29
sabdfldata directory16:29
ogra_yep16:30
ogra_ogra@anubis:~/datengrab/devel/branches/dragonboard-kernel-snap$ hello-world.env |grep COMMON16:30
ogra_SNAP_USER_COMMON=/home/ogra/snap/hello-world/common16:30
ogra_SNAP_COMMON=/var/snap/hello-world/common16:30
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
sabdfloh this is exciting16:51
sabdflogra_, does it make sense to use $SNAP_COMMON if run as root, $SNAP_USER_DATA otherwise?17:00
sabdfland... how do I test if I am root in the wrapper?17:00
sabdflsergiusens, who do i need to ask about registering a name that i think is already reserved?17:12
ogra_if [ "$(id -u)" = "0" ]; then17:24
ogra_    echo "i'm root"17:24
ogra_fi17:24
ogra_sabdfl, i guess the $SNAP_USER_DATA vs $SNAP_COMMON is personal preference ... if it is some actual enduser tool i'd use $SNAP_USER_DATA though ... if it is something for i.e. system management/maintenance i'd pick a system dir like $SNAP_COMMON17:26
sabdflit's an interesting one17:28
sabdflit usually runs as a daemon as root17:28
sabdflwhich suggests to use the system writable dirs17:28
sabdflbut you can also run it as a user17:28
sabdflin which case, in the classic world, it just writes wherever you are or where you tell it to17:29
sabdflwhich feels more like $SNAP_USER_DATA17:29
ogra_yeah17:29
ogra_so $SNAP_COMMON for system ... $SNAP_USER_DATA for non-root sounds logical17:29
sabdflis there a convenient interface for sending messages to the systemd journal?17:56
sabdflpitti, ^?17:56
Son_Gokusabdfl, there's socket and dbus interfaces for it18:08
Son_Gokuand I believe go bindings as well, so you could craft a custom interface18:08
Son_Gokuhttps://github.com/coreos/go-systemd18:09
sabdflthanks Son_Goku18:14
sabdflthe app i am snapping up may well be using that code18:15
Son_Gokusabdfl, if I may ask, what are you snapping?18:17
sabdflSon_Goku, etcd18:17
Son_Gokuthen it is very likely using that code18:18
sabdfli think i just need a tiny interface added to snapd18:18
sabdfl:) yes18:18
sabdflsmall world huh18:18
Son_Gokuheh18:18
sabdflnow i've got to dive into the make-a-smll-new-interface rabbit hole :)18:21
sabdfljdstrand,  could you look at https://bugs.launchpad.net/snappy/+bug/1615262 ?18:21
mupBug #1615262: Cannot send message to systemd-journald <snapd-interface> <Snappy:New> <https://launchpad.net/bugs/1615262>18:21
mupBug #1615262 opened: Cannot send message to systemd-journald <snapd-interface> <Snappy:New> <https://launchpad.net/bugs/1615262>18:21
sabdflSon_Goku, i have a test snap, want to try it out?18:23
sabdfl3.0.6-master18:23
Son_Gokuwhy not? :P18:23
Son_Gokugive me a tick to get my Linux machine18:23
sabdflpffst18:23
jaymellI was curious if anyone has pointers on getting spread tests to work in linode. I've tried using the stock Ubuntu 16 image with custom kernel (ie, one that supports AppArmor), but have had no luck in running through the tests. Are there any additional customizations I would need to make to the image in order for tests to run successfully? Thx18:23
sabdfljaymell, niemeyer is a linode user and also mr spread, so a good person to ask18:24
Son_Goku....18:29
Son_GokuI'm getting this error when trying to search for snaps: "error: cannot list snaps: net/http: Client Transport of type *store.LoggedTransport doesn't support CancelRequest; Timeout not supported"18:29
Son_Gokuoh, I'm so stupid18:30
sabdflSon_Goku, fwiw i have not uploaded to the store yet18:30
Son_GokuI have to be root to do stuff with snap18:31
Son_Gokusabdfl, so where do I get your snap?18:31
sabdflSon_Goku, you can 'snap login email@foo.com' using your Ubuntu SSO email address (LP email I think)18:31
sabdflthen you can do stuff as your user iirc18:32
Son_Gokuah18:32
Son_Gokustill broken18:33
sabdflSon_Goku, are you up to date?18:34
sabdflsnap find working fine here18:34
Son_Gokusnapd-2.1218:35
Son_Gokuthat's the latest release as of 9 days ago18:39
sabdflsnap refresh ?18:39
sergiusenssabdfl for reserved names either ev, noise][, nessita or cprov18:40
sergiusensaka, store folk ;-)18:40
sabdflcoolio thanks sergiusens18:40
niemeyerjaymell: It just needs a custom image that has the upstream Ubuntu kernel rather than Linode's as you point out, and as documented in Linode18:42
sabdflSon_Goku, i can email it to you18:42
Son_Gokusabdfl, okay, cool18:42
niemeyerjaymell: You'll need to name the image as expected by the tests18:42
niemeyerubuntu-16.04-64-grub, for the 64bit one18:43
niemeyerjaymell: That grub suffix is a hack that is already obsolete, and will be dropped next week.. spreads but those images with the GRUB 2 "kernel" of Linode.. now this is more explicit.. it will be just18:44
niemeyerubuntu-16.04-64:18:45
niemeyer        kernel: GRUB 218:45
sabdflniemeyer, does the go plugin to snapcraft handle setting up GOPATH nicely?18:45
niemeyersabdfl: Yeah, works out of the box.. ley me give you a link..18:46
niemeyersabdfl: https://github.com/niemeyer/snaps/blob/master/mup/mup-plugins/snapcraft.yaml18:47
jaymellniemeyer: Thanks, I think I got all that working -- I'm just getting a lot of random errors in the tests themselves. It sounds like I'm on the right track, though, let me see if I need to go back and fix some of the hacking I did to spread.yaml18:48
niemeyerjaymell: Ohh, wait..18:49
niemeyerjaymell: When was your spread and snapd code last updated?18:49
jaymellShould be latest as of last evening for both -- maybe I should be using a particular version of spread rather than the latest?18:50
niemeyerjaymell: I released a new incompatible spread release overnight, and merged fixes on snapd itself at the same time18:50
niemeyerjaymell: Sent a note to snapcraft@ ML about the fact this was coming, and pinged the thread once it was in18:51
jaymellniemeye: Ok, just did a pull in both repos, do you think using the latest in both will likely resolve things?18:52
jaymellniemeyer: In any case, I'll give things a try again later this evening. I was more worried that I was doing something fundamentally wrong, but it sounds like I just need to dig a bit more into the errors I'm getting. Thanks for the info!18:53
mupPR snapd#1714 opened: many: hook in start of code to fetch/check assertions when installing snap from store <Created by pedronis> <https://github.com/snapcore/snapd/pull/1714>18:53
niemeyerjaymell: Well, I hope so.. Travis is passing with master18:58
niemeyerjaymell: If it doesn't , just ping me18:58
evsabdfl: can I trouble you to fill out https://myapps.developer.ubuntu.com/dev/click-apps/register-name/ ?18:59
sabdflev sure, if you can tell me what a developer namespace is really for :)19:01
niemeyerjaymell: This is tip of snapd, runs against Linode: https://travis-ci.org/snapcore/snapd/jobs/15375413319:02
evsabdfl: we’re moving that over to proper SSO usernames, but it’s further down in the backlog. I was never a fan, but other priorities win out.19:05
sabdflev so i should say 'sabdfl' ?19:09
evyes please19:09
sabdflev done, thanks for the pointer :)19:10
evanytime!19:11
ogra_funny how everyone is around on a saturday :)19:32
sergiusensogra_ I am not, I just happen to be on and off ;-)19:39
sabdflsergiusens, if you are on again briefly, can you remind me how to make a custom plugin, or point me at one?19:40
sabdfliirc it's call it x-foo and stick it somewhere specific?19:40
ogra_sergiusens, heh, same here i have "fix the heating while susie is away" weekend :) ... so i'm procastinating instead of cleaning the oli furnace ;)19:41
ogra_*oil19:41
ogra_:P19:41
ogra_(not freudian ... promised)19:41
sabdflolli will be relieved :)19:41
* ogra_ spent most of his day with half his body in that thing ... scratching oil coal off the walls ... i look like a chimney sweep 19:42
tsimonq2sabdfl: a custom plugin that's snap-specific?19:50
tsimonq2sabdfl: or a global plugin to go into Snapcraft?19:51
sabdfltsimonq2, yes, i have an upstream that has a build command of its own (not a Makefile or anything standard)19:51
sabdfli just want to set an environment variable and run that command19:51
ogra_well, worst case you can always cheat and just wrap a makefile around it19:52
tsimonq2sabdfl: here's an example in the Snappy Playpen: https://github.com/ubuntu/snappy-playpen/tree/master/atom19:52
tsimonq2Snappy Playpen to the rescue! \o/19:52
tsimonq2sabdfl: or this is without a wrapper if it makes things easier to read :) https://github.com/ubuntu/snappy-playpen/tree/master/idea19:53
tsimonq2sabdfl: what are you snapping? :)19:56
sabdfltsimonq2, etcd19:56
sabdfli use it for a project and xenial does not have 3.019:56
tsimonq2oh cool :)19:57
tvosso/19:58
=== carl78_ is now known as carl78
=== caraka_ is now known as caraka
ahoneybunmhall119, is there anything stopping a browser from getting snapped?21:48
ahoneybuncan't find the xcb plugin: http://pastebin.ubuntu.com/23074103/21:51
ahoneybunthough it is in libqt5gui521:51
=== dustino_ is now known as dustino
sabdflahoneybun, there are some test snaps of chrome and various electron bits floating around22:22
ahoneybunthere was an app called franz that tsimonq2 and I wanted to snap but not sure of the license22:22
ahoneybunit's based on electron I think22:22
ahoneybunsabdfl, there are dirs in /snap still around after 'snap remove'22:23
ahoneybunI can remove the dir after taking the snap out22:23
ahoneybunare they meant to stay there?22:23
sabdflahoneybun, i think the intent is we preserve some data till it is either garbage-collected or purged22:23
ahoneybunsounds sane22:24
ahoneybunI'm working on this https://github.com/OtterBrowser/otter-browser22:24
ahoneybunit can't find the xcb pluging for some reason22:24
ahoneybuntrying to use filesets to tell it22:24
ahoneybunbut 99% sure I'm wrong on how to use that lol22:24
ahoneybunyep did nothing22:27
ali1234desktop/qt5 sets up xcb for you22:29
ahoneybunit does not for me22:29
ahoneybunI have it in after22:29
ahoneybunali1234, want to look at my yaml?22:30
ali1234okay22:31
ahoneybundid not want to force it on you lol22:31
ahoneybunhttp://pastebin.ubuntu.com/23074289/22:31
ali1234you specify a list of plugs22:31
ahoneybunlibqt5gui5 has xcb does that mean I don't need it in stage?22:32
ali1234it should not matter22:33
ali1234what happens if oyu run it in devmode?22:33
ahoneybunI've only tried dev mode22:34
ahoneybuninstalled it with --devmode22:34
ali1234okay22:34
ali1234so it isn't about plugs22:34
ahoneybunhttp://pastebin.ubuntu.com/23074103/22:34
ahoneybunthat happens22:34
ahoneybunshould after be under stage or before?22:36
ahoneybunI know snapcraft is picky about spacing22:37
ali1234i put it after22:37
ahoneybunafter after lol22:37
ahoneybunafter everything then?22:37
ali1234yes22:37
ahoneybungoing to try that out22:38
ali1234oh wait22:38
ali1234it's the same problem as always22:38
ali1234 command: desktop-launch otter-browser22:39
ahoneybunmm?22:39
ali1234you have to use the wrapper script or it wont work22:39
ahoneybunoh22:39
ahoneybunclean to build again?22:39
ahoneybun*clear22:39
ali1234no, no need22:39
ahoneybunwell I do22:39
ahoneybunI snapcraft clean everytime22:40
ahoneybunholy22:45
ahoneybunali1234, it launched22:45
ali1234yes :)22:45
ahoneybunmm any way for youtube to work in a snap?22:47
ahoneybunsince something are flash still22:47
ahoneybunwow Google Play Music is still on Flash...22:48
ahoneybunali1234, could I just put the flash package into stage?22:48
ali1234maybe22:48
ali1234try it22:48
ahoneybunwill do22:48
ahoneybunneed to add a few more stage packages anyway22:48
ali1234flash is a bit funny since the package is an installer22:49
ahoneybunit shows in my dash and HUD22:49
ahoneybunwell since we can run parts22:49
ahoneybuninstall flash then build the browser22:49
ahoneybunmm "unity-gtk-module "?22:50
ahoneybunnice to have a working snap though22:52
ahoneybunthanks a ton ali123422:52
ali1234i think unity-gtk-module goes in because of Qt using the Gtk theme22:53
ali1234(on Gtk desktops)22:54
ahoneybunit still launches22:54
ahoneybunjust shots those errors22:54
ahoneybunbut still works22:57
ahoneybunif I get a loss space error when in strict mode what does that mean?23:13

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